OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Whats wrong with Bhyve ??
« previous next »
  • Print
Pages: [1]

Author Topic: Whats wrong with Bhyve ??  (Read 5041 times)

chunky

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
Whats wrong with Bhyve ??
« on: April 23, 2018, 01:13:49 am »
Hi there

I'm trying to run a linux distro (debian 9.4.0 amd64) under bhyve but I'm facing very serious issues with keyboard. Many keys appear to be shifted or non existant, for example, I can't use certain numerical key, the dot (.) etc. Moreover, hitting specifics key return a completly different one, that's a killer feature but not a very safe nor usable one...
It seem's also that grub2-bhyve is not installed, nor available as a pkg ?

For now, I run this command to launch bhyve :

Code: [Select]
bhyve -c 1 -m 1024M -H -A -w \
  -s 0:0,hostbridge \
  -s 4:0,virtio-blk,./ubuntu-server.img \
  -s 5:0,virtio-net,tap10 \
  -s 29,fbuf,tcp=0.0.0.0:5900,w=1280,h=720,wait \
  -s 30,xhci,tablet \
  -s 31,lpc -l com1,stdio \
  -l bootrom,../uefi-firmware/BHYVE_UEFI.fd \
  ubuntu

It appear also that bhyve doesn't retain the boot order after installing an OS, I always get dropped the uefi shell, forcing me to boot from the file grubx64.efi at each boot.

Is bhyve completely broken or I'am missing something ?

For the keyboard issues, I tried the null modem way (-s 31,lpc -l com1,/dev/nmdm0A) but endup with error msgs like
Code: [Select]
bhyve error: no suitable video mode found. Booting in blind mode
and stuck there

Please help
Logged

chunky

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
Re: Whats wrong with Bhyve ??
« Reply #1 on: April 29, 2018, 03:57:19 pm »
nobody there ?

I really need to make this work guys, could anyone help me ?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Whats wrong with Bhyve ??
« Reply #2 on: April 29, 2018, 05:07:27 pm »
Sorry .. this is a OPNsense forum
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

lattera

  • Full Member
  • ***
  • Posts: 207
  • Karma: 82
    • View Profile
Re: Whats wrong with Bhyve ??
« Reply #3 on: May 01, 2018, 04:09:29 pm »
You might try the freebsd-virtualization mailing list on freebsd.org. Even though OPNsense is based on FreeBSD with HardenedBSD additions, the OPNsense Forums is the wrong place to ask about bhyve.
Logged

chunky

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
Re: Whats wrong with Bhyve ??
« Reply #4 on: May 02, 2018, 09:25:36 pm »
yes I understand, but I asked here because I have bhyve on another machine running a freebsd distro (nas4free) and I don't have theses issues, so I thought it was specific to opnsense. Plus the fact that bhyve is installed by default, I believed that it would work OOTB.
I'll remove opnsense and install pfsense instead, may be I'll have more luck there.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: Whats wrong with Bhyve ??
« Reply #5 on: May 03, 2018, 09:10:13 am »
Hi there,

This is the only bhyve related code we ever wrote: https://github.com/opnsense/tools/blob/master/build/boot.sh

We have no GUI integration, no kernel module loaded by default. FreeBSD, NAS4Free and OPNsense are all perfectly fine open source. All it takes is a bit of courageous reading, comparing against your working baseline, finding differences in versions, setups, reading bug reports or source code.

It gets you further than acting less than reasonable as you have just now. But in any case best of luck on your journey.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Whats wrong with Bhyve ??
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2