LinuxQuestions.org
Visit Jeremy's Blog.
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 01-08-2003, 12:38 PM   #1
mdebolt942
LQ Newbie
 
Registered: Nov 2002
Posts: 4

Rep: Reputation: 0
Wrong kernel


Only in education. Does anybody know if there is a way to fix this problem, short of starting over from scratch? While doing a kernel upgrade today, one of my students loaded the wrong kernel. There are 7 machines in the lab that use 586 kernel and 2 that need 686. Yes you guessed it, these rocket scientists loaded the Red Hat 2.4.18-19 update 586 version on a 686 machine. The machine still runs but has problems. Any help would be appreciated. I did try to install the proper kernel instead of upgrading, that didnt work.
 
Old 01-08-2003, 12:43 PM   #2
wdingus
Member
 
Registered: Aug 2001
Location: Kingsport, TN
Distribution: RHEL & FC
Posts: 267

Rep: Reputation: 30
You don't provide information as to the distrubition and/or how the kernel was installed/upgraded. I'm going to assume RedHat of some version with vendor-provided kernel RPMs.

You should not do a kernel "upgrade" via RPM. Always do an install, boot on the new, if all is well you can then de-install the RPM of the older version. If you did that, just choose the previous kernel from the LILO or GRUB boot menu. If that's not what was done and you only have 1 kernel to choose from and it's the one that is _working_ but incorrect, go ahead and install the new one now. Do it "rpm -ivh kernel.i686..." though.. If you're using grub then edit /etc/grub.conf to set that kernel as default OR just choose it when you reboot off the boot menu. Same for lilo but remember to run /sbin/lilo after making any changes to /etc/lilo.conf

RedHat .i386 .i586 and .i686 kernels are just compiles with optimizations for those particular processor classes. A .i386 one will run on just about any Intel CPU from 386 forward but perhaps not take advantage of new capabilities and therefore not run as fast or as efficient as it could have. Running a .586 optimized one on a newer CPU I would think would work fine... Probably best to install the .i686 one in your scenario though.

Good luck!
 
  


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
the wrong kernel! TomalakBORG Slackware - Installation 5 03-30-2005 10:17 PM
rpm -qa | grep kernel gives wrong kernel version markelo Red Hat 3 07-18-2004 10:35 AM
New Kernel - What am I doing wrong? muzicman82 Slackware 11 12-04-2003 03:49 AM
Wrong Kernel Axsyrus Linux - Hardware 6 09-26-2003 05:13 PM
wrong kernel? nocturnal Slackware 3 06-12-2003 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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
Open Source Consulting | Domain Registration