SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hope someone can help me. I have tried to upgrade my kernel to 2.6, but when rebooted theres no framebuffer support anymore(the words are huge), and I have no module support for iptables, and many others. lsmod reveals there are absolutely no modules.
thanx for any help.
The steps I used to compile were.
grab source
cp > /usr/src/
rm -r linux
ln -s blah blah
make mrproper
make oldconfig
make
make modules_install
/sbin/lilo
don't do `rm -r linux`
`ln -s blah blah` does absolutely nothing
try `make bzImage` and `make modules`
I do that (make the softlink to the current kernel), because some programs need the kernel to compile. I would rather tell it to go to /usr/src/linux, rather than /usr/src/linux-2.6.17-rc3. Just makes life a little easier.
Also, don't 'make bzImage' and 'make modules'. Just type 'make' (It does both for the 2.6 series), then type 'make modules_install'
I do that, because some programs need the kernel to compile. I would rather tell it to go to /usr/src/linux, rather than /usr/src/linux-2.6.17-rc3. Just makes life a little easier.
then you must be linking something other than "blah"
I took it to mean just 'yada yada yada' rather than type
Code:
rm -r linux
ln -s /usr/src/linux-2.6.99.99 /usr/src/linux
I understand what you mean, tho. Clarity helps.
Kodon, try the 'make', it's much shorter w/2.6 In thev 2.4 kerenels, you do need 'make bzImage', 'make modules'. Give it a shot.
Plus, sometimes if you know the kernel works, and are just adding/subtracting from a perfect config, try 'make install' after. (Will install it to /boot, but not a recommended procedure. I prefer to copy myself, and edit lilo.)
make mrproper deletes the current .config file from the kernel source tree and uses a default one, which IMHO, it's not adequate by default. Recheck your kernel options with menuconfig, xconfig or using oldconfig with your old config file but without doing make mrproper (or copy the .config file AFTER mrproper).
I have done everything as shilo instructed. this is not my first compile but first to 2.6. I happen to do the rm -r as habbit, and on occasion it gets me in trouble, but btw the ln -s to hardlink kernel source is just laziness and habbit as well. as to compiling audio, video uh i am not sure. Is ther something else involved here that I am missing? there should be a reason that lsmod shows nothing. I just cant' figure it out. Basically there is not a thing suggested above that I haven't done. I assumed that long time linux users would automatically know what ln -s blah blah was (aka I have done the usual steps). I hear you though every one has to know exactly what has been done to help.
I don't think you need to recompile the kernel. I don't use framebuffer, but I think they should be compiled as modules in the default kernel. So you may need to add them in a RAM image to make them work (same thing you do with the root file system support), because you need them right ahead, before you mount the root file-system.
Well, I appreciate the help guys, but no luck yet. When making the initrd image any module I add such as mkinitrd -c -k 2.6.16.18 -m ip_tables:gpm -f /dev/hda3 yields
can't find module ip_tables. Is /lib/modules/kernel-verstion linked to the kernel somewhere that maybe I haven't assessed correctly. I sure thought that the initrd sounded like a good idea, but I just don't know. Even if I just copy config & System.map to /boot, and cp bzImage to /boot/vmlinuz from a precompiled kernel, I get framebuffer support, but still lsmod reveals no modules whatsoever.
are the modules there?
can you modprobe them?
have you done it with `make xconfig` or `make menuconfig`?
the iptables configuration (as well as others)
has changed considerably since 2.4
and i doubt `make oldconfig` can handle the jump...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.