On 01/23/2012 11:32 PM, Anisha Kaul wrote:
On 24 January 2012 10:56, Larry Finger<Larry.Finger@lwfinger.net> wrote:
One thing you did wrong appears to be that you built the kernel as root. That is definitely not recommended.
I didn't know that. Will take care in future. But, what is so harmful about that?
Maybe nothing; however, if there is a bug in the Kmake process, severe damage may be done. At one point, such a bug destroyed /dev/null when the kernel was built as root. Once that happened, nothing would boot. It is best to avoid any such possibility.
When you did the 'make modules_install', was the last step 'DEPMOD <version>'? That is the step that build the appropriate versions of modules.dep.
The result is:
# make modules_install INSTALL arch/x86/kernel/test_nx.ko INSTALL drivers/scsi/scsi_wait_scan.ko INSTALL net/netfilter/xt_mark.ko DEPMOD 3.1.0
Yes, that is the step that builds modules.dep. You can manually do it with sudo /sbin/depmod -a 3.1.0 Larry -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org