From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 9 16:38:47 2013 Return-Path: Delivered-To: freebsd-virtualization@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 ACD66E0 for ; Mon, 9 Sep 2013 16:38:47 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id 72E8A2380 for ; Mon, 9 Sep 2013 16:38:47 +0000 (UTC) Received: from study64.tdx.co.uk (study64.tdx.co.uk [62.13.130.231]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3/) with ESMTP id r89GciTp095685 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 9 Sep 2013 17:38:45 +0100 (BST) Date: Mon, 09 Sep 2013 17:38:47 +0100 From: Karl Pielorz To: "Abhishek Gupta (LIS)" , freebsd-virtualization@freebsd.org Subject: RE: Trying Hyper-V support from the svn project source - panic booting kernel? Message-ID: In-Reply-To: References: X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 09 Sep 2013 16:38:47 -0000 --On 9 September 2013 14:49:50 +0000 "Abhishek Gupta (LIS)" wrote: > Hi Kari, > > No this is not known. Does it give a stack trace and point to some > culprit functions? Please let me know. > Hi, Ok a 'bt' after the panic gives: " Tracing pid 0 tid 1000000 td 0xffffffff815dd9f0 kdb_enter() at kdb_enter+0x3e/frame 0xffffffff8192e7c0 vpanic() at vpanic+0x146/frame 0xffffffff8192e800 kassert_panic() at kassert_panic+0x136/frame 0xffffffff8192e870 witness_checkorder() at witness_checkorder+0x102/frame 0xffffffff8192e900 __mtx_lock_flags() at __mtx_lock_flags+0x96/frame 0xffffffff8192e940 uma_dbg_getslab() at uma_dgb_getslab+0x67/frame 0xffffffff8192e970 uma_dbg_free() at uma_dbg_free+0x33/frame 0xffffffff8192e990 uma_zfree_arg() at uma_zfree_arg+0x42/frame 0xffffffff8192e9f0 uma_zalloc_arg() at uma_zalloc_arg+0x14e/frame 0xffffffff8192ea60 malloc() at malloc+0x101/frame 0xffffffff8192eab0 hv_vmbus_synic_init() at hv_vmbus_synic_init+0x50/frame 0xffffffff8192eae0 smp_rendezvous_cpus() at smp_rendevous_cpus+0x187/frame 0xffffffff8192eb30 vmbus_bus_init() at vmbus_bus_init+0x1b6/frame 0xffffffff8192eb50 mi_startup() at mi_startup+0x118/frame 0xffffffff8192eb70 btext() at btext+0x2c " (The above was typed by hand - so sorry for any errors). If you want another db commands running let me know - I'll leave this VM 'as is' for now. The underlying host is a SuperMicro X9SCL(+)/X9SCM w/8Gb of RAM, and an Intel 1220Lv2 CPU - running Windows Server Hyper V 2012. I checked out the hyperv source with SVN onto a FreeBSD 9.2-RC3 system, successfully ran 'make buildworld' and 'make buildkernel' - then installed the kernel. This is after the first reboot (i.e. beyond which you'd usually go to single user and do all the mergemaster/make installworld stuff). The VM was created using 4 CPU's and given 2Gb of RAM and a 30Gb IDE hard drive (at controller 0, location 0). If you need any more info or anything, please let me know, Regards, -Karl