Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2015 08:03:01 +0000
From:      Matt Churchyard <matt.churchyard@userve.net>
To:        Tycho Nightingale <tycho.nightingale@pluribusnetworks.com>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   RE: Illumos boot
Message-ID:  <051593da46cc417fa3e3b8fef3018746@SERVER.ad.usd-group.com>
In-Reply-To: <83C11159-D5DE-4E02-972C-A66A80155EB8@pluribusnetworks.com>
References:  <b2b07b65ee984ac5b902996b9bc9bdf4@SERVER.ad.usd-group.com> <17936712-FB88-4017-8C0D-BEC4926D698E@pluribusnetworks.com> <568ad0b2decf4537bff8f310a703c40b@SERVER.ad.usd-group.com> <83C11159-D5DE-4E02-972C-A66A80155EB8@pluribusnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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<pg,wp,ne,et,ts,mp,pe> cr4:=20
> 406b8<osxsav,xmme,fxsr,pge,pae,pse,de>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?051593da46cc417fa3e3b8fef3018746>