From owner-freebsd-virtualization@FreeBSD.ORG Sun Jun 17 12:14:36 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A02A1065672; Sun, 17 Jun 2012 12:14:36 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 9C6A68FC18; Sun, 17 Jun 2012 12:14:35 +0000 (UTC) Received: by wibhj8 with SMTP id hj8so755516wib.13 for ; Sun, 17 Jun 2012 05:14:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:x-comment-to:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=BH5Pw+un3kJ42oIT/eSO8LUIaESf/wOpr4ynzPRukL8=; b=KTwrqA4HPlJUy4ZqiHFOYzicwgUIFQR4NPiwfLRlmiqRA7UUv4h8gofYV0KZcZPjKN 7FFqjAR/bTQ1OSAYezPp2lZIOMk7IdxjxNVuOrG7HOl0sS34RgaVeUKhsqgLIngjMjuQ 7ICmT06p37gPI+BcGjyJllU/u5OsPvHm6DQC8fNh7aF6CPTBF/VC5cL3aoPpEhi+cwWO pZ1UpXsqINXzTeerx6+BbhBjdOT039urN2gfFWH+irrfI3tDd+A7ltFqpldBGPVIfdb6 z4YPb837i5CRmvnu8Nk8TmqJ1nRM3FH58go6hJnqHbJ7ts0AxJnj5WG2DhIWWKS61yD9 yBcA== Received: by 10.216.50.211 with SMTP id z61mr5896348web.57.1339935273576; Sun, 17 Jun 2012 05:14:33 -0700 (PDT) Received: from localhost ([95.69.173.122]) by mx.google.com with ESMTPS id dg2sm31156034wib.4.2012.06.17.05.14.30 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jun 2012 05:14:31 -0700 (PDT) From: Mikolaj Golub To: Palle Girgensohn References: <4FD2971B.9090405@FreeBSD.org> X-Comment-To: Palle Girgensohn Sender: Mikolaj Golub Date: Sun, 17 Jun 2012 15:14:29 +0300 In-Reply-To: <4FD2971B.9090405@FreeBSD.org> (Palle Girgensohn's message of "Sat, 09 Jun 2012 02:21:47 +0200") Message-ID: <86y5nm2l0a.fsf@kopusha.home.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: bz@FreeBSD.org, freebsd-virtualization@FreeBSD.org Subject: Re: panic when epair is removed (VNET) 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: Sun, 17 Jun 2012 12:14:36 -0000 On Sat, 09 Jun 2012 02:21:47 +0200 Palle Girgensohn wrote: PG> Hi, PG> This seems to be well known issue, system panics when an epair is removed. PG> Isn't there anything one can do about this? I'd love to use epair in my PG> jails setups, but the risk of killing the system makes them less PG> tasty... I tried a few patches on the net that claim to fix the problem, PG> but they don't. Any ideas what actually can be done to stop the kernel PG> from panicking? PG> Here's a reference: PG> http://lists.freebsd.org/pipermail/freebsd-virtualization/2011-January/000629.html The patch works for me on the current. I had to update it to cleanly apply to the recent current. Here is the updated version: http://people.freebsd.org/~trociny/if_epair.c.epair_clone_destroy.1.patch If it does not work for you, could you please provide more details: freebsd version/revision, scenario, backtrace, so I could try to reproduce. -- Mikolaj Golub