Skip to content

Instantly share code, notes, and snippets.

@bhechinger
Created November 21, 2019 13:57
Show Gist options
  • Save bhechinger/74ff31d5029f3aef71e1eb926b1387fc to your computer and use it in GitHub Desktop.
Save bhechinger/74ff31d5029f3aef71e1eb926b1387fc to your computer and use it in GitHub Desktop.
Trying to boot SmartOS as a bhyve VM under OmniOS
zonename: smartos0
zonepath: /zones/smartos0
brand: bhyve
autoboot: false
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
fs-allowed:
fs:
dir: /tank/iso/smartos-20191121.iso
special: /tank/iso/smartos-20191121.iso
raw not specified
type: lofs
options: [ro,nodevices]
net:
address not specified
allowed-address: 10.42.2.25/24
defrouter not specified
global-nic not specified
mac-addr not specified
physical: smartos0
vlan-id not specified
device:
match: /dev/zvol/rdsk/tank/vms/smartos0
attr:
name: bootdisk
type: string
value: tank/vms/smartos0
attr:
name: cdrom
type: string
value: /tank/iso/smartos-20191121.iso
attr:
name: ram
type: string
value: 8G
attr:
name: vcpus
type: string
value: 8
attr:
name: hostbridge
type: string
value: none
attr:
name: bootrom
type: string
value: BHYVE_CSM
!!!! X64 Exception Type - 000000000000000D CPU Apic ID - 00000000 !!!!
RIP - 00000000BFADD172, CS - 0000000000000028, RFLAGS - 0000000000010006
ExceptionData - 0000000000000000
RAX - 0000000000000000, RCX - 0000000000000008, RDX - 0000000000400400
RBX - 00000000B80C5000, RSP - 00000000BFBCD518, RBP - 00000000BFBCD878
RSI - 0000000001001000, RDI - 00000000BFBCD518
R8 - 00000000B7FC3FC0, R9 - 00000000BE3E1970, R10 - 0000000000105870
R11 - 0000000000000000, R12 - 0000000001001000, R13 - 0000000000000001
R14 - 0000000001001010, R15 - 0000000001001000
DS - 0000000000000008, ES - 0000000000000008, FS - 0000000000000008
GS - 0000000000000008, SS - 0000000000000008
CR0 - 0000000080000033, CR2 - 0000000000000000, CR3 - 00000000BFB6C000
CR4 - 0000000000000668, CR8 - 0000000000000000
DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000
DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400
GDTR - 00000000BFB56E98 000000000000003F, LDTR - 0000000000000000
IDTR - 00000000BF2D0018 0000000000000FFF, TR - 0000000000000000
FXSAVE_STATE - 00000000BFBCD170
!!!! Find PE image /data/omnios-build/omniosorg/r151032/_build/uefi-edk2-20190904/uefi-edk2-20190904/master/Build/BhyveX64/RELEASE_OOGCC/X64/UefiCpuPkg/CpuDxe/CpuDxe/DEBUG/CpuDxe.dll (ImageBase=00000000BFAD9000, EntryPoint=00000000BFAD92AF) !!!!\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment