LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   slackware 8 kernel question (https://www.linuxquestions.org/questions/linux-general-1/slackware-8-kernel-question-17003/)

chens_83 03-25-2002 09:23 PM

slackware 8 kernel question
 
i have just installed slackware 8 and i have been trying to install modules for everything..i have tried to insmod but i receive error messages saying that my kernel is 2.4.5-10 and i only have modules that support 2.4.5 how can i rectify this problem? I have had a look in /lib/modules and i only have a 2.2 and 2.4.5 directory.

taz.devil 03-25-2002 10:24 PM

Where did you get the kernel that you are compiling? I noticed that you use red hat but are trying to reconfigure a Slack kernel? Slack doesn't come with a 2.4.5-10 kernel. If you installed the kernel source AND modules upon install then there should only be the 2.2.19 and 2.4.5 directories in /lib/modules, likewise /usr/src. Are you recompiling from /usr/src/linux-2.4.5 or /usr/src/linux or another dir altogether? Advice is to download the newest 2.4.18 kernel source and compile it...

chens_83 03-25-2002 11:53 PM

Im not trying to install a kernel ..my /lib/modules has only the 2.2-18 and the 2.4.5 directories. i was trying to edit the rc.modules file for my nics but it just spits bak that i have a 2.4.5-10 kernel and there is only support for 2.4.5 ...something like that....mmm i think i might need to build anew kernel???

chens_83 03-26-2002 12:05 AM

ok i classify myself as a slak noob.....so i need to get a new kernel ok im fine with that but i still need to get the thing on the system and i cant seem to do that because i cant install any modules coz i get that error

chens_83 03-26-2002 12:26 AM

i think ive tracked down the user error ie myself. I have a dual boot system with 7.2 and 8 the lilo is on 7.2...I think slak is using the 7.2 kernel ?? coz 7.2 is using 2.4.5-10 .. all i want to know now is what should i put in lilo.conf for slak? lilo doesnt like /vmlinuz for the path. the kernel is on / for slak

taz.devil 03-26-2002 12:14 PM

It's possible that's what's happening since slack doesn't have a 2.4.5-10 kernel and RH does. If you post your lilo.conf file we can let you know what the entry should look like...

chens_83 03-26-2002 04:32 PM

my lilo.conf looks like
my default partition is linux

image= /vmlinuz
label = slackware
read-only
root= /dev/hda7

image = /boot/vmlinuz 2.4.5-10
label=linux
read-only
root=/dev/hda3

taz.devil 03-26-2002 04:45 PM

When you edited lilo did you re-run it before you restarted the computer to make sure the changes took effect? I can't see anything shouting at me that's wrong in that section unless Slack doesn't like the order in which your options are in. Mine looks like:

image = /boot/vmlinuz
root = /dev/hda5
label = Slackware
read-only

Of course I put vmlinuz in boot instead of the root partition.

chens_83 03-26-2002 05:19 PM

i cant give you the exact lilo error that it gave me.. but i will place the vmlinuz in /boot .. another thing tazz is that i think i am using the redhat swap partition? will that affect anything?? anyways thanks again for the post

taz.devil 03-26-2002 06:41 PM

Make sure you run /sbin/lilo after you make changes to lilo.conf so they take effect. As far as the swap goes, I actually think it's no problem sharing it as long as RH and Slack are set up to see it correctly which usually happens at install, so I think it's fine. Please correct me if i'm wrong though someone...

chens_83 03-26-2002 10:11 PM

lilo didnt like the changes to the lilo.conf file the error reads

added linux *
Boot image : /vmlinuz
Fatal:open /vmlinuz : NO such file or directory

hmm think its time to read some more docs....

taz.devil 03-27-2002 12:52 PM

Did you move your vmlinuz file to a place that LILO is not looking for it? Could you post where both the redhat and slack kernels are?

chens_83 03-28-2002 09:58 AM

ok the way i fixed this problem was by mounting the slackware root and copying vmlinuz over to redhat. i then changed lilo.conf accordingly..the slackware kernel starts up good now thanks for the help


All times are GMT -5. The time now is 06:44 AM.