From nobody@FreeBSD.org  Mon Oct 24 03:47:14 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 575CC16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 24 Oct 2005 03:47:14 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 08C4843D46
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 24 Oct 2005 03:47:14 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9O3lDQR068342
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 24 Oct 2005 03:47:13 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j9O3lD49068341;
	Mon, 24 Oct 2005 03:47:13 GMT
	(envelope-from nobody)
Message-Id: <200510240347.j9O3lD49068341@www.freebsd.org>
Date: Mon, 24 Oct 2005 03:47:13 GMT
From: Chunwei Han <cwhann@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Failt to init X: can't open device/io
X-Send-Pr-Version: www-2.3

>Number:         87898
>Category:       amd64
>Synopsis:       Failt to init X: can't open device/io
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 24 03:50:14 GMT 2005
>Closed-Date:    Fri Nov 25 16:28:36 GMT 2005
>Last-Modified:  Fri Nov 25 16:28:36 GMT 2005
>Originator:     Chunwei Han
>Release:        6.0 RC1
>Organization:
Peking University, P.R.China
>Environment:
FreeBSD 6.0 RC1
>Description:
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
>How-To-Repeat:
X
>Fix:
no
>Release-Note:
>Audit-Trail:

From: Eric Anholt <eta@lclark.edu>
To: Chunwei Han <cwhann@gmail.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: amd64/87898: Failt to init X: can't open device/io
Date: Sun, 23 Oct 2005 22:16:33 -0700

 --=-/yi0xpXgnCPhe8rVkQA7
 Content-Type: text/plain
 Content-Transfer-Encoding: quoted-printable
 
 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.
 
 --=20
 Eric Anholt                                     eta@lclark.edu
 http://people.freebsd.org/~anholt/              anholt@FreeBSD.org
 
 --=-/yi0xpXgnCPhe8rVkQA7
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Description: This is a digitally signed message part
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.1 (FreeBSD)
 
 iD8DBQBDXG4xHUdvYGzw6vcRAoDuAKCYv/vcOyQ22A74TaqcdYPYSUlmcgCdEYdQ
 RJLHgnt6X1rHnEPi63Gcwi8=
 =lAvr
 -----END PGP SIGNATURE-----
 
 --=-/yi0xpXgnCPhe8rVkQA7--
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Fri Nov 25 16:27:12 GMT 2005 
State-Changed-Why:  
duplicete of 87748 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87898 
>Unformatted:
