Which sysctl do you use, I didn't see it above. I will send you kldstat

Sent from Outlook Mobile<https://aka.ms/blhgte>

________________________________
From: Aryeh Friedman <aryeh.fried...@gmail.com>
Sent: Sunday, May 24, 2020 12:25:19 PM
To: Brandon helsley <brandon.hels...@hotmail.com>
Cc: freebsd-virtualization@freebsd.org <freebsd-virtualization@freebsd.org>
Subject: Re: Booting multi user mode in bhyve

On some motherboards and AMD processors you need to load the modules at boot 
time (bug?) for example on my MSI B450 Tomahawk w/ a Ryzen 5 2600x it refused 
to work unless I put the kernel modules in /boot/loader.conf and the above 
sysctl into /etc/sysctl.conf.

What is the output of kldstat?

On Sun, May 24, 2020 at 2:19 PM Brandon helsley 
<brandon.hels...@hotmail.com<mailto:brandon.hels...@hotmail.com>> wrote:

# ifconfig tap0 create
# sysctl net.link.tap.up_on_open=1
net.link.tap.up_on_open: 0 -> 1
# ifconfig bridge0 create
# ifconfig bridge0 addm igb0 addm tap0
# ifconfig bridge0 up


# truncate -s 16G guest.img

# fetch 
ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/10.0/FreeBSD-10.0-RELEASE-amd64-bootonly.iso

# sh /usr/share/examples/bhyve/vmrun.sh -c 4 -m 1024M -t tap0 -d guest.img -i 
-I FreeBSD-10.0-RELEASE-amd64-bootonly.iso guestname

I'm on freebsd 12.1 p5

Sent from Outlook Mobile<https://aka.ms/blhgte>


--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to