|
|
小弟负责学校里的一台linux服务器(非正式的,练习用的),虽然小弟是初学者。
最近把内核从2.4.20升到了2.6.11.11,已耗时约一周多(大一课余时间)。参考了很多文档,帖子等,目前已经大多数搞定。
但图形界面一直没能进去,在此发帖求助。
废话不说了。再说要挨打了……
该机子用的是华硕i810主板,应该是集成的i810显卡吧?(本人硬件白痴)
编译内核时与XFree86可能相关的项情况大致如下:
Device Drivers --> Character devices:
<M> /dev/agpgart (AGP Support)
--- Intel 440LX/BX/GX,I8XX and E7X05 chipset support ### ---是不是表示这个暂时不能选,需要其它某些选项作依赖?
<M> Direct Rendering Manager (XFree86 4.10 and higher DRI support)
<M> Intel I810
Device Drivers --> Graphics support:
Support for frame buffer support
<M> VGA 16-color graphics support VESA VGA graphics support
<M> Intel 810/815 support(EXPERIMENTAL) Multihed support
我怀疑是不是哪些地方还没选上,导致这个情况的。
接下来:
##################################
#
#startx
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-3bigmem i686 [ELF]
Build Date: 27 February 2003
Build Host: porky.devel.redhat.com
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.11.11 (root@localhost.localdomain) (gcc version 2.96 20000731 (Red Hat Linux 7.3
2.96-118)) #3 Tue Jun 21 20:07:04 CST 2005
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Jun 21 21:59:11 2005
(==) Using config file: "/etc/X11/XF86Config"
(EE) GARTInit: Unable to open /dev/agpgart (No such device)
(EE) I810(0): AGP GART support is not available. Make sure your kernel has
agpgart support or that the agpgart kernel module is loaded.
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
#
##################################
三个Error:
第一个我怀疑是不是驱动没装好?
第二个我想当时选的是编译为模块,于是就“# modprobe agpgart”,接下来“# lsmod”后,“agpgart”模块能找到,但还是
不能进,出同样的错。是不是这个模块还需要依赖其它模块?
第三个不知道是什么错误。实在没办法了。
接下来在网上找了一堆资料,并干过以下事情:
##################################
#
# XFree86 -configure
XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-3bigmem i686 [ELF]
Build Date: 27 February 2003
Build Host: porky.devel.redhat.com
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.11.11 (root@localhost.localdomain) (gcc version 2.96 20000731 (Red Hat Linux 7.3
2.96-118)) #3 Tue Jun 21 20:07:04 CST 2005
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Jun 21 22:43:14 2005
List of video drivers:
atimisc
radeon
r128
mga
glint
nv
tga
s3
s3virge
sis
rendition
neomagic
i740
tdfx
savage
cirrus
tseng
trident
chips
apm
fbdev
i128
nsc
ati
i810 ###显卡驱动应该没问题吧?
ark
cyrix
siliconmotion
vesa
vga
dummy
v4l
(++) Using config file: "/root/XF86Config.new"
XFree86 detected your mouse at device /dev/mouse.
Please check your config if the mouse is still not
operational, as by default XFree86 tries to autodetect
the protocol.
Your XF86Config file is /root/XF86Config.new
To test the server, run 'XFree86 -xf86config /root/XF86Config.new'
##################################
然后:
# XFree86 -xf86config /root/XF86Config.new
出错!情况如初。
另外,//etc/X11/XF86Config 如下(节选):
##################################
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LG 563N"
DisplaySize 310 230
HorizSync 30.0 - 63.0
VertRefresh 50.0 - 120.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "i810"
VendorName "Videocard vendor"
BoardName "Intel 815"
VideoRam 16384
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "640x480" "800x600" "1024x768"
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 16
Modes "640x480" "800x600" "1024x768"
ViewPort 0 0
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
##################################
本人走投无路,参考众人帖子皆无果下,不得不抛头露面发帖求助了。望达人赐教!
另外,询问XFree86Config配置文件的格式写法!
在下先谢! |
|