From nobody Mon Aug 26 14:56:33 2024 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 4Wstzk112vz5T3t0 for ; Mon, 26 Aug 2024 14:56:34 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wstzh68Zbz4lx6 for ; Mon, 26 Aug 2024 14:56:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724684192; a=rsa-sha256; cv=none; b=bah8JR2SVsWO15eDnh9GR0AOyEEhNNZa1uvE/CdnxvcPNu+fEHgma71KC7H9oMAvbqaHXr p01L+PZVzpfW2aYzokZt/3+BN6n/elzT/ZRaqrk/6+qGh9mH/GgAq5ThYnbqGf7l0dqPDA SvGAeO/7eGJSkxbhSO5lOlOi5jOa7AyirtX77o6qqvBB/2AoPl+f99P1Cbgah6nWrZ6Fjq g6Bgy3C/vNVnGpnBRhdWSOIO0aubHewV+BTc72RZM5jAVYrMaDmyE87CUxltJ67IFinmPP /1w9pL2VOkND4AMjV2QkTnfhCDoubfzlA5/dbFF2S61AWp57NLCiRrQDkky+1w== 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=1724684192; 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=CLVOZHYN6cHjAJrQTVlKumybY3W1vHNAi05yO4b69U8=; b=D55C34+djERi1agZau9egwXPO1DD+0A+d8SMXGAkjwIkBfvpWesGLW43HX0ADIZOgUU+aw qr02htFVm+NcfcyZdY5hdLu9dkyhGXauDQBve49sE5ljvrOkMU+CVgMqeW7bipp65uIoXN uIShpxW8hQ1Kzz6YSz2e/qgBGB5eF6R65peNC+MpoOqUQn8/103Cyg2nFF8+ixx3tlrOHL Rudm2i4/L3T+B4p+oHD4EPmMCnkhl4k72AvRTwwQg5pcKyUtgCXAGvMGA5G1tgFi3OE1nh lvOmuJphq/B4nRL8hlf81noBPAAllzbhyianlH4jYCNjxPyVBfLrWHQuwTartQ== 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 4Wstzh5mpBz19fY for ; Mon, 26 Aug 2024 14:56:32 +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 47QEuWds094453 for ; Mon, 26 Aug 2024 14:56:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47QEuWbg094451 for virtualization@FreeBSD.org; Mon, 26 Aug 2024 14:56:32 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 280601] bhyve: pci_xhci: portregs_write to unpowered port 1 : it seems that this bug still exists in some Linux distros... Date: Mon, 26 Aug 2024 14:56:33 +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: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: danmcd@kebe.com 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-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: 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=3D280601 Dan McDonald changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |danmcd@kebe.com --- Comment #1 from Dan McDonald --- A SmartOS/Triton customer of ours recently had a bhyve SEGV with a null poi= nter in umouse_request(), and they believe it's related to the same argument(s): core 'bhyve.d9dfc9b6-48b9-4ad0-8c98-a5d55595cff6.838696.1721807899.core' of 838696: /usr/sbin/bhyve -D -H -c cpus=3D2 -m 8192 -l bootrom,/usr/share/bhyve/uefi-rom.bi argv[0]: /usr/sbin/bhyve argv[1]: -D argv[2]: -H argv[3]: -c argv[19]: -s argv[20]: 30,xhci,tablet I have an illumos corefile (complete with CTF information) if that'll help.= I do not know if I can share it due to customer-confidential information, but= I can examine any structures or threads: mdb bhyve.d9dfc9b6-48b9-4ad0-8c98-a5d55595cff6.838696.1721807899.core > ::status debugging core file of bhyve (64-bit) from d9dfc9b6-48b9-4ad0-8c98-a5d55595= cff6 initial argv: /usr/sbin/bhyve -D -H -c cpus=3D2 -m 8192 -l bootrom,/usr/share/bhyve/uefi-rom.bi threading model: native threads status: process terminated by SIGSEGV (Segmentation Fault), addr=3D8 > $C fffffaffea6daa80 umouse_request+0x53b(163ee80, 1748e10) fffffaffea6dab60 pci_xhci_handle_transfer+0x569(1744e50, 1642950, 1642988, fffffaffb9b6b020, fffffaffb9b6d750, 1) fffffaffea6dac10 pci_xhci_device_doorbell+0x449(1744e50, 1, 1, 0) fffffaffea6dac60 pci_xhci_dbregs_write+0x97(1744e50, 4a4, 1) fffffaffea6dacc0 pci_xhci_write+0x126(1743c90, 0, 4a4, 4, 1) fffffaffea6dad30 pci_emul_mem_handler+0xf9(163dfb0, 2, c00064a4, 4, fffffaffea6dad58, 1743c90) fffffaffea6dad90 mem_write+0x3e(163dfb0, c00064a4, 1, 4, 1746f70) fffffaffea6dadc0 emulate_mem_cb+0x44(163dfb0, c00064a4, 1746f70, fffffaffea6dae60) fffffaffea6dae30 access_memory+0xe0(163dfb0, c00064a4, 433ce0, fffffaffea6dae60) fffffaffea6dae50 emulate_mem+0x21(163dfb0, fffffaffea6dae60) fffffaffea6daeb0 vmexit_mmio+0x47(1637200, 163dfb0, fffffaffea6daee0) fffffaffea6daf60 vm_loop+0x9f(1637200, 163dfb0) fffffaffea6dafb0 fbsdrun_start_thread+0x59(163cf90) fffffaffea6dafe0 libc.so.1`_thrp_setup+0x77(fffffaffeeed8a40) fffffaffea6daff0 libc.so.1`_lwp_start() >=20 We pulled in the very fix (275760) in illumos bhyve as: commit 7339efaf624a8e5f02c5b86895cabbcc57f2649f Author: Peter Grehan Date: Thu May 23 09:16:31 2024 +0000 16579 bhyve: xhci tablet device probe fails under recent Linux kernels Reviewed by: Marco van Wieringen Reviewed by: Patrick Mooney Reviewed by: Andy Fiddaman Reviewed by: Toomas Soome Approved by: Dan McDonald usr/src/cmd/bhyve/usb_mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) too, so I'm adding myself to watch this bug. --=20 You are receiving this mail because: You are the assignee for the bug.=