LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3248|回复: 22

被Xorg当住3天了

[复制链接]
发表于 2007-7-4 18:01:27 | 显示全部楼层 |阅读模式
一直没有找到答案,现在就感觉头疼,大家帮帮看看吧
我的机器是intel855GM芯片组的,我用的内核自带的i810驱动,agpart已经编译进内核,显示器是14.1的LCD
以下是运行命令和结果:
[root@xlreyur ~]# X -configure
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/xlreyur:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: Linux 2.6.16.38 i686 [ELF]
Current Operating System: Linux xlreyur 2.6.16.38 #1 Tue Jul 3 07:32:34 CST 2007 i686
Build Date: 04 July 2007
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
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/Xorg.0.log", Time: Thu Jul  5 02:05:39 2007
List of video drivers:
        chips
        radeon
        vmware
        apm
        glint
        mga
        s3virge
        sisusb
        neomagic
        ati
        i810
        tdfx
        r128
        v4l
        ark
        tseng
        tga
        nsc
        i740
        cirrus
        i128
        cyrix
        via
        trident
        s3
        sis
        dummy
        nv
        rendition
        atimisc
        savage
        siliconmotion
        fbdev
        vesa
        vga
dlopen: /usr/X11R6/lib/modules/drivers/apm_drv.so: undefined symbol: XvRTPort
(EE) Failed to load /usr/X11R6/lib/modules/drivers/apm_drv.so
(EE) Failed to load module "apm" (loader failed, 7)
(++) Using config file: "/root/xorg.conf.new"
(WW) ****INVALID MEM ALLOCATION**** b: 0xffe80000 e: 0xffefffff correcting


Xorg detected your mouse at device /dev/mouse.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.

Your xorg.conf file is /root/xorg.conf.new

To test the server, run 'X -config /root/xorg.conf.new'
这是 xorg.conf.new文件的内容:
[root@xlreyur ~]# cat xorg.conf.new
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "xtrap"
        Load  "record"
        Load  "glx"
        Load  "extmod"
        Load  "dri"
        Load  "type1"
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "rotocol" "auto"
        Option      "Device" "/dev/mouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "DRI"                       # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        #Option     "ageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corporation"
        BoardName   "82852/855GM Integrated Graphics Device"
        BusID       "CI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

运行X -config /root/xorg.conf.new后黑屏,按键有效,可以按组合键重新启动,但是就是没反映。

