Re: Booting multi user mode in bhyve

2020-05-24 Thread Aryeh Friedman
On Sun, May 24, 2020 at 3:17 PM Brandon helsley 
wrote:

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

sysctl net.link.tap.up_on_open=1
___
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"


Re: Booting multi user mode in bhyve

2020-05-24 Thread Brandon helsley
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 
Sent: Sunday, May 24, 2020 12:25:19 PM
To: Brandon helsley 
Cc: 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 
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"


Re: Booting multi user mode in bhyve

2020-05-24 Thread Aryeh Friedman
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 
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 
>


-- 
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"


Re: Booting multi user mode in bhyve

2020-05-24 Thread Brandon helsley
# 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
___
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"


Re: Booting multi user mode in bhyve

2020-05-24 Thread Aryeh Friedman
On Sun, May 24, 2020 at 1:58 PM Brandon helsley 
wrote:

> What does bhyve command line mean? Like what commands I used to set up
> bhyve? I will send you name and ifconfig -a now
>

Yes in general command line means the command you typed

>
>
> Sent from Outlook Mobile <https://aka.ms/blhgte>
>
> --
> *From:* Aryeh Friedman 
> *Sent:* Sunday, May 24, 2020 11:53:40 AM
> *To:* Brandon helsley 
> *Cc:* freebsd-virtualization@freebsd.org <
> freebsd-virtualization@freebsd.org>
> *Subject:* Re: Booting multi user mode in bhyve
>
> It sounds like you made no tap interface even if the kernel module is
> loaded what does ifconfig -a say?
>
> On Sun, May 24, 2020 at 1:33 PM Brandon helsley <
> brandon.hels...@hotmail.com> wrote:
>
> I followed the handbook exactly and when trying to boot multi user the
> exact error message is  "loading configured modules... Can't find
> /boot/entropy open of /dev/tap0 failed device emulation initialization
> error: No such file or directory"
>
> Sent from Outlook Mobile <https://aka.ms/blhgte>
>
>
>
> --
> Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
>


-- 
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"


Re: Booting multi user mode in bhyve

2020-05-24 Thread Brandon helsley
What does bhyve command line mean? Like what commands I used to set up bhyve? I 
will send you name and ifconfig -a now

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


From: Aryeh Friedman 
Sent: Sunday, May 24, 2020 11:53:40 AM
To: Brandon helsley 
Cc: freebsd-virtualization@freebsd.org 
Subject: Re: Booting multi user mode in bhyve

It sounds like you made no tap interface even if the kernel module is loaded 
what does ifconfig -a say?

On Sun, May 24, 2020 at 1:33 PM Brandon helsley 
mailto:brandon.hels...@hotmail.com>> wrote:
I followed the handbook exactly and when trying to boot multi user the exact 
error message is  "loading configured modules... Can't find /boot/entropy open 
of /dev/tap0 failed device emulation initialization error: No such file or 
directory"

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"


Re: Booting multi user mode in bhyve

2020-05-24 Thread Aryeh Friedman
It sounds like you made no tap interface even if the kernel module is
loaded what does ifconfig -a say?

On Sun, May 24, 2020 at 1:33 PM Brandon helsley 
wrote:

> I followed the handbook exactly and when trying to boot multi user the
> exact error message is  "loading configured modules... Can't find
> /boot/entropy open of /dev/tap0 failed device emulation initialization
> error: No such file or directory"
>
> Sent from Outlook Mobile 
>
>

-- 
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"


Re: Booting multi user mode in bhyve

2020-05-24 Thread Brandon helsley
I followed the handbook exactly and when trying to boot multi user the exact 
error message is  "loading configured modules... Can't find /boot/entropy open 
of /dev/tap0 failed device emulation initialization error: No such file or 
directory"

Sent from Outlook Mobile

___
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"


Re: Booting multi user mode in bhyve

2020-05-24 Thread Aryeh Friedman
Can you send the complete command line your using, the exact error and the
output of dmesg?

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

> Yes, they are.
>
> Sent from Outlook Mobile <https://aka.ms/blhgte>
>
> --
> *From:* Aryeh Friedman 
> *Sent:* Sunday, May 24, 2020 1:23:33 AM
> *To:* Brandon helsley 
> *Cc:* freebsd-virtualization@freebsd.org <
> freebsd-virtualization@freebsd.org>
> *Subject:* Re: Booting multi user mode in bhyve
>
> Are the vmm, if_tap, if_bridge and nmdm kernel modules loaded?
>
> On Sun, May 24, 2020 at 12:56 AM Brandon helsley <
> brandon.hels...@hotmail.com> wrote:
>
> I'm trying to boot multi user in bhyve and it says "loading configured
> modules... Can't find /boot/entropy open of /dev/tap0 failed device
> emulation initialization error: No such file or directory?
>
> Sent from Outlook Mobile<https://aka.ms/blhgte>
> ___
> 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"
>
>
>
> --
> Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
>


-- 
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"


Re: Booting multi user mode in bhyve

2020-05-24 Thread Brandon helsley
Yes, they are.

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


From: Aryeh Friedman 
Sent: Sunday, May 24, 2020 1:23:33 AM
To: Brandon helsley 
Cc: freebsd-virtualization@freebsd.org 
Subject: Re: Booting multi user mode in bhyve

Are the vmm, if_tap, if_bridge and nmdm kernel modules loaded?

On Sun, May 24, 2020 at 12:56 AM Brandon helsley 
mailto:brandon.hels...@hotmail.com>> wrote:
I'm trying to boot multi user in bhyve and it says "loading configured 
modules... Can't find /boot/entropy open of /dev/tap0 failed device emulation 
initialization error: No such file or directory?

Sent from Outlook Mobile<https://aka.ms/blhgte>
___
freebsd-virtualization@freebsd.org<mailto: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<mailto:freebsd-virtualization-unsubscr...@freebsd.org>"


--
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"


Re: Booting multi user mode in bhyve

2020-05-24 Thread Aryeh Friedman
Are the vmm, if_tap, if_bridge and nmdm kernel modules loaded?

On Sun, May 24, 2020 at 12:56 AM Brandon helsley <
brandon.hels...@hotmail.com> wrote:

> I'm trying to boot multi user in bhyve and it says "loading configured
> modules... Can't find /boot/entropy open of /dev/tap0 failed device
> emulation initialization error: No such file or directory?
>
> Sent from Outlook Mobile
> ___
> 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"
>


-- 
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"


Booting multi user mode in bhyve

2020-05-23 Thread Brandon helsley
I'm trying to boot multi user in bhyve and it says "loading configured 
modules... Can't find /boot/entropy open of /dev/tap0 failed device emulation 
initialization error: No such file or directory?

Sent from Outlook Mobile
___
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"