Help setting up a bhyve branded zone


 
Thread Tools Search this Thread
Operating Systems Solaris Help setting up a bhyve branded zone
# 8  
Old 11-17-2018
My mistake. vmadm is available on SmartOS but not on OmniOS. There is kvmadm on the latter but that won't help either.

Did you try connecting to the console before booting the bhyve zone ?

You might miss messages when connecting too late.
# 9  
Old 11-17-2018
Not sure how much this will help, but this is what I got when I connected via console before boot:


Code:
Boot Failed. CDROM 0
Boot Failed. Harddisk 1
Failed to set MokListRT: Invalid Parameter
!!!! X64 Exception Type - 000000000000000D     CPU Apic ID - 00000000 !!!!
RIP  - 000000003FADD172, CS  - 0000000000000028, RFLAGS - 0000000000010002
ExceptionData - 0000000000000000
RAX  - 0000000000000000, RCX - 0000000000000008, RDX - 000000003C7054A8
RBX  - 000000003E4A6000, RSP - 000000003FBCD198, RBP - 000000003FBCD4F8
RSI  - 000000003E386024, RDI - 000000003FBCD198
R8   - 00000000000FD800, R9  - 000000003FBF579F, R10 - 0000000000000000
R11  - 000000003FBCD608, R12 - 0000000000000000, R13 - 0000000000000000
R14  - 0000000000000000, R15 - 0000000000000000
DS   - 0000000000000008, ES  - 0000000000000008, FS  - 0000000000000008
GS   - 0000000000000008, SS  - 0000000000000008
CR0  - 0000000080000033, CR2 - 0000000000000000, CR3 - 000000003FB6C000
CR4  - 0000000000000668, CR8 - 0000000000000000
DR0  - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000
DR3  - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400
GDTR - 000000003FB56E98 000000000000003F, LDTR - 0000000000000000
IDTR - 000000003F2D1018 0000000000000FFF,   TR - 0000000000000000
FXSAVE_STATE - 000000003FBCCDF0
!!!! Find PE image /build/tmp/uefi-edk2-20180309-master/uefi-edk2-20180309-master/uefi-edk2/Build/BhyveX64/RELEASE_OOGCC/X64/UefiCpuPkg/CpuDxe/CpuDxe/DEBUG/CpuDxe.dll (ImageBase=000000003FAD9000, EntryPoint=000000003FAD92AF) !!!!

# 10  
Old 11-17-2018
Well, at least it gives some clues.

It's no surprise you were having a blank console given the fact the OS didn't boot in the first place.

The error message is likely related to UEFI / Secure Boot but I have no idea about how to investigate further.
# 11  
Old 11-18-2018
If I recall correctly, there were UEFI settings/packages for bhyve, they don't show up in the OmniOS repos, but to my guess is they're packages with the bhyve branded zones? I'll probably have to take this to IRC since this seems to be a deeper issue
# 12  
Old 11-19-2018
Hi,

In light of the errors that you posted, can you post the output of pfexec bhhwcompat -v


Can you connect to the zone using the socat utility or can you maybe connect using the vnc console if it was setup usually at /tmp/vm.vmc.

Could you post the contents of /etc/zone/zonename.xml

Regards

Gull04

Last edited by gull04; 11-19-2018 at 08:01 AM.. Reason: Additional Information.
# 13  
Old 11-19-2018
Hi Gull04,
I've known this hw to work with bhyve previously, here is the output of pfexec bhhwcompat -v


Code:
Bhyve is supported on this host.


I wish I could try the vnc console but nowhere on the internet makes it clear how to set up VNC on it. Simply saying set vnc=on results in a syntax error in zonecfg. But here is the contents of my xml file:


Code:
<?xml version="1.0"?>
<!--
    DO NOT EDIT THIS FILE.  Use zonecfg(1M) instead.
