Subject: Re:Re:Dual head XFree? or does G200 work?
To: None <jkunz@unixag-kl.fh-kl.de, port-alpha@netbsd.org>
From: mel kravitz <melk@switchpwr.com>
List: port-alpha
Date: 03/04/2004 20:06:25
Well i rummaged up a g200 added it to a 600au box,
and booted 1.6ZF kernel:
NetBSD 1.6ZF (NEW) #3: Fri Dec 12 10:30:41 EST 2003
	mel@casey219.doodle.com:/usr/src/sys/arch/alpha/compile/NEW
Digital Personal WorkStation 600au, 598MHz, s/n 
8192 byte page size, 1 processor.
total memory = 768 MB
(1896 KB reserved for PROM, 766 MB used by NetBSD)
avail memory = 705 MB
using 4916 buffers containing 39328 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-0
cpu0: Architecture extensions: 1<BWX>
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (Pyxis), pass 1
cia0: extended capabilities: 1<BWEN>
cia0: using BWX for PCI config access
cia0: WARNING: Pyxis pass 1 DMA bug; no bets...
pci0 at cia0 bus 0
pci0: i/o space, memory space enabled
tlp0 at pci0 dev 3 function 0: DECchip 21143 Ethernet, pass 3.0
tlp0: interrupting at dec 550 irq 0
tlp0: DEC , Ethernet address 00:00:f8:75:77:63
tlp0: unable to configure MII
tlp0: 10baseT, 10baseT-FDX, auto
cmdide0 at pci0 dev 4 function 0
cmdide0: CMD Technology PCI0646 (rev. 0x01)
cmdide0: bus-master DMA support present
cmdide0: primary channel wired to compatibility mode
cmdide0: primary channel interrupting at isa irq 14
atabus0 at cmdide0 channel 0
cmdide0: secondary channel wired to compatibility mode
cmdide0: secondary channel interrupting at isa irq 15
atabus1 at cmdide0 channel 1
sio0 at pci0 dev 7 function 0: Intel 82378ZB System I/O (SIO) (rev. 0x43)
isp0 at pci0 dev 12 function 0: QLogic 1020 Fast Wide SCSI HBA
isp0: interrupting at dec 550 irq 8
scsibus0 at isp0: 16 targets, 8 luns per target
ppb0 at pci0 dev 20 function 0: Digital Equipment DECchip 21052 PCI-PCI Bridge (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
eap0 at pci1 dev 8 function 0: Ensoniq CT5880 CT5880-C (rev. 0x02)
eap0: interrupting at dec 550 irq 12
eap0: ac97: SigmaTel STAC9721/23 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D
eap0: ac97: ext id 200<AMAP>
audio0 at eap0: full duplex, mmap, independent
midi at eap0 not configured
ohci0 at pci1 dev 9 function 0: NEC USB Host Controller (rev. 0x41)
ohci0: interrupting at dec 550 irq 16
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci1 dev 9 function 1: NEC USB Host Controller (rev. 0x41)
ohci1: interrupting at dec 550 irq 17
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
NEC USB Host Controller (USB serial bus, interface 0x20, revision 0x02) at pci1 dev 9 function 2 not configured
ppb1 at pci1 dev 10 function 0: Intel S21152BB PCI to PCI Bridge (rev. 0x00)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
vga0 at pci2 dev 0 function 0: Matrox MGA G200 AGP (rev. 0x03)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
Matrox MGA G200 AGP (miscellaneous display, revision 0x03) at pci2 dev 4 function 0 not configured
isa0 at sio0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
sb0 at isa0 port 0x220-0x237 irq 5 drq 1: dsp v3.01
audio1 at sb0: half duplex, mmap, independent
midi at sb0 not configured
opl at sb0 not configured
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
isabeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
pcic1 at isa0 port 0x3e2-0x3e3 iomem 0xcc000-0xcffff irq 
pcic1: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic1 controller 0 socket 0
pcmcia1 at pcic1 controller 0 socket 1
isapnp0: no ISA Plug 'n Play devices found
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
pcic1: controller 0 detecting irqs with mask 0xdeb8:..9..10..11
pcic1: using irq 9 for socket events
Kernelized RAIDframe activated
stray isa irq 14
atapibus0 at atabus0: 2 targets
scsibus0: waiting 2 seconds for devices to settle...
cd0 at atapibus0 drive 0: <SAMSUNG CDRW/DVD SM-308B, , bi12> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(cmdide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wi0 at pcmcia0 function 0: Lucent Technologies, WaveLAN/IEEE, Version 01.01
wi0: port 0x300-0x33f
pcmcia0: card irq 10
wi0: 802.11 address 00:02:2d:4a:92:ea
wi0: using Lucent Technologies, WaveLAN/IEEE
wi0: Lucent Firmware: Station (7.28.1)
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST318438LW, 0003> disk fixed
sd0: 19001 MB, 26434 cyl, 2 head, 736 sec, 512 bytes/sect x 38914049 sectors
sd0: sync (50.00ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing
root on sd0a dumps on sd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
pcmcia0: card irq 10
stray isa irq 10
----------------------
xinit starts Xsession fine XFree86.0.log:
XFree86 Version 4.3.99.901 (4.4.0 RC 1)
Release Date:  2 December 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: NetBSD/alpha 1.6ZF [ELF] The NetBSD Foundation, Inc.
Current Operating System: NetBSD casey219.doodle.com 1.6ZF NetBSD 1.6ZF (NEW) #3: Fri Dec 12 10:30:41 EST 2003  mel@casey219.doodle.com:/usr/src/sys/arch/alpha/compile/NEW alpha
Build Date: 09 December 2003
Changelog Date: 07 December 2003
	Before reporting problems, check http://www.XFree86.Org/
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Mar  4 19:36:44 2004
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "My Monitor"
(**) |   |-->Device "Matrox g200"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc101"
(**) XKB: model: "pc101"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(WW) The directory "/usr/X11R6/lib/X11/fonts/TrueType/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/freefont/" does not exist.
	Entry deleted from font path.
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(--) Using wscons driver in pcvt compatibility mode (version 3.32)
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:03:0: chip 1011,0019 card 0000,0000 rev 30 class 02,00,00 hdr 00
(II) PCI: 00:04:0: chip 1095,0646 card 0000,0000 rev 01 class 01,01,80 hdr 00
(II) PCI: 00:07:0: chip 8086,0484 card 0000,0000 rev 43 class 00,00,00 hdr 00
(II) PCI: 00:0c:0: chip 1077,1020 card 0000,0000 rev 05 class 01,00,00 hdr 00
(II) PCI: 00:14:0: chip 1011,0021 card 0000,0000 rev 02 class 06,04,00 hdr 01
(II) PCI: 01:08:0: chip 1274,5880 card 1274,2003 rev 02 class 04,01,00 hdr 00
(II) PCI: 01:09:0: chip 1033,0035 card 9004,0035 rev 41 class 0c,03,10 hdr 80
(II) PCI: 01:09:1: chip 1033,0035 card 9004,0035 rev 41 class 0c,03,10 hdr 00
(II) PCI: 01:09:2: chip 1033,00e0 card 9004,00e0 rev 02 class 0c,03,20 hdr 00
(II) PCI: 01:0a:0: chip 8086,b152 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 02:00:0: chip 102b,0521 card 102b,dbd9 rev 03 class 03,00,00 hdr 00
(II) PCI: 02:04:0: chip 102b,0521 card 102b,dbd9 rev 03 class 03,80,00 hdr 00
(II) PCI: End of PCI scan
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:20:0), (0,1,2), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 1 I/O range:
	[0] -1	0	0x00008000 - 0x00008fff (0x1000) IX[B]
(II) Bus 1 non-prefetchable memory range:
	[0] -1	0	0x80000000 - 0x811fffff (0x1200000) MX[B]
(II) Bus 1 prefetchable memory range:
	[0] -1	0	0x90000000 - 0x91ffffff (0x2000000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 2: bridge is at (1:10:0), (1,2,2), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 2 non-prefetchable memory range:
	[0] -1	0	0x80000000 - 0x810fffff (0x1100000) MX[B]
(II) Bus 2 prefetchable memory range:
	[0] -1	0	0x90000000 - 0x91ffffff (0x2000000) MX[B]
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,0), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
	[0] -1	0	0x00000000 - 0xffffffff (0x100000000) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1	0	0x80000000 - 0xffffffff (0x80000000) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1	0	0x80000000 - 0xffffffff (0x80000000) MX[B]
(--) PCI: (0:7:0) Intel Corp. 82378IB [SIO ISA Bridge] rev 67
(--) PCI:*(2:0:0) Matrox Graphics, Inc. MGA G200 AGP rev 3, Mem @ 0x91000000/24, 0x81024000/14, 0x80800000/23, BIOS @ 0x81010000/16
(--) PCI: (2:4:0) Matrox Graphics, Inc. MGA G200 AGP rev 3, Mem @ 0x90000000/24, 0x81020000/14, 0x80000000/23, BIOS @ 0x81000000/16

-------------------------------------------------------------
however ctrl-alt-bkspace-xinit 'hangs' the box, that is killing Xserver 
works returns white text on blue but restart of Xsession the third time 'hangs'-
black screen with XFree86.0.log reporting  a 'blank page'.
-Mel


>On 18 Feb 2004 12:44:06 -0500
>mel kravitz <melk@switchpwr.com> wrote:

>> Yes, best 2D card seems to be Matrox G400=20
>OK. Got my two "new" Matrox G200 (ePay, 18 EUR) today. After some fun
>with the pci_device_override SRM variable I got them working in my PWS
>500au for text console. At the moment I have only one card in the upper
>64 bit PCI slot

>Kernel is -current about two days old, userland from 1.6ZH. wscons
>options according to Mel's README. XFree86 compiled from Mel's
>4.4.0-RC-2 source.=20