Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2017 14:22:16 +0200
From:      Harry Schmalzbauer <freebsd@omnilan.de>
To:        Vincenzo Maffione <v.maffione@gmail.com>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: [panic] netmap(4) and if_lagg(4)
Message-ID:  <59281DF8.20402@omnilan.de>
In-Reply-To: <CA%2B_eA9gbPRYhVAftRTsNXVmzW23tkSOMXVbP4tU48hK--Zw%2BUg@mail.gmail.com>
References:  <58CBCD7A.8060301@omnilan.de> <58CC23F5.7060507@omnilan.de> <CA%2B_eA9iajZOUFsnWKdodN7zMvst8wn0xViM4xxEx%2B41jw_0B3g@mail.gmail.com> <58CFA394.8070901@omnilan.de> <CA%2B_eA9jf_VjcYUZynu5CXx-ps5z7PSxOky=QLpR-miqtxmMU5w@mail.gmail.com> <5926EE96.1010000@omnilan.de> <CA%2B_eA9gcMD1QyG35p5UY8kz6n1kF%2B56Arz3q1T8HVBfMv3XN0w@mail.gmail.com> <5926F9F9.4040706@omnilan.de> <CA%2B_eA9hripEStmfJhj_Q93OF5jFf2nfQXeuA2DnuSjBmJi6j4g@mail.gmail.com> <592701D6.7030301@omnilan.de> <592742A8.4010207@omnilan.de> <CA%2B_eA9jg-xXJpeyQkcFzA%2B-y=qbwROww2FRWzCN=dkmfkaQivQ@mail.gmail.com> <5927D560.10003@omnilan.de> <CA%2B_eA9jhDZ-Cnj8zyAcp=1dw=Q%2BZm2m%2BBkxK11x6Y%2BHLhX%2BrUg@mail.gmail.com> <5927D77A.60502@omnilan.de> <CA%2B_eA9j%2BN5-2om2DETe0K1sAUPqDgwuNuNbF2F9St6C-YCKWQg@mail.gmail.com> <5927E974.6060706@omnilan.de> <CA%2B_eA9gpKd1k2VJnzi=bE2Oy7LLUD=pxRCt9yS0nACB3YAX2Sw@mail.gmail.com> <5927EF05.9040208@omnilan.de> <CA%2B_eA9gbPRYhVAftRTsNXVmzW23tkSOMXVbP4tU48hK--Zw%2BUg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bezüglich Vincenzo Maffione's Nachricht vom 26.05.2017 11:06 (localtime):
> Yes, it should integrate and compile out of the box, I've done that
> several times with FreeBSD-11.0 and 10.3.

Impressive, it needed just a small addition to sys/conf/files to make
the linker happy :-)

I also recomplied vale-ctl, but I get the following error when trying to
add em0 (lagg-unrelated):
389.083433 [ 835] netmap_obj_malloc         netmap_ring request size
65792 too large
389.091593 [1693] netmap_mem2_rings_create  Cannot allocate RX_ring

Adding lagg still results in a panci, but with your latest
"return()"-patch, it's different:

0xffffffff8042aefb is in freebsd_generic_rx_handler
(/usr/local/share/deploy-tools/RELENG_11/src/sys/dev/netmap/netmap_freebsd.c:276).
271             struct netmap_generic_adapter *gna =
272                             (struct netmap_generic_adapter *)NA(ifp);
273             int stolen = generic_rx_handler(ifp, m);
274
275             if (!stolen) {
276                     gna->save_if_input(ifp, m);
277             }
278     }
279
280     /*

KDB: stack backtrace:
#0 0xffffffff805e4a17 at kdb_backtrace+0x67
#1 0xffffffff805a34b6 at vpanic+0x186
#2 0xffffffff805a3323 at panic+0x43
#3 0xffffffff808a49b2 at trap_fatal+0x322
#4 0xffffffff808a4a09 at trap_pfault+0x49
#5 0xffffffff808a4246 at trap+0x286
#6 0xffffffff8088a521 at calltrap+0x8
#7 0xffffffff806aa3e0 at vlan_input+0x1f0
#8 0xffffffff8069b298 at ether_demux+0x128
#9 0xffffffff8069bf3b at ether_nh_input+0x31b
#10 0xffffffff806b7c00 at netisr_dispatch_src+0xa0
#11 0xffffffff8069b546 at ether_input+0x26
#12 0xffffffff803a0278 at igb_rxeof+0x738
#13 0xffffffff8039f63f at igb_msix_que+0x10f
#14 0xffffffff8056ae1c at intr_event_execute_handlers+0xec
#15 0xffffffff8056b106 at ithread_loop+0xd6
#16 0xffffffff80568475 at fork_exit+0x85
#17 0xffffffff8088aa5e at fork_trampoline+0xe

Any hints how I can get adding em0 (lagg and vlan-less) via vale-ctl
again? (netmap_obj_malloc netmap_ring request size 65792 too large)

Thanks,

-harry





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