From owner-freebsd-ipfw@FreeBSD.ORG Wed Apr 7 20:56:39 2010 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EBC3106564A for ; Wed, 7 Apr 2010 20:56:39 +0000 (UTC) (envelope-from julianelischer@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 873218FC14 for ; Wed, 7 Apr 2010 20:56:38 +0000 (UTC) Received: by mail-bw0-f216.google.com with SMTP id 8so1296874bwz.3 for ; Wed, 07 Apr 2010 13:56:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=6i7p5B/0L+KPvYi98d2TQpt9lIgtUxW2YvwiwMhCCGY=; b=n7nsK3Fg8Wuf9loVxuyhHa73uOf4pmQeXG23TYWENdtKGmKwUWNBy42DBXbYkF+bWm CPfamRH/7PLfKndgBelTwscUN3OYghxpvbhuuKT8en2zf8WWmjQ+1JAv3nNgkiNk3BnF P94zEhcmfiVjj0yPdEqo4r0Efu3hyC3gKyrBc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=pZf0wRmLGcHVjmzs4+J6PcSjT2aORW3gTM2VeW/t48z6hDTR3dv2CBl38eIEQsZOW2 GmoBx6vWXvYzz+2HMYnGHDXZ1fgpJ5MzDd6lRSiu9byWNANlDG/WhbSZEu5t039OgK+L 2s9MF7ejReRo5bynXMkewQgL5s+6J/BgenKgw= Received: by 10.204.33.206 with SMTP id i14mr3374200bkd.52.1270673797867; Wed, 07 Apr 2010 13:56:37 -0700 (PDT) Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by mx.google.com with ESMTPS id a11sm125820670bkc.3.2010.04.07.13.56.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Apr 2010 13:56:37 -0700 (PDT) Sender: Julian Elischer Message-ID: <4BBCF17F.4000408@elischer.org> Date: Wed, 07 Apr 2010 13:56:31 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Luigi Rizzo References: <4BBCE3EE.506@halleforshunden.org> <20100407203802.GA91356@onelab2.iet.unipi.it> In-Reply-To: <20100407203802.GA91356@onelab2.iet.unipi.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ipfw@freebsd.org, Anders Hagman Subject: Re: dummynet and vnet kernel panic X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2010 20:56:39 -0000 On 4/7/10 1:38 PM, Luigi Rizzo wrote: > On Wed, Apr 07, 2010 at 09:58:38PM +0200, Anders Hagman wrote: >> Hi >> >> When using dummynet inside a vnet node with a simple pipe the kernel >> panic on the first packet. >> >> I use 8.0-STABLE cvsuped at 7 Apr 15:28 >> The ipfw code with dummynet is largely changed and the patch in the url >> below will not work. >> http://www.freebsd.org/cgi/query-pr.cgi?pr=143621 >> >> Is there a fix in the near future? > > haven't tried it myself, but adapting the patch seems > reasonably trivial. I'll see what i can do. > > Are there any vnet experts who can comment ? the change itself looks as if it makes sense but I have not really tested it or gone to great length. ----------- the following URL gives you the change that was made to make the OLD version of dummynet Vimage compatible. http://p4db.freebsd.org/fileLogView.cgi?FSPC=//depot/projects/vimage/src/sys/netinet/ipfw/ip_dummynet.c does this still apply to 8.x? or did you redo the dummynet in 8? if you didn't it may be worth looking to see if these changes apply to 8.x real soon before it's frozen. > > cheers > luigi > >> BR >> /Anders H >> _______________________________________________ >> freebsd-ipfw@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw >> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"