Subject: kern/9434: Recent changes to softdep code cause kernel panics
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.zhadum.de>
List: netbsd-bugs
Date: 02/16/2000 09:30:48
>Number:         9434
>Category:       kern
>Synopsis:       Recent changes to softdep code cause kernel panics
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 16 09:30:00 2000
>Last-Modified:
>Originator:     Matthias Scheler
>Organization:
Matthias Scheler                            http://www.sighardstrasse.de/~tron/
>Release:        2000/02/16
>Environment:
System: NetBSD lyssa.zhadum.de 1.4S NetBSD 1.4S (LYSSA) #0: Wed Feb 16 12:04:12 CET 2000 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386


>Description:
After the recent changes to the soft dependency code my system started
crash about every one or two hours. After three crashes I got a crash
dump and a trace:

panic: softdep_update_inodeblock: bad delta
#0  0xc03296e0 in ums_accessops ()
(gdb) where
#0  0xc03296e0 in ums_accessops ()
#1  0x3df5000 in ?? ()
#2  0xc02724f7 in cpu_reboot ()
#3  0xc01ba695 in panic ()
#4  0xc02cc436 in acquire_lock ()
#5  0xc02cf5ed in initiate_write_filepage ()
#6  0xc02cf4a3 in softdep_disk_io_initiation ()
#7  0xc01dc6c6 in spec_strategy ()
#8  0xc025dbd7 in ufs_strategy ()
#9  0xc01cdd8c in bwrite ()
#10 0xc01cddbe in vn_bwrite ()
#11 0xc01cdea4 in bawrite ()
#12 0xc024ea72 in ffs_fsync ()
#13 0xc024d98f in ffs_sync ()
#14 0xc01d4fb0 in sys_sync ()
#15 0xc01d423d in vfs_shutdown ()
#16 0xc02724cf in cpu_reboot ()
#17 0xc01ba695 in panic ()
#18 0xc02d05dd in softdep_update_inodeblock ()
#19 0xc024aa5b in ffs_update ()
#20 0xc025810f in ufs_inactive ()
#21 0xc01d3087 in vput ()
#22 0xc01d954e in vn_close ()
#23 0xc01d9f3f in vn_closefile ()
#24 0xc01a9da0 in closef ()
#25 0xc01a92d8 in fdrelease ()
#26 0xc01a92fa in sys_close ()
#27 0xc0277a3d in syscall ()
#28 0xc0100d8d in syscall1 ()
can not access 0xbfbfd738, invalid translation (invalid PDE)
can not access 0xbfbfd738, invalid translation (invalid PDE)
Cannot access memory at address 0xbfbfd738.


>How-To-Repeat:

>Fix:
Sorry, I dont know.

>Audit-Trail:
>Unformatted: