Critical : My X went down

manish jain invalid.pointer at gmail.com
Sat Apr 4 15:01:58 PDT 2009


Hi all,

In attempting to unlock some Python related mysteries (which neither 
python-list nor python-help would respond to despite repeated queries), 
I found myself recursively portupgrading myself right up the xorg 
distribution. That wasn't half as bad as the fact that - after all that 
effort - X does not even start now.

startx complains :
> (EE) No devices detected.
> 
> Fatal server error:
> no screens found
> giving up.
> xinit:  No such file or directory (errno 2):  unable to connect to X server
> xinit:  No such process (errno 3):  Server error.

The Xorg log file says :
> 
> X.Org X Server 1.5.3
> Release Date: 5 November 2008
> X Protocol Version 11, Revision 0
> Build Operating System: FreeBSD 7.1-RELEASE i386 
> Current Operating System: FreeBSD unxfbsdi.local.lan 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009     root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
> Build Date: 04 April 2009  05:44:56PM
>  
> 	Before reporting problems, check http://wiki.x.org
> 	to make sure that you have the latest version.
> 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: Sun Apr  5 02:46:15 2009
> (==) Using config file: "/etc/X11/xorg.conf"
> (==) ServerLayout "Simple Layout"
> (**) |-->Screen "Screen_1" (0)
> (**) |   |-->Monitor "st105"
> (**) |   |-->Device "intel810"
> (**) |-->Input Device "Mouse1"
> (**) |-->Input Device "Keyboard1"
> (**) Option "AllowEmptyInput" "off"
> (==) Automatically adding devices
> (==) Automatically enabling devices
> (==) Including the default font path /usr/local/lib/X11/fonts/misc/,/usr/local/lib/X11/fonts/TTF/,/usr/local/lib/X11/fonts/OTF,/usr/local/lib/X11/fonts/Type1/,/usr/local/lib/X11/fonts/100dpi/,/usr/local/lib/X11/fonts/75dpi/.
> (**) FontPath set to:
> 	/usr/local/lib/X11/fonts/misc/,
> 	/usr/local/lib/X11/fonts/TTF/,
> 	/usr/local/lib/X11/fonts/OTF,
> 	/usr/local/lib/X11/fonts/Type1/,
> 	/usr/local/lib/X11/fonts/100dpi/,
> 	/usr/local/lib/X11/fonts/75dpi/,
> 	/usr/local/lib/X11/fonts/bitstream-vera/,
> 	/usr/local/lib/X11/fonts/cyrillic/,
> 	/usr/local/lib/X11/fonts/misc/,
> 	/usr/local/lib/X11/fonts/TTF/,
> 	/usr/local/lib/X11/fonts/OTF,
> 	/usr/local/lib/X11/fonts/Type1/,
> 	/usr/local/lib/X11/fonts/100dpi/,
> 	/usr/local/lib/X11/fonts/75dpi/
> (**) ModulePath set to "/usr/local/lib/xorg/modules"
> (II) Loader magic: 0x81bcde0
> (II) Module ABI versions:
> 	X.Org ANSI C Emulation: 0.4
> 	X.Org Video Driver: 4.1
> 	X.Org XInput driver : 2.1
> 	X.Org Server Extension : 1.1
> 	X.Org Font Renderer : 0.6
> (II) Loader running on freebsd
> (--) Using syscons driver with X support (version 2.0)
> (--) using VT number 9
> 
> (--) PCI:*(0 at 0:1:0) Intel Corporation 82810 (CGC) Chipset Graphics Controller rev 3, Mem @ 0xe8000000/0, 0xeff80000/0, BIOS @ 0x????????/65536
> (II) System resource ranges:
> 	[0] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
> 	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
> 	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
> 	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
> 	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
> 	[5] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
> (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
> (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
> (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
> (II) "freetype" will be loaded. This was enabled by default and also specified in the config file.
> (II) "record" will be loaded by default.
> (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
> (II) LoadModule: "dbe"
> 
> (II) Loading /usr/local/lib/xorg/modules/extensions//libdbe.so
> (II) Module dbe: vendor="X.Org Foundation"
> 	compiled for 1.5.3, module version = 1.0.0
> 	Module class: X.Org Server Extension
> 	ABI class: X.Org Server Extension, version 1.1
> (II) Loading extension DOUBLE-BUFFER
> (II) LoadModule: "glx"
> 
> (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so
> (II) Module glx: vendor="X.Org Foundation"
> 	compiled for 1.5.3, module version = 1.0.0
> 	ABI class: X.Org Server Extension, version 1.1
> (==) AIGLX disabled
> (==) Exporting typical set of GLX visuals
> (II) Loading extension GLX
> (II) LoadModule: "freetype"
> 
> (II) Loading /usr/local/lib/xorg/modules/fonts//libfreetype.so
> (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
> 	compiled for 1.5.3, module version = 2.1.0
> 	Module class: X.Org Font Renderer
> 	ABI class: X.Org Font Renderer, version 0.6
> (II) Loading font FreeType
> (II) LoadModule: "dri"
> 
> (II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so
> (II) Module dri: vendor="X.Org Foundation"
> 	compiled for 1.5.3, module version = 1.0.0
> 	ABI class: X.Org Server Extension, version 1.1
> (II) Loading extension XFree86-DRI
> (II) LoadModule: "extmod"
> 
> (II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so
> (II) Module extmod: vendor="X.Org Foundation"
> 	compiled for 1.5.3, module version = 1.0.0
> 	Module class: X.Org Server Extension
> 	ABI class: X.Org Server Extension, version 1.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 TOG-CUP
> (II) Loading extension Extended-Visual-Information
> (II) Loading extension XVideo
> (II) Loading extension XVideo-MotionCompensation
> (II) Loading extension X-Resource
> (II) LoadModule: "extmod"
> 
> (II) Reloading /usr/local/lib/xorg/modules/extensions//libextmod.so
> (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 DPMS
> (II) Loading extension TOG-CUP
> (II) Loading extension Extended-Visual-Information
> (II) Loading extension XVideo
> (II) Loading extension XVideo-MotionCompensation
> (II) Loading extension X-Resource
> (II) LoadModule: "record"
> 
> (II) Loading /usr/local/lib/xorg/modules/extensions//librecord.so
> (II) Module record: vendor="X.Org Foundation"
> 	compiled for 1.5.3, module version = 1.13.0
> 	Module class: X.Org Server Extension
> 	ABI class: X.Org Server Extension, version 1.1
> (II) Loading extension RECORD
> (II) LoadModule: "i810"
> 
> (II) Loading /usr/local/lib/xorg/modules/drivers//i810_drv.so
> (II) Module i810: vendor="X.Org Foundation"
> 	compiled for 1.5.3, module version = 2.5.1
> 	Module class: X.Org Video Driver
> 	ABI class: X.Org Video Driver, version 4.1
> (II) LoadModule: "mouse"
> 
> (II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so
> (II) Module mouse: vendor="X.Org Foundation"
> 	compiled for 1.5.3, module version = 1.4.0
> 	Module class: X.Org XInput Driver
> 	ABI class: X.Org XInput driver, version 2.1
> (II) LoadModule: "kbd"
> 
> (II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so
> (II) Module kbd: vendor="X.Org Foundation"
> 	compiled for 1.5.3, module version = 1.3.2
> 	Module class: X.Org XInput Driver
> 	ABI class: X.Org XInput driver, version 2.1
> (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
> 	i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
> 	E7221 (i915), 915GM, 945G, 945GM, 945GME, 965G, G35, 965Q, 946GZ,
> 	965GM, 965GME/GLE, G33, Q35, Q33,
> 	Mobile Intel® GM45 Express Chipset,
> 	Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41
> (II) Primary Device is: PCI 00 at 00:01:0
> (EE) No devices detected.
> 
> Fatal server error:
> no screens found

My xorg.conf has :
> Section "Module"
>     Load        "dbe"
>     Load        "glx"
>     Load        "freetype"
>     Load        "dri"
>     Load        "extmod"
> 
>     SubSection  "extmod"
>       Option    "omit xfree86-dga"
>     EndSubSection
> EndSection
> 
> Section "Files"
>     FontPath   "/usr/local/lib/X11/fonts/misc/"
>     FontPath   "/usr/local/lib/X11/fonts/TTF/"
>     FontPath   "/usr/local/lib/X11/fonts/OTF"
>     FontPath   "/usr/local/lib/X11/fonts/Type1/"
>     FontPath   "/usr/local/lib/X11/fonts/100dpi/"
>     FontPath   "/usr/local/lib/X11/fonts/75dpi/"
>     FontPath   "/usr/local/lib/X11/fonts/bitstream-vera/"
>     FontPath   "/usr/local/lib/X11/fonts/cyrillic/"
> 
>     ModulePath "/usr/local/lib/xorg/modules"
> EndSection
> 
> Section "ServerFlags"
> 	Option "AllowEmptyInput" "off"
> EndSection
> 
> Section "InputDevice"
>     Identifier	"Keyboard1"
>     Driver	"kbd"
>     Option "AutoRepeat" "500 30"
>     Option "XkbRules"	"xorg"
>     Option "XkbModel"	"pc105"
>     Option "XkbLayout"	"us"
> EndSection
> 
> Section "InputDevice"
>     Identifier	"Mouse1"
>     Driver	"mouse"
>     Option "Protocol"    "Auto"
>     Option "Device"      "/dev/sysmouse"
>     Option "ZAxisMapping"   "4 5"
> #    Option "ZAxisMapping"   "4 5 6 7"
> EndSection
> 
> Section "Monitor"
>     Identifier  "st105"
>     HorizSync   31.5 - 48.5
>     VertRefresh 50-70
> EndSection
> 
> Section "Device"
>     Identifier	"Standard VGA"
>     VendorName	"Unknown"
>     BoardName	"Unknown"
>     Driver     "vga"
> EndSection
> 
> Section "Device"
>     Identifier  "intel810"
>     Driver      "i810"
>     VideoRam    4096
> EndSection
> 
> Section "Screen"
>     Identifier  "Screen_1"
>     Device      "intel810"
>     Monitor     "st105"
>     DefaultDepth 24
> 
>     Subsection "Display"
>         Depth       24
>         Modes       "1024x768"
>         ViewPort    0 0
>     EndSubsection
> EndSection
> 
> Section "ServerLayout"
>     Identifier  "Simple Layout"
>     Screen "Screen_1"
>     InputDevice "Mouse1" "CorePointer"
>     InputDevice "Keyboard1" "CoreKeyboard"
> EndSection
> 
> Section "DRI"
>     Mode 0666
> EndSection


Can anyone please help me out and get my X server up again ?

-- 
Thank you and Regards
Manish Jain
invalid.pointer at gmail.com
+91-99830-62246

NB : Laast year I kudn't spell Software Engineer. Now I are won.


More information about the freebsd-questions mailing list