X run不起來

有關於X 環境當中所遇到的問題

Moderator: Forums Team

Post Reply
arney
Posts: 28
Joined: Tue Jun 29, 2004 3:30 am
Location: tainan

X run不起來

Post by arney »

已安裝 xorg-x11 nvidia-glx
然後 Xorg -configure 有下列訊息

Code: Select all

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/gentoo:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.8.0
Release Date: 8 September 2004
X Protocol Version 11, Revision 0, Release 6.8
Build Operating System: Linux 2.6.10-gentoo-r6 i686 [ELF] 
Current Operating System: Linux gentoo 2.6.10-gentoo-r6 #1 Mon Feb 7 21:29:31 CST 2005 i686
Build Date: 07 February 2005
	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: Mon Feb  7 22:36:05 2005
Using vt 7
List of video drivers:
	atimisc
	r128
	radeon
	nvidia
	mga
	glint
	nv
	tga
	s3
	s3virge
	sis
	rendition
	neomagic
	i740
	tdfx
	savage
	cirrus
	vmware
	tseng
	trident
	chips
	apm
	i128
	nsc
	i810
	ati
	ark
	cyrix
	siliconmotion
	via
	vesa
	vga
	dummy
	fbdev
	v4l
dlopen: /usr/lib/modules/drivers/atimisc_drv.so: undefined symbol: ATIMemoryTypeNames_88800CX
(EE) Failed to load /usr/lib/modules/drivers/atimisc_drv.so
(EE) Failed to load module "atimisc" (loader failed, 7)
dlopen: /usr/lib/modules/drivers/apm_drv.so: undefined symbol: XvRTPort
(EE) Failed to load /usr/lib/modules/drivers/apm_drv.so
(EE) Failed to load module "apm" (loader failed, 7)
(++) Using config file: "/root/xorg.conf.new"


Xorg is not able to detect your mouse.
Edit the file and correct the Device.

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

To test the server, run 'X -config /root/xorg.conf.new'

然後 X -configure xorg.conf 有下面訊息

Code: Select all

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/gentoo:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.8.0
Release Date: 8 September 2004
X Protocol Version 11, Revision 0, Release 6.8
Build Operating System: Linux 2.6.10-gentoo-r6 i686 [ELF] 
Current Operating System: Linux gentoo 2.6.10-gentoo-r6 #1 Mon Feb 7 21:29:31 CST 2005 i686
Build Date: 07 February 2005
	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: Mon Feb  7 22:36:54 2005
(++) Using config file: "xorg.conf.new"
Using vt 7
Symbol fbWinPrivateIndex from module /usr/lib/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbWinPrivateIndex from module /usr/lib/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbWinPrivateIndex from module /usr/lib/modules/drivers/nvidia_drv.o is unresolved!
Required symbol xf86InterpretEDID from module /usr/lib/modules/drivers/nvidia_drv.o is unresolved!
Required symbol xf86PrintEDID from module /usr/lib/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbPictureInit from module /usr/lib/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbValidateGC from module /usr/lib/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbGCPrivateIndex from module /usr/lib/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbCreateGC from module /usr/lib/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbCreateWindow from module /usr/lib/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbWinPrivateIndex from module /usr/lib/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbWinPrivateIndex from module /usr/lib/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbCloseScreen from module /usr/lib/modules/drivers/nvidia_drv.o is unresolved!

Fatal server error:
Some required symbols were unresolved


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.

 
不知道哪裡出錯
謝謝
dxcdxc
Posts: 200
Joined: Sat Sep 06, 2003 12:34 pm
Location: 台中/豐原
Contact:

Post by dxcdxc »

有沒有裝 nvidia-kernel 並且裝載..
blog開放 http://blog.bogusx.idv.tw/
注音文嚴禁!
arney
Posts: 28
Joined: Tue Jun 29, 2004 3:30 am
Location: tainan

Post by arney »

lsmod 的輸出

Code: Select all

$ lsmod

Module                  Size  Used by
snd_pcm_oss            52832  0 
snd_mixer_oss          19712  1 snd_pcm_oss
snd_seq_oss            36672  0 
snd_seq_midi_event      7680  1 snd_seq_oss
snd_seq                54608  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          8908  2 snd_seq_oss,snd_seq
rtc                    12408  0 
snd_intel8x0           33120  0 
snd_ac97_codec         76384  1 snd_intel8x0
snd_pcm                94472  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              25732  2 snd_seq,snd_pcm
snd                    55908  9 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc          9860  2 snd_intel8x0,snd_pcm
ohci_hcd               21640  0 
nvidia               3467324  0 
/etc/X11/xorg.conf 的內容

