Subject: not detecting VGA console properly?!
To: None <port-alpha@netbsd.org>
From: Chris G. Demetriou <cgd@netbsd.org>
List: port-alpha
Date: 02/03/1999 09:34:05
I've got a TGA2 (ZLX2-E1, i think it is, but it's been ... a long
time) attached to an AlphaStation 200.  when i boot an old kernel with
the serial console, it says:

consinit: not using prom console
Copyright (c) 1996, 1997, 1998
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.3F (GENERIC) #1: Tue Jun 30 16:58:17 PDT 1998
    ross@zeta.teraflop.com:/usr/src/sys/arch/alpha/compile/GENERIC
AlphaStation 200 4/233, 233MHz
8192 byte page size, 1 processor.
real mem = 83886080 (2048000 reserved for PROM, 81838080 used by
NetBSD)
avail mem = 68911104
using 999 buffers containing 8183808 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21064A (reserved minor type)
apecs0 at mainbus0: DECchip 21071 Core Logic chipset
apecs0: DC21071-CA pass 2, 64-bit memory bus
apecs0: DC21071-DA pass 2
pci0 at apecs0 bus 0
pci0: i/o enabled, memory enabled
ncr0 at pci0 dev 6 function 0: ncr 53c810 fast10 scsi
ncr0: interrupting at isa irq 11
ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma
fifo
ncr0: single-ended, open drain IRQ driver
ncr0: restart (scsi reset).
scsibus0 at ncr0: 8 targets
sd0 at scsibus0 targ 0 lun 0: <QUANTUM, FIREBALL SE3.2S, PJ0A> SCSI2
0/direct fixed
sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 8)
sd0: 3079MB, 7637 cyl, 3 head, 275 sec, 512 bytes/sect x 6306048
sectors
sio0 at pci0 dev 7 function 0: Intel 82378ZB System I/O (SIO)
(rev. 0x43)
de0 at pci0 dev 11 function 0
de0: interrupting at isa irq 5
de0: DEC 21040 [10Mb/s] pass 2.4
de0: address 00:00:f8:23:47:17
de0: enabling 10baseT port
vga0 at pci0 dev 12 function 0: Digital Equipment TGA2 (rev. 0x22)
wsdisplay0 at vga0
ppb0 at pci0 dev 13 function 0: Digital Equipment DECchip 21050
PCI-PCI Bridge (rev. 0x01)
pci1 at ppb0 bus 1
pci1: memory enabled
de1 at pci1 dev 4 function 0
de1: interrupting at isa irq 15
de1: DEC 21040 [10Mb/s] pass 2.3
de1: address 08:00:2b:e4:17:49
de1: enabling 10baseT port
de2 at pci1 dev 5 function 0
de2: interrupting at isa irq 10
de2: DEC 21040 [10Mb/s] pass 2.3
de2: address 08:00:2b:e4:17:48
de2: enabling 10baseT port
de3 at pci1 dev 6 function 0
de3: interrupting at isa irq 5
de3: DEC 21040 [10Mb/s] pass 2.3
de3: address 08:00:2b:e4:17:45
de3: enabling 10baseT port
de4 at pci1 dev 7 function 0
de4: interrupting at isa irq 15
de4: DEC 21040 [10Mb/s] pass 2.3
de4: address 08:00:2b:e4:17:47
de4: enabling 10baseT port
isa0 at sio0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x3bc-0x3bf irq 7
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0
psm0 at pckbc0 (aux slot)
wsmouse0 at psm0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
wscons: wskbd0 glued to wsdisplay0
root on sd0a dumps on sd0b
root file system type: ffs
uvm_swap: allocated 256 swap buffer headers
de4: link down: cable problem?
de0: enabling 10baseT port
de1: enabling 10baseT port
de2: enabling 10baseT port
de3: enabling 10baseT port


when i boot that old kernel with console set to 'graphics', it says

pci_display_console: no device at 0/12/0

when i boot a new kernel (from the 990122 snapshot) with console set
to 'graphics', it says the same thing then drops me into the debugger.


Note, however, that in the serial console boot dmesg:

vga0 at pci0 dev 12 function 0: Digital Equipment TGA2 (rev. 0x22)
wsdisplay0 at vga0

is correctly recognized.  Any ideas?



cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.