Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jan 2017 19:36:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 216554] LACP integer divide fault
Message-ID:  <bug-216554-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 216554
           Summary: LACP integer divide fault
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: slw@zxy.spb.ru

Fatal trap 18: integer divide fault while in kernel mode
cpuid =3D 3; apic id =3D 06
instruction pointer     =3D 0x20:0xffffffff81453230
stack pointer           =3D 0x28:0xfffffe3e56f46480
frame pointer           =3D 0x28:0xfffffe3e56f464a0
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 12 (swi4: clock (3))
trap number             =3D 18
panic: integer divide fault
cpuid =3D 3
KDB: stack backtrace:
db_trace_self_wrapper() at 0xffffffff8032b3eb =3D
db_trace_self_wrapper+0x2b/frame 0xfffffe3e56f460c0
vpanic() at 0xffffffff804e33a6 =3D vpanic+0x186/frame 0xfffffe3e56f46140
panic() at 0xffffffff804e3213 =3D panic+0x43/frame 0xfffffe3e56f461a0
trap_fatal() at 0xffffffff807b07c2 =3D trap_fatal+0x322/frame 0xfffffe3e56f=
461f0
trap() at 0xffffffff807b0475 =3D trap+0x6b5/frame 0xfffffe3e56f463b0
calltrap() at 0xffffffff807946b1 =3D calltrap+0x8/frame 0xfffffe3e56f463b0
--- trap 0x12, rip =3D 0xffffffff81453230, rsp =3D 0xfffffe3e56f46480, rbp =
=3D
0xfffffe3e56f464a0 ---
lacp_select_tx_port() at 0xffffffff81453230 =3D lacp_select_tx_port+0x70/fr=
ame
0xfffffe3e56f464a0
lagg_lacp_start() at 0xffffffff814504ae =3D lagg_lacp_start+0xe/frame
0xfffffe3e56f464c0
lagg_transmit() at 0xffffffff8144e73f =3D lagg_transmit+0xbf/frame
0xfffffe3e56f46530
ether_output() at 0xffffffff805f30bc =3D ether_output+0x71c/frame
0xfffffe3e56f465d0
ip_output() at 0xffffffff80629935 =3D ip_output+0x1585/frame 0xfffffe3e56f4=
6720
tcp_output() at 0xffffffff806b9e16 =3D tcp_output+0x1876/frame 0xfffffe3e56=
f468c0
tcp_timer_rexmt() at 0xffffffff806c572f =3D tcp_timer_rexmt+0x4df/frame
0xfffffe3e56f46900
softclock_call_cc() at 0xffffffff804fd1b6 =3D softclock_call_cc+0x156/frame
0xfffffe3e56f469b0
softclock() at 0xffffffff804fd754 =3D softclock+0x94/frame 0xfffffe3e56f469=
e0
intr_event_execute_handlers() at 0xffffffff8049d15f =3D
intr_event_execute_handlers+0x20f/frame 0xfffffe3e56f46a20
ithread_loop() at 0xffffffff8049d766 =3D ithread_loop+0xc6/frame
0xfffffe3e56f46a70
fork_exit() at 0xffffffff80499e25 =3D fork_exit+0x85/frame 0xfffffe3e56f46a=
b0
fork_trampoline() at 0xffffffff80794bee =3D fork_trampoline+0xe/frame
0xfffffe3e56f46ab0
--- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 ---

(kgdb) info line *0xffffffff81453230
Line 848 of "/usr/src/sys/modules/if_lagg/../../net/ieee8023ad_lacp.c" star=
ts
at address 0xffffffff8145322e <lacp_select_tx_port+110> and ends at
0xffffffff81453233 <lacp_select_tx_port+115>.

=3D=3D=3D

Lacp configuration:
cc0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
=20=20=20=20=20=20=20
options=3Dec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:07:43:39:8c:00
        nd6 options=3D9<PERFORMNUD,IFDISABLED>
        media: Ethernet 40Gbase-SR4 <full-duplex>
        status: active
cc1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
=20=20=20=20=20=20=20
options=3Dec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:07:43:39:8c:00
        nd6 options=3D9<PERFORMNUD,IFDISABLED>
        media: Ethernet 40Gbase-SR4 <full-duplex>
        status: no carrier
lagg0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15=
00
=20=20=20=20=20=20=20
options=3Dec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:07:43:39:8c:00
        inet 37.220.36.136 netmask 0xffffff00 broadcast 37.220.36.255=20
        nd6 options=3D9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect
        status: active
        groups: lagg=20
        laggproto lacp lagghash l2,l3,l4
        laggport: cc0 flags=3D1c<ACTIVE,COLLECTING,DISTRIBUTING>
        laggport: cc1 flags=3D0<>


=3D=3D=3D=3D=3D=3D

I mean last member of lagg0 gone between lines 838 and 848 (race condition =
at
access pm->pm_count).

--=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-216554-8>