Code: Select all

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

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

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

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option      "ZAxisMapping"    "4 5"

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     "DigitalVibrance"    	# <i>
        #Option     "NoFlip"             	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "NoLogo"             	# [<bool>]
        #Option     "UBB"                	# [<bool>]
        #Option     "Stereo"             	# <i>
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "NvAGP"              	# <i>
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ConnectedMonitor"   	# <str>
        #Option     "ConnectedMonitors"  	# <str>
        #Option     "TVStandard"         	# <str>
        #Option     "TVOutFormat"        	# <str>
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "CursorShadow"       	# [<bool>]
        #Option     "CursorShadowAlpha"  	# <i>
        #Option     "CursorShadowXOffset" 	# <i>
        #Option     "CursorShadowYOffset" 	# <i>
        #Option     "UseEdidFreqs"       	# [<bool>]
        #Option     "FlatPanelProperties" 	# <str>
        #Option     "TwinView"           	# [<bool>]
        #Option     "TwinViewOrientation" 	# <str>
        #Option     "SecondMonitorHorizSync" 	# <str>
        #Option     "SecondMonitorVertRefresh" 	# <str>
        #Option     "MetaModes"          	# <str>
        #Option     "UseInt10Module"     	# [<bool>]
        #Option     "NoTwinViewXineramaInfo" 	# [<bool>]
        #Option     "NoRenderExtension"  	# [<bool>]
        #Option     "Overlay"            	# [<bool>]
        #Option     "CIOverlay"          	# [<bool>]
        #Option     "ForceEmulatedOverlay" 	# [<bool>]
        #Option     "TransparentIndex"   	# <i>
        #Option     "OverlayDefaultVisual" 	# [<bool>]
        #Option     "NvEmulate"          	# <i>
        #Option     "NoBandWidthTest"    	# [<bool>]
        #Option     "CustomEDID-CRT-0"   	# <str>
        #Option     "CustomEDID-CRT-1"   	# <str>
        #Option     "CustomEDID-DFP-0"   	# <str>
        #Option     "CustomEDID-DFP-1"   	# <str>
        #Option     "CustomEDID-TV-0"    	# <str>
        #Option     "CustomEDID-TV-1"    	# <str>
        #Option     "TVOverScan"         	# <f>
        #Option     "IgnoreDisplayDevices" 	# <str>
        #Option     "MultisampleCompatibility" 	# [<bool>]
        #Option     "RegistryDwords"     	# <str>
        #Option     "RegistryBinary"     	# <str>
        #Option     "NoPowerConnectorCheck" 	# [<bool>]
        #Option     "AllowDFPStereo"     	# [<bool>]
        #Option     "XvMCUsesTextures"   	# [<bool>]
        #Option     "HorizSync"          	# <str>
        #Option     "VertRefresh"        	# <str>
        #Option     "AllowGLXWithComposite" 	# [<bool>]
	Identifier  "Card0"
	Driver      "nvidia"
	VendorName  "nVidia Corporation"
	BoardName   "NV18 [GeForce4 MX 440 AGP 8x]"
	BusID       "PCI:2:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth	24
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes     "1280x1024"
	EndSubSection
EndSection
dxcdxc
Posts: 200
Joined: Sat Sep 06, 2003 12:34 pm
Location: 台中/豐原
Contact:

Post by dxcdxc »

怎麼沒有設定銀幕? :shock:
blog開放 http://blog.bogusx.idv.tw/
注音文嚴禁!
arney
Posts: 28
Joined: Tue Jun 29, 2004 3:30 am
Location: tainan

Post by arney »

設定銀幕?
monitor 區段不是嗎?

我重新用 xorgconfig 設了一次,還是一樣 unresolved symbol ...
kernel 也重設了一次,nvidia也重編了一次
還是一樣
/var/log/xorg 的訊息也是 xxx symbol unresolved
是它的bug 還是我的 bug?
d2207197
Posts: 197
Joined: Sun Dec 21, 2003 5:46 pm
Location: 新竹市

Post by d2207197 »

emerge xorg-x11 的 USE 是啥?
arney
Posts: 28
Joined: Tue Jun 29, 2004 3:30 am
Location: tainan

Post by arney »

感謝
是 xorg-x11 USE 的問題
把 dlloader 拿掉就ok 了

之前用 etcat 查不到USE( etcat 好像壞掉) ,它說要用 equery ,但是equery 好像不能查未安裝的 uses 說明,結果我手癢把 dlloader加上去,後來一直啟動失敗,也忘記自己加了dlloader,不知 uses的說明要如何查詢?

謝謝
arney
Posts: 28
Joined: Tue Jun 29, 2004 3:30 am
Location: tainan

Post by arney »

現在變成在編gnome 時的 gtk+套件出問題,不知道要怎麼解?

Code: Select all

configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../..//libgmodule-2.0.la' seems to be moved
In file included from gdk-pixbuf-i18n.h:4,
                 from gdk-pixbuf-private.h:32,
                 from io-jpeg.c:36:
../config.h:143:1: warning: "HAVE_STDLIB_H" redefined
In file included from /usr/include/jpeglib.h:24,
                 from io-jpeg.c:35:
/usr/include/jconfig.h:12:1: warning: this is the location of the previous definition
grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive
make[4]: *** [libpixbufloader-jpeg.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.4.14 failed.
!!! Function src_compile, Line 78, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
是gcc板本的問題嗎? 我的系統上只有 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/...
沒有上面說的
/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la
其它很多套件也是這個問題

make.conf

Code: Select all

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="http://ftp.isu.edu.tw/pub/Linux/Gentoo ftp://ftp2.tnc.edu.tw/pub1/Gentoo"
USE="-apm -kde 3dnow mmx nls cjk dvd zh_TW nptl gtk gtk2 gnome sse" 
SYNC="rsync://rsync.gentoo.org.tw/gentoo-portage"
PORTDIR_OVERLAY="/usr/local/got"
#FEATURES="ccache"
#CCACHE_SIZE="2G"
arney
Posts: 28
Joined: Tue Jun 29, 2004 3:30 am
Location: tainan

Post by arney »

今天把整個系紜 update 之後,忽然就可以了
Post Reply