[SOLVED]Compiling kernel 2.6.26.3 vga=773 doesn't work
I am running ubuntu harty. I compiled linux kernel 2.6.26.3 and can't seem to get the vga=773 option to display the graphics text on bootup. Of course I used that on the end of line at menu.lst.
I googled for results. I found something of interest. Someone had very similar issue using Slackware found here Also my usb flash drives are not detected when I plug them in. Another topic. the thing I find confusing is I copied the .config file from /boot as instructed. What's the use of that file if it doesn't include the needed options. I was under the impression that it was the same as my current ubuntu install kernel, which is "2.6.24-21-generic". That works using vga=773. I have an integrated Intel 865G video. I tried all the frame buffer options using "make xconfig", starting from "General setup > Device Drivers > Graphics support". Nothing seems to work. I'm at my wits end. Anyone else find a solution? Like I said, I have turned on everything I can imagine. .config section in question: Code:
# |
Look what I found - the by default very large font size also annoyed me.
Did not test it yet but it looks like what you want. http://ubuntuforums.org/showpost.php...49&postcount=3 Wouldn't vga=792 look better? (773 - only 8 Bit) [edit] This here is related - you could just edit the file: http://ubuntuforums.org/showpost.php...76&postcount=5 The change from "fixed" to "vga" is doing the trick - as well as the font size setting. |
jomen, thanks for your reply. I'm not sure but I think the links refer to after the inital boot. I will check out later.
I think my problem lies in the Framebuffer area. I found something in a Gentoo document that looks exactly like my situation. If you go here and read the first two "green" notes, that is what happens to my boot. A blank screen. It states about the the driver has to be built in and NOT as a module. Then again, I read somewhere else about it being on the 'initrd' side of the equation. I'll recheck my .config and see if "Enable firmware EDID" is set. Finally, I haven't been able to get past vga=773. If I try anything more like you suggested, using '791' then the screen goes blank. That's if '773' works at all. I will be happy to just get '793' to work. |
Everything you need at boot time should not be a module. It could be a little different when you use an initrd like Ubuntu does.
I don't know because I don't use one - I find it more complicated than neccesary. If you put "vga=ask" instead you should get a list of resolutions your card is capable of. If you get a blank screen until fully booted (until X starts) it could be that your kernel does not have support for the "Support for the Framebuffer Console Decorations" option in "Graphics support" --> "Console display driver" CONFIG_FRAMEBUFFER_CONSOLE=m should be built in. Also a possible way is: remove the "quiet" and "splash" options from the kernel-line in grub.conf HTH |
I discovered something. Outputting 'lsmod' revealed that the generic kernel has almost 30 more modules than the one I built. The ones of importance is these:
fbcon 42912 71 tileblit 3456 1 fbcon font 9472 1 fbcon bitblit 6784 1 fbcon I'm not sure how these are built, through initrd? |
It is odd but maybe the modules previously there where not deleted - just updated.
Removing the directory /lib/modules/`uname -r` and then re-installing the just built modules should take care of that (make modules_install). Depends on how you built and installed your kernel. Debian and Ubuntu have tools for that - i.e. create a installable .dpkg from your custom kernel. You should use these - or go without initrd if you are not sure how to handle it. |
Quote:
Quote:
If you to there and read the "GOTCHA" that is exactly my issue! The weird part is I checked those as module install but after building it failed again. Then checking ".config" I noticed that they were still unchecked. I at least now know what needs to be installed. Regarding going without "initrd" , I don't know how or if I can do that. I'm assuming here it's all in how I compile the kernel. I use this command: make-kpkg --initrd --revision=2custom kernel_image kernel_headers modules_image So I guess the "--initrd" needs to be removed, but wouldn't that mess things up? Also thank you jomen for your interest in my problem. Looks like not much interest in building kernels here. Not just here but I'm finding not a whole lot of web sites with good support. I thinking they are all developers who do this sort of stuff. I find it quite fun, after the first few mishaps. I'm learning a lot. EDIT:I solved it. I was finally able to get the correct device installed using this from above link: "Device Drivers->Graphics Support->Support for 22 framebuffer devices->Framebuffer Console Support. Select 'y' to compile 23 support statically, or 'm' for module support. The module will be fbcon" |
All times are GMT -5. The time now is 09:52 PM. |