Bug#646412: linux-image-3.0.0-2-powerpc does not load pata_macio from the initramfs, cannot find root filesystem
Package: linux-2.6
Version: 3.0.0-5
Severity: important
This powermac G4 "cube" has been running fine with 2.6.38 + squeeze
for a while. I just upgraded to 3.0.0 from sid, and found that
booting the machine fails by dropping into an initramfs shell, unable
to find the root filesystem.
from the initramfs shell, i can work around this by doing:
modprobe pata_macio
exit
at which point, the boot proceeds as usual.
It seems to me that this module should be auto-loaded (or at least
somehow detected for this particular hardware).
If you need me to experiment with different versions of udev or
initramfstools, or if there is a patch i can try applying, please let
me know.
I'd be happy to provide any other sort of debugging information
needed.
Regards,
--dkg
-- Package-specific info:
** Version:
Linux version 3.0.0-2-powerpc (Debian 3.0.0-5) (ben@decadent.org.uk) (gcc version 4.5.3 (Debian 4.5.3-9) ) #1 Fri Oct 7 21:49:07 UTC 2011
** Command line:
BOOT_IMAGE=/boot/vmlinux-3.0.0-2-powerpc root=UUID=dca56d69-14fe-457b-90bb-95d49692ff60 ro quiet
** Not tainted
** Kernel log:
[ 1.916501] hub 2-0:1.0: 2 ports detected
[ 2.118857] Btrfs loaded
[ 2.154177] device-mapper: uevent: version 1.0.3
[ 2.155887] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
[ 2.223362] usb 1-1: new full speed USB device number 2 using ohci_hcd
[ 2.251705] firewire_core: created device fw0: GUID 003065fffedbbc06, S400
[ 2.430375] usb 1-1: New USB device found, idVendor=05ac, idProduct=1002
[ 2.430395] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.430411] usb 1-1: Product: Hub in Apple Extended USB Keyboard
[ 2.430424] usb 1-1: Manufacturer: Mitsumi Electric
[ 2.432595] hub 1-1:1.0: USB hub found
[ 2.434406] hub 1-1:1.0: 3 ports detected
[ 2.724381] usb 1-1.1: new full speed USB device number 3 using ohci_hcd
[ 2.834374] usb 1-1.1: New USB device found, idVendor=05ac, idProduct=0204
[ 2.834393] usb 1-1.1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[ 2.834408] usb 1-1.1: Product: Apple Extended USB Keyboard
[ 2.834421] usb 1-1.1: Manufacturer: Mitsumi Electric
[ 2.894829] input: Mitsumi Electric Apple Extended USB Keyboard as /devices/pci0001:10/0001:10:18.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input1
[ 2.895467] generic-usb 0003:05AC:0204.0001: input,hidraw0: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:10:18.0-1.1/input0
[ 2.907924] input: Mitsumi Electric Apple Extended USB Keyboard as /devices/pci0001:10/0001:10:18.0/usb1/1-1/1-1.1/1-1.1:1.1/input/input2
[ 2.908392] generic-usb 0003:05AC:0204.0002: input,hidraw1: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:10:18.0-1.1/input1
[ 2.909149] usbcore: registered new interface driver usbhid
[ 2.909163] usbhid: USB HID core driver
[ 2.912457] usb 1-1.2: new low speed USB device number 4 using ohci_hcd
[ 3.025382] usb 1-1.2: New USB device found, idVendor=05ac, idProduct=0306
[ 3.025404] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.025419] usb 1-1.2: Product: Apple Optical USB Mouse
[ 3.025431] usb 1-1.2: Manufacturer: Fujitsu Component
[ 3.034968] input: Fujitsu Component Apple Optical USB Mouse as /devices/pci0001:10/0001:10:18.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input3
[ 3.035764] generic-usb 0003:05AC:0306.0003: input,hidraw2: USB HID v1.10 Mouse [Fujitsu Component Apple Optical USB Mouse] on usb-0001:10:18.0-1.2/input0
[ 4.091514] gem 0002:20:0f.0: eth0: Link is up at 100 Mbps, full-duplex
[ 48.972281] SCSI subsystem initialized
[ 49.007387] libata version 3.00 loaded.
[ 50.031341] pata-macio 0.0001f000:ata-4: Activating pata-macio chipset KeyLargo ATA-4, Apple bus ID 2
[ 50.035703] scsi0 : pata_macio
[ 50.037492] ata1: PATA max UDMA/66 irq 19
[ 51.055334] pata-macio 0.00020000:ata-3: Activating pata-macio chipset KeyLargo ATA-3, Apple bus ID 0
[ 51.059623] scsi1 : pata_macio
[ 51.059844] ata2: PATA max MWDMA2 irq 20
[ 52.079338] pata-macio 0.00021000:ata-3: Activating pata-macio chipset KeyLargo ATA-3, Apple bus ID 1
[ 52.084186] scsi2 : pata_macio
[ 52.084446] ata3: PATA max MWDMA2 irq 21
[ 55.231349] ata1: link is slow to respond, please be patient (ready=0)
[ 55.920034] ata1.00: ATA-5: QUANTUM FIREBALLP LM30, A35.0700, max UDMA/66
[ 55.920052] ata1.00: 58633344 sectors, multi 0: LBA
[ 55.920086] ata1.01: ATAPI: MATSHITADVD-ROM SR-8186, F213, max UDMA/33
[ 55.935992] ata1.00: configured for UDMA/66
[ 55.951673] ata1.01: configured for UDMA/33
[ 55.953044] scsi 0:0:0:0: Direct-Access ATA QUANTUM FIREBALL A35. PQ: 0 ANSI: 5
[ 55.955601] scsi 0:0:1:0: CD-ROM MATSHITA DVD-ROM SR-8186 F213 PQ: 0 ANSI: 5
[ 55.993058] sd 0:0:0:0: [sda] 58633344 512-byte logical blocks: (30.0 GB/27.9 GiB)
[ 55.993359] sd 0:0:0:0: [sda] Write Protect is off
[ 55.993378] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 55.993509] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 56.006046] sr0: scsi3-mmc drive: 46x/46x cd/rw xa/form2 cdda tray
[ 56.006065] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 56.006216] sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
[ 56.011102] sr 0:0:1:0: Attached scsi CD-ROM sr0
[ 56.013811] sd 0:0:0:0: [sda] Attached SCSI disk
[ 56.058928] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 56.061224] sr 0:0:1:0: Attached scsi generic sg1 type 5
[ 118.229823] EXT3-fs: barriers not enabled
[ 118.233737] kjournald starting. Commit interval 5 seconds
[ 118.233792] EXT3-fs (sda3): mounted filesystem with ordered data mode
[ 120.240771] udev[528]: starting version 164
[ 120.885092] PowerMac i2c bus pmu 2 registered
[ 120.885206] PowerMac i2c bus pmu 1 registered
[ 120.885311] PowerMac i2c bus mac-io 0 registered
[ 120.885429] PowerMac i2c bus uni-n 1 registered
[ 120.885568] PowerMac i2c bus uni-n 0 registered
[ 123.165707] Adding 1037308k swap on /dev/sda6. Priority:-1 extents:1 across:1037308k
[ 123.491249] EXT3-fs (sda3): using internal journal
[ 130.085524] EXT3-fs: barriers not enabled
[ 130.117025] kjournald starting. Commit interval 5 seconds
[ 130.117730] EXT3-fs (dm-0): using internal journal
[ 130.117756] EXT3-fs (dm-0): mounted filesystem with ordered data mode
[ 130.135072] EXT3-fs: barriers not enabled
[ 130.138992] kjournald starting. Commit interval 5 seconds
[ 130.139433] EXT3-fs (dm-1): using internal journal
[ 130.139453] EXT3-fs (dm-1): mounted filesystem with ordered data mode
[ 130.164716] EXT3-fs: barriers not enabled
[ 130.169276] kjournald starting. Commit interval 5 seconds
[ 130.169778] EXT3-fs (dm-2): using internal journal
[ 130.169797] EXT3-fs (dm-2): mounted filesystem with ordered data mode
[ 130.197793] EXT3-fs: barriers not enabled
[ 130.209193] kjournald starting. Commit interval 5 seconds
[ 130.209668] EXT3-fs (dm-3): using internal journal
[ 130.209688] EXT3-fs (dm-3): mounted filesystem with ordered data mode
[ 132.010027] gem 0002:20:0f.0: eth0: Link is up at 100 Mbps, full-duplex
[ 132.010053] gem 0002:20:0f.0: eth0: Pause is disabled
[ 138.500888] fuse init (API version 7.16)
[ 143.274154] lp: driver loaded but no devices found
[ 149.176054] aty128fb 0000:00:10.0: Invalid ROM contents
[ 149.509264] [drm] Initialized drm 1.1.0 20060810
[ 149.566943] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 149.566963] [drm] No driver support for vblank timestamp query.
[ 149.566982] [drm] Initialized r128 2.5.0 20030725 for 0000:00:10.0 on minor 0
[ 149.573825] agpgart-uninorth 0000:00:0b.0: putting AGP V2 device into 1x mode
[ 149.573852] aty128fb 0000:00:10.0: putting AGP V2 device into 1x mode
[ 150.685807] sshd (1735): /proc/1735/oom_adj is deprecated, please use /proc/1735/oom_score_adj instead.
** Model information
revision : 2.9 (pvr 000c 0209)
platform : PowerMac
model : PowerMac5,1
machine : PowerMac5,1
motherboard : PowerMac5,1 MacRISC2 MacRISC Power Macintosh
** Loaded modules:
Module Size Used by
r128 37956 3
drm 152107 4 r128
cpufreq_powersave 4142 0
cpufreq_userspace 5116 0
cpufreq_stats 5698 0
cpufreq_ondemand 8949 0
cpufreq_conservative 8369 0
parport_pc 27018 0
lp 11024 0
parport 30099 2 parport_pc,lp
fuse 63722 1
hfs 47193 0
snd_aoa_i2sbus 19872 0
snd_pcm_oss 40548 0
snd_mixer_oss 17047 1 snd_pcm_oss
snd_pcm 64222 2 snd_aoa_i2sbus,snd_pcm_oss
snd_page_alloc 8957 1 snd_pcm
snd_seq_midi 7956 0
snd_rawmidi 20684 1 snd_seq_midi
snd_seq_midi_event 7912 1 snd_seq_midi
snd_seq 48485 2 snd_seq_midi,snd_seq_midi_event
snd_timer 20149 2 snd_pcm,snd_seq
snd_seq_device 8241 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 50534 8 snd_aoa_i2sbus,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
evdev 12325 9
soundcore 7985 1 snd
snd_aoa_soundbus 6653 1 snd_aoa_i2sbus
i2c_powermac 6659 0
ext3 123756 5
jbd 40727 1 ext3
mbcache 7898 1 ext3
sg 24127 0
sr_mod 17278 0
sd_mod 33903 4
cdrom 36683 1 sr_mod
crc_t10dif 4496 1 sd_mod
pata_macio 15121 3
libata 150996 1 pata_macio
scsi_mod 153077 4 sg,sr_mod,sd_mod,libata
serio 12718 0
usbhid 36796 0
hid 71071 1 usbhid
dm_mod 64680 15
btrfs 637575 0
zlib_deflate 21988 1 btrfs
crc32c 5799 1
libcrc32c 4290 1 btrfs
ohci_hcd 33586 0
ehci_hcd 43399 0
firewire_ohci 31235 0
usbcore 128338 4 usbhid,ohci_hcd,ehci_hcd
firewire_core 48474 1 firewire_ohci
sungem 30773 0
sungem_phy 12770 1 sungem
crc_itu_t 4499 1 firewire_core
** PCI devices:
0000:00:0b.0 Host bridge [0600]: Apple Computer Inc. UniNorth AGP [106b:0020]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 16, Cache Line Size: 32 bytes
Capabilities: <access denied>
Kernel driver in use: agpgart-uninorth
0000:00:10.0 VGA compatible controller [0300]: ATI Technologies Inc Rage 128 PF/PRO AGP 4x TMDS [1002:5046] (prog-if 00 [VGA controller])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 255 (2000ns min), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 48
Region 0: Memory at 94000000 (32-bit, prefetchable) [size=64M]
Region 1: I/O ports at 0400 [size=256]
Region 2: Memory at 90000000 (32-bit, non-prefetchable) [size=16K]
Expansion ROM at 90020000 [size=128K]
Capabilities: <access denied>
Kernel driver in use: aty128fb
0001:10:0b.0 Host bridge [0600]: Apple Computer Inc. UniNorth PCI [106b:001f]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 16, Cache Line Size: 32 bytes
0001:10:17.0 Unassigned class [ff00]: Apple Computer Inc. KeyLargo Mac I/O [106b:0022] (rev 03)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 16, Cache Line Size: 32 bytes
Region 0: Memory at 80000000 (32-bit, non-prefetchable) [size=512K]
Kernel driver in use: macio
0001:10:18.0 USB Controller [0c03]: Apple Computer Inc. KeyLargo USB [106b:0019] (prog-if 10 [OHCI])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 16 (750ns min, 21500ns max)
Interrupt: pin A routed to IRQ 27
Region 0: Memory at 80082000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd
0001:10:19.0 USB Controller [0c03]: Apple Computer Inc. KeyLargo USB [106b:0019] (prog-if 10 [OHCI])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 16 (750ns min, 21500ns max)
Interrupt: pin A routed to IRQ 28
Region 0: Memory at 80081000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd
0001:10:1a.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB12LV26 IEEE-1394 Controller (Link) [104c:8020] (prog-if 10 [OHCI])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 16 (500ns min, 1000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 63
Region 0: Memory at 80080000 (32-bit, non-prefetchable) [size=2K]
Region 1: Memory at 80084000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: firewire_ohci
0002:20:0b.0 Host bridge [0600]: Apple Computer Inc. UniNorth Internal PCI [106b:001e]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 16, Cache Line Size: 32 bytes
0002:20:0f.0 Ethernet controller [0200]: Apple Computer Inc. UniNorth GMAC (Sun GEM) [106b:0021] (rev 01)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR+ INTx-
Latency: 16 (16000ns min, 16000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 41
Region 0: Memory at f5200000 (32-bit, non-prefetchable) [size=2M]
Expansion ROM at f5000000 [disabled] [size=1M]
Kernel driver in use: gem
** USB devices:
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 05ac:0306 Apple, Inc. Optical USB Mouse [Fujitsu]
Bus 001 Device 003: ID 05ac:0204 Apple, Inc.
Bus 001 Device 002: ID 05ac:1002 Apple, Inc. Extended Keyboard Hub [Mitsumi]
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-- System Information:
Debian Release: 6.0.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (80, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 3.0.0-2-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages linux-image-3.0.0-2-powerpc depends on:
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
ii initramfs-tools [linux-init 0.99~bpo60+1 tools for generating an initramfs
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii linux-base 3.3~bpo60+1 Linux image base package
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
Versions of packages linux-image-3.0.0-2-powerpc recommends:
ii firmware-linux-free 3 Binary firmware for various driver
Versions of packages linux-image-3.0.0-2-powerpc suggests:
pn linux-doc-3.0.0 <none> (no description available)
pn mkvmlinuz <none> (no description available)
Versions of packages linux-image-3.0.0-2-powerpc is related to:
pn firmware-bnx2 <none> (no description available)
pn firmware-bnx2x <none> (no description available)
pn firmware-ipw2x00 <none> (no description available)
pn firmware-ivtv <none> (no description available)
pn firmware-iwlwifi <none> (no description available)
pn firmware-linux <none> (no description available)
ii firmware-linux-nonfree 0.32~bpo60+1 Binary firmware for various driver
pn firmware-qlogic <none> (no description available)
pn firmware-ralink <none> (no description available)
pn xen-hypervisor <none> (no description available)
-- debconf information:
linux-image-3.0.0-2-powerpc/postinst/ignoring-ramdisk:
linux-image-3.0.0-2-powerpc/postinst/missing-firmware-3.0.0-2-powerpc:
linux-image-3.0.0-2-powerpc/prerm/removing-running-kernel-3.0.0-2-powerpc: true
linux-image-3.0.0-2-powerpc/postinst/depmod-error-initrd-3.0.0-2-powerpc: false
Reply to: