LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 12-10-2003, 10:05 AM   #1
axion0917
Member
 
Registered: Nov 2003
Distribution: Arch Linux / LFS
Posts: 49

Rep: Reputation: 16
AHHH!!! kernel upgrade disaster!


Ok...I thought I knew what I was doing...apparently not. I've read a lot about the 2.4.22 bug that could easily compromise my system...so I decided to upgrade to 2.4.23. I'm using WindowsXP now on another PC...I'm using Slackware 9.1 and I used installpkg to install the following package: kernel-ide version 2.4.23. Everything went well and when I rebooted 3 kernel modules that I was using failed to load, including my network driver. They are: agpgart, 8139too, and ide-scsi. Is there an easy fix? Please let there be a way...any help appreciated greatly. I will be watching this thread closely Thanks
 
Old 12-10-2003, 10:15 AM   #2
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30
Check your loaded modules with following comamnd:
lsmod
This will tell you what, if any, modules are loaded and running. If the modules you need are not loaded and the drivers you are using as modules where compiled into the kenrel as modules, run following command to try and load them manually:
 
Old 12-10-2003, 10:19 AM   #3
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30
Sorry about that, my system just had a cramp:

Check your loaded modules with following: lsmod

If you compiled the kernel to use modules with respect to the drivers you need, you can try and load them manually with following command: modprobe <driver name>

Then run lsmod again to see if they are loaded.

I am not familiar with Slackware, but check to see if you have something along the lines of /etc/modules.autoload.d If you do, you can list the drivers you need loaded as modules in the file located in this directory. Once this is done, whenever you boot, your modules should load no problem.

Also, double-check your kernel configuration to make sure you compiled the drivers as modules or not.

Good luck.
 
Old 12-10-2003, 10:22 AM   #4
BSlack
Member
 
Registered: Nov 2003
Location: Italy: 44 42' N - 12 11' E
Distribution: Slackware, what else?!!
Posts: 63

Rep: Reputation: 15
I think you have to install the kernel-module package too...
 
Old 12-10-2003, 10:24 AM   #5
axion0917
Member
 
Registered: Nov 2003
Distribution: Arch Linux / LFS
Posts: 49

Original Poster
Rep: Reputation: 16
Hi thanks for the reply. lsmod reports that no modules are loaded...and modprobe says it cant find the module...same error as the init script which is why i dont have them loaded to begin with...any clue?
 
Old 12-10-2003, 10:25 AM   #6
tbranham
LQ Newbie
 
Registered: Dec 2003
Location: Baltimore, MD
Distribution: Slackware 9.1
Posts: 22

Rep: Reputation: 15
Hi there,
Did you only install the 'kernel-ide-2.4.23-i486-1.tgz' package?

Here are the instructions per the Slackware Security email that I received:
<quote>
WHERE TO FIND THE NEW PACKAGES:
+-----------------------------+

Updated packages for Slackware 9.1:
ftp://ftp.slackware.com/pub/slackwar....23-i486-1.tgz
ftp://ftp.slackware.com/pub/slackwar....23-i486-1.tgz
ftp://ftp.slackware.com/pub/slackwar...3-noarch-2.tgz

An alternate kernel may be installed. Those are found in this directory:
ftp://ftp.slackware.com/pub/slackwar...tches/kernels/

ALSA has also been updated to 0.9.8 and compiled for 2.4.23. These
packages will also be required to use the ALSA sound system:

ftp://ftp.slackware.com/pub/slackwar...9.8-i486-1.tgz
ftp://ftp.slackware.com/pub/slackwar...9.8-i486-1.tgz
ftp://ftp.slackware.com/pub/slackwar...9.8-i486-1.tgz
ftp://ftp.slackware.com/pub/slackwar...9.8-i486-1.tgz

The XFS patched kernel requires different kernel modules. If you use
the XFS filesystem and XFS patched kernel (xfs.s), these packages
contain kernel modules compiled against 2.4.23-xfs:
ftp://ftp.slackware.com/pub/slackwar...9.8-i486-1.tgz
ftp://ftp.slackware.com/pub/slackwar....23-i486-1.tgz

<snip>

INSTALLATION INSTRUCTIONS:
+------------------------+

