|
From: Serge L. <ser...@gm...> - 2012-02-25 06:34:52
|
On 02/24/2012 10:14 PM, Martin Glazer wrote: > I think it must be the hotplug modules that are missing > > this is my output from lsmod > root@Devil:~ # lsmod > Module Size Used by > ipv6 274019 12 > dm_mod 66521 0 > md_mod 100338 0 > i2c_isch 3124 0 > i2c_core 18870 1 i2c_isch > uas 8089 0 > ahci 19843 0 > libahci 19102 1 ahci > e1000e 138681 0 > libata 163311 2 ahci,libahci > pch_gbe 32970 0 > mii 3787 1 pch_gbe > pch_phub 6506 0 > lpc_sch 2464 0 > shpchp 25273 0 > pci_hotplug 22206 1 shpchp > cn 3905 0 > loop 67443 2 ... > Can you please let me know how I can add the missing modules to initrd? > I assume you are in DL. cd /tmp/ cp /boot/initrd.gz ./ gzip -d initrd.gz mkdir 123 cd ./123 cpio -id < ../initrd mkdir lib/modules/3.2.4-grsec/kernel/drivers/pci cp -ar /lib/modules/3.2.4-grsec/kernel/drivers/pci/hotplug ./lib/modules/3.2.4-grsec/kernel/drivers/pci/ find . | cpio -H newc -o | gzip -9 > ../initrd.gz then replace old initrd.gz file on your boot media (/dev/sdb) by new one Serge |