Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2017 21:20:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 216510] panic while adding an epair to a bridge
Message-ID:  <bug-216510-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216510

            Bug ID: 216510
           Summary: panic while adding an epair to a bridge
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: nvass@gmx.com
                CC: kp@freebsd.org

Hi,

After running the following commands I get a panic:
#!/bin/sh
bridge=3D`ifconfig bridge create`
epair=3D`ifconfig epair create | sed 's/.$//'`

ifconfig $bridge 11.255.255.1/28
ifconfig $bridge addm ${epair}a



Panic:
panic: _mtx_lock_sleep: recursed on non-recursive mutex if_bridge @
/usr/src/sys/modules/if_bridge/../../net/if_bridge.c:2117

cpuid =3D 2
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00954da=
260
vpanic() at vpanic+0x186/frame 0xfffffe00954da2e0
kassert_panic() at kassert_panic+0x126/frame 0xfffffe00954da350
__mtx_lock_sleep() at __mtx_lock_sleep+0x3e2/frame 0xfffffe00954da3d0
__mtx_lock_flags() at __mtx_lock_flags+0x116/frame 0xfffffe00954da430
bridge_transmit() at bridge_transmit+0x61/frame 0xfffffe00954da470
ether_output() at ether_output+0x703/frame 0xfffffe00954da510
arprequest() at arprequest+0x413/frame 0xfffffe00954da620
arp_ifinit() at arp_ifinit+0x56/frame 0xfffffe00954da660
arp_handle_ifllchange() at arp_handle_ifllchange+0x3d/frame 0xfffffe00954da=
680
bridge_ioctl_add() at bridge_ioctl_add+0x3b4/frame 0xfffffe00954da6d0
bridge_ioctl() at bridge_ioctl+0x29f/frame 0xfffffe00954da770
ifioctl() at ifioctl+0xbc8/frame 0xfffffe00954da7f0
kern_ioctl() at kern_ioctl+0x2b0/frame 0xfffffe00954da850
sys_ioctl() at sys_ioctl+0x13f/frame 0xfffffe00954da930
amd64_syscall() at amd64_syscall+0x2f9/frame 0xfffffe00954daab0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe00954daab0
--- syscall (54, FreeBSD ELF64, sys_ioctl), rip =3D 0x800fd5aaa, rsp =3D
0x7fffffffe1f8, rbp =3D 0x7fffffffe2a0 ---
KDB: enter: panic
[ thread pid 766 tid 100571 ]
Stopped at      kdb_enter+0x3b: movq    $0,kdb_why
db>

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216510-8>