From owner-freebsd-virtualization@FreeBSD.ORG Sat Jan 22 22:50:08 2011 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 059D1106564A for ; Sat, 22 Jan 2011 22:50:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 848188FC18 for ; Sat, 22 Jan 2011 22:50:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 878B941C712; Sat, 22 Jan 2011 23:50:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id mzJrYSS8q5VL; Sat, 22 Jan 2011 23:50:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id D87E741C733; Sat, 22 Jan 2011 23:50:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 2D8524448F3; Sat, 22 Jan 2011 22:49:32 +0000 (UTC) Date: Sat, 22 Jan 2011 22:49:31 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Mikolaj Golub In-Reply-To: <86k4hz5mm1.fsf@kopusha.home.net> Message-ID: <20110122223448.O3489@maildrop.int.zabbadoz.net> References: <86k4hz5mm1.fsf@kopusha.home.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD virtualization mailing list Subject: Re: epair: panic after destroying X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2011 22:50:08 -0000 On Thu, 20 Jan 2011, Mikolaj Golub wrote: Hi, > On CURRENT when doing something like below: > > jail -c name=test vnet persist > ifconfig epair0 create > ifconfig epair0b vnet test > ifconfig epair0a destroy > jexec test ifconfig For the records: I can confirm the panic and here's an improved version of the script, using my standard magic for epair creation etc, so that it will more likely work and not conflict with other running test setups. I decided to put the together more officially as I have a longer list of other tests as well and may eventualy commit them somewhere, when put into the right shape for the regression testing framework in src/tools/. http://people.freebsd.org/~bz/jail-vnet-epair-regression01.sh To be hontest, I haven't quite read the patches in detail yet, but as vmove needs some other "fixes" as well, I'll do so once I get there. They are marked important here. /bz -- Bjoern A. Zeeb You have to have visions! Going to jail sucks -- All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html