Subject: pkg/36291: Modular xorg does not use /dev/pci on i386 and no longer provides -nohw option
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jmcneill@invisible.ca>
List: pkgsrc-bugs
Date: 05/08/2007 01:55:01
>Number:         36291
>Category:       pkg
>Synopsis:       Modular xorg does not use /dev/pci on i386 and no longer provides -nohw option
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 08 01:55:01 +0000 2007
>Originator:     jmcneill@invisible.ca
>Release:        NetBSD 4.99.9
>Organization:
	
>Environment:
	
	
System: NetBSD xbox 4.99.9 NetBSD 4.99.9 (XBOX) #34: Mon Feb 5 22:10:03 EST 2007 jmcneill@jared-d-mcneills-computer.local:/Users/jmcneill/NetBSD/src/sys/arch/i386/compile/obj/XBOX i386
Architecture: i386
Machine: i386
>Description:
	The NetBSD kernel has workarounds in i386 PCI machdep code to prevent
	scanning unknown devices on Xbox. Attempting to read or write to
	these devices causes the machine to lock up.

	XFree86 on NetBSD/i386 does not use /dev/pci to scan for devices,
	so this check is not honoured. The '-nohw' flag to the X server
	tells XFree86 to not bother doing a scan for PCI devices, which works
	fine on Xbox.

	The modular-xorg-server package no longer honours this flag, so there
	is no longer a way to run an X server on Xbox.
>How-To-Repeat:
	Boot an Xbox kernel, install modular-xorg-server-1.2.0nb1, startx.
>Fix:
	You won't hear me complain if netbsdPci.c is used on i386 instead of
	the generic x86 PCI code within Xorg :-)

>Unformatted: