-   Linux - General (
-   -   black screen after kernel compile .... (

purpleburple 03-26-2003 02:08 PM

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 :)

MasterC 03-26-2003 02:15 PM

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 :)


purpleburple 03-26-2003 02:30 PM

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 :)

MasterC 03-26-2003 02:48 PM

I mean the framebuffer in the kernel config under console drivers.



purpleburple 03-26-2003 03:17 PM

yes ... i added 'y' to 'video mode selection support' so that it is built in.

thanks :)

purpleburple 03-26-2003 04:28 PM

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 :)

MasterC 03-26-2003 05:31 PM

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 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 :)


purpleburple 03-27-2003 01:09 PM

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'. :)

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