Bug#646412: linux-image-3.0.0-2-powerpc does not load pata_macio from the initramfs, cannot find root filesystem

2011-10-24 Thread Ben Hutchings
On Sun, 2011-10-23 at 20:19 -0400, Daniel Kahn Gillmor wrote:
 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.

I think this is the same problem as #641210.

 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).
[...]

So far as I am aware, we can't auto-load it.  Instead we have to make it
built-in.

Ben.

-- 
Ben Hutchings
Reality is just a crutch for people who can't handle science fiction.


signature.asc
Description: This is a digitally signed message part


Bug#646412: linux-image-3.0.0-2-powerpc does not load pata_macio from the initramfs, cannot find root filesystem

2011-10-23 Thread Daniel Kahn Gillmor
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) (b...@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-de...@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.0002: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-ROMMATSHITA 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
[   

Bug#646412: linux-image-3.0.0-2-powerpc does not load pata_macio from the initramfs, cannot find root filesystem

2011-10-23 Thread Daniel Kahn Gillmor
On 10/23/2011 08:19 PM, Daniel Kahn Gillmor wrote:
 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).

I've further entrenched my workaround by doing:

 echo pata_macio  /etc/initramfs-tools/modules
 update-initramfs -k $(uname -r) -u

After which, the system boots as normal.

Most users won't be able to figure this out as the Right Fix, though, so
this probably needs to be detected automatically somehow.  Feel free to
reassign if you think this bug belongs in udev or initramfs-tools or
some other package.

Thanks for maintaining the linux kernel in debian,

--dkg



signature.asc
Description: OpenPGP digital signature