Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 01-01-2006, 03:22 AM   #1
LQ Newbie
Registered: Jan 2006
Distribution: Gentoo
Posts: 18

Rep: Reputation: 0
newly-installed kernel boot problem

(I'm running FC4 on a Toshia laptop.)

I'm trying to get ndiswrapper working with a windows driver for my wireless card. I went through the installation instructions in the ndiswrapper wiki, and eventually got to modprobe-ing the card. However, this caused the system to freeze, and I could only get it to reboot correctly by unloading the driver in the rescue CD shell.

I did a bit of research and came to the conclusion that the 4k stack size of my current kernel was causing the system to hang when I modprobed (the wiki said that windows drivers usually need 12k, so my 4 wasn't going to cut it). Through the wiki I found a new kernel rpm from Linuxant that was identical to my current kernel except for having a 16k stack size enabled. I figured this would solve the problem, so I downloaded the new kernel and installed it with "rpm -Uhv *filename*, as instructed by the wiki. I know it was installed correctly because it shows up in grub. However, when I try to boot the new kernel, the process gets to "Uncompressing Linux..... Ok, booting the kernel", waits 15 seconds or so, and then reboots the computer. What could be causing this failure to boot? Did I install it incorrectly? What can I do to fix it?

Incidentally, I found a kernel patch, also from linuxant, that I could probably use to bypass the kernel boot problem. If I apply the patch, I should get a 16k stack size kernel that should still be bootable. I don't know how to use or apply it, though, it's just a bunch of text.

Thanks for any replies!
Old 01-01-2006, 09:21 AM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
First, you can try changing the kernel line in grub to use the actual drive/partition (root=/dev/hda5) instead of the partition (root=LABEL=/) label. Carefully review the top comments section of grub for the information. This should get you to hopefully boot, if not boot from the CD into rescue mode and install the kernel found on the CD.

Second, never install any kernel using 'rpm -Uhv' this results in any other already installed kernels to be removed(bad idea). Use 'rpm -ivh' instead, this will install the new kernel and keep the installed kernels.

Third, you could have (and should have) rebuilt your kernel with 16k stacks yourself;

Review the installation guide on how to get and use the kernel source;


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
Newly-Built Kernel Won't Boot, Old One Fails Kenji Miyamoto Slackware 6 05-27-2005 10:30 PM
Newly installed HDD boot problems using GRUB felixmvg Linux - Laptop and Netbook 1 02-25-2005 06:51 PM
Newly installed slackware system will not boot yelo Slackware - Installation 5 05-11-2004 06:01 AM
Newly installed Slack 9.1 problem - can't log in to GUI Nylex Slackware - Installation 2 05-10-2004 12:28 AM
uh-oh; boot problem in newly compiled 2.6.0 kernel with GRUB tombomb300 Linux - Newbie 10 01-28-2004 11:58 AM > Forums > Linux Forums > Linux - Distributions > Fedora

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

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