NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/43294: locking against myself in ioctl setting up a gre interface



The following reply was made to PR kern/43294; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/43294: locking against myself in ioctl setting up a gre 
interface
Date: Sun, 6 Nov 2011 20:18:18 +0100

 It is not possible to reporduce the panic any more, because the commands
 given in the PR now fail:
 
 # ifconfig gre0 create
 # ifconfig gre0 tunnel 10.1.1.1 10.1.2.1
 # ifconfig gre0 192.168.170.1/30
 ifconfig: SIOCAIFADDR: Can't assign requested address
 
 But if I then do:
 
 # ifconfig gre0 destroy
 
 I get a kernel panic:
 
 Mutex error: kmem_free: allocation contains active lock
                                                        
 lock address : 0x00000000122fb740 type     :     sleep/adaptive
 initialized  : 0x0000000001194b04                              
 shared holds :                  0 exclusive:                  0
 shares wanted:                  0 exclusive:                  0
 current cpu  :                  0 last held:                  0
 current lwp  : 0x0000000012331400 last held: 000000000000000000
 last locked  : 0x0000000001195f58 unlocked*: 0x0000000001195fa0
 owner field  : 000000000000000000 wait/spin:                0/0
                                                                
 Turnstile chain at 0x1c85cc0.
 => No active turnstile for this lock.
                                      
 panic: LOCKDEBUG
 Stopped in pid 380.1 (ifconfig) at      netbsd:cpu_Debugger+0x4:        nop
 


Home | Main Index | Thread Index | Old Index