NetBSD-Bugs archive

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

kern/51930: LOCKDEBUG kernel panics configuring carp(4) interface



>Number:         51930
>Category:       kern
>Synopsis:       LOCKDEBUG kernel panics configuring carp(4) interface
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 31 10:35:00 +0000 2017
>Originator:     Hauke Fath
>Release:        NetBSD 7.1_RC1
>Organization:
Technische Universitaet Darmstadt
>Environment:
	
	
System: NetBSD Vertatscha 7.1_RC1 NetBSD 7.1_RC1 (FIFI-$Revision$) #0: Mon Jan 30 13:58:28 CET 2017 hf@Hochstuhl:/var/obj/netbsd-builds/7/amd64/sys/arch/amd64/compile/FIFI amd64
Architecture: x86_64
Machine: amd64
>Description:

	A LOCKDEBUG kernel run on one of a pair of carp(4) routers
	panics while configuring the first carp(4) interface on a
	physical nic:

[...]
net.inet.carp.preempt: 0 -> 1
net.inet.carp.log: 0 -> 2
wm0: link state DOWN (was UNKNOWN)
Starting network.
Hostname: [redacted]
IPv6 mode: router
Configuring network interfaces: wm0 ixg0 wm4wm4: link state DOWN (was UNKNOWN)
 vlan2 vlan3 vlan7 vlan8 vlan9 vlan10 vlan11 vlan12 carp0 carp2carp2: state transition from: INIT -> to: BACKUP
 carp3carp3: state transition from: INIT -> to: BACKUP
 carp7carp7: state transition from: INIT -> to: BACKUP
 carp8carp8: state transition from: INIT -> to: BACKUP
 carp9carp9: state transition from: INIT -> to: BACKUP
ixg0: link state DOWN (was UP)
 carp10carp10: state transition from: INIT -> to: BACKUP
 carp11carp11: state transition from: INIT -> to: BACKUP
 carp12carp12: state transition from: INIT -> to: BACKUP
 pfsync0.
Adding interface aliases:.
add net default: gateway [redacted]
Waiting for DAD completion for statically configured addresses...
wm0: link state UP (was DOWN)
carp0: state transition from: INIT -> to: BACKUP
Mutex error: lockdebug_wantlock: acquiring sleep lock from interrupt context

lock address : 0xffffffff807d2e50 type     :     sleep/adaptive
initialized  : 0xffffffff803a8bb0
shared holds :                  0 exclusive:                  0
shares wanted:                  0 exclusive:                  0
current cpu  :                  0 last held:                  3
current lwp  : 0xfffffe821e728840 last held: 000000000000000000
last locked  : 0xffffffff803a907a unlocked*: 0xffffffff803a91c6
owner field  : 000000000000000000 wait/spin:                0/0

Turnstile chain at 0xffffffff807665a0.
=> No active turnstile for this lock.

panic: LOCKDEBUG: Mutex error: lockdebug_wantlock: acquiring sleep lock from interrupt context
cpu0: Begin traceback...
vpanic() at netbsd:vpanic+0x13c
snprintf() at netbsd:snprintf
lockdebug_more() at netbsd:lockdebug_more
mutex_enter() at netbsd:mutex_enter+0x43f
pool_put())))) at netbsd:pool_put+0x33
in6_ifloop_request() at netbsd:in6_ifloop_request+0x160
carp_setroute() at netbsd:carp_setroute+0x51
carp_setrun() at netbsd:carp_setrun+0xfe
carp_carpdev_state() at netbsd:carp_carpdev_state+0xcd
if_link_state_change() at netbsd:if_link_state_change+0x9c
mii_phy_update() at netbsd:mii_phy_update+0x74
igphy_service() at netbsd:igphy_service+0x5b
mii_pollstat() at netbsd:mii_pollstat+0x49
wm_intr() at netbsd:wm_intr+0x659
intr_biglock_wrapper() at netbsd:intr_biglock_wrapper+0x19
Xintr_ioapic_level2() at netbsd:Xintr_ioapic_level2+0xf2
--- interrupt ---
x86_mwait() at netbsd:x86_mwait+0xd
acpicpu_cstate_idle_enter() at netbsd:acpicpu_cstate_idle_enter+0xc2
acpicpu_cstate_idle() at netbsd:acpi^@cpu_cstate_idle+0xb6
idle_loop() at netbsd:idle_loop+0x18c
cpu0: End traceback...
rebooting...

	
>How-To-Repeat:

	Set up a pair of netbsd-7 machines as redundant carp(4)
	router, boot a LOCKDEBUG kernel.

	
>Fix:
	No idea.

	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index