Subject: Re: Kernel crashes when reading Exabyte
To: Mark H. Levine <>
From: Jason Thorpe <>
List: port-alpha
Date: 09/16/1997 17:54:56
On Tue, 16 Sep 1997 20:41:53 -0400 
 "Mark H. Levine" <> wrote:

 > The kernel debuggers are working?  Which snapshot? :)

It works if you build from -current sources; I simply haven't had the time
to build a new snapshot.

But, on my AlphaStation 500:

2098536+924736 [85+105528+60737]

Entering netbsd at 0xfffffc0000300000...
[ preserving 167256 bytes of netbsd symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.2G (GENERIC) #40: Tue Sep 16 15:38:37 PDT 1997
AlphaStation 500 or 600 (KN20AA), 500MHz
8192 byte page size, 1 processor.
real mem = 268435456 (2252800 reserved for PROM, 266182656 used by NetBSD)
avail mem = 226861056
using 3249 buffers containing 26615808 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A (reserved minor type)
cia0 at mainbus0
pci0 at cia0 bus 0
de0 at pci0 dev 6 function 0 at kn20aa irq 13
de0: DEC 21040 [10Mb/s] pass 2.6
de0: address 00:00:f8:25:56:c5
isp0 at pci0 dev 9 function 0
isp0: Board Revision 1020, ROM F/W Revision 5.1
isp0: interrupting at kn20aa irq 12
scsibus0 at isp0: 16 targets
sd0 at scsibus0 targ 0 lun 0: <DEC, RZ1CB-BS (C) DEC, 0658> SCSI2 0/direct fixed
sd0: 4091MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
cd0 at scsibus0 targ 4 lun 0: <DEC, RRD46   (C) DEC, 0557> SCSI2 5/cdrom removable
pceb0 at pci0 dev 10 function 0: Intel 82375EB PCI-EISA Bridge (rev. 0x15)
eisa0 at pceb0
isa0 at pceb0
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
pcppi0 at isa0 port 0x60-0x64
pcprobe: reset error 1
pckbd0 at pcppi0
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
nfs_boot: trying BOOTP/DHCP
de0: enabling 10baseT port
nfs_boot: my_addr=0x81633229
nfs_boot: my_mask=0xffffff00
nfs_boot: gateway=0x816332fe
root on dracul:/u4/diskless/bishop
root file system type: nfs
Automatic boot in progress: starting file system checks.
setting tty flags
starting network
hostname: bishop
default              nas-bcn1.nas.nasa.go done
configuring network interfaces: de0.
add net default: gateway
adding interface aliases:
swapctl: adding /swap0 as swap device at priority 0
starting system logger
checking for core dump...
savecore: no core dump (no dumpdev)
starting rpc daemons: portmap ypbind.
starting nfs daemons: nfsiod.
checking quotas: done.
building databases...
clearing /tmp
updating motd.
standard daemons: update cron.
starting network daemons: lpd inetd.
starting local daemons:.
Tue Sep 16 15:00:58 PDT 1997
Sep 16 15:00:58 bishop init: kernel security level changed from 0 to 1

NetBSD/alpha (bishop) (ttyC0)

login: ~Stopped at      Debugger+0x4:   ret     zero,(ra)
db> x/i __start,16
__start:        br      pv,__start+0x4
__start+0x4:    ldah    gp,20(pv)
__start+0x8:    lda     gp,ffffb6cc(gp)
__start+0xc:    ldq     sp,ffffda38(gp)
__start+0x10:   or      a0,zero,s0
__start+0x14:   or      gp,zero,a0
__start+0x18:   call_pal osf1_wrkgp
__start+0x1c:   or      s0,zero,a0
__start+0x20:   ldq     pv,ffffba28(gp)
__start+0x24:   jsr     ra,(pv),ahc_init+0xdb8
__start+0x28:   ldah    gp,20(ra)
__start+0x2c:   lda     gp,ffffb6a8(gp)
__start+0x30:   ldq     a0,ffffda50(gp)
__start+0x34:   ldq     a0,ffff8000(a0)
__start+0x38:   call_pal osf1_wrvptptr
__start+0x3c:   ldq     t0,ffffba08(gp)
__start+0x40:   ldq     a0,198(t0)
__start+0x44:   call_pal osf1_swpctx
__start+0x48:   lda     a0,fffffffe(zero)
__start+0x4c:   call_pal osf1_tbi
__start+0x50:   call_pal imb
__start+0x54:   lda     sp,fffffef8(sp)
db> show registers
v0                        0xf9
t0                        0x40
t1          0xfffffe004a622080
t2          0xfffffc00004d9c00  ncpusw+0x52f4
t3                       0x840
t4          0xfffffe004a62208a
t5                  0x341f1f27
t6                           0
t7                           0
s0          0xfffffe004a6230c0
s1          0xfffffe004a622000
s2          0xfffffc00005e0230  cia_configuration+0x8
s3                       0x800
s4                        0xf9
s5           0x7ffffe42c0003f8
s6                        0xc6
a0          0xfffffc00005e0228  cia_configuration
a1           0x7ffffe42c0003f8
a2                         0x5
a3          0xfffffe0058157bb0
a4          0xfffffe0058157ed8
a5                 0x1fffff600
t8                           0
t9          0xfffffc0000347cd8  hzto+0xb0
t10                    0xf4240
t11                      0x3d0
ra          0xfffffc000046b1e4  comintr+0xe4
t12         0xfffffc00004a34f0  Debugger
at          0xfffffc00004dd580  curproc
gp          0xfffffc00004fb6d0  mountroot+0x8008
sp          0xfffffe004a606000
pc          0xfffffc00004a34f4  Debugger+0x4
ps                         0x4
ai                       0x3d0
pv          0xfffffc00004a34f0  Debugger
Debugger+0x4:   ret     zero,(ra)
db> cont

NetBSD/alpha (bishop) (ttyC0)


Jason R. Thorpe                             
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-6                                       Work: +1 415 604 0935
Moffett Field, CA 94035                             Pager: +1 415 428 6939