-->
<!DOCTYPE zone PUBLIC "-//Sun Microsystems Inc//DTD Zones//EN" "file:///usr/share/lib/xml/dtd/zonecfg.dtd.1">
<zone name="ubuntu1804" zonepath="/rpool/zones/data/bhyve" autoboot="false" brand="bhyve" ip-type="exclusive" debugid="1">
  <network allowed-address="192.168.10.56/26" physical="u18040"/>
  <attr name="bootdisk" type="string" value="rpool/zones/bhyve/ubuntu1804"/>
  <device match="/dev/zvol/rdsk/rpool/zones/bhyve/ubuntu1804"/>
  <filesystem special="/home/courtney/ubuntu-18.04-live-server-amd64.iso" directory="/home/courtney/ubuntu-18.04-live-server-amd64.iso" type="lofs">
    <fsoption name="ro"/>
    <fsoption name="nodevices"/>
  </filesystem>
  <attr name="cdrom" type="string" value="/home/courtney/ubuntu-18.04-live-server-amd64.iso"/>
</zone>

# 14  
Old 11-20-2018
Hi,

All looks OK with the .xml file, did you get any error messages when you ran the "install"?

As in;

zoneadm -z ubuntu1804 install

Regards

Gull04
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 Global zone patching having Solaris 10 branded zone

I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies

2. Solaris

Branded zone Solaris 9

Hi, I want to install branded zone sol 9 in sol 10. I keep getting same error. Please advice me. Thanks. (12 Replies)
Discussion started by: mzainal
12 Replies

3. Solaris

Solaris 10 branded zone with IPMP

All. I am trying to create a 10 branded zone on a Sol 11.1 T5. The Global is using IPMP...so aggregating is out of the question. Has anyone successfully created a branded zone with IPMP? If they have can you please show me the steps you took to get this to run. Thanks (4 Replies)
Discussion started by: aeroforce
4 Replies

4. Solaris

NFS server on Solaris 10 branded zone

I am trying to get a NFS share on a Solaris 10 branded zone. I have read that this is not possible...but I was hoping someone here could tell me different. share -F nfs -o ro,anon=0 /dir This would really surprise me that you cannot do this. Thanks (2 Replies)
Discussion started by: aeroforce
2 Replies

5. Solaris

Branded Solaris 10 zone no network

I am trying to create a branded 10 zone on a Solaris 11.1 control domain. I am using a flar image (cpio) from an existing LDOM. Here are the steps taken after flarcreate. #zonecfg -z <device> >create -b >set brand=solaris10 >set zonepath=/zonez/<device> >set ip-type=exclusive >add net... (1 Reply)
Discussion started by: aeroforce
1 Replies

6. Solaris

Solaris 9 branded zone on a Solaris 10 server

I have a T5220 running Solaris 10. I have a application that can only run on Solaris 9. I want to build a branded Solaris 9 zone for this application on the Solaris 10 Server. What steps would I need to accomplish this? (2 Replies)
Discussion started by: soupbone38
2 Replies

7. Solaris

Prerequisites for Solaris10 Branded Zone within Solaris 11 Express

Dear all, we are trying to install a Solaris10 Branded Zone on a Solaris 11 Express system getting this message: ***The image patch level is downrev for running in a solaris10 branded zone*** The Sparc Solaris 10 system is running Release 11/06 and Patch 119254-70 is installed. Does the... (0 Replies)
Discussion started by: xunil321
0 Replies

8. Solaris

Three questions - migrating to branded zone

1. i read that VxFS (3.x) installed on a solaris 8 will not work on a branded zone. fair enough, but what is the impact of having the packages installed when the flarcreate is done? will the container fail to boot with those packages installed? 2. NTP client and server doesnt work on branded... (11 Replies)
Discussion started by: frustin
11 Replies

9. Solaris

Postprocess issue installing Solaris 9 Branded Zone

Hello, I am attempting to install a newly configured Solaris 9 zone using the flash archive image provided on the sun website. Each time I run the install I get a failure during the Postprocess: Creating mount points. Following is the log: Log File: /var/tmp/s9-zone.install.25457.log... (0 Replies)
Discussion started by: brialt1
0 Replies

10. UNIX for Dummies Questions & Answers

Time zone setting

Tru64 (4.0D) How to change the time zone setting for the system? Sanjay (5 Replies)
Discussion started by: sanjay_g
5 Replies
Login or Register to Ask a Question