From owner-freebsd-net@FreeBSD.ORG Thu Oct 31 07:41:01 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7756F31B for ; Thu, 31 Oct 2013 07:41:01 +0000 (UTC) (envelope-from s.khanchi@gmail.com) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F377B265E for ; Thu, 31 Oct 2013 07:41:00 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id b13so2347475wgh.10 for ; Thu, 31 Oct 2013 00:40:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=1lT3QG3BPmFIjAQw9yhGT3wvVMnR4AcC+e/raZ5wPMk=; b=QdFYg5yetQl6S3jTc1YYdBNwC0TPZbOOjwFZlqLS+1PLJ+GBVEnmHLVDqX1m0N6U5T 2DcbQgYUucO9j1XcR/LBsZ93R7NHbgfBCcPu95D85b5nRi+30pWnaBJlI87o99tr/Jwm 0uZd+7ef/yjOX4Yi34QJxL7tlg0SL4BTAi8oQSKLeu7Mw1CTwU+MWuLgkCZG1puwejgv WK75Ffb0Vmq9VNqsVVKJ3VoZ+BaofccQsYRFpXVf6JDbQ52CP/h7EgpEOy1q5XvUKBvF XaFNlgGHf141vNwzFUdYY+Z1cLwmXnfY6YrYWC2bbKmMD3LQ4PvAvooQP8KMtbtZJ+QL /atw== X-Received: by 10.194.250.6 with SMTP id yy6mr1392705wjc.13.1383205259515; Thu, 31 Oct 2013 00:40:59 -0700 (PDT) MIME-Version: 1.0 Sender: s.khanchi@gmail.com Received: by 10.194.119.73 with HTTP; Thu, 31 Oct 2013 00:40:39 -0700 (PDT) From: h bagade Date: Thu, 31 Oct 2013 11:10:39 +0330 X-Google-Sender-Auth: 32HW-scoFN_V6fdWFkTWzY7HZCs Message-ID: Subject: Errors on running kipfw with vale switches To: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 07:41:01 -0000 Hi all, I want to run userland ipfw with netmap support(kipfw). When I try to follow the example to test kipfw, it encounters an error on following command: # connect the firewall to two vale switches ./kipfw valeA:f valeB:f & command output: root@zharf-bsd-9:/ipfw-user # ./kipfw valeA:f valeB:f & [1] 2278 [ 10.971878] missing.c:callout_startup [356] start init_children mod_idx value 9 +++ start module 0 ipfw ipfw at 0x61dc60 order 0x1 +++ start module 1 sy_ipfw SYSINIT at 0x0 order 0x2 ipfw2 initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to accept, logging disabled +++ start module 2 sy_Vnet_ipfw SYSINIT at 0x0 order 0x3 [ 10.971944] missing.c:callout_init [303] c 0x61e380 mpsafe 8 [ 10.971949] missing.c:pfil_head_get [86] called [ 10.971952] missing.c:pfil_add_hook [93] called +++ start module 3 dummynet dummynet at 0x61dca0 order 0x4 DUMMYNET 0x0 with IPv6 initialized (100409) [ 10.971966] missing.c:taskqueue_create [422] start dummynet fn 0x414ba0 ctx 0x61e400 [ 10.971970] missing.c:taskqueue_start_threads [430] tqp 0x61e400 count 1 (dummy) [ 10.971973] missing.c:callout_init [303] c 0x61e4a0 mpsafe 8 +++ start module 4 dn_fifo dn_fifo at 0x61dcf0 order 0x5 [ 10.971982] ip_dummynet.c:load_dn_sched [2250] dn_sched FIFO loaded +++ start module 5 dn_wf2qp dn_wf2qp at 0x61ddd0 order 0x6 [ 10.971989] ip_dummynet.c:load_dn_sched [2250] dn_sched WF2Q+ loaded +++ start module 6 dn_rr dn_rr at 0x61deb0 order 0x7 [ 10.971995] ip_dummynet.c:load_dn_sched [2250] dn_sched RR loaded +++ start module 7 dn_qfq dn_qfq at 0x61df90 order 0x8 [ 10.972000] ip_dummynet.c:load_dn_sched [2250] dn_sched QFQ loaded +++ start module 8 dn_prio dn_prio at 0x61e070 order 0x9 [ 10.972005] ip_dummynet.c:load_dn_sched [2250] dn_sched PRIO loaded *** Global Sysctl Table entries = 39, total size = 2052 *** [ 10.972055] session.c:do_server [531] +++ listening tcp 127.0.0.1:5555 [ 10.972065] netmap_io.c:netmap_add_port [272] opening netmap device valeA:f netmap_open [131] /dev/netmap opened ok netmap_open [139] cannot get info on valeA:f, errno 6 ver 3 [ 10.972098] netmap_io.c:netmap_add_port [283] error opening valeA:f [ 10.972103] netmap_io.c:netmap_add_port [272] opening netmap device valeB:f netmap_open [131] /dev/netmap opened ok netmap_open [139] cannot get info on valeB:f, errno 6 ver 3 [ 13.019760] netmap_io.c:netmap_add_port [283] error opening valeB:f [ 13.019779] session.c:do_server [531] +++ listening tcp 127.0.0.1:5556 [ 13.021023] missing.c:callout_run [373] running 0x61e4a0 due at 1 now 2049 [ 13.021035] missing.c:callout_run [373] running 0x61e380 due at 1000 now 2049 I am running firewall on FreeBSD 9.2-stable. It seems that there is some problem with vale but I don't know what it is! Is it possible that my netmap module doesn't support vale?