CVS head hangs FreeBSD 4.6-RELEASE hard

Brad Karp <[email protected]> Wed, 19 Jun 2002 20:13:44 -0700
Newsgroups gmane.comp.xfree86.neomagic
Message-ID <[email protected]>
I built the XFree86 tree from the CVS repository head on 6/13.

On my Sony SR7K (NeoMagic NM2380) running FreeBSD 4.6-RELEASE, starting X 
hangs the machine hard. The specifics of the hang:

	- The console never makes it into graphics mode; I still have the
	  text console output of the X server showing.

	- I can never recover use of the console.

	- VT switching doesn't work, and one attempt out of every few elicits
	  a beep on the console.

	- The machine appears to still be up, however; the disk activity light
	  flashes periodically, and if I Ctrl-Alt-Delete (which triggers a
	  clean shutdown under FreeBSD), the disk syncs and then I can *hear*
	  the disk shut down. Powering down and up thereafter reveals clean
	  filesystems; i.e., the Ctrl-Alt-Delete shutdown definitely worked.

I have *already* tried commenting out the code in programs/Xservers/hw/xfree86/
common/xf86pciBus.c:{save,restore}CardBusState(), per the suggestion of Egbert 
Eich in the Neomagic mailing list.

Other things I've tried in /etc/X11/XF86Config:

	NoAccel
	noMMIO
	SWCursor (needed anyway to get a working cursor)

None helps.

(Note that the hang I'm reporting happens regardless of whether there is a 
PC-Card inserted when I start X.)

The 4.2.0 release of XFree86 works fine on the same laptop with the same OS 
release.

I enclose the /etc/X11/XF86Config I use, and /var/log/XFree86.0.log.

Any ideas, anyone? Has the head broken for any other Neomagic users?

Thanks,
-Brad, [email protected]
XFree86.0.log (text/plain, 14.8 KB)
This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to [email protected] and patches submitted
to [email protected].  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.2.99.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 7 June 2002
	If the server is older than 6-12 months, or if your card is
	newer than the above date, look for a newer version before
	reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: FreeBSD 4.6-RELEASE i386 [ELF] 
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/XFree86.0.log", Time: Wed Jun 19 19:54:57 2002
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc101"
(**) XKB: model: "pc101"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/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"
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(II) Module ABI versions:
	XFree86 ANSI C Emulation: 0.1
	XFree86 Video Driver: 0.6
	XFree86 XInput driver : 0.3
	XFree86 Server Extension : 0.1
	XFree86 Font Renderer : 0.3
