LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-26-2003, 02:08 PM   #1
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Rep: Reputation: 30
black screen after kernel compile ....


Hello. I was fooling around with compiling the new 2.4.20 kernel and think that I did everything right (obviously something isn't) and now after i update lilo, etc I reboot and select my new kernel to boot and just get a black screen while my harddrive churns away. I can reboot and select my old linux kernel and everything works fine. Don't know what's wrong. My video card is on AGP bus if that makes any difference. I have compiled in support for AGP though.
any help appreciated.


thanks
 
Old 03-26-2003, 02:15 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Did you mess with the framebuffer section? If so, try undoing what you did. Also, I was assisting someone with kernel compiling once and this happened when they selected the wrong chipset drivers. Go through and make sure you have the correct ones of those as well

Cool
 
Old 03-26-2003, 02:30 PM   #3
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Original Poster
Rep: Reputation: 30
I have the ASUS A7V-133 mobo. So I have VIA chipset which I selected as built-in during config.

If your talking about the framebuffer section in lilo ... No i didn't touch it. My old kernel boots fine also.

thanks

Last edited by purpleburple; 03-26-2003 at 02:34 PM.
 
Old 03-26-2003, 02:48 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I mean the framebuffer in the kernel config under console drivers.



Cool
 
Old 03-26-2003, 03:17 PM   #5
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Original Poster
Rep: Reputation: 30
yes ... i added 'y' to 'video mode selection support' so that it is built in.

thanks

Last edited by purpleburple; 03-26-2003 at 03:19 PM.
 
Old 03-26-2003, 04:28 PM   #6
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Original Poster
Rep: Reputation: 30
I found the problem MasterC. It was in lilo.conf. I had to change the default framebuffer back to 'normal' and my new kernel now boots. However, I am wondering why it's not supporting the selection of a different video mode as my old kernel would. I compiled in 'video mode selection'.
Any ideas?


P.S. Upon trying to recompile my NVIDIA drivers in the NVIDIA_kernel directory, which usually has to be done after I recompile, using 'make install' I get 'depmod ... something failed in lib/modules/video/nivid.. something ... I may need to compile in Nvidia support into the kernel. Would not having NVIDIA compiled in
have something to do with why I can't select different framebuffer video modes out of X?

Also 'depmod -a' gives me>
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/video/nvidia.o



thanks alot

Last edited by purpleburple; 03-26-2003 at 05:21 PM.
 
Old 03-26-2003, 05:31 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I'm not too sure on your Nvidia problem as I don't have a card (meaning I haven't taken the time to truly understand the drivers for it). If depmod is giving you that, you might look at what /usr/src/linux is symlinked to. You may have to update it to your new kernel. Also, make sure you copied over your System.map file for your new kernel.

As for the video selection problem, I can only say that I am in the same boat. I too selected that, ended up having to specify "normal" in lilo, and have never really figured out why. If you come upon any discussions on it, or find anything out I'd be happy to hear about it

Cool
 
Old 03-27-2003, 01:09 PM   #8
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Original Poster
Rep: Reputation: 30
I have fixed the NVIDIA problem by cd'ing to the NVIDIA_kernel
directory and typing 'make clean' first. Then I type 'make install'
and everything installs successfully. Did the same with the NVIDIA_GLX directory ( except the 'make clean') and now I can successfully 'startx'.
 
  


Reply



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
compile kernel, black screen on init scripts infamous41md Linux - Newbie 3 12-17-2004 12:24 PM
Black Screen after new kernel Haniblectre Slackware 4 09-06-2004 05:12 PM
Slackware 9.1 new kernel compile displays black screen on boot. Krenn Slackware 3 03-29-2004 02:33 PM
Black Screen After Kernel Compiling Obscure Slackware 8 02-23-2004 04:14 AM
Black screen during boot up after new 2.6.1 kernel cjdock Slackware 17 02-01-2004 03:36 PM

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

All times are GMT -5. The time now is 07:00 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
Open Source Consulting | Domain Registration