Use upgradepkg to install the new kernel, kernel-modules, and alsa packages.
After installing the kernel-ide package you will need to run lilo ('lilo' at
a command prompt) or create a new system boot disk ('makebootdisk'), and
reboot.

If desired, a kernel from the kernels/ directory may be used instead. For
example, to use the kernel in kernels/scsi.s/, you would copy it to the
boot directory like this:

cd kernels/scsi.s
cp bzImage /boot/vmlinuz-scsi.s-2.4.23

Create a symbolic link:
ln -sf /boot/vmlinuz-scsi.s-2.4.23 /boot/vmlinuz

Then, run 'lilo' or create a new system boot disk and reboot.

</quote>

Try upgrading the kernel modules (and ALSA patches as well) too and see if that helps. Let me know how it all works out.
 
Old 12-10-2003, 10:32 AM   #7
axion0917
Member
 
Registered: Nov 2003
Distribution: Arch Linux / LFS
Posts: 49

Original Poster
Rep: Reputation: 16
i just downloaded kernel-modules from my xp box and burned it to a cdrw but when i try to mount the cd (or any cd for that matter) on my slackware box i get /dev/cdrom is not a valid block device. what should i do???
 
Old 12-10-2003, 10:40 AM   #8
BSlack
Member
 
Registered: Nov 2003
Location: Italy: 44 42' N - 12 11' E
Distribution: Slackware, what else?!!
Posts: 63

Rep: Reputation: 15
Check if /dev/cdrom exist, ls -l /dev/cd*.
Or try /dev/scd0.
 
Old 12-10-2003, 10:43 AM   #9
axion0917
Member
 
Registered: Nov 2003
Distribution: Arch Linux / LFS
Posts: 49

Original Poster
Rep: Reputation: 16
same error for /dev/scd0 and /dev/sr0 and /dev/cdrom exists
 
Old 12-10-2003, 10:43 AM   #10
axion0917
Member
 
Registered: Nov 2003
Distribution: Arch Linux / LFS
Posts: 49

Original Poster
Rep: Reputation: 16
i can mount a floppy but not sure how to split the modules file (its about 10mb)
 
Old 12-10-2003, 10:46 AM   #11
BSlack
Member
 
Registered: Nov 2003
Location: Italy: 44 42' N - 12 11' E
Distribution: Slackware, what else?!!
Posts: 63

Rep: Reputation: 15
If you haven't delete your old kernel try to boot it
 
Old 12-10-2003, 10:46 AM   #12
tbranham
LQ Newbie
 
Registered: Dec 2003
Location: Baltimore, MD
Distribution: Slackware 9.1
Posts: 22

Rep: Reputation: 15
What about placing the bare.i kernel image for 2.4.22 onto a floppy (via the win box) and booting that way? It would restore you to your previous functionality until you get the rest of the upgrades taken care of...
 
Old 12-10-2003, 10:47 AM   #13
axion0917
Member
 
Registered: Nov 2003
Distribution: Arch Linux / LFS
Posts: 49

Original Poster
Rep: Reputation: 16
no i didnt delete it, unless slapt-get automatically does....how would i tell, and how would i boot it?
 
Old 12-10-2003, 10:48 AM   #14
axion0917
Member
 
Registered: Nov 2003
Distribution: Arch Linux / LFS
Posts: 49

Original Poster
Rep: Reputation: 16
thanks tbranham....gonna try that now....thank you all for trying to help so far
 
Old 12-10-2003, 10:51 AM   #15
BSlack
Member
 
Registered: Nov 2003
Location: Italy: 44 42' N - 12 11' E
Distribution: Slackware, what else?!!
Posts: 63

Rep: Reputation: 15
Are you using lilo? There should be the old kernel entry on the lilo menu unless removed from the upgrade.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 9.3 upgrade disaster thegreatgatsby Suse/Novell 1 04-23-2005 03:21 AM
kernel disaster... teona Linux - Newbie 2 12-25-2003 08:31 PM
Newbie Kernel re-compile disaster Neorio Linux - General 7 10-23-2003 03:52 AM
kERNEL DISASTER nelsonnery Linux - Newbie 1 10-09-2003 05:46 AM
glibc upgrade disaster flap Linux - Software 8 05-27-2003 12:08 PM


All times are GMT -5. The time now is 06:56 PM.

Main Menu
Advertisement
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