Subject: Kernel fault netbooting 1.4.2 snapshot GENERIC_SCSI3 kernel
To: None <port-sparc@netbsd.org>
From: Greg Earle <earle@netbsd4me.jpl.nasa.gov>
List: port-sparc
Date: 03/11/2000 15:24:52
I'm trying to install the new 1.4.2 snapshot onto my disk-curdled home SS20,
and I'm getting a kernel fault panic trying to do so:

SPARCstation 20 (1 X SuperSPARC-II), No Keyboard
ROM Rev. 2.22, 128 MB memory installed, Serial #7943709.
Ethernet address 8:0:20:79:36:1d, Host ID: 7279361d.


Rebooting with command:
Boot device: /iommu/sbus/ledma@f,400010/le@f,c00000  File and args: netbsd
13c00
>> NetBSD/sparc Secondary Boot, Revision 1.8
>> (toddpw@threepio.toddpw.net, Fri Mar  3 17:51:31 PST 2000)
boot: client IP address: x.y.z.n
boot: client name: isolar.DynDNS.ORG
root addr=x.y.z.m path=/export/isolar/root
Booting netbsd @ 0x4000
1900544+130552+177356+[102600+121340]=0x255d90
OBP version 3, revision 2.22 (plugin rev 2)
console is ttya
Copyright (c) 1996, 1997, 1998, 1999, 2000
    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.4.2 (GENERIC_SCSI3) #0: Sat Mar  4 03:18:35 PST 2000
    toddpw@threepio.toddpw.net:/usr/src/sys/arch/sparc/compile/GENERIC_SCSI3
real mem = 133500928
avail mem = 121081856
using 1629 buffers containing 6672384 bytes of memory
bootpath: /iommu@f,e0000000/sbus@f,e0001000/ledma@f,400010/le@f,c00000
mainbus0 (root): SUNW,SPARCstation-20
cpu0 at mainbus0: TMS390Z50 v0 or TMS390Z55 @ 75 MHz, on-chip FPU
cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external (32 b
/l): cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08 (eeprom)
timer0 at obio0 slot 0 offset 0x300000 delay constant 35
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0 (console)
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kbd0 at zs1 channel 0
ms0 at zs1 channel 1
fdc0 at obio0 slot 0 offset 0x700000 level 11: no drives attached
auxreg0 at obio0 slot 0 offset 0x800000
power0 at obio0 slot 0 offset 0xa01000 level 2
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x1, page-size 4096, range 64M
B
sbus0 at iommu0: clock = 25 MHz
dma0 at sbus0 slot 15 offset 0x400000: rev 2
esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
probe(esp0:1:0): max sync rate 10.00Mb/s
sd1 at scsibus0 targ 1 lun 0: <SEAGATE, ST31200W SUN1.05, 8724> SCSI2 0/direct f
ixed
sd1: 1006MB, 2700 cyl, 9 head, 84 sec, 512 bytes/sect x 2061108 sectors
probe(esp0:3:0): max sync rate 10.00Mb/s
sd0 at scsibus0 targ 3 lun 0: <SEAGATE, ST39173WC, 5698> SCSI2 0/direct fixed
sd0: 8683MB, 7501 cyl, 10 head, 237 sec, 512 bytes/sect x 17783240 sectors
ledma0 at sbus0 slot 15 offset 0x400010: rev 2
le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:79:36:1d
le0: 8 receive buffers, 2 transmit buffers
SUNW,bpp at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3) not configured
SUNW,DBRIe at sbus0 slot 14 offset 0x10000 level 9 not configured
cgsix0 at sbus0 slot 3 offset 0x0 level 9: SUNW,501-1672, 1152 x 900, rev 7
eccmemctl0 at mainbus0: version 0x0/0x2
data fault: pc=0xf007a374 addr=0x70 sfsr=126<PERR=0,LVL=1,AT=1,FT=1,FAV,OW>
panic: kernel fault
syncing disks... done
Frame pointer is at 0xf01dbab8
Call traceback:
  pc = 0xf01a539c  args = (0x404010e0, 0x40401fe0, 0x0, 0x0, 0xf01dbbd0, 0x40901
0e0, 0xf01dbb20) fp = 0xf01dbb20
  pc = 0xf005ae10  args = (0x100, 0x0, 0x0, 0x0, 0xf01dbc44, 0x409010e1, 0xf01db
b88) fp = 0xf01dbb88
  pc = 0xf01b59e8  args = (0xf01b50e8, 0x100, 0x70, 0xf01dbc50, 0x1e, 0x1, 0xf01
dbbf0) fp = 0xf01dbbf0
  pc = 0xf0008518  args = (0x0, 0x126, 0x70, 0xf01dbcf8, 0xf056605c, 0xf00a61b0,
 0xf01dbc98) fp = 0xf01dbc98
  pc = 0xf013b194  args = (0x0, 0xc, 0x4e, 0x0, 0x0, 0xf057b4e6, 0xf01dbd48) fp
