Subject: kern/7946: neighbor discovery tries to block at interrupt level.
To: None <gnats-bugs@gnats.netbsd.org>
From: Bill Sommerfeld <wes@orchard.arlington.ma.us>
List: netbsd-bugs
Date: 07/09/1999 05:36:18
>Number:         7946
>Category:       kern
>Synopsis:       neighbor discovery tries to block at interrupt level.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul  9 05:35:01 1999
>Last-Modified:
>Originator:     Bill Sommerfeld
>Organization:
	none
>Release:        19990708
>Environment:
	
System: NetBSD thunk 1.4D NetBSD 1.4D (VAIO.v6) #5: Thu Jul 8 07:37:38 CEST 1999 root@thunk:/usr/wes/sys-current/arch/i386/compile/VAIO.v6 i386


>Description:

	upon coming out of suspend, ipv6-enabled laptop crashed with
following panic/traceback:

(gdb) target kcore /var/crash/netbsd.1.core
target kcore /var/crash/netbsd.1.core
panic: pool_get: must have NOWAIT
#0  0xf014f866 in pool_destroy ()
(gdb) where
#0  0xf014f866 in pool_destroy ()
#1  0xf01d363b in cpu_reboot ()
#2  0xf0151240 in log ()
#3  0xf014fa17 in _pool_get ()
#4  0xf015cacb in m_get ()
#5  0xf01881b9 in rtinit ()
#6  0xf0131c1d in in6_ifdel ()
#7  0xf012d81a in nd6_timer ()
#8  0xf013e91e in softclock ()
#9  0xf013e89e in hardclock ()
#10 0xf01ff62f in clockintr ()

>How-To-Repeat:
	uncertain.  
	if m_get had the same sort of "not at interrupt context" test
which pool_get has, cases like this would be easier to check..

>Fix:
	uncertain.

>Audit-Trail:
>Unformatted: