From nobody Wed Aug 14 15:52:01 2024 X-Original-To: bugs@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 4WkXnG0HzKz5SNBR for ; Wed, 14 Aug 2024 15:52:02 +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 4WkXnF42SJz50Ll for ; Wed, 14 Aug 2024 15:52:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723650721; a=rsa-sha256; cv=none; b=oS04FCiKSbFElz7Ta2Hh6YDnWkQb5P0R/c7m3J1zU4RbDwnFnL5lJv9+k6ClxWoLeWUlKM 68lYloR+8gZuiMekrBzmqfzEE/kEQo/IcQiDsu+OIodIoZgvVyAUGlLPRLg0dOPwwmqwgA 65encVomB60j+m6o/M0G0c8M1mZaQx6Wcef9wK9I9HGpIwiwQyZ5Y16p45yFunZFmS/4Rh yZe8yDahegZ7vKzLUrOlc20OcKsFn/kDl7vgiZWcKhyVLGHparSHAT3jVuemtQ3IupXT/n EJ5FDMSGW5YQGpdcc5lyACWBljMoEETu//D44YlFs3xFeLZQ9e1unvmp0gMTOQ== 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=1723650721; 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; bh=7ebBPd0O+mKR83QzE7T91tSGCbnrhYGh5wMrkHdZjPI=; b=aCyLy1HsahxzssQpx3WuQ1XMwiiS054D8XRzGnmjDkjiZgueUic/wuT5jyZZKAA/EbyEMG S2BIGYjG/7dsjiL2X6q4f8f4L8XLnyTHrNgRUs+Xkczs00ANobS7fExjV0uqXlQ4zDa0Nu IiCsziH6tvGyWG+R/z7wkXo1KRdW4+gAoVjTnkoKh64cJse2PjQoFzSNrU8VPB6XHP7KJW X9j+abrx0R68unIqdcXyRnzGbLDVqZDt5azgS3p1CErTepsn8g0qV/IrnHdbaRHGrbDlHX 4Fr9PVM26vYkIxh7vIqsRIPYdGXOaRBWx8/vhdJmz+ZqsRATKhTYtgEUT/Rq6w== 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 4WkXnF3fH3z10ds for ; Wed, 14 Aug 2024 15:52:01 +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 47EFq1b9066763 for ; Wed, 14 Aug 2024 15:52:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47EFq1ZJ066762 for bugs@FreeBSD.org; Wed, 14 Aug 2024 15:52:01 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: bugs@FreeBSD.org Subject: [Bug 280817] With DMAR enabled, by system panics Date: Wed, 14 Aug 2024 15:52:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: imp@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280817 Bug ID: 280817 Summary: With DMAR enabled, by system panics Product: Base System Version: 15.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: imp@FreeBSD.org The recent changes to enable DMAR by default on Intel result in a panic on = my system (partial stack, I can't get to it easily): null pointer dereference in dmar_match_by_path because unit is NULL. trap dmar_match_by_path() +0x20 dmar_find()+0x185 iommu_get_dma_tag() acpi_pci_get_dma_tag() xhci_init() xhci_pci_attach() ... Adding a workaround to return false when unit =3D=3D NULL in dmar_match_by_= path results in a system w/o all its interrupts, so it doesn't boot. Lots of CPU0:lpcal APIC error 0x40 There may be other errors in the log, but my keyboard is jammed when it bre= aks to debugger, so I can't scroll back, or ask for dmesg from the debugger. Only 'hw.dmar.enable=3D0' in loader.conf offers any relief. --=20 You are receiving this mail because: You are the assignee for the bug.=