PDA

View Full Version : probing new sata/ide controller on boot


nadavkav
2007-09-02, 05:51 AM CDT
is their an option or a kernel param that instruct the kernel to probe for a new ide/sata controller on boot time ?

i've changed a motherboard and the kernel is missing sata_nv module so it could mount the os.

will adding the module to initrd be enough ?
do i have to compile a new kernel with the sata_nv ?

if i move the hard disk around (on different motherboards) should i include several hd controllers modules inside the built in kernel or can they reside in the initrd and some how loaded by the kernel on boot ?

kindly,
nadav :-)

jim
2007-09-02, 07:36 AM CDT
if kudzu is running on boot it should detect the changes and prompt you to add the configuration and remove the old.

nadavkav
2007-09-02, 01:30 PM CDT
yes, that could be helpful after the kernel is up and the / is mounted.
but, i'm referring to a stage before the rc.sysinit loads and run services.
it's a stage when only the kernel is up and it needs the right hard disk controller's module to load "/"

nadavkav
2007-09-16, 07:25 AM CDT
i found a solution :-)

before i switched mother boards i issued the command:

mkinitrd -f --with=sata_nv --with=sata_sis /boot/initrd-2.6.20-1.2948.fc6.img 2.6.20-1.2948.fc6

then i took out the hard disk and plugged it into a new mother board
with nvidia hard disk controller and it booted just fine :-)
(later,i plugged it into another mother-board with sis controller)

after it boots into gui (or console), i've update the kernel.
(which installed new version of the correct hardware - SATA controller)

hope it helps :-)