IDE drivers not loaded at boot with powerpc

Bug #131150 reported by digger vermont
2
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Binary package hint: initramfs-tools

I'm using an up to date installation of gutsy on a powerpc. The ide drivers
are not being loaded at boot with the 2.6.22 kernels, both powerpc and
powerpc-smp.

This is not a problem with the 2.6.20 kernel that is still installed from Feisty.

I don't know how to supply a log since the boot process stops too early.

Should the boot process detect that there are ide drives or do the drivers
need to be manually loaded?

If I boot with break=top or break=premount I can run the command
"modprobe ide-core" at the initramfs prompt.

I can see that the drivers are then loaded and the drives detected.
Exiting the initramfs shell then completes the boot process.

I "solved" the problem by adding a script,
/etc/initramfs-tools/scripts/init-top/ide_core, to load the module.
I've attached the script.

Please let me know if there is any other info I can help with.
Here's my set-up.

--------------------------------------------
cat /proc/cpuinfo

processor : 0
cpu : 7455, altivec supported
clock : 667.000000MHz
revision : 0.1 (pvr 8001 0201)
bogomips : 66.56

total bogomips : 66.56
timebase : 33331150
platform : PowerMac
machine : PowerBook3,4
motherboard : PowerBook3,4 MacRISC2 MacRISC Power Macintosh
detected as : 73 (PowerBook Titanium III)
pmac flags : 0000001b
L2 cache : 256K unified
pmac-generation : NewWorld

--------------------------------------------
lspci

0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 1.5 AGP
0000:00:10.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 1.5 PCI
0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo Mac I/O (rev 03)
0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo USB
0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo USB
0001:10:1a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
0001:11:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
0002:24:0b.0 Host bridge: Apple Computer Inc. UniNorth 1.5 Internal PCI
0002:24:0e.0 FireWire (IEEE 1394): Agere Systems FW323
0002:24:0f.0 Ethernet controller: Apple Computer Inc. UniNorth GMAC (Sun GEM) (rev 01)

---------------------------------------------------------------------------------------------------
dlocate -l linux-image linux-restricted linux-headers initramfs|grep ^ii

ii linux-image-2.6.20-15-powerpc-smp 2.6.20-15.27 Linux kernel image for version 2.6.20 on 32-bit PowerPC SMP
ii linux-image-2.6.22-9-powerpc 2.6.22-9.25 Linux kernel image for version 2.6.22 on 32-bit PowerPC
ii linux-image-2.6.22-9-powerpc-smp 2.6.22-9.25 Linux kernel image for version 2.6.22 on 32-bit PowerPC SMP
ii linux-image-powerpc 2.6.22.9.10 Linux kernel image on PowerPC.
ii linux-image-powerpc-smp 2.6.22.9.10 Linux kernel image on PowerPC SMP.
ii linux-restricted-modules-2.6.20-1 2.6.20.5-15.20 Non-free Linux 2.6.20 modules on PowerPC SMP
ii linux-restricted-modules-2.6.22-9 2.6.22.2-9.7 Non-free Linux 2.6.22 modules on PowerPC
ii linux-restricted-modules-2.6.22-9 2.6.22.2-9.7 Non-free Linux 2.6.22 modules on PowerPC SMP
ii linux-restricted-modules-common 2.6.22.2-9.7 Non-free Linux 2.6.22 modules helper script
ii linux-restricted-modules-powerpc 2.6.22.9.10 Restricted Linux modules on PowerPC.
ii linux-restricted-modules-powerpc- 2.6.22.9.10 Restricted Linux modules on PowerPC SMP.
ii linux-headers-2.6.22-9 2.6.22-9.25 Header files related to Linux kernel version 2.6.22
ii linux-headers-2.6.22-9-powerpc 2.6.22-9.25 Linux kernel headers for version 2.6.22 on 32-bit PowerPC
ii linux-headers-powerpc 2.6.22.9.10 Linux kernel headers on PowerPC
ii busybox-initramfs 1:1.1.3-5ubuntu1 Standalone shell setup for initramfs
ii initramfs-tools 0.85eubuntu16 tools for generating an initramfs
ii libklibc 1.5-2ubuntu3 minimal libc subset for use with initramfs

-------------------------------------------------------------------------------------------------

Revision history for this message
digger vermont (digver) wrote :

simple script to lod ide drivers.
/etc/initramfs-tools/scripts/init-top/ide_core

sam tygier (samtygier)
Changed in initramfs-tools:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Herbert V. Riedel (hvr) wrote :

I had the same problem here on my last-gen g4 powerbook, I did workaround it simply by adding "ide-disk" (or alternatively "ide-core") to /etc/initramfs-tools/modules and updating the initramfs image...

Revision history for this message
Niels Kristian Bech Jensen (nkbjensen) wrote :

Please fix this before the release of Gutsy. It is a show-stopper for non-technical users.

Regards,
Niels Kristian

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.