VM Switch broken after update on 20190507

Matt Churchyard matt.churchyard at userve.net
Mon Jun 17 15:55:14 UTC 2019


>I just updated my bhyve server running CURRENT up to r349133 and can't start my network switch.  I suspect that this problem has a root cause in the kernel configuration change made on 20190507 that created if_tuntap to replace the tunnel and tap devices.  My vm switch has been in use for over a year and worked fine.  When booting I get the message:

> /boot/kernel/if_tap.ko - unsupported file type.

> I can't remove or destroy my vm switch to create a new one.  I get the
> message:

> vm switch remove public re0 - unable to locate switch id vm destroy public - failed to remove virtual switch

> My vm_bhyve port is version 1.3.0

> I tried to locate any config files that were generated by the vm switch create utility.  I was not successful.  I wanted to see if I could just manually edit something to change if_tap to if_tuntap.  What do I need to make my vm switch work again?

Hi Tom,

I haven't tested this myself but there's a recent PR that was provided to fix this that hasn't made it into ports yet.

https://github.com/churchers/vm-bhyve/pull/305/files

Matt

>Tom

--
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF
_______________________________________________
freebsd-virtualization at freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe at freebsd.org"


More information about the freebsd-virtualization mailing list