Subject: port-alpha/13567: VGA card not reset properly on reboot
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kpneal@pobox.com>
List: netbsd-bugs
Date: 07/26/2001 21:10:17
>Number: 13567
>Category: port-alpha
>Synopsis: At halt or reboot, VGA text not reset properly
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: port-alpha-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 26 18:07:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Kevin P. Neal
>Release: NetBSD 1.5.1
>Organization:
--
Kevin P. Neal http://www.pobox.com/~kpn/
"You know, I think I can hear the machine screaming from here... \
'help me! hellpp meeee!'" - Heather Flanagan, 14:52:23 Wed Jun 10 1998
>Environment:
System: NetBSD tesseract.int.neutralgood.org 1.5.1 NetBSD 1.5.1 (TESSERACT) #8: Thu Jul 26 19:39:45 EDT 2001 kpn@tome.neutralgood.org:/local/kernel/compile/TESSERACT alpha
>Description:
When I halt the machine (shutdown -h, halt, whatever) and control goes
back to the SRM the text display is wrong. The SRM will only use part
of the screen, generally the top 10 lines or so, and sometimes none of
the screen is used. Text doesn't appear to work correctly until the
kernel initialization messages appear ("Copyright ....."). The text printed
by the bootloader is not seen onscreen.
Another, related problem:
If I'm running the machine with an 80x50 font, I'm switched to an 80x50
screen, and a crash happens then the video isn't set correctly on the
way up. The text on screen is garbled but can be fixed by switching to
an 80x50 text screen and then switching back to the boot screen. Poof,
everything is OK.
>How-To-Repeat:
On my Alpha, halt the box. Observe how you probably never seen an SRM
prompt. As an alternative, 80x50 font and virtual console followed by
a crash and reboot. Observe a garbled text screen.
Here's a dmesg (double bonus: feel my SCSI pain):
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
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.5.1 (TESSERACT) #8: Thu Jul 26 19:39:45 EDT 2001
kpn@tome.neutralgood.org:/local/kernel/compile/TESSERACT
Alpha PC AXPpci33, 166MHz
8192 byte page size, 1 processor.
total memory = 32768 KB
(2024 KB reserved for PROM, 30744 KB used by NetBSD)
avail memory = 25680 KB
using 204 buffers containing 1632 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), LCA-2 (21066 pass 2)
lca0 at mainbus0
pci0 at lca0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
siop0 at pci0 dev 6 function 0: Symbios Logic 53c810 (fast scsi)
siop0: interrupting at isa irq 11
scsibus0 at siop0: 8 targets, 8 luns per target
sio0 at pci0 dev 7 function 0: vendor 0x8086 product 0x0484 (rev. 0x03)
de0 at pci0 dev 8 function 0
de0: interrupting at isa irq 9
de0: DEC DE500-BA 21143 [10-100Mb/s] pass 3.0
de0: address 08:00:2b:c4:99:0a
siop1 at pci0 dev 12 function 0: Symbios Logic 53c875 (ultra-wide scsi)
siop1: using on-board RAM
siop1: interrupting at isa irq 10
scsibus1 at siop1: 16 targets, 8 luns per target
isa0 at sio0
lc0 at isa0 port 0x300-0x31f iomem 0xd0000-0xd07ff irq 5: DE205-AC
lc0: address 00:00:f8:51:24:12, 128KB RAM, 2KB window
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
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <QUANTUM MAVERICK 540A>
wd0: drive supports 8-sector pio transfers, lba addressing
wd0: 516 MB, 1049 cyl, 16 head, 63 sec, 512 bytes/sect x 1057392 sectors
wd0: drive supports PIO mode 3, DMA mode 1
wd1 at wdc0 channel 0 drive 1: <Maxtor 7540 AV>
wd1: drive supports 8-sector pio transfers, lba addressing
wd1: 514 MB, 1046 cyl, 16 head, 63 sec, 512 bytes/sect x 1054368 sectors
wd1: drive supports PIO mode 3, DMA mode 0
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
scsibus0: waiting 2 seconds for devices to settle...
de0: enabling 10baseT port
sd0 at scsibus0 target 3 lun 0: <MICROP, 1548-15MZ1077801, HZ2P> SCSI1 0/direct fixed
siop0: target 3 now synchronous at 10.0Mhz, offset 8
sd0: 1637 MB, 2112 cyl, 15 head, 105 sec, 512 bytes/sect x 3353426 sectors
cd0 at scsibus0 target 5 lun 0: <YAMAHA, CRW6416S, 1.0c> SCSI2 5/cdrom removable
siop0: target 5 now synchronous at 10.0Mhz, offset 8
cd1 at scsibus0 target 6 lun 0: <DEC, RRD43 (C) DEC, 1084> SCSI2 5/cdrom removable
siop0: target 6 asynchronous
scsibus1: waiting 2 seconds for devices to settle...
siop1: target 2 using tagged queuing
sd1 at scsibus1 target 2 lun 0: <MICROP, 3391WS, x43h> SCSI2 0/direct fixed
siop1: target 2 using 16bit transfers
siop1: target 2 now synchronous at 20.0Mhz, offset 15
sd1: 8681 MB, 4811 cyl, 22 head, 167 sec, 512 bytes/sect x 17780058 sectors
siop1: target 4 using tagged queuing
sd2 at scsibus1 target 4 lun 0: <MICROP, 3391WS, x43h> SCSI2 0/direct fixed
siop1: target 4 using 16bit transfers
siop1: target 4 now synchronous at 20.0Mhz, offset 15
sd2: 8681 MB, 4811 cyl, 22 head, 167 sec, 512 bytes/sect x 17780058 sectors
root on sd0a dumps on sd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x50, vt100 emulation)
wsdisplay0: screen 2 added (80x50, vt100 emulation)
wsdisplay0: screen 3 added (80x50, vt100 emulation)
wsdisplay0: screen 4 added (80x50, vt100 emulation)
wsdisplay0: screen 5 added (80x50, vt100 emulation)
wsdisplay0: screen 6 added (80x50, vt100 emulation)
wsdisplay0: screen 7 added (80x50, vt100 emulation)
sd2(siop1:4:0): command timeout
siop1: scsi bus reset
cmd 0xfffffe000003d2d8 (target 4:0) in reset list
cmd 0xfffffe000003d2d8 (status 2) about to be processed
siop1: target 4 using 16bit transfers
siop1: target 4 now synchronous at 20.0Mhz, offset 15
sd2(siop1:4:0): command timeout
siop1: scsi bus reset
cmd 0xfffffe000003d618 (target 4:0) in reset list
cmd 0xfffffe000003d618 (status 2) about to be processed
siop1: target 4 using 16bit transfers
siop1: target 4 now synchronous at 20.0Mhz, offset 15
siop1: target 2 using 16bit transfers
siop1: target 2 now synchronous at 20.0Mhz, offset 15
>Fix:
Dunno.
>Release-Note:
>Audit-Trail:
>Unformatted: