From nobody Tue May 16 20:12:05 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QLS7n6plDz4BQGq for ; Tue, 16 May 2023 20:12:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QLS7n4tBLz4JHP for ; Tue, 16 May 2023 20:12:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684267925; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=E5CqgDpy/L/VHMdOOPNZ8yQMFvLDXUKdi5sjO30RZa4=; b=LhGL8sw4SjNQBFBZwkOC1mkL/ESGf41y/WNaBXfWE9BpvuwXdhRDLJD4p+LdjR9aBxsKcQ Uc1BG6gMCCqZMhMwuZ/5Mf+oPokKYLb+350NbCS3lUPQwTyB2AcGSfY4Fz5rNy67avp7SD 8/l7Pz0qpm3ajLyd8TI+P4g32uQmA9lOUgVLEu+2+BGZcXDKq67FbcNnjG3v025ng84LIR blSVvEl7MEYCl3RzCtxQd44ujg31Iv9/HiyInLTdgUlTlWyfyRb1Ew1G9svBvRduirGsR7 2uS4bRNNIOIXE2yreD1qn+4QxnZ8eOf+OHZ8ouxjjK8EkKCpXE4mJ1rlHT1f3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684267925; a=rsa-sha256; cv=none; b=yDJoavsn3L2KUssCCe65+hRGqLoApo2/KrNSuIUby6a2D6Mw9X/S4IsAFkNbhrsmHKy7Ej dSHLkGLdcVIoTqkeGfr/xTU3Wngs//j3g9Ij0S+vGEBONRaNzhMyPkFADa8BjGKJDOu6kX ehdsb7J+Kdw+ke5RQWw1a0TGC9Qg3IOO9jD8xly+uWEFNHIqA6Z6zCHkJOYLx6R5tvZh1R kPYsbtQezGvDUS+D3zL07/sZ54N9zCBGU5Qk854561I5Ec4zPlj0msoBExszXnex3Bn282 BzM53aV02RdaVA3uLhv4TvaOihMG1YCmyStxqnsiv+QQHIpLampaX+Q5V5THmA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QLS7n3z99zbsW for ; Tue, 16 May 2023 20:12:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34GKC53f003588 for ; Tue, 16 May 2023 20:12:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34GKC5d6003586 for virtualization@FreeBSD.org; Tue, 16 May 2023 20:12:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 271456] srv-io mce(4) with bhyve: can't ping the vm Date: Tue, 16 May 2023 20:12:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: benoitc@enki-multimedia.eu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271456 --- Comment #1 from benoitc --- dmseg log of the vm=3D ``` oading kernel... /boot/kernel/kernel text=3D0x18aa98 text=3D0xdfd150 text=3D0x675154 data=3D= 0x140 data=3D0x1c38e8+0x43b718 0x8+0x18fe70+0x8+0x1ae449| Loading configured modules... /boot/entropy size=3D0x1000 /etc/hostid size=3D0x25 ---<>--- Copyright (c) 1992-2021 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64 FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) VT: init without driver. CPU: Intel(R) Xeon(R) Silver 4208 CPU @ 2.10GHz (2100.00-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x50657 Family=3D0x6 Model=3D0x55 Steppi= ng=3D7 =20 Features=3D0x9f83fbff =20 Features2=3D0xfede7a17 AMD Features=3D0x2c100800 AMD Features2=3D0x121 Structured Extended Features=3D0x10150fb9 Structured Extended Features3=3D0x400 XSAVE Features=3D0x1 TSC: P-state invariant Hypervisor: Origin =3D "bhyve bhyve " real memory =3D 536870912 (512 MB) avail memory =3D 481677312 (459 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. ioapic0 irqs 0-31 random: entropy device external interface kbd1 at kbdmux0 smbios0: at iomem 0xf1000-0xf101e smbios0: Version: 2.6, BCD Revision: 2.6 aesni0: acpi0: acpi0: Power Button (fixed) atrtc0: port 0x70-0x71 irq 8 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 16777216 Hz quality 950 Event timer "HPET" frequency 16777216 Hz quality 550 Event timer "HPET1" frequency 16777216 Hz quality 450 Event timer "HPET2" frequency 16777216 Hz quality 450 Event timer "HPET3" frequency 16777216 Hz quality 450 Event timer "HPET4" frequency 16777216 Hz quality 450 Event timer "HPET5" frequency 16777216 Hz quality 450 Event timer "HPET6" frequency 16777216 Hz quality 450 Event timer "HPET7" frequency 16777216 Hz quality 450 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pcib0: could not evaluate _ADR - AE_NOT_FOUND pci0: on pcib0 virtio_pci0: port 0x2000-0x207f mem 0xc0000000-0xc0001fff irq 16 at device 4.0 on pci0 vtblk0: on virtio_pci0 vtblk0: 20480MB (41943040 512 byte sectors) virtio_pci1: port 0x2080-0x20bf mem 0xc0002000-0xc0003fff irq 17 at device 5.0 on pci0 vtnet0: on virtio_pci1 vtnet0: Ethernet address: 58:9c:fc:07:d3:a7 vtnet0: netmap queues/slots: TX 1/1024, RX 1/512 000.000147 [ 450] vtnet_netmap_attach vtnet attached txq=3D1, txd=3D1= 024 rxq=3D1, rxd=3D512 isab0: at device 31.0 on pci0 isa0: on isab0 vmgenc0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] driver bug: Unable to set devclass (class: atkbdc devname: (unknown)) psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.= 0. psm0: model Generic PS/2 mouse, device ID 0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (115200,n,8,1) uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart2: <16550 or compatible> port 0x3e8-0x3ef irq 4 on acpi0 uart3: <16550 or compatible> port 0x2e8-0x2ef irq 3 on acpi0 vga0: at port 0x3b0-0x3bb iomem 0xb0000-0xb7fff pnpid PNP= 0900 on isa0 Timecounter "TSC" frequency 2095025872 Hz quality 1000 Timecounters tick every 10.000 msec usb_needs_explore_all: no devclass Trying to mount root from ufs:/dev/gpt/rootfs [rw]... Setting hostuuid: 4325916e-b608-4b41-a265-b221d150d2e4. Setting hostid: 0x8aeb4d18. Starting file system checks: /dev/gpt/rootfs: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/gpt/rootfs: clean, 3891969 free (49 frags, 486490 blocks, 0.0% fragmentation) /dev/gpt/efiesp: FILESYSTEM CLEAN; SKIPPING CHECKS Mounting local filesystems:. ELF ldconfig path: /lib /usr/lib /usr/lib/compat 32-bit compatibility ldconfig path: /usr/lib32 Setting hostname: freebsd. Setting up harvesting: VMGENID,PURE_RDRAND,[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_T= UN,MOUSE,KEYBOARD,ATTACH,CACHED Feeding entropy: . lo0: link state changed to UP vtnet0: link state changed to UP Starting Network: lo0 vtnet0. lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D23 vtnet0: flags=3D8863 metric 0 mtu 1= 500 options=3D80028 ether 58:9c:fc:07:d3:a7 inet6 fe80::5a9c:fcff:fe07:d3a7%vtnet0 prefixlen 64 scopeid 0x1 media: Ethernet autoselect (10Gbase-T ) status: active nd6 options=3D23 Starting devd. Starting dhclient. DHCPREQUEST on vtnet0 to 255.255.255.255 port 67 DHCPREQUEST on vtnet0 to 255.255.255.255 port 67 DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 17 DHCPOFFER from 10.102.1.1 DHCPREQUEST on vtnet0 to 255.255.255.255 port 67 DHCPACK from 10.102.1.1 bound to 10.102.1.249 -- renewal in 900 seconds. add host 127.0.0.1: gateway lo0 fib 0: route already in table add host ::1: gateway lo0 fib 0: route already in table add net fe80::: gateway ::1 add net ff02::: gateway ::1 add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 Updating /var/run/os-release done. Updating motd:. Clearing /tmp (X related). Creating and/or trimming log files. Starting syslogd. Mounting late filesystems:. Starting sendmail_submit. ``` tcpdump: ``` sudo tcpdump -i mce2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on mce2, link-type EN10MB (Ethernet), capture size 262144 bytes 20:11:21.159417 18:fd:74:05:15:d7 (oui Unknown) > Broadcast, ethertype Unkn= own (0x9003), length 64: 0x0000: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0030: 0000 .. 20:11:26.159345 18:fd:74:05:15:d7 (oui Unknown) > Broadcast, ethertype Unkn= own (0x9003), length 64: 0x0000: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0030: 0000 .. 20:11:26.721353 IP 10.102.1.249.49307 > one.one.one.one.domain: 11545+ A? freebsd. (25) 20:11:31.159520 18:fd:74:05:15:d7 (oui Unknown) > Broadcast, ethertype Unkn= own (0x9003), length 64: 0x0000: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0030: 0000 ``` --=20 You are receiving this mail because: You are the assignee for the bug.=