Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 207659 - 'optimisation' breaks multiple domains, even with non-overlapping PCI bus numbers.
Summary: 'optimisation' breaks multiple domains, even with non-overlapping PCI bus num...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact:
URL:
Whiteboard:
: 201933 (view as bug list)
Depends On:
Blocks: FC7Blocker
TreeView+ depends on / blocked
 
Reported: 2006-09-22 11:05 UTC by David Woodhouse
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version: 1.2.99.903-2.fc7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-03-31 03:29:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 7248 0 None None None Never

Description David Woodhouse 2006-09-22 11:05:51 UTC
Selected output of X -verbose 255:

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 11ab,6460 card 0000,0000 rev 03 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1106,3044 card 1106,3044 rev 46 class 0c,00,10 hdr 00
(II) PCI: 00:06:0: chip 11ab,4100 card 11ab,4100 rev 10 class 05,01,00 hdr 80
(II) PCI: 00:06:1: chip 11ab,4100 card 11ab,4100 rev 10 class 01,80,00 hdr 80
(II) PCI: 00:06:2: chip 11ab,4100 card 11ab,4100 rev 10 class 04,00,00 hdr 80
(II) PCI: 00:0c:0: chip 1106,8231 card 0000,0000 rev 10 class 06,01,00 hdr 80
(II) PCI: 00:0c:1: chip 1106,0571 card 0000,0000 rev 06 class 01,01,8f hdr 00
(II) PCI: 00:0c:2: chip 1106,3038 card 0925,1234 rev 1e class 0c,03,00 hdr 00
(II) PCI: 00:0c:3: chip 1106,3038 card 0925,1234 rev 1e class 0c,03,00 hdr 00
(II) PCI: 00:0c:4: chip 1106,8235 card 0000,0000 rev 10 class 06,80,00 hdr 00
(II) PCI: 00:0c:5: chip 1106,3058 card 0000,0000 rev 40 class 04,01,00 hdr 00
(II) PCI: 00:0c:6: chip 1106,3068 card 0000,0000 rev 20 class 07,80,00 hdr 00
(II) PCI: 00:0d:0: chip 1106,3065 card 3065,1106 rev 51 class 02,00,00 hdr 00
(II) PCI: End of PCI scan

.....

(EE) No devices detected.

Fatal server error:
no screens found


Compare with output of 'lspci -n':

0000:00:00.0 0600: 11ab:6460 (rev 03)
0000:00:01.0 0c00: 1106:3044 (rev 46)
0000:00:06.0 0501: 11ab:4100 (rev 10)
0000:00:06.1 0180: 11ab:4100 (rev 10)
0000:00:06.2 0400: 11ab:4100 (rev 10)
0000:00:0c.0 0601: 1106:8231 (rev 10)
0000:00:0c.1 0101: 1106:0571 (rev 06)
0000:00:0c.2 0c03: 1106:3038 (rev 1e)
0000:00:0c.3 0c03: 1106:3038 (rev 1e)
0000:00:0c.4 0680: 1106:8235 (rev 10)
0000:00:0c.5 0401: 1106:3058 (rev 40)
0000:00:0c.6 0780: 1106:3068 (rev 20)
0000:00:0d.0 0200: 1106:3065 (rev 51)
0001:01:00.0 0600: 11ab:6460 (rev 03)
0001:01:08.0 0300: 1002:5960 (rev 01)
0001:01:08.1 0380: 1002:5940 (rev 01)

Note the absence of 0001:01:08 in what X detects. That's the video card.

Machine is Genesi Pegasos II

Comment 1 David Woodhouse 2006-09-22 11:50:33 UTC
Seems to be caused by xorg-x11-server-1.1.0-pci-scan-fixes.patch which means
that X no longer finds devices not in PCI domain 0.

Comment 2 David Woodhouse 2006-09-22 12:00:10 UTC
What purpose does the hunk in linuxPciOpenFile() serve? Can we just drop that
part from the patch? We mustn't switch to /sys/bus/pci/devices until we properly
handle PCI domains.

Comment 4 Matthias Clasen 2006-09-29 20:59:09 UTC
Has this been fixed ?

Comment 5 Adam Jackson 2006-09-29 21:29:54 UTC
Yep.

Comment 6 David Woodhouse 2006-10-01 17:00:25 UTC
Confirmed working on Pegasos. To a certain extent, at least -- we do get a
picture, but it looks like http://david.woodhou.se/DCP_2736.JPG 

That's fixed by
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-ati.git;a=commitdiff;h=145c716de6d42778e447581578f3e4db13c9a653

Comment 7 David Woodhouse 2007-03-07 17:55:39 UTC
This bug has returned in F7t2 because the offending 'optimisation' got into
upstream Xorg. It's fixed by the patch at
http://david.woodhou.se/xorg-x11-server-1.2.99-unbreak-domain.patch

Comment 8 Adam Jackson 2007-03-12 16:07:31 UTC
*** Bug 201933 has been marked as a duplicate of this bug. ***

Comment 9 David Woodhouse 2007-03-28 00:07:04 UTC
A simple and obvious one-liner has been available to fix this bug for three
weeks now. Should I just commit it myself?


Note You need to log in before you can comment on or make changes to this bug.