From nobody Wed Feb 26 13:46:55 2025 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 4Z2wkR69fNz5q78r for ; Wed, 26 Feb 2025 13:46:55 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z2wkR4NC6z3k10 for ; Wed, 26 Feb 2025 13:46:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740577615; 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=UJpawgQzbJVtaSSuRoK2ueYYW0Y2Ysu9I1aVgN4Ld5E=; b=hMh7CcUjpgBrgyMZ1A2VJfIHaiSUXglgkkT1xwecbENO5NUcul4Q2ZFrjSk+1c34I5vZKP DE+LVV+02jzm1uNKEuwACo++x8zwuJF8AiR/bndc8JlYR4NNiQCx/6hIkFXggU7cEBGxUt Oss7+N3bwpR4TXZVxLAPe0mxNVjQdGrfTWOSA8XiqvUzhNKSbrT327YWk3n3QRe6dDZPIv s+ev60ZpqGhCqu4cNM0xSxklzGqGdz873dn4J7bL2Y2ut5w8880ytyv3iHTGuaexqllTRg nFoJepERDYvqmb0E3U5vFG4f6fGbgysahjvE5iIQ/jhjn2+3rKsaiZ5vRbDiVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1740577615; a=rsa-sha256; cv=none; b=ecg1TVLvhFx2YLqb7V1488wXqyuKrhXYL23Jywm1Y5NmQqa7AHu6G+kIMAt0MQu32nZZeq HKq4b3U7k/P5U1RzUOPrv2U6xdntLYV+bOx3KRdCyK6kbzsvHqZhd4HeCyw7GD0uJCUOSP xb+dJjpIxR1Uh9QYv89MbgDs8W1KklgbJBPaPtVW3WnFXG9NnfOvb0RdKuQ1R0ulr26l78 5URJX0I/V/JfUHUDFVBS/41tfbkse2HqsBY1SNRmRaPqte80LRmxY5mp+1xSmlDQbyHYn2 MjUV52VzcleYEuSRQa6x5PEAP5VlBJ+KY00ySubQiQTyX8jXx9jjp03sdLmSCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740577615; 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=UJpawgQzbJVtaSSuRoK2ueYYW0Y2Ysu9I1aVgN4Ld5E=; b=uWX1RpsKlUxWoeJvgTy+lFjTRUQGF3MN79jk2t3GtviGg/5ANBvqiSfkHX8PiXXo3MoqPk e/X11lPJE1TbjdAJ/PYksxpEyUnHXNe9EpW8n5yBXjyCrxedJKOtlMORrws7Kd7JJqBMx/ cy7LAmVNg1S8YskPzm2JJBAACSA/w87C5My1yll9rexsa/TuNdBX6lyPdJjAgRe893/PAV e+Xa6zgqkoT1QjWuRGS5/Yx2yQ+3pJ0UPakEpQq9MWdpuFnXsKdlbZNZlil1FgI2SbjvJx 1NTa11GB3HsiK4wJuhhCGWIBfEsOo20yP/s9/a8eDXhzkOoehvPyr/AFG1PizA== 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 4Z2wkR3S1mz1DvX for ; Wed, 26 Feb 2025 13:46:55 +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 51QDktWf083545 for ; Wed, 26 Feb 2025 13:46:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51QDktWi083544 for virtualization@FreeBSD.org; Wed, 26 Feb 2025 13:46:55 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 285051] [bhyve] ampere emag freezes after kldload vmm, reboot needed not even a panic Date: Wed, 26 Feb 2025 13:46:55 +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: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285051 Michael Tuexen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tuexen@freebsd.org --- Comment #1 from Michael Tuexen --- Same for me on my system. Please note that this happens for a long time. Everytime I tried kldload vmm the system freezes reproducibly (100% of all cases): tuexen@ampere32:~ % dmesg ---<>--- GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2025 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 15.0-CURRENT #7 main-n275324-2be8b121bf82: Sat Feb 8 15:05:38 CET = 2025 =20=20=20 root@ampere32.nplab.de:/usr/obj/usr/home/tuexen/freebsd-src/arm64.aarch64/s= ys/TCP arm64 FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) WARNING: WITNESS option enabled, expect reduced performance. VT(efifb): resolution 800x600 real memory =3D 137170145280 (130815 MB) avail memory =3D 133673795584 (127481 MB) Starting CPU 1 (1) Starting CPU 2 (100) Starting CPU 3 (101) Starting CPU 4 (200) Starting CPU 5 (201) Starting CPU 6 (300) Starting CPU 7 (301) Starting CPU 8 (400) Starting CPU 9 (401) Starting CPU 10 (500) Starting CPU 11 (501) Starting CPU 12 (600) Starting CPU 13 (601) Starting CPU 14 (700) Starting CPU 15 (701) Starting CPU 16 (800) Starting CPU 17 (801) Starting CPU 18 (900) Starting CPU 19 (901) Starting CPU 20 (a00) Starting CPU 21 (a01) Starting CPU 22 (b00) Starting CPU 23 (b01) Starting CPU 24 (c00) Starting CPU 25 (c01) Starting CPU 26 (d00) Starting CPU 27 (d01) Starting CPU 28 (e00) Starting CPU 29 (e01) Starting CPU 30 (f00) Starting CPU 31 (f01) FreeBSD/SMP: Multiprocessor System Detected: 32 CPUs random: unblocking device. TCP Hpts created 32 swi interrupt threads and bound 0 to cpus random: entropy device external interface kbd0 at kbdmux0 acpi0: acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) acpi0: Could not update all GPEs: AE_NOT_CONFIGURED psci0: on acpi0 smccc0: on psci0 gic0: iomem 0x78000000-0x7800ffff,0x78400000-0x787fffff on acpi0 its0: mem 0x78020000-0x7803ffff on = gic0 generic_timer0: irq 11,12,13,14 on acpi0 Timecounter "ARM MPCore Timecounter" frequency 40000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 40000000 Hz quality 1000 efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s smbios0: smbios0: Version: 3.2 pmu0: on acpi0 ahci0: iomem 0x1c000000-0x1c000fff irq 3 on acpi0 ahci0: AHCI v1.31 with 2 6Gbps ports, Port Multiplier not supported with FBS ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahci1: iomem 0x1c100000-0x1c100fff irq 4 on acpi0 ahci1: AHCI v1.31 with 2 6Gbps ports, Port Multiplier not supported with FBS ahcich2: at channel 0 on ahci1 ahcich3: at channel 1 on ahci1 snps_dwc3_acpi0: iomem 0x13800000-0x138fffff irq= 5 on acpi0 snps_dwc3_acpi0: 64 bytes context size, 32-bit DMA usbus0: trying to attach usbus0 on snps_dwc3_acpi0 snps_dwc3_acpi1: iomem 0x13900000-0x139fffff irq= 6 on acpi0 snps_dwc3_acpi1: 64 bytes context size, 32-bit DMA usbus1: trying to attach usbus1 on snps_dwc3_acpi1 acpi_button0: on acpi0 acpi_ged0: irq 7 on acpi0 acpi_ged0: Raw IRQ 84 acpi_ged1: irq 8 on acpi0 acpi_ged1: Raw IRQ 72 apei0: on acpi0 pcib0: on acpi0 pci0: on pcib0 pcib1: at device 0.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci1: at device 0.1 (no driver attached) pcib2: on acpi0 pci2: on pcib2 pcib3: at device 0.0 on pci2 pci3: on pcib3 pcib4: on acpi0 pci4: on pcib4 pcib5: at device 0.0 on pci4 pci5: on pcib5 igb0: mem 0x30100000-0x301fffff,0x30200000-0x30203= fff at device 0.0 on pci5 igb0: EEPROM V3.16-0 eTrack 0x8000068f igb0: Using 1024 TX descriptors and 1024 RX descriptors igb0: Using 4 RX queues 4 TX queues igb0: Using MSI-X interrupts with 5 vectors igb0: Ethernet address: 68:05:ca:92:c5:41 igb0: netmap queues/slots: TX 4/1024, RX 4/1024 pcib6: on acpi0 pci6: on pcib6 pcib7: at device 0.0 on pci6 pci7: on pcib7 pcib8: on acpi0 pci8: on pcib8 pcib9: at device 0.0 on pci8 pci9: on pcib9 pcib10: on acpi0 pci10: on pcib10 pcib11: at device 0.0 on pci10 pci11: on pcib11 pcib12: on acpi0 pci12: on pcib12 pcib13: at device 0.0 on pci12 pci13: on pcib13 pcib14: on acpi0 pci14: on pcib14 pcib15: at device 0.0 on pci14 pcib14: pci_host_generic_core_alloc_resource FAIL: type=3D4, rid=3D28, start=3D0000000010000000, end=3D0000000010000fff, count=3D0000000000001000,= flags=3D102 pcib15: failed to allocate initial I/O port window: 0x10000000-0x10000fff pci15: on pcib15 pcib16: at device 0.0 on pci15 pcib14: pci_host_generic_core_alloc_resource FAIL: type=3D4, rid=3D28, start=3D0000000010000000, end=3D0000000010000fff, count=3D0000000000001000, flags=3D3102 pcib16: failed to allocate initial I/O port window: 0x10000000-0x10000fff pci16: on pcib16 pcib14: pci_host_generic_core_alloc_resource FAIL: type=3D4, rid=3D28, start=3D0000000010000000, end=3D0000000010000fff, count=3D0000000000001000, flags=3D3102 vgapci0: port 0-0x7f mem 0x30000000-0x30ffffff,0x31040000-0x3105ffff at device 0.0 on pci16 cpu0: on acpi0 uart0: iomem 0x12600000-0x12600fff irq 1 on acpi0 uart0: console (115200,n,8,1) uart1: iomem 0x12610000-0x12610fff irq 2 on acpi0 armv8crypto0: Timecounters tick every 1.000 msec Attempting to load tcp_bbr tcp_bbr is now available ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to accept, logging disabled usbus0: 5.0Gbps Super Speed USB v3.0 usbus1: 5.0Gbps Super Speed USB v3.0 mlx5_core0: mem 0x14082000000-0x14083ffffff at device 0.0 on pc= i1 mlx5: Mellanox Core driver 3.7.1 (November 2021)ugen1.1: at usbus1 uhub0 on usbus1 uhub0: on usbus1 ugen0.1: at usbus0 uhub1 on usbus0 uhub1: on usbus0 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ACS-4 ATA SATA 3.x device ada0: Serial Number S3Z2NB0M352023L ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada0: Command Queueing enabled ada0: 476940MB (976773168 512 byte sectors) ada0: quirks=3D0x3<4K,NCQ_TRIM_BROKEN> uhub0: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered ugen1.2: at usbus1 uhub2 on uhub0 uhub2: on usbus1 ugen0.2: at usbus0 uhub3 on uhub1 uhub3: on usbus0 mlx5_core0: INFO: mlx5_port_module_event:720:(pid 12): Module 0, status: plugged and enabled uhub2: 4 ports with 4 removable, self powered uhub3: 5 ports with 5 removable, self powered ugen1.3: at usbus1 ukbd0 on uhub2 ukbd0: on usbu= s1 kbd1 at ukbd0 usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device American Megatrends Inc. Virtual Cdrom Device (0x046b:0xff20) ugen0.3: at usbus0 umass0 on uhub3 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks =3D 0x100 umass0:4:0: Attached to scbus4 cd0 at umass-sim0 bus 0 scbus4 target 0 lun 0 cd0: Removable CD-ROM SCSI device cd0: Serial Number AAAABBBBCCCC1 cd0: 40.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present cd0: quirks=3D0x10<10_BYTE_ONLY> mlx5_core: INFO: (mlx5_core0): E-Switch: Total vports 9, l2 table size(6553= 6), per vport: max uc(1024) max mc(16384) mlx5_core1: mem 0x14080000000-0x14081ffffff at device 0.1 on pc= i1 usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device American Megatrends Inc. Virtual HardDisk Device (0x046b:0xff31) usb_msc_auto_quirk: UQ_MSC_NO_TEST_UNIT_READY set for USB mass storage devi= ce American Megatrends Inc. Virtual HardDisk Device (0x046b:0xff31) usb_msc_auto_quirk: UQ_MSC_NO_START_STOP set for USB mass storage device American Megatrends Inc. Virtual HardDisk Device (0x046b:0xff31) ugen0.4: at usbus0 umass1 on uhub3 umass1: on usbus0 umass1: SCSI over Bulk-Only; quirks =3D 0x105 umass1:5:1: Attached to scbus5 da0 at umass-sim1 bus 1 scbus5 target 0 lun 0 da0: Removable Direct Access SCSI device da0: Serial Number AAAABBBBCCCC3 da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da0: quirks=3D0x2 mlx5_core1: INFO: mlx5_port_module_event:720:(pid 12): Module 1, status: plugged and enabled ugen0.5: at usbus0 ukbd1 on uhub3 ukbd1: on usbus0 kbd2 at ukbd1 mlx5_core: INFO: (mlx5_core1): E-Switch: Total vports 9, l2 table size(6553= 6), per vport: max uc(1024) max mc(16384) mce0: Ethernet address: 98:03:9b:7d:2d:da mce0: link state changed to DOWN mce1: Ethernet address: 98:03:9b:7d:2d:db mce1: link state changed to DOWN CPU 0: APM eMAG 8180 r3p2 affinity: 0 0 Cache Type =3D <64 byte CWG,64 byte ERG,64 byte D-cacheline,PIPT I-cache,64 byte I-cacheline> Instruction Set Attributes 0 =3D Instruction Set Attributes 1 =3D <> Instruction Set Attributes 2 =3D <> Processor Features 0 =3D Processor Features 1 =3D <> Processor Features 2 =3D <> Memory Model Features 0 =3D Trying to mount root from ufs:/dev/ada0p2 [rw]... Memory Model Features 1 =3D <8bit VMID> Memory Model Features 2 =3D <32bit CCIDX,48bit VA> Memory Model Features 3 =3D <> Memory Model Features 4 =3D <> Debug Features 0 =3D Debug Features 1 =3D <> Auxiliary Features 0 =3D <> Auxiliary Features 1 =3D <> AArch32 Instruction Set Attributes 5 =3D AArch32 Media and VFP Features 0 =3D AArch32 Media and VFP Features 1 =3D CPU 1: APM eMAG 8180 r3p2 affinity: 0 1 CPU 2: APM eMAG 8180 r3p2 affinity: 1 0 CPU 3: APM eMAG 8180 r3p2 affinity: 1 1 CPU 4: APM eMAG 8180 r3p2 affinity: 2 0 CPU 5: APM eMAG 8180 r3p2 affinity: 2 1 CPU 6: APM eMAG 8180 r3p2 affinity: 3 0 CPU 7: APM eMAG 8180 r3p2 affinity: 3 1 CPU 8: APM eMAG 8180 r3p2 affinity: 4 0 CPU 9: APM eMAG 8180 r3p2 affinity: 4 1 CPU 10: APM eMAG 8180 r3p2 affinity: 5 0 CPU 11: APM eMAG 8180 r3p2 affinity: 5 1 CPU 12: APM eMAG 8180 r3p2 affinity: 6 0 CPU 13: APM eMAG 8180 r3p2 affinity: 6 1 CPU 14: APM eMAG 8180 r3p2 affinity: 7 0 CPU 15: APM eMAG 8180 r3p2 affinity: 7 1 CPU 16: APM eMAG 8180 r3p2 affinity: 8 0 CPU 17: APM eMAG 8180 r3p2 affinity: 8 1 CPU 18: APM eMAG 8180 r3p2 affinity: 9 0 CPU 19: APM eMAG 8180 r3p2 affinity: 9 1 CPU 20: APM eMAG 8180 r3p2 affinity: 10 0 CPU 21: APM eMAG 8180 r3p2 affinity: 10 1 CPU 22: APM eMAG 8180 r3p2 affinity: 11 0 CPU 23: APM eMAG 8180 r3p2 affinity: 11 1 CPU 24: APM eMAG 8180 r3p2 affinity: 12 0 CPU 25: APM eMAG 8180 r3p2 affinity: 12 1 CPU 26: APM eMAG 8180 r3p2 affinity: 13 0 CPU 27: APM eMAG 8180 r3p2 affinity: 13 1 CPU 28: APM eMAG 8180 r3p2 affinity: 14 0 CPU 29: APM eMAG 8180 r3p2 affinity: 14 1 CPU 30: APM eMAG 8180 r3p2 affinity: 15 0 CPU 31: APM eMAG 8180 r3p2 affinity: 15 1 gic0: using for IPIs Release APs...done WARNING: / was not properly dismounted TCP_ratelimit: Is now initialized WARNING: WITNESS option enabled, expect reduced performance. Dual Console: Serial Primary, Video Secondary ig4iic0: iomem 0x126b0000-0x126b0fff irq 0 on a= cpi0 iicbus0: on ig4iic0 iicbus0: at addr 0x10 iic0: on iicbus0 igb0: link state changed to UP debugnet_any_ifnet_update: Bad dn_init result from igb0 (ifp 0xffffa00806fbd800), ignoring. lo0: link state changed to UP igb0: link state changed to DOWN igb0: link state changed to UP ums0 on uhub3 ums0: on usbus0 ums1 on uhub2 ums1: on usbus1 ums0: 3 buttons and [Z] coordinates ID=3D0 ums1: 3 buttons and [XYZ] coordinates ID=3D0 tuexen@ampere32:~ % --=20 You are receiving this mail because: You are the assignee for the bug.=