[Bug 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 13 19:27:47 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241774

--- Comment #50 from John Hartley <drum at graphica.com.au> ---
(In reply to Dobri Dobrev from comment #49)

Hi Dobri,

Assuming you are on Q35 with OVMF (as this is what I have tested against).

If you are happy to use SATA then you don't need any patches.

Just recompile your kernel with /usr/src/sys/amd64/conf/GENERIC but with the
"device netmap" commented out in GENERIC.

362c362
< #device               netmap                  # netmap(4) support
---
> device		netmap			# netmap(4) support

This will give you a machine with SATA HD and working networking.

If you also want to be able to use VirtIO then you will also need to apply the
VirtIO patch.

However if you do this then you must make sure you also recompile with netmap
disabled if you want networking.

The result with be a machine that has VirtIO HD and any of em, vm or re
networking.

Right now I do not believe you can have VirtIO networking only HD.

If you do decide to build with VirtIO support then you will need to change your
/etc/fstab mounts to reflect the different disk naming:

SATA - adaNpX
VirtIO SCSI - daNpX
VirtIO block - vtbdNpX

Where N is disk id and X is partition number.

So what you do reflects the choices you make, until this is all fully fixed as
part of a release.

I hope this is clear...

Cheers,


John Hartley.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list