Problem mit Xorg 6.8 und FBSD 6.1

Hallo,

ich habe mich gestern entschieden, dass ich FreeBSD lange genug als Drittinstallation getestet habe und habe deswegen mein Debian von der Platte geschmissen. Anschließend auch FBSD, um es auf größeren Partitionen zu installieren.
Allerdings habe ich jetzt ein Problem mit X.
Weder mit der gesicherten noch mit der (von xorgconfig) neu erstellten xorg.conf lässt sich X starten.
Übrigens sind die gesicherte und die neue xorg.conf gleich.
Ich habe den nvidia Treiber aus den Ports installiert und in die xorg.conf eingearbeitet (bzw. einarbeiten lassen).
Ich habe schon versucht, statt dem nvidia Treiber agp oder vesa zu nutzen, beides hat nichts gebracht.

xorg.conf:
Code:
Section "ServerLayout"

    Identifier     "Simple Layout"
    Screen         "Screen 1" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"

    RgbPath         "/usr/X11R6/lib/X11/rgb"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath        "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/local/"
EndSection

Section "Module"

    Load           "dbe"  	# Double buffer extension
    SubSection     "extmod"
        Option         "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"

    Identifier     "Keyboard1"
    Driver         "kbd"
    Option         "AutoRepeat" "500 30"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "de"
EndSection

Section "InputDevice"

    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "Protocol" "Auto"	# Auto detect
    Option         "Device" "/dev/sysmouse"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"

    Identifier     "My Monitor"
    HorizSync       31.5 - 79.0
    VertRefresh     50.0 - 70.0
EndSection

Section "Device"

    Identifier     "** NVIDIA (generic)                   [nv]"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Screen 1"
    Device         "** NVIDIA (generic)                   [nv]"
    Monitor        "My Monitor"
    DefaultDepth    16
    SubSection     "Display"
        Viewport    0 0
        Depth       16
        Modes      "1280x1024" "1024x768" "800x600"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600"
    EndSubSection
EndSection

die log Datei:

Code:
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation CVS repository.
See http://wiki.x.org/wiki/CvsPage for CVS access instructions.

X Window System Version 6.8.99.903 (6.9.0 RC 3)
Release Date: 03 December 2005 + cvs
X Protocol Version 11, Revision 0, Release 6.8.99.903
Build Operating System: FreeBSD 6.1 i386 [ELF] 
Current Operating System: FreeBSD RECHNER1 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:32:43 UTC 2006     root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 16 March 2006
	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: Sat Aug 26 18:53:11 2006
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "My Monitor"
(**) |   |-->Device "** NVIDIA (generic)                   [nv]"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/local/".
	Entry deleted from font path.
	(Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/local/").
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(WW) checkDevMem: failed to open /dev/mem (Operation not permitted)
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.2
	X.Org Video Driver: 0.8
	X.Org XInput driver : 0.5
	X.Org Server Extension : 0.2
	X.Org Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.so
(II) Module bitmap: vendor="X.Org Foundation"
	compiled for 6.8.99.903, module version = 1.0.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
	compiled for 6.8.99.903, module version = 1.0.0
	ABI class: X.Org Video Driver, version 0.8
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(WW) xf86EnableIO: Failed to open /dev/io for extended I/O
(II) Addressable bus resource ranges are
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
	[1] -1	0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[6] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[6] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[6] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 6.8.99.903, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 6.8.99.903, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.2
(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: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.so
(II) Module type1: vendor="X.Org Foundation"
	compiled for 6.8.99.903, module version = 1.0.2
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
	compiled for 6.8.99.903, module version = 2.1.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.8762
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.8762
	Module class: X.Org Video Driver
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
	compiled for 6.8.99.903, module version = 1.0.2
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 0.5
(II) LoadModule: "kbd"
(II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
	compiled for 6.8.99.903, module version = 1.0.1
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 0.5
(II) NVIDIA dlloader X Driver  1.0-8762  Mon May 15 14:09:34 PDT 2006
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(WW) xf86EnableIO: Failed to open /dev/io for extended I/O
(EE) No devices detected.

Fatal server error:
no screens found

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.

Das einzige was mir in der Xorg.0.log aufgefallen ist, ist eine Warnung, ungefähr in der Mitte:
Code:
(WW) xf86EnableIO: Failed to open /dev/io for extended I/O
Diese Warnung tritt ganz zum Schluß noch einmal auf, diesmal aber zusätzlich mit Fehler:
Code:
(WW) xf86EnableIO: Failed to open /dev/io for extended I/O
(EE) No devices detected.
Davon abgesehen treten noch zwei weitere Warnungen auf, die eine bezieht sich auf einen falschen Eintrag beim Font Path, und aus der anderen werde ich nicht schlau:
Code:
checkDevMem: failed to open /dev/mem (Operation not permitted)

Was mache ich falsch, oder was könnte sich geändert haben, dass diese xorg.config nicht mehr funktioniert?
 
Damit hat das nichts zu tun. Du solltest prüfen ob /dev/io existiert und X mit den nötigen Zugriffsrechten gestartet wird.
 
heesen schrieb:
hast du es schon einmal mit

Xorg -configure

versucht?

Ursprünglich hatte ich das vor, aber damit funktionierte es nicht.

Ist jetzt auch egal, denn auf einmal funktioniert alles.
Möglichkeit 1: ich war in /dev, als ich X gestartet habe, aber bei weiteren Versuchen in / hat es auch funktioniert, also war es das nicht.

Möglichkeit 2: ich hatte beim googlen aufgeschnappt, dass man den securelevel runterschrauben soll, das habe ich versucht. Vielleicht habe ich vergessen danach neu zu starten.

Möglichkeit 3: ein klassischer Fall von PEBCAK

Aber wenn es wirklich so war, dass es an dem securelevel lag, (klingt irgendwie sinnig, erinnert mich so an Zugriffsrechte) gibt es da noch eine elegantere Lösung?
Oder ist das elegant?

EDIT

Ich habe das jetzt mal überprüft, und es lag am securelevel (mit sysinstall eingestellt).
Hat das jetzt Nachteile für mich, wenn den securelevel abschalte?
Oder macht das auf nem normalen Desktop PC sowieso keinen Unterschied?
 
Zuletzt bearbeitet:
Lies in init(8) nach, was Secure Level machen. Man sollte nicht an Dingen rumstellen, von denen man nicht weiß, für was sie gut sind. Und ja, X funktioniert nur mit einem Secure Level < 1.
 
Wenn ein Prozess sich die Rechte von X ergaunert bekommt er trotzdem den vollen IO Zugriff. Und wenn du X neu starten willst, musst du gleich den ganzen Rechner neu starten.
 
Zurück
Oben