You are not logged in.
Hi,
installing kernel 3.6.10 (and therefore running mkinitcpio) caused a failure to mount the hard drive (errors along the lines of "ata1: prereset failed"). This is the same problem I had with recent kernels before removing "pata" from the HOOKS line, leaving only "sata" (see this thread for a similar problem and some workarounds). I'm assuming that the "blocks" hook is including "pata"...? Is there any way to get more finegrained behaviour for those of us with esoteric problems...?
Ta,
--MC
[edit: punctuation]
Last edited by martinc2 (2012-12-17 12:07:04)
Offline
Remove the block hook, add the modules you need to MODULES=.
Offline
Thanks! Seems like a simple way forward but I'm afraid I'm a bit stuck determining which modules I need (some seem much more obvious than others). Is there an obvious way to do this?
As a temporary fix I copied the old hook from mkinitcpio 0.11 into /lib/initcpio/install, called it "oldsata", adjusted mkinitcpio.conf accordingly, regenerated, and all was well. I realise this probably isn't the Right Way to do things, but at least my machine is up and running again
Slightly worried to see everything jammed into the "block" hook given that I'm certainly not the only person who's had sata/pata clashes recently.
Offline
martinc2, take a look at this: http://blog.falconindy.com/articles/opt … tcpio.html . It explains how to strip down your initramfs to the bare minimum. Though this may not be what you necessarily want, this blog post includes information on how to determine your specific sata modules.
Offline
Fantastic, thanks very much WonderWoofy! Brilliant resource.
Offline
Don't thank me, thank falconindy (Dave Reisner) for maintaining mkinitcpio and his brilliant writeup. But I am certainly glad I was able to direct you to that resource.
Offline