Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Apr 2021 07:48:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254709] intel e1000e not properly detected qemu-kvm q35/BIOS
Message-ID:  <bug-254709-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254709

            Bug ID: 254709
           Summary: intel e1000e not properly detected qemu-kvm q35/BIOS
           Product: Base System
           Version: 12.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: tschweikle@gmail.com

uname -a:
FreeBSD fbsd12.fritz.box 12.2-STABLE FreeBSD 12.2-STABLE
stable12-n232783-67dedc2a115e FBSD12  amd64

freebsd-version -kur:
12.2-STABLE
12.2-STABLE
12.2-STABLE

/usr/bin/qemu-system-x86_64 \
  -name guest=3Dfbsd12,debug-threads=3Don \
  -S \
  -object
secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/domain-102=
-fbsd12/master-key.aes
\
  -machine pc-q35-5.0,accel=3Dkvm,usb=3Doff,vmport=3Doff,dump-guest-core=3D=
off \
  -cpu
IvyBridge-IBRS,ss=3Don,vmx=3Don,pdcm=3Don,pcid=3Don,hypervisor=3Don,arat=3D=
on,tsc-adjust=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Do=
n,ssbd=3Don,xsaveopt=3Don,ibpb=3Don,amd-stibp=3Don,amd-ssbd=3Don,skip-l1dfl=
-vmentry=3Don,pschange-mc-no=3Don,aes=3Doff
\
  -m 6144 \
  -overcommit mem-lock=3Doff \
  -smp 1,sockets=3D1,cores=3D1,threads=3D1 \
  -uuid 129544d8-293b-4cf5-a571-8012221f7bcc \
  -no-user-config \
  -nodefaults \
  -chardev socket,id=3Dcharmonitor,fd=3D30,server,nowait \
  -mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \
  -rtc base=3Dutc,driftfix=3Dslew \
  -global kvm-pit.lost_tick_policy=3Ddelay \
  -no-hpet \
  -no-shutdown \
  -global ICH9-LPC.disable_s3=3D1 \
  -global ICH9-LPC.disable_s4=3D1 \
  -boot strict=3Don \
  -device
pcie-root-port,port=3D0x10,chassis=3D1,id=3Dpci.1,bus=3Dpcie.0,multifunctio=
n=3Don,addr=3D0x2
\
  -device pcie-root-port,port=3D0x11,chassis=3D2,id=3Dpci.2,bus=3Dpcie.0,ad=
dr=3D0x2.0x1 \
  -device pcie-root-port,port=3D0x16,chassis=3D3,id=3Dpci.3,bus=3Dpcie.0,ad=
dr=3D0x2.0x6 \
  -device pcie-root-port,port=3D0x12,chassis=3D4,id=3Dpci.4,bus=3Dpcie.0,ad=
dr=3D0x2.0x2 \
  -device pcie-root-port,port=3D0x13,chassis=3D5,id=3Dpci.5,bus=3Dpcie.0,ad=
dr=3D0x2.0x3 \
  -device pcie-root-port,port=3D0x14,chassis=3D6,id=3Dpci.6,bus=3Dpcie.0,ad=
dr=3D0x2.0x4 \
  -device pcie-root-port,port=3D0x15,chassis=3D7,id=3Dpci.7,bus=3Dpcie.0,ad=
dr=3D0x2.0x5 \
  -device ich9-usb-ehci1,id=3Dusb,bus=3Dpcie.0,addr=3D0x1d.0x7 \
  -device
ich9-usb-uhci1,masterbus=3Dusb.0,firstport=3D0,bus=3Dpcie.0,multifunction=
=3Don,addr=3D0x1d
\
  -device ich9-usb-uhci2,masterbus=3Dusb.0,firstport=3D2,bus=3Dpcie.0,addr=
=3D0x1d.0x1 \
  -device ich9-usb-uhci3,masterbus=3Dusb.0,firstport=3D4,bus=3Dpcie.0,addr=
=3D0x1d.0x2 \
  -device virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.7,addr=3D0x0 \
  -device virtio-serial-pci,id=3Dvirtio-serial0,bus=3Dpci.4,addr=3D0x0 \
  -device ide-cd,bus=3Dide.0,id=3Dsata0-0-0 \
  -blockdev
{"driver":"file","filename":"/var/lib/libvirt/images/fbsd12.vmdk","node-nam=
e":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}
\
  -blockdev
{"node-name":"libvirt-1-format","read-only":false,"driver":"vmdk","file":"l=
ibvirt-1-storage","backing":null}
\
  -device ide-hd,bus=3Dide.1,drive=3Dlibvirt-1-format,id=3Dsata0-0-1,bootin=
dex=3D1 \
  -netdev tap,fd=3D33,id=3Dhostnet0 -device
e1000e,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:36:98:a1,bus=3Dpci.1,addr=
=3D0x0 \
  -chardev pty,id=3Dcharserial0 -device isa-serial,chardev=3Dcharserial0,id=
=3Dserial0
\
  -chardev spicevmc,id=3Dcharchannel0,name=3Dvdagent \
  -device
virtserialport,bus=3Dvirtio-serial0.0,nr=3D1,chardev=3Dcharchannel0,id=3Dch=
annel0,name=3Dcom.redhat.spice.0
\
  -chardev socket,id=3Dcharchannel1,fd=3D34,server,nowait \
  -device
virtserialport,bus=3Dvirtio-serial0.0,nr=3D2,chardev=3Dcharchannel1,id=3Dch=
annel1,name=3Dorg.qemu.guest_agent.0
\
  -device usb-tablet,id=3Dinput2,bus=3Dusb.0,port=3D3 \
  -spice
port=3D5901,addr=3D127.0.0.1,disable-ticketing,image-compression=3Doff,seam=
less-migration=3Don
\
  -device
qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D67108864,vram64_size_mb=
=3D0,vgamem_mb=3D64,max_outputs=3D1,bus=3Dpcie.0,addr=3D0x1
\
  -device ich9-intel-hda,id=3Dsound0,bus=3Dpcie.0,addr=3D0x1b \
  -device hda-duplex,id=3Dsound0-codec0,bus=3Dsound0.0,cad=3D0 \
  -chardev spicevmc,id=3Dcharredir0,name=3Dusbredir \
  -device usb-redir,chardev=3Dcharredir0,id=3Dredir0,bus=3Dusb.0,port=3D1 \
  -chardev spicevmc,id=3Dcharredir1,name=3Dusbredir \
  -device usb-redir,chardev=3Dcharredir1,id=3Dredir1,bus=3Dusb.0,port=3D2 \
  -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.6,addr=3D0x0 \
  -sandbox
on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,resourcecontrol=3D=
deny \
  -msg timestamp=3Don

Devices detected, but not properly initialized:
- em0 -- no communication. dhclient hangs indefinitely sending packages. Ma=
nual
setting addresses does not help either: no packets are send thru this devic=
e.

Devices detected, but not used:
- virtio-network-card
The network card is found, but not used, because it is not seen as network
device.

virtio-disk is a bit suspicious: loader finds disk, kernel too, but later on
this disk is not found by zfs device scanning procedures.
Swap given as /dev/geo/swap0 is not found then (zfs-volume).

switching from virtio-disk to sata-disk: disk is found now by zfs device
scanning procedures.
switching from virtio-disk to scsi-disk: disk is found, but zfs device scan=
ning
procedures fail to find it.

host 1: Debian testing, latest qemu-kvm, virt-manager
host 2: Ubuntu 20.10, latest available qemu-kvm, virt-manager
host 3: FreeBSD CURRENT, latest available qemu-kvm, virt-manager

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254709-227>