Bug#500062: linux-image-2.6.26-1-486: Disables IDE ports, can't find root fs afterwards
Package: linux-image-2.6.26-1-486
Version: 2.6.26-5
Severity: normal
I just upgraded my ThinkPad 760 ED from Etch to Lenny. Everything in
the userland works fine under the Etch kernel, but the Lenny kernel
can't find it's root filesystem. It says something like "Waiting for
root file system" and then falls into an initramfs shell after a
minute or two.
Etch's 2.6.18 kernel boots fine. It also immediately finds and mounts
the root fs.
Since I could neither find any /dev/hd* nor any /dev/sd* using the
initramfs shell of the 2.6.26 kernel, I suspect the kernel messages
marked with a "<--" below to be the cause for not finding the root fs:
---snip---
[...]
[ 21.065487] Uniform Multi-Platform E-IDE driver
[ 21.065749] ide: Assuming 33 MHz system bus speed for PIO modes; override with idebus=xx
[ 22.320593] PIIXa: IDE controller (0x8086:0x122e rev 0x02) at PCI slot 0000:00:01.0
[ 22.321073] PIIXa: bad irq (0): will probe later <--
[ 22.321259] PIIXa: IDE port disabled <--
[ 22.321401] PIIXa: IDE port disabled <--
done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ... [ 72.897108] Clocksource tsc unstable (delta = 507481960 ns)
done.
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/hda3 does not exist. Dropping to a shell!
[...]
---snap---
(All text above transscribed from the screen manually, so there may be
typos in. :-)
/proc/cmdline contains: root=/dev/hda3 ro pci=biosirq
(pci=biosirq was a try to get around the issue, also happens without,
see below.)
/proc/modules contains:
piix 6532 0 [permanent], Live 0xc380a000
ide_core 91444 1 piix, Live 0xc3844000
floppy 47620 0 - Live 0xc381c0000
thermal_sys 10784 0 - Live 0xc380600
/dev/ does not contain any hd* or sd* devices.
Google found the line "PIIXa: bad irq (0): will probe later" only
twice, and one of these cases was a ThinkPad 760 ED, too:
http://lists.infradead.org/pipermail/linux-pcmcia/2003-July/000150.html
http://geoffair.net/fg/txt/DMESG-04.TXT
Adding pci=biosirq as suggested in the first link didn't change
anything.
"PIIXa: IDE port disabled" isn't found at all by Google.
lspci -v output under Etch's 2.6.18:
00:00.0 Host bridge: Intel Corporation 430MX - 82437MX Mob. System Ctrlr (MTSC) & 82438MX Data Path (MTDP) (rev 02)
Flags: bus master, medium devsel, latency 32
Kernel modules: ipmi_si
00:01.0 ISA bridge: Intel Corporation 82371FB PIIX ISA [Triton I] (rev 02)
Flags: bus master, medium devsel, latency 0
Kernel driver in use: PIIX_IDE
Kernel modules: ipmi_si, piix
00:02.0 CardBus bridge: Texas Instruments PCI1130 (rev 02)
Flags: bus master, medium devsel, latency 168
Memory at 10812000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
Memory window 0: 12000000-13fff000 (prefetchable)
Memory window 1: 14000000-15fff000
I/O window 0: 00001000-000010ff
I/O window 1: 00001400-000014ff
16-bit legacy interface ports at 0001
Kernel driver in use: yenta_cardbus
Kernel modules: ipmi_si, yenta_socket
00:02.1 CardBus bridge: Texas Instruments PCI1130 (rev 02)
Flags: bus master, medium devsel, latency 168
Memory at 10811000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=05, subordinate=08, sec-latency=176
Memory window 0: 16000000-17fff000 (prefetchable)
Memory window 1: 18000000-19fff000
I/O window 0: 00001800-000018ff
I/O window 1: 00001c00-00001cff
16-bit legacy interface ports at 0001
Kernel driver in use: yenta_cardbus
Kernel modules: ipmi_si, yenta_socket
00:03.0 VGA compatible controller: Trident Microsystems TGUI 9660/938x/968x (rev d3)
Flags: medium devsel, IRQ 11
Memory at 08000000 (32-bit, non-prefetchable) [size=4M]
Memory at 08400000 (32-bit, non-prefetchable) [size=64K]
Memory at 08800000 (32-bit, non-prefetchable) [size=4M]
Expansion ROM at 10000000 [disabled] [size=64K]
Kernel modules: ipmi_si, tridentfb
00:05.0 Multimedia video controller: IBM MPEG PCI Bridge
Flags: fast devsel, IRQ 11
Memory at 10810000 (32-bit, non-prefetchable) [size=256]
Kernel modules: ipmi_si
lshw output under Etch's 2.6.18:
bijou
description: Computer
width: 32 bits
*-core
description: Motherboard
physical id: 1
*-memory
description: System memory
physical id: 0
size: 48MiB
*-cpu
product: Pentium 75 - 200
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
version: 5.2.12
size: 150MHz
width: 32 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr mce cx8
*-pci
description: Host bridge
product: 430MX - 82437MX Mob. System Ctrlr (MTSC) & 82438MX Data Path (MTDP)
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 02
width: 32 bits
clock: 33MHz
configuration: latency=32
*-isa
description: ISA bridge
product: 82371FB PIIX ISA [Triton I]
vendor: Intel Corporation
physical id: 1
bus info: pci@0000:00:01.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: isa bus_master
configuration: driver=PIIX_IDE latency=0 module=piix
*-pcmcia:0
description: CardBus bridge
product: PCI1130
vendor: Texas Instruments
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: pcmcia bus_master
configuration: driver=yenta_cardbus latency=176 maxlatency=5 mingnt=192 module=yenta_socket
*-network
description: Avaya Wireless PC Card
product: Version 01.01
vendor: Avaya Communication
physical id: 0
slot: Socket 0
resources: irq:3
*-pcmcia:1
description: CardBus bridge
product: PCI1130
vendor: Texas Instruments
physical id: 2.1
bus info: pci@0000:00:02.1
version: 02
width: 32 bits
clock: 33MHz
capabilities: pcmcia bus_master
configuration: driver=yenta_cardbus latency=176 maxlatency=5 mingnt=64 module=yenta_socket
*-display UNCLAIMED
description: VGA compatible controller
product: TGUI 9660/938x/968x
vendor: Trident Microsystems
physical id: 3
bus info: pci@0000:00:03.0
version: d3
width: 32 bits
clock: 33MHz
configuration: latency=0
*-multimedia UNCLAIMED
description: Multimedia video controller
product: MPEG PCI Bridge
vendor: IBM
physical id: 5
bus info: pci@0000:00:05.0
version: 00
width: 32 bits
clock: 33MHz
configuration: latency=0
*-ide
description: IDE Channel 0
physical id: 0
bus info: ide@0
logical name: ide0
*-disk
description: ATA Disk
product: IBM-DPRA-21215
vendor: IBM
physical id: 0
bus info: ide@0.0
logical name: /dev/hda
version: 99C60LE7
serial: 1L47L4B2494
size: 1160MiB (1216MB)
capacity: 1160MiB (1216MB)
capabilities: ata dma lba iordy partitioned partitioned:dos
configuration: signature=2623738a
*-volume:0
description: EXT3 volume
vendor: Linux
physical id: 1
bus info: ide@0.0,1
logical name: /dev/hda1
logical name: /boot
version: 1.0
serial: be2c7d87-85e9-4d08-a059-ad7078357025
size: 31MiB
capacity: 31MiB
capabilities: primary bootable journaled extended_attributes large_files huge_files recover ext3 ext2 initialized
configuration: filesystem=ext3 modified=2008-09-24 16:07:35 mount.fstype=ext3 mount.options=rw,data=ordered mounted=2008-09-24 16:07:35 state=mounted
*-volume:1
description: Linux swap volume
physical id: 2
bus info: ide@0.0,2
logical name: /dev/hda2
version: 1
size: 153MiB
capacity: 153MiB
capabilities: primary nofs swap initialized
configuration: filesystem=swap pagesize=4096
*-volume:2
description: EXT3 volume
vendor: Linux
physical id: 3
bus info: ide@0.0,3
logical name: /dev/hda3
logical name: /
logical name: /dev/.static/dev
version: 1.0
serial: c7c26021-8a60-4c7f-9301-3df6751b280b
size: 974MiB
capacity: 974MiB
capabilities: primary journaled extended_attributes large_files huge_files recover ext3 ext2 initialized
configuration: filesystem=ext3 modified=2008-09-24 16:07:28 mount.fstype=ext3 mount.options=rw,data=ordered mounted=2008-09-24 16:07:28 state=mounted
*-network
description: Wireless interface
physical id: 2
logical name: eth0
serial: 00:02:2d:66:97:79
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=orinoco driverversion=0.15 firmware=Lucent/Agere 7.28 ip=192.168.10.150 link=yes multicast=yes wireless=IEEE 802.11b
-- Package-specific info:
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.18-6-486
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages linux-image-2.6.26-1-486 depends on:
ii debconf [debconf-2.0] 1.5.22 Debian configuration management sy
ii initramfs-tools [linux-initra 0.92j tools for generating an initramfs
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
linux-image-2.6.26-1-486 recommends no packages.
Versions of packages linux-image-2.6.26-1-486 suggests:
ii grub 0.97-47 GRand Unified Bootloader (Legacy v
pn linux-doc-2.6.26 <none> (no description available)
-- debconf information:
linux-image-2.6.26-1-486/postinst/old-system-map-link-2.6.26-1-486: true
linux-image-2.6.26-1-486/prerm/removing-running-kernel-2.6.26-1-486: true
linux-image-2.6.26-1-486/preinst/failed-to-move-modules-2.6.26-1-486:
linux-image-2.6.26-1-486/postinst/old-initrd-link-2.6.26-1-486: true
linux-image-2.6.26-1-486/postinst/bootloader-test-error-2.6.26-1-486:
linux-image-2.6.26-1-486/postinst/bootloader-error-2.6.26-1-486:
linux-image-2.6.26-1-486/preinst/lilo-initrd-2.6.26-1-486: true
linux-image-2.6.26-1-486/postinst/kimage-is-a-directory:
shared/kernel-image/really-run-bootloader: true
linux-image-2.6.26-1-486/preinst/lilo-has-ramdisk:
linux-image-2.6.26-1-486/preinst/overwriting-modules-2.6.26-1-486: true
linux-image-2.6.26-1-486/preinst/abort-overwrite-2.6.26-1-486:
linux-image-2.6.26-1-486/preinst/abort-install-2.6.26-1-486:
linux-image-2.6.26-1-486/postinst/create-kimage-link-2.6.26-1-486: true
* linux-image-2.6.26-1-486/preinst/bootloader-initrd-2.6.26-1-486: false
linux-image-2.6.26-1-486/preinst/elilo-initrd-2.6.26-1-486: true
linux-image-2.6.26-1-486/preinst/initrd-2.6.26-1-486:
linux-image-2.6.26-1-486/postinst/depmod-error-2.6.26-1-486: false
linux-image-2.6.26-1-486/prerm/would-invalidate-boot-loader-2.6.26-1-486: true
linux-image-2.6.26-1-486/postinst/old-dir-initrd-link-2.6.26-1-486: true
linux-image-2.6.26-1-486/postinst/depmod-error-initrd-2.6.26-1-486: false
Reply to: