From nobody Fri Jan 03 16:40:50 2025 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 4YPq8259FSz5k9lB for ; Fri, 03 Jan 2025 16:40:50 +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 4YPq820FQtz4dnV for ; Fri, 3 Jan 2025 16:40:50 +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=1735922450; 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=y3zhnUV5gqkPvkgZ2ioVAMgZ0Rw5mG9rIzwyxanhIVc=; b=B8g/5BgSUyfmu2GYwyoJ6zhIKt8UTMTQ10Ubm3HmJ0dX66D7wrsRVmEOB9uT8VpC8HiNd0 b/wzYbTkKHxnWdiDbrBXnU0IaFbtZ2qsVe9DZfc9P/QV/2RRUUUMEX6o+eyulRgSx79Zi4 PTdRUe2mOU1UuCrzzVQd55+qycnPqzJ2yL6qZPk2YFjrVLYJtdXlIiCSxbkRouKkbwc5u0 4T1S378JJwOJrl2H3SkSdH4iSRezsZAFy/ZtfjBIJRuV4+FnluiBFHz9Gp258EaCdmagpB EBmXdC6jX0RSH0IUAdFyCdMs2AOixZ1eWgWL+hVEhHgWytWnp+lArx2Gc7D8PQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735922450; a=rsa-sha256; cv=none; b=WLt32UjGcYkuFQMiqzbYZfLhWfv6xiKUHdUjvbfJPQ9xJ8GCpNXFLT8Qqz3+nYFBQ3i+eQ A0GrRBkacw8ANa0OkS9BsZmMUKSpquvfWYgErtsYJeTfGMU5ij2myMv5bNRwUaV6dptadl vddQ6sx9HRNClWQhXucCv8WYegomPJNoAqTmFK7S8tsZTjw3YAJzix0UTFuP8nEm8KR47m R9QkyjtFMvu4rPdP0m8JaahlkGtK9hScCMf6s3zhlD3HILKpkIdfMoSBcihoqesdnXJPxu w3/Z2XY+EMR48B2hbaKqjOHEw5URi53xvCu36Pt8anIcJ9IMOexSI9XodJonzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YPq816hL8zGS for ; Fri, 03 Jan 2025 16:40:49 +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 503Gen5G080223 for ; Fri, 3 Jan 2025 16:40:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 503GenVB080220 for bugs@FreeBSD.org; Fri, 3 Jan 2025 16:40:49 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 283815] listing dev.vgapci.X.%iommu hangs indefinitely on NVIDIA card Date: Fri, 03 Jan 2025 16:40:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vsasjason@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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: 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=3D283815 Anton Saietskii changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|listing sysctl hangs |listing dev.vgapci.X.%iommu |indefinitely on |hangs indefinitely on |dev.vgapci.X while it's |NVIDIA card |NVIDIA card | --- Comment #3 from Anton Saietskii --- Narrowed down the issue to a single OID. I have the following GPU: vgapci0@pci0:1:0:0: class=3D0x030000 rev=3D0xa1 hdr=3D0x00 vendor=3D0x1= 0de device=3D0x1bb7 subvendor=3D0x1028 subdevice=3D0x07b1 vendor =3D 'NVIDIA Corporation' device =3D 'GP104GLM [Quadro P4000 Mobile]' class =3D display subclass =3D VGA cap 01[60] =3D powerspec 3 supports D0 D3 current D0 cap 05[68] =3D MSI supports 1 message, 64 bit cap 10[78] =3D PCI-Express 2 legacy endpoint max data 256(256) RO NS max read 512 link x16(x16) speed 8.0(8.0) ASPM L0s/L1(L0s/L1) ClockPM disabled ecap 0002[100] =3D VC 1 max VC0 ecap 0018[250] =3D LTR 1 ecap 0004[128] =3D Power Budgeting 1 ecap 0001[420] =3D AER 2 0 fatal 0 non-fatal 1 corrected ecap 000b[600] =3D Vendor [1] ID 0001 Rev 1 Length 36 0b 00 01 90 01 00 41 02 02 00 41 01 01 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ecap 0019[900] =3D PCIe Sec 1 lane errors 0 It's unused in my system, so being turned off by sysutils/acpi_call and xmj= @'s turn_off_gpu.sh from TuningPowerConsumption [0]: vgapci0@pci0:1:0:0: class=3D0x030000 rev=3D0xa1 hdr=3D0x00 vendor=3D0x1= 0de device=3D0x1bb7 subvendor=3D0x1028 subdevice=3D0x07b1 vendor =3D 'NVIDIA Corporation' device =3D 'GP104GLM [Quadro P4000 Mobile]' class =3D display subclass =3D VGA (With '\_SB.PCI0.PEG0.PEGP._OFF' method.) After NVIDIA turned off, any sysctl call which tries to get dev.vgapci.X.%i= ommu hangs. Getting other OIDs, e.g. dev.vgapci.0.%driver, works fine. NOTE: this isn't DRM issue as I don't have any NVIDIA-related modules loade= d. [0]: https://wiki.freebsd.org/TuningPowerConsumption --=20 You are receiving this mail because: You are the assignee for the bug.=