(II) Loader running on freebsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
	compiled for 4.2.99.1, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
	compiled for 4.2.99.1, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.6
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,7190 card 104d,8092 rev 03 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,7191 card 0000,0000 rev 03 class 06,04,00 hdr 01
(II) PCI: 00:07:0: chip 8086,7110 card 0000,0000 rev 02 class 06,01,00 hdr 80
(II) PCI: 00:07:1: chip 8086,7111 card 0000,0000 rev 01 class 01,01,80 hdr 00
(II) PCI: 00:07:2: chip 8086,7112 card 0000,0000 rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:07:3: chip 8086,7113 card 0000,0000 rev 03 class 06,80,00 hdr 00
(II) PCI: 00:08:0: chip 104d,8039 card 104d,8095 rev 02 class 0c,00,10 hdr 00
(II) PCI: 00:09:0: chip 1073,0012 card 104d,8096 rev 00 class 04,01,00 hdr 00
(II) PCI: 00:0a:0: chip 14f1,2443 card 104d,8097 rev 01 class 07,80,00 hdr 00
(II) PCI: 00:0c:0: chip 1180,0475 card 0000,0000 rev 80 class 06,07,00 hdr 02
(II) PCI: 01:00:0: chip 10c8,0016 card 104d,8093 rev 10 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
	compiled for 4.2.99.1, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.6
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) Bus -1: bridge is at (0:0:0), (-1,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
	[0] -1	0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus -1 non-prefetchable memory range:
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus -1 prefetchable memory range:
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x8c (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
	[0] -1	0	0xfe800000 - 0xfecfffff (0x500000) MX[B]
(II) Bus 1 prefetchable memory range:
	[0] -1	0	0xfc000000 - 0xfdffffff (0x2000000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:7:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) PCI-to-CardBus bridge:
(II) Bus 0: bridge is at (0:12:0), (0,0,0), BCTRL: 0x0720 (VGA_EN is cleared)
(--) PCI:*(1:0:0) Neomagic NM2380 rev 16, Mem @ 0xfc000000/25, 0xfe800000/22, 0xfec00000/20
(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) Active PCI resource ranges:
	[0] -1	0	0xfede0000 - 0xfedfffff (0x20000) MX[B]E
	[1] -1	0	0xfedf8000 - 0xfedfffff (0x8000) MX[B]E
	[2] -1	0	0xfedf7c00 - 0xfedf7fff (0x400) MX[B]E
	[3] -1	0	0xfedf7000 - 0xfedf7fff (0x1000) MX[B]E
	[4] -1	0	0x40000000 - 0x7fffffff (0x40000000) MX[B]EO
	[5] -1	0	0xfec00000 - 0xfecfffff (0x100000) MX[B](B)
	[6] -1	0	0xfe800000 - 0xfebfffff (0x400000) MX[B](B)
	[7] -1	0	0xfc000000 - 0xfdffffff (0x2000000) MX[B](B)
	[8] -1	0	0x0000fc78 - 0x0000fc7f (0x8) IX[B]E
	[9] -1	0	0x0000fc8c - 0x0000fc8f (0x4) IX[B]E
	[10] -1	0	0x0000fcc0 - 0x0000fcff (0x40) IX[B]E
	[11] -1	0	0x0000fca0 - 0x0000fcbf (0x20) IX[B]E
	[12] -1	0	0x0000fc90 - 0x0000fc9f (0x10) IX[B]E
(II) PCI Memory resource overlap reduced 0xfede0000 from 0xfedfffff to 0xfedeffff
(II) PCI Memory resource overlap reduced 0xfedf7000 from 0xfedf7fff to 0xfedf77ff
(II) Active PCI resource ranges after removing overlaps:
	[0] -1	0	0xfede0000 - 0xfedeffff (0x10000) MX[B]E
	[1] -1	0	0xfedf8000 - 0xfedfffff (0x8000) MX[B]E
	[2] -1	0	0xfedf7c00 - 0xfedf7fff (0x400) MX[B]E
	[3] -1	0	0xfedf7000 - 0xfedf77ff (0x800) MX[B]E
	[4] -1	0	0x40000000 - 0x7fffffff (0x40000000) MX[B]EO
	[5] -1	0	0xfec00000 - 0xfecfffff (0x100000) MX[B](B)
	[6] -1	0	0xfe800000 - 0xfebfffff (0x400000) MX[B](B)
	[7] -1	0	0xfc000000 - 0xfdffffff (0x2000000) MX[B](B)
	[8] -1	0	0x0000fc78 - 0x0000fc7f (0x8) IX[B]E
	[9] -1	0	0x0000fc8c - 0x0000fc8f (0x4) IX[B]E
	[10] -1	0	0x0000fcc0 - 0x0000fcff (0x40) IX[B]E
	[11] -1	0	0x0000fca0 - 0x0000fcbf (0x20) IX[B]E
	[12] -1	0	0x0000fc90 - 0x0000fc9f (0x10) IX[B]E
(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	0xfede0000 - 0xfedeffff (0x10000) MX[B]E
	[6] -1	0	0xfedf8000 - 0xfedfffff (0x8000) MX[B]E
	[7] -1	0	0xfedf7c00 - 0xfedf7fff (0x400) MX[B]E
	[8] -1	0	0xfedf7000 - 0xfedf77ff (0x800) MX[B]E
	[9] -1	0	0x40000000 - 0x7fffffff (0x40000000) MX[B]EO
	[10] -1	0	0xfec00000 - 0xfecfffff (0x100000) MX[B](B)
	[11] -1	0	0xfe800000 - 0xfebfffff (0x400000) MX[B](B)
	[12] -1	0	0xfc000000 - 0xfdffffff (0x2000000) MX[B](B)
	[13] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[14] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[15] -1	0	0x0000fc78 - 0x0000fc7f (0x8) IX[B]E
	[16] -1	0	0x0000fc8c - 0x0000fc8f (0x4) IX[B]E
	[17] -1	0	0x0000fcc0 - 0x0000fcff (0x40) IX[B]E
	[18] -1	0	0x0000fca0 - 0x0000fcbf (0x20) IX[B]E
	[19] -1	0	0x0000fc90 - 0x0000fc9f (0x10) IX[B]E
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
	compiled for 4.2.99.1, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
	compiled for 4.2.99.1, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/freebsd/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
	compiled for 4.2.99.1, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
	compiled for 4.2.99.1, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.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 FontCache
(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: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
	compiled for 4.2.99.1, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
	compiled for 4.2.99.1, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "pex5"
(WW) Warning, couldn't open module pex5
(II) UnloadModule: "pex5"
(EE) Failed to load module "pex5" (module does not exist, 0)
(II) LoadModule: "record"
(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="The XFree86 Project"
	compiled for 4.2.99.1, module version = 1.13.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension RECORD
(II) LoadModule: "xie"
(WW) Warning, couldn't open module xie
(II) UnloadModule: "xie"
(EE) Failed to load module "xie" (module does not exist, 0)
(II) LoadModule: "xtrap"
(II) Loading /usr/X11R6/lib/modules/extensions/libxtrap.a
(II) Module xtrap: vendor="The XFree86 Project"
	compiled for 4.2.99.1, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DEC-XTRAP
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
	compiled for 4.2.99.1, module version = 1.0.1
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Speedo
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
	compiled for 4.2.99.1, module version = 1.0.1
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "neomagic"
(II) Loading /usr/X11R6/lib/modules/drivers/neomagic_drv.o
(II) Module neomagic: vendor="The XFree86 Project"
	compiled for 4.2.99.1, module version = 1.0.0
	Module class: XFree86 Video Driver
	ABI class: XFree86 Video Driver, version 0.6
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
	compiled for 4.2.99.1, module version = 1.0.0
	Module class: XFree86 XInput Driver
	ABI class: XFree86 XInput driver, version 0.3
(II) NEOMAGIC: Driver for Neomagic chipsets: neo2070, neo2090, neo2093,
	neo2097, neo2160, neo2200, neo2230, neo2360, neo2380
(II) Primary Device is: PCI 01:00:0
(--) Chipset neo2380 found
(II) resource ranges after xf86ClaimFixedResources() call:
	[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	0xfede0000 - 0xfedeffff (0x10000) MX[B]E
	[6] -1	0	0xfedf8000 - 0xfedfffff (0x8000) MX[B]E
	[7] -1	0	0xfedf7c00 - 0xfedf7fff (0x400) MX[B]E
	[8] -1	0	0xfedf7000 - 0xfedf77ff (0x800) MX[B]E
	[9] -1	0	0x40000000 - 0x7fffffff (0x40000000) MX[B]EO
	[10] -1	0	0xfec00000 - 0xfecfffff (0x100000) MX[B](B)
	[11] -1	0	0xfe800000 - 0xfebfffff (0x400000) MX[B](B)
	[12] -1	0	0xfc000000 - 0xfdffffff (0x2000000) MX[B](B)
	[13] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[14] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[15] -1	0	0x0000fc78 - 0x0000fc7f (0x8) IX[B]E
	[16] -1	0	0x0000fc8c - 0x0000fc8f (0x4) IX[B]E
	[17] -1	0	0x0000fcc0 - 0x0000fcff (0x40) IX[B]E
	[18] -1	0	0x0000fca0 - 0x0000fcbf (0x20) IX[B]E
	[19] -1	0	0x0000fc90 - 0x0000fc9f (0x10) IX[B]E
(II) resource ranges after probing:
	[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	0xfede0000 - 0xfedeffff (0x10000) MX[B]E
	[6] -1	0	0xfedf8000 - 0xfedfffff (0x8000) MX[B]E
	[7] -1	0	0xfedf7c00 - 0xfedf7fff (0x400) MX[B]E
	[8] -1	0	0xfedf7000 - 0xfedf77ff (0x800) MX[B]E
	[9] -1	0	0x40000000 - 0x7fffffff (0x40000000) MX[B]EO
	[10] -1	0	0xfec00000 - 0xfecfffff (0x100000) MX[B](B)
	[11] -1	0	0xfe800000 - 0xfebfffff (0x400000) MX[B](B)
	[12] -1	0	0xfc000000 - 0xfdffffff (0x2000000) MX[B](B)
	[13] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B]
	[14] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
	[15] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B]
	[16] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[17] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[18] -1	0	0x0000fc78 - 0x0000fc7f (0x8) IX[B]E
	[19] -1	0	0x0000fc8c - 0x0000fc8f (0x4) IX[B]E
	[20] -1	0	0x0000fcc0 - 0x0000fcff (0x40) IX[B]E
	[21] -1	0	0x0000fca0 - 0x0000fcbf (0x20) IX[B]E
	[22] -1	0	0x0000fc90 - 0x0000fc9f (0x10) IX[B]E
	[23] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[24] 0	0	0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
XF86Config (text/plain, 2.8 KB)
Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "dbe"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
	Load  "pex5"
	Load  "record"
	Load  "xie"
	Load  "xtrap"
	Load  "speedo"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
	Option	    "XkbRules" "xfree86"
	Option	    "XkbModel" "pc101"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "Auto"
	Option	    "Device" "/dev/sysmouse"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	HorizSync    31.5 - 57.0
	VertRefresh  50.0 - 100.0
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     "NoLinear"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        Option     "SWcursor"           	# [<bool>]
        #Option     "noMMIO"             	# [<bool>]
        #Option     "internDisp"         	# [<bool>]
        #Option     "externDisp"         	# [<bool>]
        #Option     "LcdCenter"          	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "NoStretch"          	# [<bool>]
        #Option     "pciBurst"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "StrangeLockups"     "0"	# [<bool>]
        #Option     "DisplayHeight480"   	# [<bool>]
        #Option     "progLcdModeRegs"    	# [<bool>]
        #Option     "progLcdModeStretch" 	# [<bool>]
        #Option     "overrideValidateMode" 	# [<bool>]
	Identifier  "Card0"
	Driver      "neomagic"
	VendorName  "Neomagic"
	BoardName   "NM2380"
	#ChipSet     "neo2380"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	DefaultColorDepth 16
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Depth     1
	EndSubSection
	SubSection "Display"
		Depth     4
	EndSubSection
	SubSection "Display"
		Depth     8
	EndSubSection
	SubSection "Display"
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     16
	EndSubSection
	SubSection "Display"
		Depth     24
	EndSubSection
EndSection