Bug 87898

Summary: Failt to init X: can't open device/io
Product: Base System Reporter: C.W.Hann <cwhann>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description C.W.Hann 2005-10-24 04:50:14 UTC
I have tried to compile the kernel with "device io"  and "device mem" option
but with no result
Here is the output of /var/log/Xorg.0.log.
***********************************************************************
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: FreeBSD 6.0 amd64 [ELF] 
Current Operating System: FreeBSD 6.0-RC1 FreeBSD 6.0-RC1 #1: Mon Oct 24 00:33:51 CST 2005     /home/src/sys/amd64/compile/HERO amd64
Build Date: 02 October 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 Oct 24 00:41:05 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Mouse0"
(WW) The directory "/usr/X11R6/lib/X11/fonts/misc/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/Type1/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/CID/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/75dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi/" does not exist.
	Entry deleted from font path.
(==) FontPath set to "/usr/X11R6/lib/X11/fonts/TTF/"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.2
	X.Org Video Driver: 0.7
	X.Org XInput driver : 0.4
	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.a
(II) Module bitmap: vendor="X.Org Foundation"
	compiled for 6.8.2, 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.a
(II) Module pcidata: vendor="X.Org Foundation"
	compiled for 6.8.2, module version = 1.0.0
	ABI class: X.Org Video Driver, version 0.7
(--) Using syscons driver with X support (version 549739036674.0)
(--) using VT number 9

Fatal server error:
xf86EnableIO: Failed to open /dev/io for extended I/O

Fix: 

no
How-To-Repeat: X
Comment 1 Eric Anholt 2005-10-24 06:16:33 UTC
If you've been following -current, please follow /usr/src/UPDATING and
add "device io" And "device mem" to your kernel config.

If you've set securelevel (sysctl kern.securelevel) to a level higher
than the default -1, please do not set it, as it's mutually exclusive
with running an X Server.

-- 
Eric Anholt                                     eta@lclark.edu
http://people.freebsd.org/~anholt/              anholt@FreeBSD.org
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2005-11-25 16:27:12 UTC
State Changed
From-To: open->closed

duplicete of 87748