Bug 4221

Summary: [PATCH] LinuxOS PCI scanning is broken
Product: xorg Reporter: Edgar Hucek <hostmaster>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: highest CC: Alois.Nespor
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 1690    
Attachments:
Description Flags
Xorg.0.log.6.8.2
none
Xorg.0.log.modularx.fail
none
Xorg.0.log.modularx.afterpatch
none
fix-linux-os-pci.patch none

Description Edgar Hucek 2005-08-24 08:14:41 UTC
I tryed to port the xbox nvidia driver to the modular-x server.
While the port i have seen thet the LinuxOS pci scanning is broken.
You can force the XServer to use the linux facility by the following
config entry :

Section "ServerFlags"
        Option "PciProbe1" "false"
        Option "PciProbe2" "false"
        Option "PciForceConfig1" "false"
        Option "PciForceConfig2" "false"
        Option "PciOsConfig" "true"
EndSection

I have atached 4 files. A patch with a fix.
Xorg.0.log.6.8.2: A start  with xorg 6.8.2. 
Xorg.0.log.modularx.fail: A start with modular Xserver without the patch.
Xorg.0.log.modularx: A start with modular Xserver with the patch.
Specialy look at the found pci resources in the log files and you'll
see the problem.
The patch is against xorg-server-0.99.1.tar.bz2.
Comment 1 Edgar Hucek 2005-08-24 08:15:31 UTC
Created attachment 3015 [details]
Xorg.0.log.6.8.2
Comment 2 Edgar Hucek 2005-08-24 08:15:51 UTC
Created attachment 3016 [details]
Xorg.0.log.modularx.fail
Comment 3 Edgar Hucek 2005-08-24 08:16:09 UTC
Created attachment 3017 [details]
Xorg.0.log.modularx.afterpatch
Comment 4 Edgar Hucek 2005-08-24 08:16:51 UTC
Created attachment 3018 [details] [review]
fix-linux-os-pci.patch
Comment 5 Luc Verhaegen 2005-10-01 21:40:12 UTC
This is the same as the last patch attached to 2373. 2373 was what introduced
this problem.
Comment 6 Luc Verhaegen 2005-10-05 00:13:57 UTC
*** Bug 4533 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.