LinuxSir.cn,穿越时空的Linuxsir!

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

配置一个通宵"XF86Config-4" 还不能进X

[复制链接]
发表于 2006-3-8 05:52:48 | 显示全部楼层 |阅读模式
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
# dpkg-reconfigure xserver-xfree86
# as root. Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
FontPath "unix/:7100" # local font server
#if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
#FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

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

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
#Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "rotocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "NVIDIA GeForce 4"
Driver "nv"
Option "UseFBDev" "true"
EndSection

Section "Monitor"
Identifier "HILIPS M107"
HorizSync 30.0-71.0
VertRefresh 50.0-160.0
Option "DPMS"
EndSection

Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 4"
Monitor "HILIPS M107"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Screen0"
Screen "Screen0"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

### END DEBCONF SECTION

然后 startx 也进不了X-windows

查看log:

This is a pre-release version of XFree86, and is not supported in any
way. Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org. Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 21 December 2001
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.17 i686 [ELF]
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Mar 8 05:20:19 2006
(==) Using config file: "/etc/X11/XF86Config-4"
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "Screen0"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "HILIPS M107"
(**) | |-->Device "NVIDIA GeForce 4"
(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Configured Mouse"
(**) FontPath set to "unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7

(WW) Cannot open APM
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.4
XFree86 XInput driver : 0.2
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.2
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.4
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,1130 card 8086,0000 rev 04 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,1131 card 0000,0000 rev 04 class 06,04,00 hdr 01
(II) PCI: 00:1e:0: chip 8086,244e card 0000,0000 rev 05 class 06,04,00 hdr 01
(II) PCI: 00:1f:0: chip 8086,2440 card 0000,0000 rev 05 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,244b card 8086,2442 rev 05 class 01,01,80 hdr 00
(II) PCI: 00:1f:2: chip 8086,2442 card 8086,2442 rev 05 class 0c,03,00 hdr 00
(II) PCI: 00:1f:3: chip 8086,2443 card 8086,2442 rev 05 class 0c,05,00 hdr 00
(II) PCI: 00:1f:4: chip 8086,2444 card 8086,2442 rev 05 class 0c,03,00 hdr 00
(II) PCI: 00:1f:5: chip 8086,2445 card 11d4,5348 rev 05 class 04,01,00 hdr 00
(II) PCI: 01:00:0: chip 10de,0171 card 0000,0000 rev a3 class 03,00,00 hdr 00
(II) PCI: 02:02:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 00
(II) PCI: 02:04:0: chip 127a,2006 card 127a,2006 rev 08 class 07,80,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.4
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) PCI-to-PCI bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX
(II) Bus 0 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX
(II) Bus 0 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0c (VGA_EN is set)
(II) Bus 1 I/O range:
(II) Bus 1 non-prefetchable memory range:
[0] -1 0 0xec000000 - 0xedffffff (0x2000000) MX
(II) Bus 1 prefetchable memory range:
[0] -1 0 0xe4000000 - 0xebffffff (0x8000000) MX
(II) Bus 2: bridge is at (0:30:0), (0,2,2), BCTRL: 0x06 (VGA_EN is cleared)
(II) Bus 2 I/O range:
[0] -1 0 0x0000c000 - 0x0000c0ff (0x100) IX
[1] -1 0 0x0000c400 - 0x0000c4ff (0x100) IX
[2] -1 0 0x0000c800 - 0x0000c8ff (0x100) IX
[3] -1 0 0x0000cc00 - 0x0000ccff (0x100) IX
(II) Bus 2 non-prefetchable memory range:
[0] -1 0 0xee000000 - 0xefffffff (0x2000000) MX
(II) Bus 2 prefetchable memory range:
(II) Bus -1: bridge is at (0:31:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(--) PCI:*(1:0:0) NVidia unknown chipset (0x0171) rev 163, Mem @ 0xec000000/24, 0xe4000000/26, 0xe8000000/19
(II) Addressable bus resource ranges are
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX
[1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX
(II) OS-reported resource ranges:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX(B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX
[6] -1 0 0x00000000 - 0x000000ff (0x100) IX
(II) Active PCI resource ranges:
[0] -1 0 0xef000000 - 0xefffffff (0x1000000) MXE
[1] -1 0 0xef010000 - 0xef01ffff (0x10000) MXE
[2] -1 0 0xe0000000 - 0xe3ffffff (0x4000000) MXE
[3] -1 0 0xe8000000 - 0xe807ffff (0x80000) MX(B)
[4] -1 0 0xe4000000 - 0xe7ffffff (0x4000000) MX(B)
[5] -1 0 0xec000000 - 0xecffffff (0x1000000) MX(B)
[6] -1 0 0x0000c400 - 0x0000c4ff (0x100) IXE
[7] -1 0 0x0000c000 - 0x0000c0ff (0x100) IXE
[8] -1 0 0x0000dc00 - 0x0000dcff (0x100) IXE
[9] -1 0 0x0000d800 - 0x0000d8ff (0x100) IXE
[10] -1 0 0x0000d400 - 0x0000d4ff (0x100) IXE
[11] -1 0 0x00000500 - 0x000005ff (0x100) IXE
[12] -1 0 0x0000d000 - 0x0000d0ff (0x100) IXE
[13] -1 0 0x0000f000 - 0x0000f0ff (0x100) IXE
(II) PCI Memory resource overlap reduced 0xef000000 from 0xefffffff to 0xef00ffff
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0 0xef000000 - 0xef00ffff (0x10000) MXE
[1] -1 0 0xef010000 - 0xef01ffff (0x10000) MXE
[2] -1 0 0xe0000000 - 0xe3ffffff (0x4000000) MXE
[3] -1 0 0xe8000000 - 0xe807ffff (0x80000) MX(B)
[4] -1 0 0xe4000000 - 0xe7ffffff (0x4000000) MX(B)
[5] -1 0 0xec000000 - 0xecffffff (0x1000000) MX(B)
[6] -1 0 0x0000c400 - 0x0000c4ff (0x100) IXE
[7] -1 0 0x0000c000 - 0x0000c0ff (0x100) IXE
[8] -1 0 0x0000dc00 - 0x0000dcff (0x100) IXE
[9] -1 0 0x0000d800 - 0x0000d8ff (0x100) IXE
[10] -1 0 0x0000d400 - 0x0000d4ff (0x100) IXE
[11] -1 0 0x00000500 - 0x000005ff (0x100) IXE
[12] -1 0 0x0000d000 - 0x0000d0ff (0x100) IXE
[13] -1 0 0x0000f000 - 0x0000f0ff (0x100) IXE
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX(B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX
[6] -1 0 0x00000000 - 0x000000ff (0x100) IX
(II) All system resource ranges:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX(B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX
[5] -1 0 0xef000000 - 0xef00ffff (0x10000) MXE
[6] -1 0 0xef010000 - 0xef01ffff (0x10000) MXE
[7] -1 0 0xe0000000 - 0xe3ffffff (0x4000000) MXE
[8] -1 0 0xe8000000 - 0xe807ffff (0x80000) MX(B)
[9] -1 0 0xe4000000 - 0xe7ffffff (0x4000000) MX(B)
[10] -1 0 0xec000000 - 0xecffffff (0x1000000) MX(B)
[11] -1 0 0x0000ffff - 0x0000ffff (0x1) IX
[12] -1 0 0x00000000 - 0x000000ff (0x100) IX
[13] -1 0 0x0000c400 - 0x0000c4ff (0x100) IXE
[14] -1 0 0x0000c000 - 0x0000c0ff (0x100) IXE
[15] -1 0 0x0000dc00 - 0x0000dcff (0x100) IXE
[16] -1 0 0x0000d800 - 0x0000d8ff (0x100) IXE
[17] -1 0 0x0000d400 - 0x0000d4ff (0x100) IXE
[18] -1 0 0x00000500 - 0x000005ff (0x100) IXE
[19] -1 0 0x0000d000 - 0x0000d0ff (0x100) IXE
[20] -1 0 0x0000f000 - 0x0000f0ff (0x100) IXE
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.1.9
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.13.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension RECORD
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "nv"
(II) Loading /usr/X11R6/lib/modules/drivers/nv_drv.o
(II) Module nv: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.1
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.4
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.2
(II) NV: driver for NVIDIA chipsets: RIVA128, RIVATNT, RIVATNT2,
RIVATNT2 (A), RIVATNT2 (B), RIVATNT2 (Ultra), RIVATNT2 (Vanta),
RIVATNT2 M64, RIVATNT2 (Integrated), GeForce 256, GeForce DDR,
Quadro, GeForce2 GTS, GeForce2 GTS (rev 1), GeForce2 ultra,
Quadro 2 Pro, GeForce2 MX, GeForce2 MX DDR, Quadro 2 MXR,
GeForce 2 Go, GeForce3, GeForce3 (rev 1), GeForce3 (rev 2),
GeForce3 (rev 3)
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(EE) No devices detected.

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 submit@bugs.debian.org.
 楼主| 发表于 2006-3-8 05:55:09 | 显示全部楼层
请问 我这样配置哪里出错了?

你们可以帮我配置一下吗?
回复 支持 反对

使用道具 举报

发表于 2006-3-8 06:25:15 | 显示全部楼层
若如此,建议你找张Knoppix LiveCD,让它启动後把它的/etc/X11/XF86Config-4拷到你的系统用
回复 支持 反对

使用道具 举报

发表于 2006-3-8 07:31:04 | 显示全部楼层
Identifier "Screen0"
Screen "Screen0"
这两个同名会不会有问题?你把前一个改改。楼主是手动更改的吗?建议用dpkg-reconfigure xserver-xfree86设置试试。
回复 支持 反对

使用道具 举报

发表于 2006-3-8 08:25:43 | 显示全部楼层
Section "Device"
Identifier "NVIDIA GeForce 4"
Driver "nv"
Option "UseFBDev" "true"
EndSection
==================
把true改成false试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-8 09:00:27 | 显示全部楼层
好 上面的方法我都去试一下.
回复 支持 反对

使用道具 举报

发表于 2006-3-8 09:30:14 | 显示全部楼层
你能肯定是NVIDIA的卡吗?

将nv改成vesa试试!
回复 支持 反对

使用道具 举报

发表于 2006-3-8 10:01:28 | 显示全部楼层
This is a pre-release version of XFree86, and is not supported in any
way.


为什么不试着升级到xorg看看。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-8 10:03:57 | 显示全部楼层
是NV的显卡`为什么我的apt-get install XXX都不行的?想装一下显卡驱动都不可以.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-8 10:07:25 | 显示全部楼层
Post by nilarcs
为什么不试着升级到xorg看看。


可以具体点吗 再说我的apt-get install 没有一次可以成功的.不知道为什么 已经连上网了 也添加过安装源
回复 支持 反对

使用道具 举报

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

本版积分规则

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