|
|
第一次发帖,大家好:flash:。我想使用uvesafb作为framebuffer设备的驱动,参考了cbkid兄的“[color="SeaGreen"]给没做gensplash的朋友”,以及[color="SeaGreen"]spock's devsite,一步步做下来,结果出现了一些错误。不知道该如何解决,请大家帮着出出建议。
遇到的问题:当内核编译好后,gentoo在启动时屏幕会出现大约10几秒钟的黑色空白,之后才会进入正常的启动过程。此时,console的分辨率被设置为了1024x768,与预想的相同。进入系统后,在各个tty之间进行切换,也会出现大约几秒钟的黑色空白,才会恢复正常。
[color="Blue"]#dmesg | grep fb
[ 0.000000] mapped APIC to ffffb000 (013c2000)
[ 0.000000] Kernel command line: root=/dev/sda3 video=uvesafb:1024x768-32,mtrr:3,ywrap
[ 0.059673] system 00:04: iomem range 0xff800000-0xffbfffff could not be reserved
[ 0.128213] uvesafb: Intel Corporation, Intel(r)852GM/852GME/855GM/855GME Graphics Controller, Hardware Version 0.0, OEM: Intel(r)852GM/852GME/855GM/855GME Graphics Chip Accelerated VGA BIOS, VBE v3.0
[ 0.133274] uvesafb: VBIOS/hardware supports DDC2 transfers
[ 0.269644] uvesafb: monitor limits: vf = 60 Hz, hf = 48 kHz, clk = 65 MHz
[ 0.269796] uvesafb: scrolling: redraw
[ 5.275019] [color="Red"]uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
[ 10.419021] uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
[ 15.569020] uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
[ 15.713816] uvesafb: framebuffer at 0xe8000000, mapped to 0xde980000, using 6144k, total 32576k
[ 15.713819] fb0: VESA VGA frame buffer device
[ 34.834029] uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
[ 743.307028] uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
[ 753.613027] uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
[ 2184.164027] uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
[ 4049.848027] uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
[ 5802.799028] uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
[ 6033.000034] uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
[ 6054.040027] uvesafb: mode switch failed (eax=0x4f02, err=1). Trying again with default timings.
[color="Blue"]#dmesg | grep v86d
[ 0.128014] v86d used greatest stack depth: 7108 bytes left
[ 0.405902] v86d[389]: [color="Red"]segfault at c6ba9 ip 0000724d sp 00000fc4 error 7 in v86d[9000+1000]
[ 0.405963] v86d used greatest stack depth: 6816 bytes left
[ 5.549695] v86d[394]: segfault at c6ba9 ip 0000724d sp 00000fc4 error 7 in v86d[9000+1000]
[ 10.693510] v86d[397]: segfault at c6ba9 ip 0000724d sp 00000fc4 error 7 in v86d[9000+1000]
[ 29.939184] v86d[400]: segfault at c6ba9 ip 0000724d sp 00000fc4 error 7 in v86d[9000+1000]
[ 738.427173] v86d[1971]: segfault at c6ba9 ip 0000724d sp 00000fc4 error 7 in v86d[9000+1000]
[ 748.725606] v86d[3471]: segfault at c6ba9 ip 0000724d sp 00000fc4 error 7 in v86d[9000+1000]
[ 2179.270645] v86d[3477]: segfault at c6ba9 ip 0000724d sp 00000fc4 error 7 in v86d[9000+1000]
[ 4044.958700] v86d[3551]: segfault at c6ba9 ip 0000724d sp 00000fc4 error 7 in v86d[9000+1000]
[ 5797.903970] v86d[3888]: segfault at c6ba9 ip 0000724d sp 00000fc4 error 7 in v86d[9000+1000]
[ 6028.098042] v86d[3993]: segfault at c6ba9 ip 0000724d sp 00000fc4 error 7 in v86d[9000+1000]
[ 6049.166706] v86d[4008]: segfault at c6ba9 ip 0000724d sp 00000fc4 error 7 in v86d[9000+1000]
[color="Blue"]#uname -a
Linux Super 2.6.27-gentoo-r7 #5 SMP Tue Dec 23 14:44:35 CST 2008 i686 Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux
以上是可以看到的一些错误信息,请大家帮着分析一下如何解决。如果还需要什么信息,您可以告诉我,我会在稍后贴出来 谢谢
uvesafb我是直接编译进内核里的。 |
|