Subject: WSCONS & serial console tsleep panic
To: None <tech-kern@netbsd.org>
From: Mark Brinicombe <mark@causality.com>
List: tech-kern
Date: 01/20/1999 17:23:47
Hi,
  Has any body had problems with WSCONS and a serial console ?

I always get a tsleep panic triggered by pckbd_enqueue_cmd().

kernel output below ..

Cheers,
				Mark


vga0 at pci0 dev 4 function 0: ATI Technologies product 0x4750 (rev. 0x5c)
wsdisplay0 at vga0
wsdisplay0: screen 0 added (80x25, vt100 emulation)
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)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)
[cut]
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
[cut]
biomask c848 netmask c868 ttymask d8ea
kernel: page fault trap, code=0
Stopped at      _tsleep+0x80:   movl    0xa8(%ebx),%eax
db> trace
_tsleep(f043b614,0,f02087c4,64,f043b700) at _tsleep+0x80
_pckbc_enqueue_cmd(f042b9c0,0,f02abb9b,1,0) at _pckbc_enqueue_cmd+0x16c
_pckbd_enable(f04504c0,1,f02abbc4,f0210cd2,f043b700) at _pckbd_enable+0x45
_wskbd_enable(f043b700,1,f042ae80,0,f02abbec) at _wskbd_enable+0x2f
_wsdisplay_set_kbd(f042ae80,f043b700,f043b700,f042ae80,0) at
_wsdisplay_set_kbd
+0x46
_wscons_setup_glue(0) at _wscons_setup_glue+0x21e
_softclock(f042b8e0,f0267378,f0267378,1,f02abc2c) at _softclock+0x6a
_hardclock(f02abc38,f02abc34,f0100ea0,f02abc38,0) at _hardclock+0x1a5
_clockintr(f02abc38) at _clockintr+0xb
_Xintr0() at _Xintr0+0x70
--- interrupt ---
_idle(0,f0e635b0,3,0,f02abce0) at _idle+0xd
bpendtsleep(f0e635b0,11,f01511cb,0) at bpendtsleep
_biowait(f0e635b0,f0e635b0,f046c800,f044fc00,f046de40) at _biowait+0x2f
_readdisklabel(3,f01e21f0,f044fc00,f046dc00) at _readdisklabel+0xfb
_wdgetdisklabel(f046c800,f046c800,8,f046cb40) at _wdgetdisklabel+0x87
_wdopen(0,1,6000,0,f023ecb8) at _wdopen+0xcf
_spec_open(f02abdf4) at _spec_open+0x1ec
_match_harddisk(f046c800,f02653b8) at _match_harddisk+0xfa
_findroot(f02abf70,f02abf74) at _findroot+0xf2
_cpu_rootconf(0,0,f02a9010,2a9000,2b0000) at _cpu_rootconf+0x13
_main(0,0,0,0,0) at _main+0x30c