Subject: Re: kernel panic in 1.6_BETA4
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: Sean Davis <dive-nb@endersgame.net>
List: port-alpha
Date: 07/15/2002 20:43:30
Sorry for not including this in the first 2 messages, but here's the full
dmesg (at least what I get from dmesg in ddb):

The machine is setup for serial console at a remote location, so debugging
it is a tad laggy ;)

[ using 267968 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    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.6_BETA4 (JANE) #0: Mon Jul 15 20:22:48 EDT 2002
    dive@jane.endersgame.net:/usr/cvs/syssrc/sys/arch/alpha/compile/JANE
Digital AlphaStation 600 5/266, 266MHz, s/n
8192 byte page size, 1 processor.
total memory = 128 MB
(2304 KB reserved for PROM, 125 MB used by NetBSD)
avail memory = 113 MB
using 817 buffers containing 6536 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164-0
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 2
pci0 at cia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pceb0 at pci0 dev 10 function 0: Intel 82375EB/SB PCI-EISA Bridge (PCEB)
(rev. 0
x05)
ppb0 at pci0 dev 11 function 0: Digital Equipment DECchip 21050 PCI-PCI
Bridge (
rev. 0x02)
pci1 at ppb0 bus 1
pci1: memory space enabled, rd/line, wr/inv ok
tlp0 at pci1 dev 0 function 0: DECchip 21040 Ethernet, pass 2.3
tlp0: interrupting at kn20aa irq 0
tlp0: Ethernet address 08:00:2b:e7:94:72
tlp0: 10baseT, 10baseT-FDX, 10base5, manual
isp0 at pci1 dev 1 function 0: QLogic 1020 Ultra Wide SCSI HBA
isp0: interrupting at kn20aa irq 1
scsibus0 at isp0: 16 targets, 8 luns per target
isp1 at pci1 dev 2 function 0: QLogic 1020 Ultra Wide SCSI HBA
isp1: interrupting at kn20aa irq 2
scsibus1 at isp1: 16 targets, 8 luns per target
Digital Equipment product 0x0017 (VGA display, revision 0x01) at pci0 dev 12
fun
ction 0 not configured
eisa0 at pceb0
isa0 at pceb0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
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...
sd0 at scsibus0 target 0 lun 0: <WDIGTL, WDE4550 ULTRA2, 1.22> SCSI2
0/direct fi
xed        
sd0: 4340 MB, 6932 cyl, 6 head, 213 sec, 512 bytes/sect x 8890000 sectors
sd0: sync (100.0ns offset 12), 16-bit (20.000MB/s) transfers, tagged
queueing
cd0 at scsibus0 target 3 lun 0: <PLEXTOR, CD-ROM PX-40TW, 1.04> SCSI2
5/cdrom re
movable
panic: kernel diagnostic assertion "p != NULL" failed: file
"../../../../kern/ke
rn_synch.c", line 392


On Mon, Jul 15, 2002 at 05:38:14PM -0700, Jason R Thorpe wrote:
> On Mon, Jul 15, 2002 at 08:34:47PM -0400, Sean Davis wrote:
> 
>  > Ok, a little background: I'm in the process of trying to upgrade NetBSD
>  > 1.5.2 to 1.6_BETA4 on my AlphaStation 600 5/266. A GENERIC 1.6_BETA4 kernel
>  > works fine, but *EVERY* non-generic kernel I have built panics. Here is the
>  > traceback:
>  > 
>  > cpu_Debugger() at cpu_Debugger+0x4
>  > panic() at panic+0x15c
>  > __assert() at __assert+0x34
>  > ltsleep() at ltsleep+0x114
> 
> Calling tsleep from an interrupt is bad.  Hm, wonder why tsleep
> is being called here...
> 
>  > isp_mboxcmd() at isp_mboxcmd+0x504
> 
> -- 
>         -- Jason R. Thorpe <thorpej@wasabisystems.com>

-- 
/~\ The ASCII                         Sean Davis
\ / Ribbon Campaign                    aka dive
 X  Against HTML
/ \ Email!                   http://endersgame.net/~dive/