[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pivot_root: No such file or directory



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Count László de Almásy wrote:
| "Harald Dunkel" <harald.dunkel@t-online.de> writes:
|
|>Workaround is to add your sata driver to /etc/mkinitrd/modules
|>and rebuild the initrd.
|
|
| I've now run into this problem when I tried to build by own 2.6.9
| kernel via kernel-package.
|
| How can I figure out which sata drivers I need to add to /etc/mkinitrd/modules?
|

You should check the output of lspci and lspci -n for
your sata controller. lspci | grep -i sata returns for
my PC:

0000:01:07.0 RAID bus controller: Silicon Image, Inc. (formerly CMD Technology Inc) SiI 3512 [SATALink/SATARaid] Serial ATA Controller (rev 01)
^^^^^^^^^^^^
lspci -n | grep 0000:01:07.0 says

0000:01:07.0 0104: 1095:3512 (rev 01)
~                   ^^^^ ^^^^
Next step is to search for 1095 and 3512 in
/lib/modules/2.6.9/modules.pcimap:

% grep 1095 /lib/modules/2.6.9/modules.pcimap | grep 3512
sata_sil             0x00001095 0x00003512 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
^^^^^^^^                   ^^^^       ^^^^
In this example "sata_sil" is the module name to add
to /etc/mkinitrd/modules. Since modules.pcimap is
generated using information compiled into the kernel
modules, only the modules you have built are listed.


Regards

Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFBkF2ZUTlbRTxpHjcRAiGVAJ9lvcmbuasMuTtCJJ3KT12rBrsN/gCfVFKK
WKsRFiO5BaM4oKVgBYS3CwI=
=q4oN
-----END PGP SIGNATURE-----



Reply to: