From nobody Fri Jan 03 13:09:38 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 4YPkSP0xZ7z5jyGm for ; Fri, 03 Jan 2025 13:09:41 +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 4YPkSL69QPz4F61 for ; Fri, 3 Jan 2025 13:09:38 +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=1735909778; 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=JyzLb1/RuzqFHvEPoc2PFkyELgBvwvNJohZPmH7Qy4Q=; b=IaRAn8KGtVVDwRwNd6BZK86SZTKllaaoD8nRIU6jYTdYZHnvIfBIh/zeebOgjqlJa17J7Q KqkSoXrnkP4o3z/L8sennMzyczNkt+ktpHzxWfMTIN/bGpQMJTH8RKQyVzwNvdeqUFXgdB 2ONt7QzywMNJL9M+IGWmKotBSL+N1oS4RsLPvyUdkKaJGUPDdLV+6LCC6DZ3EMXoL/SQHX UnkV9/QLG7g2JNs0kJ20p89GWkBM/ll+7s+IoetHmBBiLRldlNtULwMBzXPprOAVyqLh4P OOUY6NWX/aocpR3Tb4kX/qSSglAxNNDP3dz5AeMHC5T5nwgW61ndxgMQaswiqQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735909778; a=rsa-sha256; cv=none; b=itfhikxsYvAYUYL8MihhCHw+RaANpX8IXQOdpI7kmBm8P8tmtL66x/UOPK5UYevq9HADCz /7X2JPjSuzNTXhQppIR600FTCkYn9eUZ7HH+SVV+gs1WHK65YUU1cu/lIeaDf7nXjV9MU/ Du2UaMDit1onvkxswnVyKeG1d5bybM1+M4GV606QJl6WlS3jmHrqzcI1yOeQuJAfgX8vK4 bOSm84YmzWAYsn0WXDs6+lCrDd1wu7o8s0Uj0tPVJX1wzkaB64Zkj8YnrjERW9MBebk6aG CtnWzBtqgFGxPAIlnjWZe16/vAsxglgib0vCLtkIFPVsH1Qba3ZKKnLxLMOhkw== 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 4YPkSL5V4lz1MDr for ; Fri, 03 Jan 2025 13:09:38 +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 503D9caJ005184 for ; Fri, 3 Jan 2025 13:09:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 503D9chK005183 for bugs@FreeBSD.org; Fri, 3 Jan 2025 13:09:38 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] 'sysctl -a' hangs indefinitely Date: Fri, 03 Jan 2025 13:09:38 +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: 14.2-RELEASE X-Bugzilla-Keywords: 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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created 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=3D283815 Bug ID: 283815 Summary: 'sysctl -a' hangs indefinitely Product: Base System Version: 14.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: vsasjason@gmail.com Created attachment 256370 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D256370&action= =3Dedit /var/run/dmesg.boot (verbose) After upgrading to 14.2R from 14.1R, I noticed that listing all sysctls doe= sn't work anymore. It stops here: dev.ahci.%parent: dev.vgapci.1.%iommu: rid=3D0x10 dev.vgapci.1.%parent: pci0 dev.vgapci.1.%pnpinfo: vendor=3D0x8086 device=3D0x591b subvendor=3D0x1028 subdevice=3D0x07b1 class=3D0x030000 dev.vgapci.1.%location: slot=3D2 function=3D0 dbsf=3Dpci0:0:2:0 handle=3D\_SB_.PCI0.GFX0 dev.vgapci.1.%driver: vgapci dev.vgapci.1.%desc: VGA-compatible display dev.vgapci.0.wake: 0 ^C^C^C Process enters R+, eats 100% CPU and becomes unkillable: jason@jnb: [?:0] ~ $ ps auwwx | grep '[s]ysctl' jason 25384 100.0 0.0 16888 4880 6 R+ 15:00 0:49.15 sysc= tl -a jason@jnb: [?:0] ~ $ kill -9 25384 jason@jnb: [?:0] ~ $ ps auwwx | grep '[s]ysctl' jason 25384 100.0 0.0 16888 4880 6 R+ 15:00 3:19.35 sysc= tl -a jason@jnb: [?:0] ~ $ procstat -kk 25384 PID TID COMM TDNAME KSTACK 25384 101712 sysctl - pci_find_cap_method+0x= 11a iommu_get_requester+0x192 device_sysctl_handler+0x216 sysctl_root_handler_locked+0x8a sysctl_root+0x1fa userland_sysctl+0x115 sys___sysctl+0x60 amd64_syscall+0xed fast_syscall_common+0xf8 In this state, subsequent 'sysctl kern.geom' works fine, while 'sysctl dev.= cpu' also hangs: jason@jnb: [?:0] ~ $ ps auwwx | grep '[s]ysctl' jason 25436 100.0 0.0 13816 2236 5 R+ 15:05 1:30.48 sysc= tl dev.cpu jason 25384 100.0 0.0 16888 4880 6 R+ 15:00 6:31.35 sysc= tl -a jason@jnb: [?:0] ~ $ procstat -kk 25436 25384 PID TID COMM TDNAME KSTACK 25436 101172 sysctl -=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 sysctl_root_handler_locked+0x143 sysctl_root+0x1fa userland_sysctl+0x115 sys___sysctl+0x60 amd64_syscall+0xed fast_syscall_common+0xf8 25384 101712 sysctl - pci_find_cap_method+0x= 17a iommu_get_requester+0x192 device_sysctl_handler+0x216 sysctl_root_handler_locked+0x8a sysctl_root+0x1fa userland_sysctl+0x115 sys___sysctl+0x60 amd64_syscall+0xed fast_syscall_common+0xf8 jason@jnb: [?:0] ~ $ No changes have been made to system configuration during upgrade. --=20 You are receiving this mail because: You are the assignee for the bug.=