From owner-freebsd-emulation@FreeBSD.ORG Fri Mar 30 08:14:05 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 744BE106564A; Fri, 30 Mar 2012 08:14:05 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id C15F98FC15; Fri, 30 Mar 2012 08:14:04 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 2EE796; Fri, 30 Mar 2012 10:13:58 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 30 Mar 2012 10:13:57 +0200 From: Bernhard Froehlich To: Mikolaj Golub In-Reply-To: <867gyg77h0.fsf@kopusha.home.net> References: <867gyg77h0.fsf@kopusha.home.net> Message-ID: <12f5de744d0ca920d3b204aa291b4084@bluelife.at> X-Sender: decke@FreeBSD.org User-Agent: Roundcube Webmail/0.7.2 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B0205.4F756B46.000F,ss=1,pt=R_264747,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: freebsd-emulation@freebsd.org, freebsd-virtualization@freebsd.org Subject: Re: [patch] VirtualBox-4.0.14 + FreeBSD/CURRENT + VIMAGE: crash on vm shutdown X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2012 08:14:05 -0000 On 19.03.2012 20:48, Mikolaj Golub wrote: > Hi, > > Here is a patch that fixes the issue I have been observing recently: > running > on VIMAGE enabled kernel VirtualBox causes the kernel crash when vm > is powered > off: > > ng_unref_node(8b156880,0,1,101,0,...) at ng_unref_node+0x74 > ng_snd_item(8d060d40,0,8b0e18f0,0,0,...) at ng_snd_item+0x2a5 > ng_send_fn(8b156880,0,8b0e18f0,0,0,...) at ng_send_fn+0x35 > ng_rmnode_self(8b156880,89f840e0,8b0dbcc0,deec88cc,8b0d9ffa,...) at > ng_rmnode_self+0x4a > > vboxNetFltOsDeleteInstance(89f84010,89f84014,89f84010,deec88ec,8b0da0f4,...) > at vboxNetFltOsDeleteInstance+0x63 > vboxNetFltRelease(89f84010,0,0,0,89f84014,...) at > vboxNetFltRelease+0x6a > > vboxNetFltPortDisconnectAndRelease(89f84014,2710,87748bd4,87748bd4,deec8930,...) > at vboxNetFltPortDisconnectAndRelease+0x64 > _end(8b15ed10,89f84210,877456b0,0,deec8990,...) at 0x8cffe057 > SUPR0ObjRelease(8b15ed10,89f4b810,deec89c8,deec89a0,0,...) at > SUPR0ObjRelease+0x133 > _end(8b15eb90,898a0e10,877456b0,0,89f4b810,...) at 0x8cffe4bb > > supdrvCleanupSession(8162bac0,89f4b810,89f4b810,deec89f4,8160e52f,...) > at supdrvCleanupSession+0xef > supdrvCloseSession(8162bac0,89f4b810,8ceecb18,deec8a18,8ceecaa0,...) > at supdrvCloseSession+0x19 > VBoxDrvFreeBSDClose(89ee6c00,3,2000,8adcc5c0,8adcc5c0,...) at > VBoxDrvFreeBSDClose+0x2f > devfs_close(deec8a78,8ceecaa0,80400,80f8caac,133,...) at > devfs_close+0x2ca > VOP_CLOSE_APV(81095960,deec8a78,80f8caac,133,2,...) at > VOP_CLOSE_APV+0xda > vn_close(8ceecaa0,3,8b24b380,8adcc5c0,80f792e0,...) at vn_close+0x190 > vn_closefile(89f8cd58,8adcc5c0,0,89f8cd58,0,...) at vn_closefile+0xe4 > devfs_close_f(89f8cd58,8adcc5c0,0,0,89f8cd58,...) at > devfs_close_f+0x35 > > _fdrop(89f8cd58,8adcc5c0,0,deec8b80,0,8adcc670,81273398,810a7620,89e50c2c,79d,80f7401d,deec8b90,80a2f81e,89e50c2c,8,80f7401d,79d,0,89f8cd58) > at _fdrop+0x43 > closef(89f8cd58,8adcc5c0,79d,79a,8adcc670,...) at closef+0x2b0 > fdfree(8adcc5c0,0,80f74dc6,107,deec8c18,...) at fdfree+0x3ea > exit1(8adcc5c0,0,deec8d1c,80db7aee,8adcc5c0,...) at exit1+0x57a > sys_sys_exit(8adcc5c0,deec8cec,80fd0bf8,80f53607,8adbf5c0,...) at > sys_sys_exit+0x1d > syscall(deec8d28) at syscall+0x2de > Xint0x80_syscall() at Xint0x80_syscall+0x21 Sorry for the late response and thanks for the patch. Is this patch still required for 4.1.8? My guess is yes but it would be great if you could confirm that with the latest port. Do you aggree that this patch is under MIT License so that I can push it upstream? -- Bernhard Froehlich http://www.bluelife.at/