Bug#641210: linux-image-3.0.0-1-powerpc: After pata_macio replaced ide_pmac the system doesn't boot
Package: linux-2.6
Version: 3.0.0-3
Severity: important
Hardware iBook G3 466Mhz.
After pata_macio replaced the ide_pmac, the system doesn't boot.
* First problem is that pata_macio is not included into initramfs image
Workaround (from initramfs shell):
modprobe pata_macio
mount -t ext3 /dev/sda3 /root/
chroot /root/ /bin/bash
echo pata_macio >> /etc/initramfs-tools/modules
update-initramfs -u
Ctrl+d
reboot
* The second problem is that yaboot fails to boot after this change
Which is strange as the dist is identified by UUID in the yaboot conf.
Similar workaround for yaboot:
mount -t ext3 /dev/sda3 /root/
mount -t proc none /root/proc
mount -o loop /dev /root/dev/
chroot /root/ /bin/bash
# change root to /dev/sda3 in /etc/yaboot.conf
ybin -v
Ctrl+d
reboot
After this the system boots fine.
-- Package-specific info:
** Version:
Linux version 3.0.0-1-powerpc (Debian 3.0.0-3) (ben@decadent.org.uk) (gcc version 4.5.3 (Debian 4.5.3-8) ) #1 Sat Aug 27 17:07:06 UTC 2011
** Command line:
root=/dev/sda3 ro
** Not tainted
** Kernel log:
[ 2.658276] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.680810] firewire_ohci: Added fw-ohci device 0002:20:0e.0, OHCI v1.0, 4 IR + 4 IT contexts, quirks 0x4
[ 2.691382] ohci_hcd 0001:10:18.0: enabling device (0000 -> 0002)
[ 2.732720] ohci_hcd 0001:10:18.0: OHCI Host Controller
[ 2.779859] ohci_hcd 0001:10:18.0: new USB bus registered, assigned bus number 1
[ 2.803737] ohci_hcd 0001:10:18.0: irq 27, io mem 0x80080000
[ 2.888769] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 2.893976] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.899002] usb usb1: Product: OHCI Host Controller
[ 2.903994] usb usb1: Manufacturer: Linux 3.0.0-1-powerpc ohci_hcd
[ 2.909064] usb usb1: SerialNumber: 0001:10:18.0
[ 2.930776] hub 1-0:1.0: USB hub found
[ 2.955476] hub 1-0:1.0: 2 ports detected
[ 2.974924] Apple USB OHCI 0001:10:19.0 disabled by firmware
[ 3.189354] firewire_core: created device fw0: GUID 003065fffec6f106, S400
[ 3.294653] SCSI subsystem initialized
[ 3.343948] libata version 3.00 loaded.
[ 4.372495] pata-macio 0.0001f000:ata-4: Activating pata-macio chipset KeyLargo ATA-4, Apple bus ID 2
[ 4.394703] scsi0 : pata_macio
[ 4.406481] ata1: PATA max UDMA/66 irq 19
[ 4.577060] ata1.00: ATA-5: TOSHIBA MK1016GAP, U1.13 A, max UDMA/66
[ 4.582183] ata1.00: 19640880 sectors, multi 16: LBA
[ 4.587174] ata1.00: limited to UDMA/33 due to 40-wire cable
[ 4.600925] ata1.00: configured for UDMA/33
[ 4.606793] scsi 0:0:0:0: Direct-Access ATA TOSHIBA MK1016GA U1.1 PQ: 0 ANSI: 5
[ 4.644124] sd 0:0:0:0: [sda] 19640880 512-byte logical blocks: (10.0 GB/9.36 GiB)
[ 4.651820] sd 0:0:0:0: [sda] Write Protect is off
[ 4.657125] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 4.657350] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.205113] sda: [mac] sda1 sda2 sda3 sda4
[ 5.214062] sd 0:0:0:0: [sda] Attached SCSI disk
[ 5.239830] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 5.428493] pata-macio 0.00020000:ata-3: Activating pata-macio chipset KeyLargo ATA-3, Apple bus ID 0
[ 5.450875] scsi1 : pata_macio
[ 5.461019] ata2: PATA max MWDMA2 irq 20
[ 5.628900] ata2.00: ATAPI: MATSHITADVD-ROM SR-8174, C113, max UDMA/33
[ 5.649626] ata2.00: configured for MWDMA2
[ 5.658667] scsi 1:0:0:0: CD-ROM MATSHITA DVD-ROM SR-8174 C113 PQ: 0 ANSI: 5
[ 5.671453] scsi 1:0:0:0: Attached scsi generic sg1 type 5
[ 5.711032] sr0: scsi3-mmc drive: 24x/24x cd/rw xa/form2 cdda tray
[ 5.716270] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 5.724995] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 6.484497] pata-macio 0.00021000:ata-3: Activating pata-macio chipset KeyLargo ATA-3, Apple bus ID 1
[ 6.507272] scsi2 : pata_macio
[ 6.518858] ata3: PATA max MWDMA2 irq 21
[ 6.823680] PM: Starting manual resume from disk
[ 6.829361] PM: Hibernation image partition 8:4 present
[ 6.829377] PM: Looking for hibernation image.
[ 6.852246] PM: Image not found (code -22)
[ 6.852261] PM: Hibernation image not present or could not be loaded.
[ 6.917606] EXT3-fs (sda3): recovery required on readonly filesystem
[ 6.923055] EXT3-fs (sda3): write access will be enabled during recovery
[ 6.956776] EXT3-fs: barriers not enabled
[ 7.169150] kjournald starting. Commit interval 5 seconds
[ 7.174728] EXT3-fs (sda3): recovery complete
[ 7.219188] EXT3-fs (sda3): mounted filesystem with ordered data mode
[ 11.286870] udevd[187]: starting version 172
[ 16.920179] PowerMac i2c bus pmu 2 registered
[ 16.963704] PowerMac i2c bus pmu 1 registered
[ 17.024373] cfg80211: Calling CRDA to update world regulatory domain
[ 17.034958] PowerMac i2c bus mac-io 0 registered
[ 17.086395] PowerMac i2c bus uni-n 1 registered
[ 17.116914] PowerMac i2c bus uni-n 0 registered
[ 17.367266] orinoco 0.15 (David Gibson <hermes@gibson.dropbear.id.au>, Pavel Roskin <proski@gnu.org>, et al)
[ 17.581880] airport 0.15 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
[ 17.582091] airport: Physical address 80030000
[ 18.772762] airport 0.00030000:radio: Hardware identity 0005:0001:0001:0002
[ 18.778640] airport 0.00030000:radio: Station identity 001f:0001:0004:0034
[ 18.784077] airport 0.00030000:radio: Firmware determined as Lucent/Agere 4.52
[ 19.185748] airport 0.00030000:radio: Hardware identity 0005:0001:0001:0002
[ 19.191232] airport 0.00030000:radio: Station identity 001f:0002:0009:0030
[ 19.196485] airport 0.00030000:radio: Firmware determined as Lucent/Agere 9.48
[ 19.201610] airport 0.00030000:radio: Ad-hoc demo mode supported
[ 19.206584] airport 0.00030000:radio: IEEE standard IBSS ad-hoc mode supported
[ 19.211466] airport 0.00030000:radio: WEP supported, 104-bit key
[ 19.216404] airport 0.00030000:radio: WPA-PSK supported
[ 22.492089] Adding 467864k swap on /dev/sda4. Priority:-1 extents:1 across:467864k
[ 23.119298] EXT3-fs (sda3): using internal journal
[ 23.513780] loop: module loaded
[ 26.164421] input: Macintosh mouse button emulation as /devices/virtual/input/input4
[ 28.253653] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 28.700514] eth1: New link status: Connected (0001)
[ 28.702115] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 29.345730] eth1: IPv6 duplicate address fe80::230:65ff:fe01:a900 detected!
[ 29.733906] fuse init (API version 7.16)
[ 40.114281] Bluetooth: Core ver 2.16
[ 40.121261] NET: Registered protocol family 31
[ 40.127010] Bluetooth: HCI device and connection manager initialized
[ 40.132347] Bluetooth: HCI socket layer initialized
[ 40.137496] Bluetooth: L2CAP socket layer initialized
[ 40.154437] Bluetooth: SCO socket layer initialized
[ 40.180268] lp: driver loaded but no devices found
[ 40.297928] Bluetooth: RFCOMM TTY layer initialized
[ 40.304576] Bluetooth: RFCOMM socket layer initialized
[ 40.309609] Bluetooth: RFCOMM ver 1.11
[ 40.411776] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 40.416730] Bluetooth: BNEP filters: protocol multicast
[ 49.664124] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 162.510786] aty128fb 0000:00:10.0: Invalid ROM contents
[ 174.006109] aty128fb 0000:00:10.0: Invalid ROM contents
** Model information
revision : 34.2 (pvr 0008 2202)
platform : PowerMac
model : PowerBook2,2
machine : PowerBook2,2
motherboard : PowerBook2,2 MacRISC2 MacRISC Power Macintosh
** Loaded modules:
Module Size Used by
cpufreq_userspace 5116 0
cpufreq_stats 5698 0
cpufreq_ondemand 8949 0
cpufreq_conservative 8369 0
cpufreq_powersave 4142 0
parport_pc 27018 0
bnep 13979 2
rfcomm 35410 0
bluetooth 125331 10 bnep,rfcomm
crc16 4479 1 bluetooth
lp 11024 0
parport 30099 2 parport_pc,lp
fuse 63722 1
firewire_sbp2 15525 0
loop 16955 0
michael_mic 5250 4
snd_aoa_i2sbus 19872 0
snd_pcm 64166 1 snd_aoa_i2sbus
snd_page_alloc 8957 1 snd_pcm
snd_seq 48485 0
airport 6689 0
evdev 12325 5
snd_timer 20149 2 snd_pcm,snd_seq
snd_seq_device 8241 1 snd_seq
orinoco 62975 1 airport
cfg80211 142324 1 orinoco
i2c_powermac 6659 0
rfkill 17454 3 bluetooth,cfg80211
snd 50534 5 snd_aoa_i2sbus,snd_pcm,snd_seq,snd_timer,snd_seq_device
soundcore 7985 1 snd
snd_aoa_soundbus 6653 1 snd_aoa_i2sbus
ext3 123756 1
jbd 40727 1 ext3
mbcache 7898 1 ext3
sr_mod 17278 0
cdrom 36683 1 sr_mod
sg 24127 0
sd_mod 33903 3
crc_t10dif 4496 1 sd_mod
pata_macio 15121 2
libata 150996 1 pata_macio
scsi_mod 153077 5 firewire_sbp2,sr_mod,sg,sd_mod,libata
ohci_hcd 33586 0
ehci_hcd 43375 0
firewire_ohci 31227 0
firewire_core 48474 2 firewire_sbp2,firewire_ohci
sungem 30773 0
usbcore 128338 3 ohci_hcd,ehci_hcd
crc_itu_t 4499 1 firewire_core
sungem_phy 12770 1 sungem
** 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 Mobility M3 AGP 2x [1002:4c46] (rev 02) (prog-if 00 [VGA controller])
Subsystem: ATI Technologies Inc Rage Mobility M3 AGP 2x [1002:4c46]
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 80080000 (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-
Interrupt: pin A routed to IRQ 28
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:0e.0 FireWire (IEEE 1394) [0c00]: Apple Computer Inc. UniNorth FireWire [106b:0018] (rev 01) (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: 0 (750ns min, 1000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 40
Region 0: Memory at f5000000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: firewire_ohci
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 f5100000 [disabled] [size=1M]
Kernel driver in use: gem
** USB devices:
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Kernel: Linux 3.0.0-1-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages linux-image-3.0.0-1-powerpc depends on:
ii debconf [debconf-2.0] 1.5.40
ii initramfs-tools [linux-initramfs-tool] 0.99
ii libc6 2.13-18
ii linux-base 3.3
ii module-init-tools 3.16-1
Versions of packages linux-image-3.0.0-1-powerpc recommends:
ii firmware-linux-free 3
Versions of packages linux-image-3.0.0-1-powerpc suggests:
pn linux-doc-3.0.0 <none>
pn mkvmlinuz <none>
Versions of packages linux-image-3.0.0-1-powerpc is related to:
pn firmware-bnx2 <none>
pn firmware-bnx2x <none>
pn firmware-ipw2x00 <none>
pn firmware-ivtv <none>
pn firmware-iwlwifi <none>
pn firmware-linux 0.33
pn firmware-linux-nonfree 0.33
pn firmware-qlogic <none>
pn firmware-ralink <none>
pn xen-hypervisor <none>
-- debconf information:
linux-image-3.0.0-1-powerpc/postinst/depmod-error-initrd-3.0.0-1-powerpc: false
linux-image-3.0.0-1-powerpc/postinst/ignoring-ramdisk:
linux-image-3.0.0-1-powerpc/prerm/removing-running-kernel-3.0.0-1-powerpc: true
* linux-image-3.0.0-1-powerpc/postinst/missing-firmware-3.0.0-1-powerpc:
Reply to: