LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 07-27-2006, 08:37 AM   #1
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Rep: Reputation: 15
Black screen when booting new 2.6.17 kernel


Hi guys,

I configured and compiled my new 2.6.17 kernel last night, installed it, and when I went to boot it the screen just goes black after decompressing the kernel. I can still hear some hard drive activity so it seems like the rest goes fine.
Note that when installing the kernel I didn't change the symbolinc links pointing to System.map and .config.... Could that be the problem???

Thanks a lot!!!
 
Old 07-27-2006, 11:14 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,334

Rep: Reputation: 144Reputation: 144
I don't think that's your problem. If you are using a proprietary binary driver from nvidia or ati, they have to be recompiled whenever you change your kernel. That's the most likely explanation.
 
Old 07-27-2006, 11:19 AM   #3
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,245
Blog Entries: 16

Rep: Reputation: 233Reputation: 233Reputation: 233
are you using an initrd when booting? you probably need to update the modules inside it:
Code:
mkinitrd -o initrd 2.6.17
 
Old 07-27-2006, 12:04 PM   #4
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by kilgoretrout
I don't think that's your problem. If you are using a proprietary binary driver from nvidia or ati, they have to be recompiled whenever you change your kernel. That's the most likely explanation.
ok thanks but can you include the driver even if your kernel isn't compiled and running yet? Could you tell me how you do this please?

thanks
 
Old 07-27-2006, 12:06 PM   #5
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by konsolebox
are you using an initrd when booting? you probably need to update the modules inside it:
Code:
mkinitrd -o initrd 2.6.17
Hi, I'm using lilo when booting, what is initrd???
 
Old 07-27-2006, 12:54 PM   #6
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,334

Rep: Reputation: 144Reputation: 144
You install the kernel then recompile the graphics driver if you are using the nvidia or ati driver. Which graphics card and driver are you using?

Edit: I reread your inital post and it seems you are not even getting to a command line login. In that case, you likely left some needed drivers/modules out of your kernel or you need to update your initrd per the above post, assuming you have apropriate module support compiled in your kernel. If you are using the nvidia or ati drivers, you will then boot to a command line login where you can login as root and reinstall your graphics driver.

Last edited by kilgoretrout; 07-27-2006 at 01:00 PM.
 
Old 07-27-2006, 05:43 PM   #7
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,245
Blog Entries: 16

Rep: Reputation: 233Reputation: 233Reputation: 233
Initrd is the first fs that's loaded by a bootloader like lilo. It's a ramfs image that's loaded to the memory at boot and is read like an ordinary filesystem. It's optional but it's most useful for systems with complicated boot devices just like network bootdisks.

Take a look at these links for more info.

http://www.tldp.org/LDP/Linux-Filesy...ml/initrd.html
http://en.wikipedia.org/wiki/Initrd

It's also called init-ramfs btw.
 
Old 07-28-2006, 08:38 AM   #8
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by konsolebox
Initrd is the first fs that's loaded by a bootloader like lilo. It's a ramfs image that's loaded to the memory at boot and is read like an ordinary filesystem. It's optional but it's most useful for systems with complicated boot devices just like network bootdisks.

Take a look at these links for more info.

http://www.tldp.org/LDP/Linux-Filesy...ml/initrd.html
http://en.wikipedia.org/wiki/Initrd

It's also called init-ramfs btw.
Thanks for that!!!!!

Ok, problem solved!!! I think I made a mistake when configuring the thingy. Now it works I can boot on the new kernel and stuff but I get another problem .... so will make another post
 
  


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
black screen with new kernel. jp-lack Slackware 7 07-02-2006 12:36 PM
FC4, Black screen when booting, Latitude D610 mike80 Linux - Hardware 7 10-10-2005 02:40 AM
just get black screen when booting up SuSE 9.1 xxvm1 Linux - Newbie 7 07-12-2004 04:02 PM
Black Screen On Booting On GeForce 3 With Nvidia Detonator Drivers On Mandrake 10.0 Cnupm96 Linux - Hardware 3 06-02-2004 07:46 PM
booting into kde drops me into black screen thrice Slackware 2 01-19-2004 10:39 PM


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