这是 /var/log/X.org.log一段
28] -1 0 0x0000ffa0 - 0x0000ffaf (0x10) IX
[29] -1 0 0x0000e880 - 0x0000e89f (0x20) IX
[30] -1 0 0x0000e800 - 0x0000e81f (0x20) IX
[31] -1 0 0x0000e480 - 0x0000e49f (0x20) IX
[32] -1 0 0x0000ec00 - 0x0000ec07 (0x8) IX(B)
[33] 1 0 0x000003b0 - 0x000003bb (0xc) IS(OprU)
[34] 1 0 0x000003c0 - 0x000003df (0x20) IS(OprU)
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/linux/libint10.so
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 16192 kB
(II) I810(0): VESA VBE OEM: Intel(r)852GM/852GME/855GM/855GME Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Software Rev: 1.0
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Intel(r)852GM/852GME/855GM/855GME Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): Allocated 128 kB for the ring buffer at 0x0
(II) I810(0): Allocating at least 768 scanlines for pixmap cache
(II) I810(0): Initial framebuffer allocation size: 3072 kByte
(II) I810(0): Allocated 4 kB for HW cursor at 0x7fff000 (0x1cb11000)
(II) I810(0): Allocated 16 kB for HW (ARGB) cursor at 0x7ffb000 (0x1c0b8000)
(II) I810(0): Allocated 4 kB for Overlay registers at 0x7ffa000 (0x1c3f9000).
(II) I810(0): Allocated 64 kB for the scratch buffer at 0x7fea000
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.1
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xdf847000
(II) I810(0): [drm] mapped SAREA 0xdf847000 to 0xb7f41000
(II) I810(0): [drm] framebuffer handle = 0xf0020000
(II) I810(0): [drm] added 1 reserved context for kernel
(II) I810(0): Allocated 1536 kB for the back buffer at 0x7c00000.
(II) I810(0): Allocated 1536 kB for the depth buffer at 0x7a00000.
(II) I810(0): Allocated 32 kB for the logical context at 0x79f8000.
(II) I810(0): Allocated 59136 kB for textures at 0x320000
(II) I810(0): Updated framebuffer allocation size from 3072 to 3080 kByte
(II) I810(0): Updated pixmap cache from 768 scanlines to 772 scanlines
(II) I810(0): 0x8244864: Memory at offset 0x00020000, size 3080 kBytes
(II) I810(0): 0x8248140: Memory at offset 0x07fff000, size 4 kBytes
(II) I810(0): 0x8248168: Memory at offset 0x07ffb000, size 16 kBytes
(II) I810(0): 0x8247ca4: Memory at offset 0x00000000, size 128 kBytes
(II) I810(0): 0x82448a4: Memory at offset 0x07fea000, size 64 kBytes
(II) I810(0): 0x8248190: Memory at offset 0x07ffa000, size 4 kBytes
(II) I810(0): 0x82448f4: Memory at offset 0x07c00000, size 1536 kBytes
(II) I810(0): 0x8244914: Memory at offset 0x07a00000, size 1536 kBytes
(II) I810(0): 0x8244954: Memory at offset 0x079f8000, size 32 kBytes
(II) I810(0): 0x8244934: Memory at offset 0x00320000, size 59136 kBytes
(II) I810(0): Activating tiled memory for the back buffer.
(II) I810(0): Activating tiled memory for the depth buffer.
(II) I810(0): [drm] Registers = 0x20080000
(II) I810(0): [drm] Back Buffer = 0xf7c00000
(II) I810(0): [drm] Depth Buffer = 0xf7a00000
(II) I810(0): [drm] ring buffer = 0xf0000000
(II) I810(0): [drm] textures = 0xf0320000
(II) I810(0): [drm] dma control initialized, using IRQ 11
(II) I810(0): [drm] Initialized kernel agp heap manager, 60555264
(II) I810(0): [dri] visual configs initialized
(==) I810(0): Write-combining range (0xf0000000,0x8000000)
(II) I810(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->IOOffset is 0x0000
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(II) I810(0): xf86BindGARTMemory: bind key 7 at 0x00fdf000 (pgoffset 4063)
(II) I810(0): xf86BindGARTMemory: bind key 0 at 0x07fff000 (pgoffset 32767)
(II) I810(0): xf86BindGARTMemory: bind key 1 at 0x07ffb000 (pgoffset 32763)
(II) I810(0): xf86BindGARTMemory: bind key 3 at 0x07fea000 (pgoffset 32746)
(II) I810(0): xf86BindGARTMemory: bind key 2 at 0x07ffa000 (pgoffset 32762)
(II) I810(0): xf86BindGARTMemory: bind key 4 at 0x07c00000 (pgoffset 31744)
(II) I810(0): xf86BindGARTMemory: bind key 5 at 0x07a00000 (pgoffset 31232)
(II) I810(0): xf86BindGARTMemory: bind key 6 at 0x079f8000 (pgoffset 31224)
(WW) I810(0): PGTBL_ER is 0xffffffff
(WW) I810(0): PRB0_CTL (0xffffffff) indicates ring buffer enabled
(WW) I810(0): PRB0_HEAD (0xffffffff) and PRB0_TAIL (0xffffffff) indicate ring buffer not flushed
(II) I810(0): Display plane A is enabled and connected to Pipe B.
(II) I810(0): Display plane B is enabled and connected to Pipe B.
(II) I810(0): Enabling plane B.
(II) I810(0): Display plane A is now disabled and connected to Pipe B.
(II) I810(0): Display plane B is now enabled and connected to Pipe B.
(II) I810(0): PIPEACONF is 0xffffffff
(II) I810(0): PIPEBCONF is 0xffffffff
(WW) I810(0): Correcting plane B stride (2147483647 -> 1024)
(II) I810(0): Mode bandwidth is 47 Mpixel/s
(II) I810(0): maxBandwidth is 1440 Mbyte/s, pipe bandwidths are 126 Mbyte/s, 0 Mbyte/s
(II) I810(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Horizontal and Vertical Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
24 128x128 slots
6 256x256 slots
(==) I810(0): Backing store disabled
(==) I810(0): Silken mouse enabled
(II) I810(0): Initializing HW Cursor
(WW) I810(0): Disabling XVideo output because Pipe B is in double-wide mode.
(II) I810(0): X context handle = 0x1
(II) I810(0): [drm] installed DRM signal handler
(II) I810(0): [DRI] installation complete
(II) I810(0): direct rendering: Enabled

*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.

Backtrace:
0: X(xf86SigHandler+0x88) [0x8089558]
1: [0xffffe420]
2: /usr/X11R6/lib/modules/drivers/i810_drv.so [0xb79bd95c]
3: X(AddScreen+0x1cb) [0x80d660b]
4: X(InitOutput+0x4b0) [0x8071460]
5: X(main+0x239) [0x80d5f59]
6: /lib/libc.so.6(__libc_start_main+0xd0) [0xb7de2e00]
7: X [0x806ffd1]

Fatal server error:
Caught signal 11. Server aborting


Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
发表于 2007-7-4 19:23:03 | 显示全部楼层
可以把以前系统中的 /etx/X11/xorg.conf 文件拿来用。
如果曾经用LiveCD启动过图形,也可以把LiveCD中的同名文件拷贝过来。
LCD的要注意,分辨率、刷新率不要调得太高。
如果这些都没有,尝试安装显卡驱动。
回复 支持 反对

使用道具 举报

发表于 2007-7-4 20:06:11 | 显示全部楼层
用 LFS 的 LiveCD 或者 Knoppix/Sidux 之类的 LiveCD 启动 GUI 的时候正常不?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-4 20:46:23 | 显示全部楼层
刚才试了一下,LiveCD启动的时候可以进入X,我把那个xorg.conf复制了过来,问题依旧。我确认kernel里头dri和agpart和intel i810模块已经被编译进内核了。我在找找其他方法。
回复 支持 反对

使用道具 举报

发表于 2007-7-4 20:59:05 | 显示全部楼层
先排除内核的选项问题,可以用 LiveCD 的 config 再来编译内核,若问题依旧,估计就是 Xorg 编译前的配置问题了,可验查一下 host.def 的配置

另,改用 vesa 驱动能显视不?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-4 21:15:53 | 显示全部楼层
/usr/X11R6/lib/config/host.def是按照 BLFS6.2的安装文档直接复制过来的。
vesa驱动可以显示
回复 支持 反对

使用道具 举报

发表于 2007-7-4 21:22:25 | 显示全部楼层
这是 BLFS 手册的 host.def 部份
#define XF86CardDrivers         mga glint nv tga s3virge sis rendition \
                                neomagic [color="Red"]i740 tdfx savage \
                                cirrus vmware tseng trident chips apm \
                                GlideDriver fbdev i128 \
                                ati DevelDrivers ark \
                                cyrix siliconmotion vesa vga \
                                XF86OSCardDrivers XF86ExtraCardDrivers
我不熟识 i810,它跟 i740 通用的吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-4 21:43:47 | 显示全部楼层
Xorg的模块文件夹里没有i740这个模块,换成i740也不能正常工作: no screen found.
vesa的fps才100多点,实在不能忍受  -_-!
回复 支持 反对

使用道具 举报

发表于 2007-7-5 06:31:10 | 显示全部楼层
Intel 好像有专用的驱动,看这里能否找到合适的

http://downloadcenter.intel.com/ ... ?agr=N&
回复 支持 反对

使用道具 举报

发表于 2007-7-5 08:47:17 | 显示全部楼层
  1. dlopen: /usr/X11R6/lib/modules/drivers/apm_drv.so: undefined symbol: XvRTPort
  2. (EE) Failed to load /usr/X11R6/lib/modules/drivers/apm_drv.so
  3. (EE) Failed to load module "apm" (loader failed, 7)
复制代码
没有安装 apm 驱动?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表