Subject: kern/19774: ddb can be entered twice and then you can't get out
To: None <gnats-bugs@gnats.netbsd.org>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-bugs
Date: 01/11/2003 00:04:20
>Number:         19774
>Category:       kern
>Synopsis:       ddb can be entered twice and then you can't get out
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 10 21:05:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     TheMan
>Release:        1.6G (current as of 20020903, iirc)
>Organization:
none
>Environment:
	
System: NetBSD dukey 1.6G NetBSD 1.6G (COWS) #32: Thu Sep 19 08:28:10 EDT 2002     andrew@this:/usr/src/sys/arch/i386/compile/COWS i386

>Description:

	ddb can be entered twice from the console.  when you then tell
it to continue (after you're finished being puzzled about it working
twice) the machine will panic with:

fatal page fault in supervisor mode
trap type 6 code 2 eip c39efb07 cs 8 eflags 10202 cr2 f410 cpl f000ffc6
panic: trap
Begin traceback...
trap() at trap+0x202
--- trap (number 6) ---
Bad frame pointer: 0xc018ab87
0xc39efb07:
End traceback...
syncing disks... fatal page fault in supervisor mode
trap type 6 code 0 eip c01d50c5 cs 8 eflags 10202 cr2 10c cpl 0
panic: trap
Begin traceback...
trap() at trap+0x202
--- trap (number 6) ---
genfs_putpages(c39ef870,c033d7c0,20,c042452c,c3a8cbe0) at genfs_putpages+0x239
ffs_putpages(c39ef870,c0424544,c39ef8ac,c01e87d7) at ffs_putpages+0x11d
ffs_full_fsync(c39ef968,0,c39ef8bc,c01d3b50,c3a8cbe0) at ffs_full_fsync+0xc6
ffs_fsync(c39ef968,10012,10,0) at ffs_fsync+0x3c
ffs_sync(c046f600,2,c0424f00,c032b220) at ffs_sync+0x10a
sys_sync(c032b220,0,0,c01cc87c,100) at sys_sync+0x5a
vfs_shutdown(c39efa58,1,ffff,c02cc069,c01b0550) at vfs_shutdown+0x6a
cpu_reboot(100,0,c39efa9c,c026480e,c0429300) at cpu_reboot+0x3b
panic(c02e29db,c02e297b,c39efaa4,0,c0429300) at panic+0x123
trap() at trap+0x202
--- trap (number 6) ---
Bad frame pointer: 0xc018ab87
0xc39efb07:
End traceback...

	at which point i didn't get a crash dump because my /var is
	full of other crash dumps i forgot to delete.  doesn't matter.
	this is easily repeated.

>How-To-Repeat:

	find netbsd/i386 machine with ddb in the kernel
	press ctrl-alt-esc
	press ctrl-alt-esc
	continue	

>Fix:

	dunno
>Release-Note:
>Audit-Trail:
>Unformatted: