On Sun, 2007-05-20 at 14:03 -0700, David Miller wrote: > If folks could test out the following and report any > regressions, especially on sparc32, I'd really appreciate > it. I intend to push this to Linus and -stable after it > gets some exposure. Well... I finally got around to testing this on sparc32, and it breaks the new esp driver. Basically, the driver doesn't scan the bus anymore. Obviously, this is a pretty ugly regression (after we finally got it working again). Attached are the bootup logs from the serial console on the SS4, one kernel has the serial patch, the other does not, they are otherwise identical. ~spot
/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\ Rebooting with command: Boot device: /iommu/sbus/espdma/esp/sd@3,0:c File and args: SILO Version 1.4.11 \ Welcome to Aurora SPARC Linux! Hit <TAB> for boot options boot: H 1.3149.3 1.3149.2 1.3062.9 1.2986 1.2906.4 1.2906 spot1 debian boot: 1.3149.2 |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/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 Revision 2 Linux version 2.6.21-1.3149.al3.2 (root@odyssey) (gcc version 4.1.1 20060629 (Red Hat 4.1.1-6)) #1 Tue May 15 21:03:38 EDT 2007 ARCH: SUN4M TYPE: SPARCstation 4 Ethernet address: 8:0:20:79:8d:63 Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (jj@xxxxxxxxxxxxxx). Patching kernel for srmmu[Fujitsu Swift]/iommu PROM: Built device tree with 20056 bytes of memory. Power off control detected. Built 1 zonelists. Total pages: 39032 Kernel command line: ro root=LABEL=/ stop-a=1 PID hash table entries: 1024 (order: 10, 4096 bytes) start_kernel(): bug: interrupts were enabled early Console: colour dummy device 80x25 Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 153528k/163508k available (1680k kernel code, 9820k reserved, 432k data, 144k init, 0k highmem) Mount-cache hash table entries: 512 NET: Registered protocol family 16 IOMMU: impl 0 vers 4 table 0xf0640000[262144 B] map [65536 b] sbus0: Clock 22.0 MHz dma0: Revision 2 dma1: Revision 2 NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered checking if image is initramfs... it is Freeing initrd memory: 3686k freed ioremap: done with statics, switching to malloc apc: power management initialized io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) Console: switching to colour frame buffer device 144x56 /iommu@0,10000000/sbus@0,10001000/SUNW,tcx@2,800000: TCX at 0:50800000, 8-bit only ffd35080: ttyS0 at MMIO 0x71100000 (irq = 44) is a zs Console: ttyS0 (SunZilog zs0) ffd35080: ttyS1 at MMIO 0x71100004 (irq = 44) is a zs ffd35134: Keyboard at MMIO 0x71000000 (irq = 44) is a zs ffd35134: Mouse at MMIO 0x71000004 (irq = 44) is a zs RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize rtc_sun_init: Registered Mostek RTC driver. mice: PS/2 mouse device common for all mice TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Freeing unused kernel memory: 144k freed input: Sun Mouse as /class/input/input0 Red Hat nash version 6.0.9 starting Mounting proc filesystem Mounting sysfs filesystem Creating /dev Creating initial device nodes Setting up hotplug. Creating block device nodes. Loading jbd.ko module Loading ext3.ko module Loading scsi_mod.ko module SCSI subsystem initialized Loading sd_mod.ko module Loading scsi_transport_spi.ko module Loading esp.ko module scsi0 : esp esp: esp0 found at /iommu@0,10000000/sbus@0,10001000/espdma@4,8400000/esp@4,8800000, regs[fd117000:fd00f000] irq[36] esp: esp0 is a FAS100A, 40 MHz (ccf=0), SCSI ID 7 scsi 0:0:3:0: Direct-Access SEAGATE ST34573WC 6244 PQ: 0 ANSI: 2 target0:0:3: Beginning Domain Validation target0:0:3: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 15) target0:0:3: Domain Validation skipping write tests target0:0:3: Ending Domain Validation SCSI device sda: 8888924 512-byte hdwr sectors (4551 MB) sda: Write Protect is off SCSI device sda: write cache: enabled, read cache: enabled, supports DPO and FUA SCSI device sda: 8888924 512-byte hdwr sectors (4551 MB) sda: Write Protect is off SCSI device sda: write cache: enabled, read cache: enabled, supports DPO and FUA sda: sda1 sda2 sda3 sda4 sd 0:0:3:0: Attached scsi disk sda scsi 0:0:6:0: CD-ROM TOSHIBA CD-ROM DRIVE:XM 1971 PQ: 0 ANSI: 2 target0:0:6: Beginning Domain Validation target0:0:6: Ending Domain Validation Creating root device. Mounting root filesystem. kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Setting up other filesystems. Setting up new root fs no fstab.sys, mounting internal defaults Switching to new root and running init. unmounting old /dev unmounting old /proc unmounting old /sys INIT: version 2.86 booting Welcome to Aurora SPARC Linux Press 'I' to enter interactive startup. Setting clock (localtime): Wed May 23 13:30:13 CDT 2007 [ OK ] Starting udev:
boot Resetting ... SPARCstation 4, No Keyboard ROM Rev. 2.24, 160 MB memory installed, Serial #7966051. Ethernet address 8:0:20:79:8d:63, Host ID: 80798d63. Initializing Memory |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\ Rebooting with command: Boot device: /iommu/sbus/espdma/esp/sd@3,0:c File and args: SILO Version 1.4.11 \ Welcome to Aurora SPARC Linux! Hit <TAB> for boot options boot: 1.3149.3 1.3149.2 1.3062.9 1.2986 1.2906.4 1.2906 spot1 debian boot: 1.3149.3 |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|Loaded kernel version 2.6.21 Loading initial ramdisk (3774755 bytes at 0x3000000 phys, 0x60000000 virt)... /-\|/-\|/-\|/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 (Red Hat 4.1.1-6)) #1 Mon May 21 10:26:42 EDT 2007 ARCH: SUN4M TYPE: SPARCstation 4 Ethernet address: 8:0:20:79:8d:63 Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (jj@xxxxxxxxxxxxxx). Patching kernel for srmmu[Fujitsu Swift]/iommu OF stdout device is: /obio/zs@0,100000:aPROM: Built device tree with 20312 bytes of memory. Power off control detected. Built 1 zonelists. Total pages: 39033 Kernel command line: ro root=LABEL=/ stop-a=1 PID hash table entries: 1024 (order: 10, 4096 bytes) start_kernel(): bug: interrupts were enabled early Console: colour dummy device 80x25 Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 153528k/163508k available (1676k kernel code, 9816k reserved, 428k data, 144k init, 0k highmem) Mount-cache hash table entries: 512 NET: Registered protocol family 16 IOMMU: impl 0 vers 4 table 0xf0640000[262144 B] map [65536 b] sbus0: Clock 22.0 MHz dma0: Revision 2 dma1: Revision 2 NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered checking if image is initramfs... it is Freeing initrd memory: 3686k freed ioremap: done with statics, switching to malloc apc: power management initialized io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) Console: switching to colour frame buffer device 144x56 /iommu@0,10000000/sbus@0,10001000/SUNW,tcx@2,800000: TCX at 0:50800000, 8-bit only ffd35080: ttyS0 at MMIO 0x71100000 (irq = 44) is a zs Console: ttyS0 (SunZilog zs0) ffd35080: ttyS1 at MMIO 0x71100004 (irq = 44) is a zs ffd35134: Keyboard at MMIO 0x71000000 (irq = 44) is a zs ffd35134: Mouse at MMIO 0x71000004 (irq = 44) is a zs RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize rtc_sun_init: Registered Mostek RTC driver. mice: PS/2 mouse device common for all mice TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Freeing unused kernel memory: 144k freed input: Sun Mouse as /class/input/input0 Red Hat nash version 6.0.9 starting Mounting proc filesystem Mounting sysfs filesystem Creating /dev Creating initial device nodes Setting up hotplug. Creating block device nodes. Loading jbd.ko module Loading ext3.ko module Loading scsi_mod.ko module SCSI subsystem initialized Loading sd_mod.ko module Loading scsi_transport_spi.ko module Loading esp.ko module scsi0 : esp esp: esp0 found at /iommu@0,10000000/sbus@0,10001000/espdma@4,8400000/esp@4,8800000, regs[fd117000:fd00f000] irq[36] esp: esp0 is a FAS100A, 40 MHz (ccf=0), SCSI ID 7 Creating root device. Mounting root filesystem. mount: could not find filesystem '/dev/root' Setting up other filesystems. Setting up new root fs Kernel panic - not syncing: Attempted to kill init! sePress Stop-A (L1-A) to return to the boot prom tuproot: moving /dev failed: No such file or directory no fstab.sys, mounting internal defaults setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory Switching to new root and running init. unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed: No such file or directory Booting has failed.