[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#273062: kernel-image-2.4.27-1-sparc64: scary warnings during partition check on machines with CMD646 chipsets



Package: kernel-image-2.4.27-1-sparc64
Version: 2.4.27-1
Severity: normal

Joshua Kwan and I discussed this on IRC.  As I understand it, having
ide-disk configured as a module but the CMD64x IDE controller driver
compiled into the kernel produces a situation where the CMD64x controller
will try to do a partition check of the hard drives connected to
it...before ide-disk is loaded.

This results in the boot process howling with error messages that will
strike terror into people, thusly:

CMD646: IDE controller at PCI slot 01:03.0
CMD646: chipset revision 3
CMD646: chipset revision 0x03, MultiWord DMA Force Limited
CMD646: 100% native mode on irq 4,7e0
    ide0: BM-DMA at 0x1fe02c00020-0x1fe02c00027, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x1fe02c00028-0x1fe02c0002f, BIOS settings: hdc:pio, hdd:pio
hda: ST317221A, ATA DISK drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hdd: IBM-DTTA-371010, ATA DISK drive
ide0 at 0x1fe02c00000-0x1fe02c00007,0x1fe02c0000a on irq 4,7e0
ide1 at 0x1fe02c00010-0x1fe02c00017,0x1fe02c0000e on irq 4,7e0 (shared with ide0)
Partition check:
 hda:end_request: I/O error, dev 03:00 (hda), sector 0
end_request: I/O error, dev 03:00 (hda), sector 2
end_request: I/O error, dev 03:00 (hda), sector 4
end_request: I/O error, dev 03:00 (hda), sector 6
end_request: I/O error, dev 03:00 (hda), sector 8
end_request: I/O error, dev 03:00 (hda), sector 10
end_request: I/O error, dev 03:00 (hda), sector 12
end_request: I/O error, dev 03:00 (hda), sector 14
end_request: I/O error, dev 03:00 (hda), sector 0
end_request: I/O error, dev 03:00 (hda), sector 2
end_request: I/O error, dev 03:00 (hda), sector 4
end_request: I/O error, dev 03:00 (hda), sector 6
end_request: I/O error, dev 03:00 (hda), sector 8
end_request: I/O error, dev 03:00 (hda), sector 10
end_request: I/O error, dev 03:00 (hda), sector 12
end_request: I/O error, dev 03:00 (hda), sector 14
 unable to read partition table
 hdd:end_request: I/O error, dev 16:40 (hdd), sector 0
end_request: I/O error, dev 16:40 (hdd), sector 2
end_request: I/O error, dev 16:40 (hdd), sector 4
end_request: I/O error, dev 16:40 (hdd), sector 6
end_request: I/O error, dev 16:40 (hdd), sector 8
end_request: I/O error, dev 16:40 (hdd), sector 10
end_request: I/O error, dev 16:40 (hdd), sector 12
end_request: I/O error, dev 16:40 (hdd), sector 14
end_request: I/O error, dev 16:40 (hdd), sector 0
end_request: I/O error, dev 16:40 (hdd), sector 2
end_request: I/O error, dev 16:40 (hdd), sector 4
end_request: I/O error, dev 16:40 (hdd), sector 6
end_request: I/O error, dev 16:40 (hdd), sector 8
end_request: I/O error, dev 16:40 (hdd), sector 10
end_request: I/O error, dev 16:40 (hdd), sector 12
end_request: I/O error, dev 16:40 (hdd), sector 14
 unable to read partition table

This is not actually a real problem, as the ide-disk module is subsequently
loaded, the partition tables scanned successfully, filesystem checks
performed, and do forth.

But the above output is both ugly and frightening, and may cause our users
to jump to erroneous conclusions.

Josh is already working on this problem but I wanted to go ahead and file
this report so any other users seeing this might find it and know not to
panic (I just about had a heart attack).

My full dmesg log is attached.  Please let me know if you need any more
information.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: sparc (sparc64)
Kernel: Linux 2.4.27-1-sparc64
Locale: LANG=C, LC_CTYPE=en_US.UTF-8

Versions of packages kernel-image-2.4.27-1-sparc64 depends on:
ii  initrd-tools                  0.1.74     tools to create initrd image for p

-- no debconf information
PROMLIB: Sun IEEE Boot Prom 3.14.0 2000/02/03 16:08
Linux version 2.4.27-1-sparc64 (joshk@fortissimo.triplehelix.org) (gcc version 3.3.4 (Debian 1:3.3.4-7)) #1 Mon Aug 23 23:59:55 PDT 2004
ARCH: SUN4U
Ethernet address: 08:00:20:c6:66:1e
On node 0 totalpages: 31756
zone(0): 48990 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Found CPU 0 (node=f008cc18,mid=0)
Found 1 CPU prom device tree node(s).
Kernel command line: root=/dev/hda1 ro
Console: colour dummy device 80x25
Calibrating delay loop... 599.65 BogoMIPS
Memory: 249368k available (1880k kernel code, 296k data, 160k init) [fffff80000000000,0000000017ebc000]
Dentry cache hash table entries: 32768 (order: 6, 524288 bytes)
Inode cache hash table entries: 16384 (order: 5, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 8192 bytes)
Buffer cache hash table entries: 8192 (order: 3, 65536 bytes)
Page-cache hash table entries: 32768 (order: 5, 262144 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing for controllers.
PCI: Found SABRE, main regs at 000001fe00000000, wsync at 000001fe00001c20
SABRE: Shared PCI config space at 000001fe01000000
SABRE: DVMA at c0000000 [20000000]
PCI0(PBMA): Bus running at 33MHz
PCI-IRQ: Routing bus[ 1] slot[ 1] map[0] to INO[21]
PCI-IRQ: Routing bus[ 1] slot[ 2] map[0] to INO[0f]
PCI-IRQ: Routing bus[ 1] slot[ 3] map[0] to INO[20]
PCI0(PBMB): Bus running at 33MHz
ebus0: [eeprom] [flashprom] [su] [8042 -> (kb_ps2) (kdmouse)] [su] [se] [ecpp] [power] [watchdog] [auxio] [SUNW,pll] [SUNW,CS4231] [i2c -> (gpio) (adc)] [fdthree] [beeper]
PCIO serial driver version 1.54
su(serial) at 0x1fff13803f8 (tty 0 irq 10,7dc) is a 16550A
su(serial) at 0x1fff13602f8 (tty 1 irq 10,7dd) is a 16550A
SAB82532 serial driver version 1.65
devfs_register(tts/0): could not append to parent, err: -17
devfs_register(tts/1): could not append to parent, err: -17
devfs_register(cua/0): could not append to parent, err: -17
devfs_register(cua/1): could not append to parent, err: -17
ttyS02 at 0x1fff1400000 (irq = 12,7eb) is a SAB82532 V3.2
ttyS03 at 0x1fff1400040 (irq = 12,7eb) is a SAB82532 V3.2
power: Control reg at 000001fff1724000 ... powerd running.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
atyfb: 3D RAGE PRO (PQFP, PCI) [0x4750 rev 0x7c] 4M SGRAM, 14.31818 MHz XTAL, 230 MHz PLL, 100 Mhz MCLK, 100 Mhz XCLK
Console: switching to colour frame buffer device 144x56
fb0: ATY Mach64 frame buffer device on PCI
8042(kbd) at 0x1fff1300060 (irq 9,7e9)
8042(speaker): iobase[000001fff1300078]
8042(mouse) at 1fff1300060 (irq 4,7ea)
8042: PS/2 auxiliary pointing device detected.
pty: 256 Unix98 ptys configured
rtc_init: no PC rtc found
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
CMD646: IDE controller at PCI slot 01:03.0
CMD646: chipset revision 3
CMD646: chipset revision 0x03, MultiWord DMA Force Limited
CMD646: 100% native mode on irq 4,7e0
    ide0: BM-DMA at 0x1fe02c00020-0x1fe02c00027, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x1fe02c00028-0x1fe02c0002f, BIOS settings: hdc:pio, hdd:pio
hda: ST317221A, ATA DISK drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hdd: IBM-DTTA-371010, ATA DISK drive
ide0 at 0x1fe02c00000-0x1fe02c00007,0x1fe02c0000a on irq 4,7e0
ide1 at 0x1fe02c00010-0x1fe02c00017,0x1fe02c0000e on irq 4,7e0 (shared with ide0)
Partition check:
 hda:end_request: I/O error, dev 03:00 (hda), sector 0
end_request: I/O error, dev 03:00 (hda), sector 2
end_request: I/O error, dev 03:00 (hda), sector 4
end_request: I/O error, dev 03:00 (hda), sector 6
end_request: I/O error, dev 03:00 (hda), sector 8
end_request: I/O error, dev 03:00 (hda), sector 10
end_request: I/O error, dev 03:00 (hda), sector 12
end_request: I/O error, dev 03:00 (hda), sector 14
end_request: I/O error, dev 03:00 (hda), sector 0
end_request: I/O error, dev 03:00 (hda), sector 2
end_request: I/O error, dev 03:00 (hda), sector 4
end_request: I/O error, dev 03:00 (hda), sector 6
end_request: I/O error, dev 03:00 (hda), sector 8
end_request: I/O error, dev 03:00 (hda), sector 10
end_request: I/O error, dev 03:00 (hda), sector 12
end_request: I/O error, dev 03:00 (hda), sector 14
 unable to read partition table
 hdd:end_request: I/O error, dev 16:40 (hdd), sector 0
end_request: I/O error, dev 16:40 (hdd), sector 2
end_request: I/O error, dev 16:40 (hdd), sector 4
end_request: I/O error, dev 16:40 (hdd), sector 6
end_request: I/O error, dev 16:40 (hdd), sector 8
end_request: I/O error, dev 16:40 (hdd), sector 10
end_request: I/O error, dev 16:40 (hdd), sector 12
end_request: I/O error, dev 16:40 (hdd), sector 14
end_request: I/O error, dev 16:40 (hdd), sector 0
end_request: I/O error, dev 16:40 (hdd), sector 2
end_request: I/O error, dev 16:40 (hdd), sector 4
end_request: I/O error, dev 16:40 (hdd), sector 6
end_request: I/O error, dev 16:40 (hdd), sector 8
end_request: I/O error, dev 16:40 (hdd), sector 10
end_request: I/O error, dev 16:40 (hdd), sector 12
end_request: I/O error, dev 16:40 (hdd), sector 14
 unable to read partition table
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver usbmouse
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver usbkbd
usbkbd.c: :USB HID Boot Protocol keyboard driver
mice: PS/2 mouse device common for all mice
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 3536 blocks [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|done.
Freeing initrd memory: 3536k freed
VFS: Mounted root (cramfs filesystem).
Unimplemented SPARC system call 188
Unimplemented SPARC system call 188
Unimplemented SPARC system call 188
Unimplemented SPARC system call 188
Unimplemented SPARC system call 188
Unimplemented SPARC system call 188
hda: attached ide-disk driver.
hda: 33683328 sectors (17246 MB) w/512KiB Cache, CHS=33416/16/63, (U)DMA
hdd: attached ide-disk driver.
hdd: 19746720 sectors (10110 MB) w/465KiB Cache, CHS=19590/16/63, (U)DMA
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 p5
 /dev/ide/host0/bus1/target1/lun0: [PTBL] [1229/255/63] p1
Journalled Block Device driver loaded
ext3: No journal on filesystem on ide0(3,1)
ext3: No journal on filesystem on ide0(3,1)
Adding Swap: 262568k swap-space (priority -1)
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: checktime reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,65), internal journal
EXT3-fs: mounted filesystem with ordered data mode.

Reply to: