FS#14286 - [mkinitcpio] can't find ide_disk module when installing kernels above 2.6.27

Attached to Project: Arch Linux
Opened by Darin (omgwtfbyobbq) - Friday, 17 April 2009, 04:20 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 31 May 2009, 13:21 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: When installing a kernel above 2.6.27, mkinitcpio reports that it can't find the ide_disk module. W/o this, the machine (apparently) can't reboot with the new kernel.


Additional info:
* Problem occurs when mkinitcpio generates it's stuff w/ kernel 2.6.28 and up.
* The specific error is "ERROR: Module `ide[-]disk` no found". After reboot, the system complains about not being able to find /dev/hda3, and echo /dev/* doesn't turn up any dev/hd* or /dev/sd* devices.
* Downgrading to kernel 2.6.27.10 yields a bootable system.


Steps to reproduce: Update arch on your bazillionty year old laptop that still requires the ide_disk module be loaded at boot.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 31 May 2009, 13:21 GMT
Reason for closing:  Fixed
Comment by Ronald van Haren (pressh) - Friday, 17 April 2009, 08:17 GMT
Have you tried creating the image with the pata hook instead of the ide hook? (see http://wiki.archlinux.org/index.php/Mkinitcpio for more info)
Comment by Darin (omgwtfbyobbq) - Friday, 17 April 2009, 09:16 GMT
Going w/ just the ide or pata hook both resulted in the same error about the ide_disk module, at least for 2.6.29, and IIRC, I originally had both of them in there and it couldn't fine ide_disk in that case either (kinda off topic, but having both created a weird situation where I had to specify root=/dev/sda3 in menu.lst and /etc/hda3 in fstab for the system to boot).
Comment by Thomas Bächler (brain0) - Friday, 17 April 2009, 10:51 GMT
There are no references in any mkinitcpio hooks to a "ide-disk" module.
Comment by Tobias Powalowski (tpowa) - Friday, 17 April 2009, 11:57 GMT
on my system also no reference seems you use outdated hooks.
Comment by Darin (omgwtfbyobbq) - Friday, 15 May 2009, 07:24 GMT
  • Field changed: Percent Complete (100% → 0%)
It's not a hook problem, both pata and ide hooks result in the same unbootable system, but instead a problem with ide_disk not being located for whatever reason, and it pops up during mkinitcpio. I'm guessing that if it's on the config side it has to do w/ it not working if it's compiled in the kernel instead of a module, or maybe there's been a name change or some other upstream issue, which is what I'm trying to figure out.
Comment by Tobias Powalowski (tpowa) - Friday, 15 May 2009, 07:25 GMT
You use a custom kernel?
Comment by Thomas Bächler (brain0) - Friday, 15 May 2009, 10:09 GMT
Could you please describe what your actual problem is? I am 100% confused about what's happening.

First of all, the ide_disk module does not exist anymore since .28 or .29 and it has been renamed to ide-gd_mod, which we use in the ide hook now. For the pata/sata/scsi hooks (default, ide is only enabled if a user explicitly wants to use it) we need sd_mod for those.
Comment by Tobias Powalowski (tpowa) - Saturday, 23 May 2009, 17:30 GMT
anything new on this else, this is a close again

Loading...