From nobody Sun Dec 29 02:47:19 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 4YLNtb4JLXz5jdc9 for ; Sun, 29 Dec 2024 02:47:19 +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 4YLNtb09xqz4d1y for ; Sun, 29 Dec 2024 02:47:19 +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=1735440439; 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=P3w0baN8t2vUjS4oSlT1TQB0L9Xa0wN2FbRJ4Tmak9A=; b=Me7MYifIXxyhTL2Buog+RysO168EA72HW0k8EtbRGWMU1r9oMYNGoKKOS7b1Tj7voJZ08s i6lKoI9wV/IFjgIrJHeSjCViTVg1PAJusPKBPuefQK1zB6LuzkLFp51oXaRJ5IfaZWEKrb 9eTTWcp+Yyx+EGmEXgKVfVL74obixAKEFGxhPIY7hO0M7y1fvz9Q7cTOnuIT/4N2EgiXqE bgFdd6GUI0P19h7Y5Q3Zl2yQAr7cjOPWgxOcN0VmDpzQScSqXMEQtlqvPObI9CAzShT5vx DwGnqFrYS04ii65ESHhKNQZU2fZ3NfdHNrOPokYixnaYFbpD0GonQv6h/qvvqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735440439; a=rsa-sha256; cv=none; b=PSiqKoqhkaMULhnHHjq3x/CXgKraguXqt4HhPST6gpYsL+Vs+gF5m8J4nDrq3CwOuN17Jd 1zAp75HfAGIyEQkkpicDPXNGmh27BtrSfG0b0REN6a3fzoJCgKXN77AjEp2Srfram7gEHS GCueZjQSY0P9Qa78CGiee4670PRd19qznp1myFnma+Ec6ajyDOTsvUK4+2G5HwztxIUIiS jn3J8fsJkwXPA3fcoTIiyDWJjspJP/r5GF+XvokFS8uUtgYvZXl8rIoBQowvUwfx1K+a6d 0wFLS7syrNdd6cFrTaSedja2I9zsxe2RsMVXWyF/pgyNyvDvWhBYZmIBr3tjHA== 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 4YLNtZ6sy8zrLl for ; Sun, 29 Dec 2024 02:47:18 +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 4BT2lIcP031157 for ; Sun, 29 Dec 2024 02:47:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BT2lI7G031156 for bugs@FreeBSD.org; Sun, 29 Dec 2024 02:47:18 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 283708] Setting hw.bus.devctl_queue to 1000 sysctlbyname: Invalid argumen Date: Sun, 29 Dec 2024 02:47:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alex@nixd.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=3D283708 Bug ID: 283708 Summary: Setting hw.bus.devctl_queue to 1000 sysctlbyname: Invalid argumen Product: Base System Version: 14.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: alex@nixd.org Hello, There is a strange logic in enabling or disabling the devd and hw.bus.devctl_queue. I have accidentally stopped the devd daemon and was not able to restart it again because root@exp-dev0:/home/alex # service devd start Starting devd. devd: Setting hw.bus.devctl_queue to 1000 devd: sysctlbyname: Invalid argument /etc/rc.d/devd: WARNING: failed to start devd which RUINED everything because I had to restart the machine and interrupt = the service. After Bug 279198 was fixed restarting devd becomes a problem. Why hw.bus.devctl_queue is not allowed to be reset back?=20 I attempted to reset it back from console and even tho it was not possible.= I got the same error. hw.bus.devctl_queue: 1000 sysctl: hw.bus.devctl_queue=3D999: Invalid argument Its frustrating because the whole logic is broken especially if it is requi= red to run devd with -d flag to troubleshoot issues. --=20 You are receiving this mail because: You are the assignee for the bug.=