= 0xf01dbd48
  pc = 0xf013ad64  args = (0x0, 0xf057b400, 0xf02125f8, 0x3, 0xf0f94060, 0xf020d
000, 0xf01dbe00) fp = 0xf01dbe00
  pc = 0xf007b174  args = (0x0, 0xf0570200, 0xf01dd7dc, 0xf020ec00, 0x0, 0x800,
0xf01dbe70) fp = 0xf01dbe70
  pc = 0xf0044d38  args = (0xf01e4520, 0xf002d078, 0xf020d8c4, 0xf020d8cc, 0xf02
0d8c0, 0xf020d8c8, 0xf01dbed8) fp = 0xf01dbed8
  pc = 0xf000987c  args = (0x0, 0xf02125f8, 0xf00021b8, 0xf01dc06b, 0xffef2010,
0xf0, 0xf01dbf50) fp = 0xf01dbf50
  pc = 0xffd3dda8  args = (0x1, 0x30c800, 0x301ee0, 0x0, 0x0, 0x8, 0xefffffa0) f
p = 0xefffffa0
rebooting

The panic occurs right at the point where it's about to NFS mount the root
filesystem.

I then downloaded the 1.4.1 netbsd.GENERIC_SCSI3 kernel and that boots OK.
I was hoping to install 1.4.2 on the machine, however  :-(

To make matters worse, I can't seem to boot the miniroot either:

# disklabel -r sd0
# /dev/rsd0c:
type: SCSI
disk: ST39173WC
label: fictitious
flags:
bytes/sector: 512
sectors/track: 237
tracks/cylinder: 10
sectors/cylinder: 2370
cylinders: 7501
total sectors: 17783240
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  a: 17258340        0     4.2BSD     1024  8192    16   # (Cyl.    0 - 7281)
  b:   523770 17258340       swap                        # (Cyl. 7282 - 7502)
  c: 17782110        0     unused        0     0         # (Cyl.    0 - 7502)
# dd if=miniroot-1.4.2.fs of=/dev/rsd0b bs=4k conv=sync
1536+0 records in
1536+0 records out
6291456 bytes transferred in 10 secs (629145 bytes/sec)
# halt
Mar 11 15:19:54 init: kernel security level changed from 0 to 1
syncing disks... done
halted

Program terminated
ok boot disk:b netbsd -s
SPARCstation 20 (1 X SuperSPARC-II), No Keyboard
ROM Rev. 2.22, 128 MB memory installed, Serial #7943709.
Ethernet address 8:0:20:79:36:1d, Host ID: 7279361d.

Rebooting with command: disk:b netbsd -s
Boot device: /iommu/sbus/espdma@f,400000/esp@f,800000/sd@3,0:b  File and args:
netbsd -s
Type  help  for more information
ok boot disk:b netbsd -s
Boot device: /iommu/sbus/espdma@f,400000/esp@f,800000/sd@3,0:b  File and args:
netbsd -s
The file just loaded does not appear to be executable.

Help?

	- Greg