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

Notices

Reply
 
Search this Thread
Old 01-01-2006, 04:22 AM   #1
Secant
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, 10:21 AM   #2
Lenard
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: 56
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;

http://www.digitalhermit.com/linux/K...ild-HOWTO.html

Review the installation guide on how to get and use the kernel source;
http://fedora.redhat.com/docs/releas...ata/#sn-kernel
 
  


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


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 11:30 PM
Newly installed HDD boot problems using GRUB felixmvg Linux - Laptop and Netbook 1 02-25-2005 07:51 PM
Newly installed slackware system will not boot yelo Slackware - Installation 5 05-11-2004 07:01 AM
Newly installed Slack 9.1 problem - can't log in to GUI Nylex Slackware - Installation 2 05-10-2004 01:28 AM
uh-oh; boot problem in newly compiled 2.6.0 kernel with GRUB tombomb300 Linux - Newbie 10 01-28-2004 12:58 PM


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

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