Subject: Multiple VGA cards
To: None <port-i386@netbsd.org>
From: Andreas Wrede <andreas@planix.com>
List: port-i386
Date: 09/12/2000 17:56:46
I am trying to configure a 1.5_ALPHA2 kernel to recognize and
attach two VGA cards, so far without success. The config statements for
VGA and wsdisplay in the GENERIC kernel look like they should support
multiple VGA cards on a PCI bus:

vga0            at isa?
vga*            at pci? dev ? function ?
pcdisplay0      at isa?                 # CGA, MDA, EGA, HGA
wsdisplay*      at vga? console ?
wsdisplay*      at pcdisplay? console ?

When booting with two cards, the second card is always listed as
'not configured'. I tried locking down the kernel config by explicitly
specifying the pci bus, device and function with no change in the
result. 

Any suggestions what I should try next?

Trimmed dmesg out follows:


NetBSD 1.5_ALPHA2 (PLANIX-IPv6) #0: Tue Sep 12 17:34:35 EDT 2000
    root@woffi.planix.com:/usr/src/sys/arch/i386/compile/WOFFI
cpu0: Intel Pentium III (686-class)
total memory = 127 MB
avail memory = 114 MB
  [SNIP]
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Matrox MGA G400 AGP (rev. 0x03)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
pcib0 at pci0 dev 4 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
  [SNIP]
Matrox MGA Millennium 2064W ("Storm") (VGA display, revision 0x01) at pci0 dev 9 function 0 not configured
  [SNIP]

-- 
    - aew