mallyone
02-14-2005, 09:50 AM
I guess I should start out by apologizing for the length of this post, a quick summary of my problem:
:: Summary ::
Framebuffer starts with blank screen when booting recompiled, apt-get'd 2.6.9 kernel (and headers) using grub, passing the appropriate kernel options video and vga..
:: Long Version ::
I have an nvidia geforce 2 card and fb works great when booting from a knoppix disk, it works great, but won't work after an hd install. A quick history of my install, I wasn't able to use the knoppix-hdinstall script because of some file errors I was getting from both the cd and a mounted knoppix 3.7 iso so I followed the hd install script and installed pretty much by hand (save a few kde locale files). I then did an apt-get upgrade for all the packages to make sure any missed files would be included. Since I did that, I haven't been able to get the frame buffer working for a 2.6 kernel. It appears to boot ok, but once out of grub, the screen goes blank and it chugs on the harddrive for a while and then stops. This leads me to believe everything but the FB setup is correct. Cycling the power on the monitor or or switching vterms doesn't do anything.
I've rebuilt the kernel with apt-get'd sources, included vesa and framebuffer support using the following framebuffer specific configs:
Code maturity level options --->
Prompt for development and/or incomplete code/drivers
Processor type and features --->
MTRR (Memory Type Range Register) support
Device Drivers --->
Block devices --->
<*> Loopback device support
<*> RAM disk support
(4096) Default RAM disk size
Initial RAM disk (initrd) support
Graphics support --->
Support for frame buffer devices
VESA VGA graphics support
Console display driver support --->
Video mode selection support
<*> Framebuffer Console support
I grabbed that from a gentoo faq, but other research I've done seems to verify this as being right. All are compiled in, instead of modules.
One config item I couldn't find that was in the gentoo instructions was
Bootsplash configuration --->
Bootup splash screen
I have no idea if I need to patch my kernel or if that option is even needed.
Anyhow, I've compiled and recompiled, setting rivatnt to compile in, then module. Compiled the nvidia kernel module etc, etc. Tried various vga= modes, ranging from 640x480 with 256 colours up to 1280x1024 with millions of colours. I've also used various incarnations of init.d images created using the current kernel and modules, all with the same result.
my grub looks like this:
groot (hd0,0)
root (hd0,2)
kernel (hd0,0)/vmlinuz-2.6.9 ro root=/dev/hde3 ramdisk_size=10000 lang=us video=vesafb:ywarp,mtrr vga=0x31a
savedefault
boot
I can boot to command-line if I remove the video and vga options.
I figured I could just boot to the blank screen, wait until the hardrive stops chugging and throw in a knoppix cd and read /var/dmesg, but it appears this hasn't been written to since 2001!?!?! Is there a knoppix specific place this is stored?
The funny thing is, the untouched 2.4.x kernel works fine, so I figure it must be a setup issue in menuconfig.
If this looks in the least bit familiar, please drop a quick hint of where I should go digging next. this has eaten up an entire weekend plus and it's getting totally frustrating :evil: .
Thanks in advance for any help your able to offer...
:: Summary ::
Framebuffer starts with blank screen when booting recompiled, apt-get'd 2.6.9 kernel (and headers) using grub, passing the appropriate kernel options video and vga..
:: Long Version ::
I have an nvidia geforce 2 card and fb works great when booting from a knoppix disk, it works great, but won't work after an hd install. A quick history of my install, I wasn't able to use the knoppix-hdinstall script because of some file errors I was getting from both the cd and a mounted knoppix 3.7 iso so I followed the hd install script and installed pretty much by hand (save a few kde locale files). I then did an apt-get upgrade for all the packages to make sure any missed files would be included. Since I did that, I haven't been able to get the frame buffer working for a 2.6 kernel. It appears to boot ok, but once out of grub, the screen goes blank and it chugs on the harddrive for a while and then stops. This leads me to believe everything but the FB setup is correct. Cycling the power on the monitor or or switching vterms doesn't do anything.
I've rebuilt the kernel with apt-get'd sources, included vesa and framebuffer support using the following framebuffer specific configs:
Code maturity level options --->
Prompt for development and/or incomplete code/drivers
Processor type and features --->
MTRR (Memory Type Range Register) support
Device Drivers --->
Block devices --->
<*> Loopback device support
<*> RAM disk support
(4096) Default RAM disk size
Initial RAM disk (initrd) support
Graphics support --->
Support for frame buffer devices
VESA VGA graphics support
Console display driver support --->
Video mode selection support
<*> Framebuffer Console support
I grabbed that from a gentoo faq, but other research I've done seems to verify this as being right. All are compiled in, instead of modules.
One config item I couldn't find that was in the gentoo instructions was
Bootsplash configuration --->
Bootup splash screen
I have no idea if I need to patch my kernel or if that option is even needed.
Anyhow, I've compiled and recompiled, setting rivatnt to compile in, then module. Compiled the nvidia kernel module etc, etc. Tried various vga= modes, ranging from 640x480 with 256 colours up to 1280x1024 with millions of colours. I've also used various incarnations of init.d images created using the current kernel and modules, all with the same result.
my grub looks like this:
groot (hd0,0)
root (hd0,2)
kernel (hd0,0)/vmlinuz-2.6.9 ro root=/dev/hde3 ramdisk_size=10000 lang=us video=vesafb:ywarp,mtrr vga=0x31a
savedefault
boot
I can boot to command-line if I remove the video and vga options.
I figured I could just boot to the blank screen, wait until the hardrive stops chugging and throw in a knoppix cd and read /var/dmesg, but it appears this hasn't been written to since 2001!?!?! Is there a knoppix specific place this is stored?
The funny thing is, the untouched 2.4.x kernel works fine, so I figure it must be a setup issue in menuconfig.
If this looks in the least bit familiar, please drop a quick hint of where I should go digging next. this has eaten up an entire weekend plus and it's getting totally frustrating :evil: .
Thanks in advance for any help your able to offer...