Re: [XFree86] 4.x (including the latest) XFree find too many of my graphics card

2003-09-21 Thread Marc Aurele La France
On Sat, 20 Sep 2003, Barry Bouwsma wrote:

 XFree86 Bug/Test Report Form

 VERSION:

 CVS head from about 15.Sep; also observed under 4.2.1 and 4.1.0 at least;
 not a problem with 3.3.6

Please state the revision number of the
xc/programs/Xserver/hw/xfree86/os-support/bus/Pci.c you checked out.

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Computing and Network Services  |  fax:1-780-492-1729   |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]  |
|  University of Alberta   +---+
|  Edmonton, Alberta   |   |
|  T6G 2H1 | Standard disclaimers apply|
|  CANADA  |   |
+--+---+
XFree86 Core Team member.  ATI driver and X server internals.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] 4.x (including the latest) XFree find too many of my graphics card

2003-09-20 Thread Barry Bouwsma
XFree86 Bug/Test Report Form


VERSION:

CVS head from about 15.Sep; also observed under 4.2.1 and 4.1.0 at least;
not a problem with 3.3.6

VIDEO DRIVER:

tseng and s3 (tested on two old machines)

OPERATING SYSTEM:

FreeBSD 4.7; boot dmesg follows well below

VIDEO CARD:

 Tseng Labs Inc ET4000/W32p rev C
vendor   = 'TSENG LABS Inc'
device   = 'ET4000W32P-C GUI Accelerator'

 also:

pci0: S3 Trio graphics accelerator (vendor=0x5333, dev=0x8811) at 9.0
Identifier  Card0
Driver  s3
VendorName  S3 Inc.
BoardName   86c764/765 [Trio32/64/64V+]
BusID   PCI:0:9:0



MODEL:

see above, I think

GRAPHICS CHIPSET:

see above and/or below, maybe

RAMDAC:

maybe above info suffices, I hope?

CLOCKCHIP:

maybe above info suffices, I hope, again?

VIDEO MEMORY:

blah, something like 2M Tseng, and 1M S3 maybe?

BUS TYPE:

PCI:
  BusID   PCI:0:12:0  (Tseng)
and see above for pci0 info about S3 card


REPORT:

This appears to be a problem with `scanpci', which then makes
itself a problem when auto-configuring a config file that must
be massaged to get things to work.

It seems the latest CVS head version of `scanpci', as well as
all the ones I grabbed out of 4.2 (and 4.1 if I remember),
find the graphics card on an additional PCI bus at plenty of
cardnums.  The `scanpci' I have from 3.something only finds
one such occurrence of the graphics card.

All these bogus locations and the correcsponding Display etc.
sections are added to the auto-generated config file, which
needs to have the additional entries pruned before having any
chance of starting successfully.

Following are:
  First, the FreeBSD `pciconf' output, which does not list
the phantom video cards.
  Then, the XFree86 `scanpci' output, which gets the first set
of PCI cards right, then proceeds to give a varying number
of phantom cards (I think the first time I tried this I
saw only 16 cards on bus 0x0800, but I could be wrong).
  Following this, a trimmed verbose FreeBSD 4.7 boot dmesg,
if this is helpful, from the machine with the Tseng card.
  I don't have the `scanpci' S3 output, but from an auto-
generated config file, the phantom cards start to appear
at locations starting with:
BusID   PCI:16:0:0and so on.

*** First, the FreeBSD `pciconf' output:

[EMAIL PROTECTED]:0:0:  class=0x06 card=0x chip=0x12508086 rev=0x03 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82439HX System Controller (TXC)'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:7:0:  class=0x060100 card=0x chip=0x70008086 rev=0x01 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82371SB PIIX3 PCI-to-ISA Bridge (Triton II)'
class= bridge
subclass = PCI-ISA
[EMAIL PROTECTED]:7:1:  class=0x010180 card=0x chip=0x70108086 rev=0x00 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82371SB PIIX3 IDE Interface (Triton II)'
class= mass storage
subclass = ATA
[EMAIL PROTECTED]:7:2:  class=0x0c0300 card=0x chip=0x70208086 rev=0x01 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82371SB PIIX3 USB Host Controller (Triton II)'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:9:0:  class=0x0c0010 card=0x00e71033 chip=0x00e71033 rev=0x01 
hdr=0x00
vendor   = 'NEC Electronics Hong Kong'
class= serial bus
subclass = FireWire
[EMAIL PROTECTED]:10:0: class=0x040100 card=0x13191319 chip=0x08011319 rev=0xb2 
hdr=0x00
vendor   = 'Forte Media, Inc.'
device   = 'FM801 Xwave PCI audio controller'
class= multimedia
subclass = audio
[EMAIL PROTECTED]:10:1: class=0x098000 card=0x13191319 chip=0x08021319 rev=0xb2 
hdr=0x00
vendor   = 'Forte Media, Inc.'
device   = 'FM801 Xwave PCI Joystick'
class= input device
[EMAIL PROTECTED]:11:0: class=0x040100 card=0x20001274 chip=0x58801274 rev=0x02 
hdr=0x00
vendor   = 'Ensoniq (Creative)'
device   = '5880 AudioPCI'
class= multimedia
subclass = audio
[EMAIL PROTECTED]:12:0: class=0x03 card=0x chip=0x3206100c rev=0x00 
hdr=0x00
vendor   = 'TSENG LABS Inc'
device   = 'ET4000W32P-C GUI Accelerator'
class= display
subclass = VGA


*** Now, what the second invocation of `scanpci' has to say about this:
(skip down about 100 lines to see the phantom cards)

pci bus 0x cardnum 0x00 function 0x00: vendor 0x8086 device 0x1250
 Intel Corp. 430HX - 82439HX TXC [Triton II]
  STATUS0x3200  COMMAND 0x0106
  CLASS 0x06 0x00 0x00  REVISION 0x03
  BIST  0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x00