Subject: kern/10287: softdep bugs continue in v1.16
To: None <gnats-bugs@gnats.netbsd.org>
From: The Grey Wolf <greywolf@starwolf.com>
List: netbsd-bugs
Date: 06/05/2000 10:16:13
>Number:         10287
>Category:       kern
>Synopsis:       Softdep problems still persist
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 05 10:17:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     greywolf@starwolf.com
>Release:        1.4Z of 4 June 2000
>Organization:
Star Wolf Innovations
>Environment:
	System: NetBSD mage.starwolf.com 1.4Z NetBSD 1.4Z (MAGE) #1: Sun Jun 4 12:15:38 PDT 2000 greywolf@mage.starwolf.com:/usr/src/sys/arch/i386/compile/MAGE i386
	Machine: P-II/300
	Memory: 96MB
	Kernel: 1.4Z(-current) of 4 June 2000

>Description:
	The soft-dependency stuff still doesn't seem to work right --
	it crashed again.  To wit:

	This from -current of today, 4 June 2000...last cvs update done at
	about noon.

	I'm less concerned about the invalid address mappings at the end
	than I am of the fact that softdeps still doesn't work.

	PII/300, 96MB memory; crashed running savecore.
	Startup got as far as "Checking for core dump" and panicked.

	Script started on Sun Jun  4 20:29:34 2000
	mage 500# uname -a
	NetBSD mage.starwolf.com 1.4Z NetBSD 1.4Z (MAGE) \
	#1: Sun Jun  4 12:15:38 PDT 2000 \
	greywolf@mage.starwolf.com:/usr/src/sys/arch/i386/compile/MAGE i386
	mage 501# ls
	bounds          netbsd.0        netbsd.0.core   typescript
	mage 502# gdb netbsd.0
	GNU gdb 4.17
	Copyright 1998 Free Software Foundation, Inc.
	GDB is free software, covered by the GNU General Public License,
	and you are welcome to change it and/or 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.
	This GDB was configured as "i386--netbsd"...(no debugging symbols
	found)...
	(gdb) target kcore netbsd.0.core
	panic: softdep_fsync: pending ops
	#0  0x104 in ?? ()
	(gdb) bt
	#0  0x104 in ?? ()
	#1  0xc021f6e7 in cpu_reboot ()
	#2  0xc0137b29 in panic ()
	#3  0xc0273efe in acquire_lock ()
	#4  0xc0277da8 in softdep_update_inodeblock ()
	#5  0xc01ffa68 in ffs_update ()
	#6  0xc0203a10 in ffs_fsync ()
	#7  0xc020280b in ffs_sync ()
	#8  0xc0152768 in sys_sync ()
	#9  0xc0151769 in vfs_shutdown ()
	#10 0xc021f6bf in cpu_reboot ()
	#11 0xc0137b29 in panic ()
	#12 0xc0278026 in softdep_fsync ()
	#13 0xc0155f75 in sys_fsync ()
	#14 0xc022786f in syscall ()
	#15 0xc0100d71 in syscall1 ()
	can not access 0xbfbfd344, invalid translation (invalid PDE)
	can not access 0xbfbfd344, invalid translation (invalid PDE)
	Cannot access memory at address 0xbfbfd344.
	(gdb) quit
	mage 503# 

	Script done on Sun Jun  4 20:30:13 2000

>How-To-Repeat:
	Set softdeps, reboot.
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: