From owner-freebsd-virtualization@freebsd.org Thu Oct 15 08:03:24 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB0DFA12832 for ; Thu, 15 Oct 2015 08:03:24 +0000 (UTC) (envelope-from matt.churchyard@userve.net) Received: from smtp-outbound.userve.net (smtp-outbound.userve.net [217.196.1.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.userve.net", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D1B31E55 for ; Thu, 15 Oct 2015 08:03:23 +0000 (UTC) (envelope-from matt.churchyard@userve.net) Received: from owa.usd-group.com (owa.usd-group.com [217.196.1.2]) by smtp-outbound.userve.net (8.15.1/8.15.1) with ESMTPS id t9F838iq099694 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 15 Oct 2015 09:03:08 +0100 (BST) (envelope-from matt.churchyard@userve.net) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=userve.net; s=201508; t=1444896192; bh=YATtGnt4A/REt7Ar6QmjykdhFk/MnJ5uo3oGi5froPg=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=Na3e3EqEkHMgTe/032zTDC0o0fYHom34SOkmC3TQvOc9V8O/JmT3ckKGnuBijh4U/ d9X7/9i869btlv4epx+GFfrjP5+pw124qtJ43husBSdlUoQqlQzyVYFFR89bPH4PiS FGJcSQgcHKwBNS83HTqNtcPec+5TR7f3Ki1DFkCU= Received: from SERVER.ad.usd-group.com (192.168.0.1) by SERVER.ad.usd-group.com (192.168.0.1) with Microsoft SMTP Server (TLS) id 15.0.847.32; Thu, 15 Oct 2015 09:03:02 +0100 Received: from SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9]) by SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9%12]) with mapi id 15.00.0847.030; Thu, 15 Oct 2015 09:03:02 +0100 From: Matt Churchyard To: Tycho Nightingale CC: "freebsd-virtualization@freebsd.org" Subject: RE: Illumos boot Thread-Topic: Illumos boot Thread-Index: AdEFpuLuEiXyF4rFT0iOg0wo9KoWVQABU0uAAAObRxAADlSqgABK4nfw Date: Thu, 15 Oct 2015 08:03:01 +0000 Message-ID: <051593da46cc417fa3e3b8fef3018746@SERVER.ad.usd-group.com> References: <17936712-FB88-4017-8C0D-BEC4926D698E@pluribusnetworks.com> <568ad0b2decf4537bff8f310a703c40b@SERVER.ad.usd-group.com> <83C11159-D5DE-4E02-972C-A66A80155EB8@pluribusnetworks.com> In-Reply-To: <83C11159-D5DE-4E02-972C-A66A80155EB8@pluribusnetworks.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.0.10] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 15 Oct 2015 08:03:24 -0000 > Hi, >> .............. > /pci@0,0/pci8086,2821@4/disk@0,0 (sd1) online > NOTICE: vioif0: Got MAC address from host: e4:94:1:0:ff:ff > pseudo-device: tun0 > tun0 is /pseudo/tun@0 > pseudo-device: lx_systrace0 > lx_systrace0 is /pseudo/lx_systrace@0 >=20 > panic[cpu0]/thread=3Dffffff0002566c40: BAD TRAP: type=3Dd (#gp General=20 > protection) rp=3Dffffff00025664c0 addr=3D20 >=20 > sched: #gp General protection > addr=3D0x20 > pid=3D0, pc=3D0xfffffffff80d375a, sp=3D0xffffff00025665b0, eflags=3D0x102= 82 > cr0: 8005003b cr4:=20 > 406b8 > cr2: fed3b5accr3: 1dc00000cr8: c >=20 > rdi: 7f1a90ffffff00c3 rsi: ffffff00c33321f8 rdx: ffffff00c37f5828 > rcx: ffffff00c3868603 r8: ffffff00ca7aa600 r9: 2ba6 > rax: 0 rbx: ffffff00c30d0ef0 rbp: ffffff00025665c0 > r10: fffffffffb8554c4 r11: 1 r12: 1f > r13: ffffff00c319f880 r14: 10 r15: 20 > fsb: 0 gsb: fffffffffbc326a0 ds: 4b > es: 4b fs: 0 gs: 1c3 > trp: d err: 0 rip: fffffffff80d375a > cs: 30 rfl: 10282 rsp: ffffff00025665b0 > ss: 38 >=20 > This is the log of the bhyve options used (apart from 1 cpu, 1G ram) >=20 > Oct 13 14:22:43: [bhyve devices: -s 0,hostbridge -s 31,lpc -s=20 > 4:0,ahci-hd,/data/vm/smartos/disk0.img -s 7:0,virtio-net,tap1] Oct 13=20 > 14:22:43: [bhyve console: -l com1,/dev/nmdm1A -l com2,/dev/nmdm2A]=20 > Oct 13 14:22:43: [bhyve options: -Hw -l=20 > bootrom,/data/vm/.config/BHYVE_UEFI_CSM.fd] > Oct 13 14:22:43: [bhyve iso device: -s=20 > 3:0,ahci-cd,/data/vm/.iso/smartos-latest.iso] > Ouch, even with the additional verbosity, the output isn't very insightfu= l. All I can glean is that you are reasonably far along in the boot > proc= ess. You could try to run with KMDB (-k boot option) and do some disassemb= ly around that program counter to see if any specific module is > implicate= d. > Alternately, I'd omit the network device and see how far that gets you. It does appear that I can get as far as a login console without the virtio-= net device Matt