Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
As my first post ever, I will reqest insight into compiling the 2.6.6 kernel.
It probably doesn't matter, but my distro is Slackware Linux 9.1
I am a relative newbie, and I probably should have gotten more expierience building kernels before I took on 2.6, but I cannot regret the past.
I did everything that I was told to do.
I downloaded source and tarballed it in /usr/src/
I cd linux-2.6.6
I screw around in menuconfig, being shure to check "load modules at startup"
after a short while outputs
"blah blah bzImage is ready."
after about 10 seconds, outputs only 3 lines of text:
make: 'arch/i386/kernel/asm-offsets.s' is up to date.
Building modules, stage 2.
4 lines in 5 seconds this time:
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.6; fi
everything after that goes smoothly so LILO actively boots my new kernel.
The Kicker here: 2.6.6 boots fine, but is pretty useless given that lsmod reveals no modules ever loaded.
You don't need to do make bzImage and make modules with a 2.6 kernel
cp /path/to/config .config # copy in an old .config to start from
cp arch/i386/boot/bzImage /boot/vmlinuz #copy the new kernel where your bootloader can find it
cp System.map /boot
I tried everything that you said. There is no change. The kernel compiles fine. It is just that I don't think that my modules are compiling and here are my reasons:
1) Compiling all the modules, according to other references, should take far longer than 10 seconds
2) Whenever it boots up, it has loaded no modules unless I modprobe.