Hi every body!
I was finally able to successfully compile the kernel and modules.
As I wrote before, soon after kernel loads in my system it panics and
says "initrd not found". scuzzman said maybe mkinitrd is obsolete or
that the "initrd" image file itself has a problem. I commented out the line
"initrd /initrd-2.6.10.img" in /boot/grub/menu.lst and system booted.
I have figured out the problem! as the documentaion file for initrd, "inird.txt"
in Linux Source code says:
"... kernel has to be compiled with RAM disk support and with
support for the initial RAM disk enabled."
To my much surprise, in the default .config file, support for RAM disk is
not set! So newbies like me have to get confused enough before they pull
it off.
Now my new kernel is working fine, but I have a problem.
I have compiled the kernel with module autoloadig support
( eg with the line CONFIG_MODULES=y in .config file ) .
I have also installed module-init-tools-3.0. but my kernel is unable
to load the required modules when necessary and I have to manually
load a module with "modprobe". To give you some useful info, the file
/proc/sys/kernel/modprobe contains : "/bin/true". but according to
"Linux Loadable Kernel Module HOWTO" it should contain /sbin/modprobe .
(This file is used by kernel to find and run the program to load the modules)
When I replace the contents of modprobe with "/sbin/modprobe" , autoloading
starts to work till the system is rebooted.
Does anybody have an idea why?
I would appreciate any comment or suggestion.
BTW, It seems that the LKMs in 2.6 series have the prefix ".ko" instead
of the old ".o" one. Am I correct ?
Thank you