|
楼主 |
发表于 2006-4-28 18:10:31
|
显示全部楼层
extreme001:
多谢!
问题已经解决,是内核编译时menuconfig不对导致地~~,和大家分享一下:
make menuconfig
(Linux Kernel Configuration: 2.6.x)
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
Bootsplash configuration --->
Bootup splash screen
/*=====================================*/
(For any kernel do NOT enable the following options or else you risk bootsplash not working or framebuffer corruption when switching VTs. )
Device Drivers --->
Graphics support --->
< > nVidia Riva support (do not enable!)
Logo configuration --->
[ ] Bootup logo (do not enable!)
(And add the following line to your /etc/X11/XF86Config[-4] or /etc/X11/xorg.conf file.)
Option "NvAGP" "1"
然后根据北南兄编译内核一节所述完成内核配置,修改grub配置文件,类似如下:
kernel=(hd0,0)/boot/bzImage root=/dev/hda3 video=vesafb:ywrap,mtrr vga=0x31A
然后,reboot即可
顺便给出分辨率对照表格:
Here is a chart of kernel mode numbers for the 'vga=' boot parameter. Colours 640x400 640x480 800x600 1024x768 1152x864 1280x1024 1400x1050 1600x1200
4 bits ? ? 0x302 ? ? ? ? ?
8 bits 0x300 0x301 0x303 0x305 0x161 0x307 ? 0x31C
15 bits ? 0x310 0x313 0x316 0x162 0x319 0x340 0x31D
16 bits ? 0x311 0x314 0x317 0x163 0x31A 0x341 0x31E
24 bits ? 0x312 0x315 0x318 ? 0x31B 0x342 0x31F
32 bits ? ? ? ? 0x164 ? ? ? |
|