Subject: First disk access panics
To: current-users NetBSD Mailinglist <current-users@netbsd.org>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: current-users
Date: 11/21/1998 22:24:03
Trying to display a disklabel of an unmounted SCSI drive (a Fujitsu M2512
MO here, but happens with an old Quantum 40M drive, too) panics (even) in
single user:

# disklabel sd1
panic: fstat
Stopped in disklabel at _Debugger+0x6:  unlk    a6
db> t
_Debugger(128,77cf88,77cf44,1ef44,1eed2) + 6
_panic(1eed2,7684d0,1a1ec,0,0) + 50
_sys___fstat13(7684d0,77cf88,77cf80) + 66
_syscall(117) + 116
_trap0() + e
db> x /i _sys___fstat13

[...]

_sys___fstat13+0x58:    bsrl    _soo_stat       [addr:0x308fe ]
db>
_sys___fstat13+0x5e:    addqw   #0x8,sp
db>
_sys___fstat13+0x60:    brab    <_sys___fstat13+0x6c>   [addr:0x1ef44 ]
db>
_sys___fstat13+0x62:    pea     pc@(-0x6a)      [disp:_sys_close+0x28 ]
db>
_sys___fstat13+0x66:    bsrl    _panic  [addr:0x2d922 ]
db>

The kernel is
NetBSD 1.3H (FG54) #10: Thu Nov 19 19:08:12 CET 1998

hauke@q700.hf.org:/home/hauke/work/netbsd/current/sys/arch/mac68k/compile/FG
54
Apple Macintosh Quadra 700  (68040)

-- is this "well known" or should I send-pr?

	hauke


--
"It's never straight up and down"     (DEVO)