LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-28-2006, 11:51 AM   #1
crazybilly
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Rep: Reputation: 0
Installing 2.6.17 kernel on FC5 (2.6.15 current)


I'm totally Linux newb--I'd love to get off Windows....I've had FC5 with the 2.6.15-1.2054_FC5 kernel installed for a couple days and been playing around. I've been having problems installing ndiswrapper and several other things, so I figured I'd upgrade my kernel (downloading a newer version isn't really an option on dialup, and honestly, I hate to reinstall Ubuntu at this point).

I ran uname -rm and got, 2.6.15-1.2054_FC5 i686, so I downloaded kernel-2.6.17-1.2187_FC5.i686.rpm from the fedora repo. Then I ran the following

sudo rpm -ivh kernel-2.6.17-1.2187_FC5.i686.rpm

It hashed out 100% of Preparing, and 1:kernel and then it hung. I left it overnight just in case it was thinking. When I came back 10 hours later, it was at the same spot, so I hit ctrl+c. It exited with the following error:

error: %post(kernel-2.6.17-1.2187_FC5.i686) scriptlet failed, signal 2

So I figure it didn't install. But just to be sure, I reboot. It definately didn't load itself into grub--I don't have an option to boot into it. But if I try to install it again, it says it's already installed, and sure enough, when I run

yum list installed kernel

it show up:

kernel.i686 2.6.17-1.2187_FC5 installed
kernel.i686 2.6.15-1.2054_FC5 installed

So....where am I at? Do I just need to add the boot option manually? Or am I missing something or did something go wrong? Thanks ya'll!
 
Old 10-28-2006, 12:47 PM   #2
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
Looks like the install faltered before it could write an entry in grub configuration,you can try
sudo rpm -ivh --force kernel-2.6.17-1.2187_FC5.i686.rpm
 
Old 10-28-2006, 12:47 PM   #3
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Run the command ' rpm -qa | grep kernel ' to see what packages are installed.
Have you setup sudo?
If not ' su - ' as root and run the command without sudo and see what it does.

Now for ndiswrapper to install from source you will need the kernel-devel rpm that matches the kernel you are trying to install.
You can find an rpm of the ndiswrapper that should match your from here. http://www.atrpms.net/ and will not require you to have the kernel-devel installed.
If you upgrade the kernel you need to find a new rpm ndiswrapper for matching kernel or install the kernel-devel that matches the kernel version and build from source.

Also check out this think on many things one can setup on FC. http://stanton-finley.net/fedora_cor...ion_notes.html

Brian
 
Old 10-28-2006, 01:36 PM   #4
crazybilly
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sn68
Looks like the install faltered before it could write an entry in grub configuration,you can try
sudo rpm -ivh --force kernel-2.6.17-1.2187_FC5.i686.rpm
I'll give that a try.

rpm -qa | grep kernel returns

kernel-devel-2.6.15-1.2054_FC5
kernel-module-ntfs-2.6.15-1.2054_FC5-2.1.26-0.rr.10.0
kernel-2.6.17-1.2187_FC5
kernel-2.6.15-1.2054_FC5

which makes sense--the kernel and headers for my old kernel, plus the ntfs module...and then the new one. I suppose that's the part I don't get, hehehe.

Do I need to remove the new kernel before I try the --force?

Thanks!
 
Old 10-28-2006, 01:44 PM   #5
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
No, you need not remove the new kernel before using --force
The idea of using the force option is to force the OS to reinstall kernel, without the force option it will simply terminate the install process with a msg that pkg is already installed
 
Old 10-28-2006, 02:58 PM   #6
crazybilly
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Original Poster
Rep: Reputation: 0
gotcha. Ok, I tried forcing it. Looks like it worked--it didn't hang like the last one, at least.

I'll be rebooting now and be back w/ some feedback.
 
Old 10-28-2006, 03:09 PM   #7
crazybilly
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Original Poster
Rep: Reputation: 0
sure enough--that did it. thanks.

as far as wireless goes, what's the consensus nowadays: ndiswrapper or the bcm43xx driver? I've gotten the bcm43xx driver to turn the light on my wireless on (it's a Broadcom in an Acer laptop), but I can't get it to find the AP that I know is there (I heard rumors that the driver in the newer kernel is a bit better). Any advice about which one to pursue?
 
  


Reply

Tags
fc5, kernel


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel includes do not match current kernel rafc Linux - Newbie 5 04-23-2010 01:28 AM
installing a guest FC5 on FC5 xen using NFS niverson Fedora 0 08-11-2006 04:27 PM
Problems installing madwifi on FC5 updated kernel dehavik Linux - Wireless Networking 7 05-09-2006 07:48 AM
kernel includes at /usr/src/linux/include do not match current kernel. blanny Red Hat 1 03-09-2006 08:53 AM
compile a new kernel with setting default to current kernel mrpc_cambodia Red Hat 6 07-06-2004 12:32 PM


All times are GMT -5. The time now is 08:49 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