LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-07-2003, 03:54 PM   #1
Sn1PeR
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Rep: Reputation: 15
Kernel update problems


I installed some slackware upgrades(the kernel one too using updatepkg), but it seems to ahve renamed my /lib/modules/2.4.21 folder to /2.4.21-xfs

because of this it is failing to find my network card.... and use modprobe... any help would be great...

How can I fix this? I'm screwed

edit: Whenever I run modprobe it trys to find the old 2.4.21 folder and spits out an error because it cannot find it....

edit2: I think one of my main problems now is that I don't have my kernel source installed... how would I go about installing it for the 2.4.21-xfs kernel? I can burn it to a cd to get it on there... just point me in the right direction and tell me what to do... I think this might be solved soon. I think I will have to compile a new kernel to fix the problem, but to do this I need to have the kernel source and know how to install that.

Last edited by Sn1PeR; 09-07-2003 at 04:16 PM.
 
Old 09-08-2003, 06:52 AM   #2
marek
Member
 
Registered: Aug 2003
Location: Poland
Distribution: Slackware 9.1
Posts: 34

Rep: Reputation: 15
Hmm situation looks like that:
1) You have got a new modules insted old (i have never seen how package kernel-modules-2.4.21-xfs looks, but it should be very similar to kernel-modules-2.4.20-xfs , so you should have each of modules you need (to file system, devices, etc. ) in this package.

But you still have an old /etc/rc.d/rc.modules file. Of course you probably also have a new version of this file (/etc/rc.d/rc.modules.new) but changing this files won't resolve the problem, because both these scripts reference to kernel 2.4.21 (write command -> uname -a , you will see that this is just this version of kernel).

2) Solutions:

- you can rewrite the rc.modules script (instead uname -r write your wersion of kernel, it should works great (the only difference with -xfs version is only patched with xfs supply))
-you can install always source of kernel 2.4.21 (www.kernel.org ), compile and install 2.4.21 your own compiled modules

that's all

Ps. If you know everything i wrote, sorry, i don't know on which level you are
 
Old 09-08-2003, 08:57 PM   #3
Sn1PeR
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Original Poster
Rep: Reputation: 15
-delete-

Last edited by Sn1PeR; 09-08-2003 at 09:23 PM.
 
Old 09-08-2003, 09:19 PM   #4
Sn1PeR
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Original Poster
Rep: Reputation: 15
When running it with $RELEASE='2.4.21-xfs' (which I beleive is correct) I get the following error: /etc/rc.d/rc.S line 25 =2.4.21-xfs : command not found.... when it says line 25 do I count comments and spaces? I don't see anything refering to $RELEASE...

edit: fixed that problem by removing the $ so it now reads RELEASE='2.4.21-xfs' ... no more errors about that during boot, however, it still says that modprobe cannot open dependancies file /lib/modules/2.4.21/modules.dep

so now I'm really stuck how do I update modprobe to point to the write place?

Last edited by Sn1PeR; 09-08-2003 at 09:22 PM.
 
Old 09-09-2003, 04:03 AM   #5
marek
Member
 
Registered: Aug 2003
Location: Poland
Distribution: Slackware 9.1
Posts: 34

Rep: Reputation: 15
Linux has a right, because command '2.4.21-xfs' doesn't exist. I'm guessing you have got modules.dep in directory /lib/modules/2.4.21-xfs (it should be there), so exchange every "$Release" (maybe not every, these not after "echo" ) in rc.modules on correct directory "2.4.21-xfs". that's all - it must works!!!
But i still suggest you to install kernel (with any version you want) and compile it - it will be great lesson for you. And after compiling of course you should come back to the old version of rc.modules (this before any changes). If you don't know how compile the kernel, it's traditionally
1) make config or make xconfig
2) make dep
3) make clean (is usually useful )
4) make bzImage
5) make modules
6) make modules_install

that's all

Ps. of course you have to copy your kernel (let me guess /usr/src/kernel_version/arch/i386/boot/bzImage to /boot
and add correct line to your bootloader
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
HELP:Problems about Update kernel 2.6.10 AK prince Slackware 5 09-22-2005 08:15 PM
Problems after Kernel update KR-data Linux - Hardware 6 12-05-2004 06:32 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM
Kernel update problems Goatdemon Linux - General 2 06-24-2002 12:51 AM


All times are GMT -5. The time now is 07:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration