Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2011 23:48:33 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Nikos Vassiliadis <nvass@gmx.com>
Cc:        freebsd-net@FreeBSD.org
Subject:   Re: arprequest triggered panic
Message-ID:  <20111122194833.GN96616@FreeBSD.org>
In-Reply-To: <4EC63D37.4050105@gmx.com>
References:  <4EC63D37.4050105@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  Nikos,

On Fri, Nov 18, 2011 at 01:10:47PM +0200, Nikos Vassiliadis wrote:
N> I was playing with lagg and found out a kernel panic. Here is
N> the backtrace:
N> > #5  0xc0a65613 in kdb_trap (type=12, code=0, tf=0xc3f1bb1c) at /usr/src/sys/kern/subr_kdb.c:625
N> > #6  0xc0dbbc1f in trap_fatal (frame=0xc3f1bb1c, eva=24) at /usr/src/sys/i386/i386/trap.c:966
N> > #7  0xc0dbbd1c in trap_pfault (frame=0xc3f1bb1c, usermode=0, eva=24) at /usr/src/sys/i386/i386/trap.c:839
N> > #8  0xc0dbc9b5 in trap (frame=0xc3f1bb1c) at /usr/src/sys/i386/i386/trap.c:558
N> > #9  0xc0da54fc in calltrap () at /usr/src/sys/i386/i386/exception.s:168
N> > #10 0xc0b496eb in arprequest (ifp=0xc42c5400, sip=0xc46625ac, tip=0xc46625ac, enaddr=0xc41d3d9b "\b") at /usr/src/sys/netinet/if_ether.c:264
N> > #11 0xc0b4acef in arp_ifinit (ifp=0xc42c5400, ifa=0xc4662500) at /usr/src/sys/netinet/if_ether.c:880
N> > #12 0xc0aea7ae in if_setlladdr (ifp=0xc42c5400, lladdr=0xc49ac204 "\b", len=6) at /usr/src/sys/net/if.c:3317
N> > #13 0xc4bb7bd3 in lagg_port_setlladdr (arg=0xc4a47b00, pending=1) at /usr/src/sys/modules/if_lagg/../../net/if_lagg.c:476
N> > #14 0xc0a730fb in taskqueue_run_locked (queue=0xc42f3400) at /usr/src/sys/kern/subr_taskqueue.c:308
N> > #15 0xc0a7321f in taskqueue_run (queue=0xc42f3400) at /usr/src/sys/kern/subr_taskqueue.c:322
N> > #16 0xc0a732d3 in taskqueue_swi_run (dummy=0x0) at /usr/src/sys/kern/subr_taskqueue.c:418
N> 
N> It's triggered with these commands:
N> ifconfig em2 10.0.156.1/24
N> ifconfig em3 10.0.156.2/24
N> i=`ifconfig lagg create`
N> ifconfig $i laggport em2 laggport em3
N> ifconfig $i 10.0.156.3/24
N> 
N> Just reporting, should I fill a PR?

Can't reproduce this on head. May be some additional measures are needed? Traffic?
Or LACP capable switch?

My log:
behemoth# ifconfig 
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=401bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO>
        ether 00:25:90:03:0e:fa
        inet6 fe80::225:90ff:fe03:efa%igb0 prefixlen 64 scopeid 0x1 
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
igb1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=401bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO>
        ether 00:25:90:03:0e:fb
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
        inet 127.0.0.1 netmask 0xff000000 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
behemoth# ifconfig igb0 10.0.156.1/24
behemoth# ifconfig igb1 10.0.156.2/24
behemoth# 
behemoth# ifconfig lagg0 create
behemoth# ifconfig lagg0 laggport igb0 laggport igb1
behemoth# ifconfig lagg0 10.0.156.3/24
behemoth# ifconfig 
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=401bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO>
        ether 00:25:90:03:0e:fa
        inet6 fe80::225:90ff:fe03:efa%igb0 prefixlen 64 scopeid 0x1 
        inet 10.0.156.1 netmask 0xffffff00 broadcast 10.0.156.255
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=401bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO>
        ether 00:25:90:03:0e:fa
        inet 10.0.156.2 netmask 0xffffff00 broadcast 10.0.156.255
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
        inet 127.0.0.1 netmask 0xff000000 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=401bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO>
        ether 00:25:90:03:0e:fa
        inet 10.0.156.3 netmask 0xffffff00 broadcast 10.0.156.255
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: active
        laggproto failover
        laggport: igb1 flags=0<>
        laggport: igb0 flags=5<MASTER,ACTIVE>
behemoth# 

-- 
Totus tuus, Glebius.



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