Subject: kern/7321: 1.3.3 panic on i386
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kalt@stealth.net>
List: netbsd-bugs
Date: 04/04/1999 14:25:13
>Number:         7321
>Category:       kern
>Synopsis:       1.3.3 non generic kernel panic
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr  4 11:35:01 1999
>Last-Modified:
>Originator:     Christophe Kalt
>Organization:
	
>Release:        1.3.3
>Environment:
	
System: NetBSD azurite 1.3.3 NetBSD 1.3.3 (THINKPAD_560) #0: Fri Apr 2 17:34:08 EST 1999 root@azurite:/fs0/NetBSD/1.3.3/usr/src/sys/arch/i386/compile/THINKPAD_560 i386

>Description:
this is actually the second time I get a crash in there, but the first time
I didn't save the core, this time I did.

GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-netbsd), Copyright 1996 Free Software Foundation, Inc...
(gdb) target kcore /var/crash/netbsd.0.core
panic: getblk: block size invariant failed
#0  0xf0812288 in ?? ()
(gdb) where
#0  0xf0812288 in ?? ()
#1  0x2226000 in ?? ()
#2  0xf01c7fff in cpu_reboot (howto=256, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:1197
#3  0xf01282a2 in panic (fmt=0xf013998c "getblk: block size invariant failed")
    at ../../../../kern/subr_prf.c:150
#4  0xf0139a78 in getblk (vp=0xf08a4f80, blkno=3, size=8192, slpflag=0, 
    slptimeo=0) at ../../../../kern/vfs_bio.c:590
#5  0xf013b000 in cluster_wbuild (vp=0xf08a4f80, last_bp=0x0, size=8192, 
    start_lbn=3, len=1, lbn=2) at ../../../../kern/vfs_cluster.c:640
#6  0xf013adf5 in cluster_write (bp=0xf0da8154, filesize=30094)
    at ../../../../kern/vfs_cluster.c:529
#7  0xf01b32f9 in ffs_write (v=0xf34eced8)
    at ../../../../ufs/ufs/ufs_readwrite.c:275
#8  0xf0142a6b in vn_write (fp=0xf08b5bc0, uio=0xf34ecf20, cred=0xf089e100)
    at ../../../../sys/vnode_if.h:294
#9  0xf0129ae0 in sys_write (p=0xf08a9c00, v=0xf34ecf88, retval=0xf34ecf80)
    at ../../../../kern/sys_generic.c:271
#10 0xf01cc3e2 in syscall (frame={tf_es = 31, tf_ds = 31, tf_edi = 364544, 
      tf_esi = 1074872924, tf_ebp = -272644300, tf_ebx = 1074815072, 
      tf_edx = 1074872924, tf_ecx = 1074872924, tf_eax = 4, tf_trapno = 3, 
      tf_err = 2, tf_eip = 1074762539, tf_cs = 23, tf_eflags = 514, 
      tf_esp = -272644324, tf_ss = 31, tf_vm86_es = 0, tf_vm86_ds = 0, 
      tf_vm86_fs = 0, tf_vm86_gs = 0}) at ../../../../arch/i386/i386/trap.c:671

>How-To-Repeat:
fwiw, each time, it occured shortly after boot while reading email.
>Fix:
	
>Audit-Trail:
>Unformatted: