From nobody Sat Apr 26 16:10:06 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 4ZlF6Q6zSDz5tPFr for ; Sat, 26 Apr 2025 16:10:06 +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 4ZlF6Q6PRNz3t1S for ; Sat, 26 Apr 2025 16:10:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745683806; 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=rEuUr7QKqiRVEIUoojceBkEv0UjZrIqmuWHOvTrXA1w=; b=hA+YgPDhcIPk2AvmV5GHi9ky7lt7TDIr2/kCrvhMXZaOqSqSEDBYbHvYEDOvg0sh8Q62+g pWLQWJezzfKIIi6vMtV5RJeWwMrqdtiSmkPAlb7T7pOeGin2qdZaAOhiaJKLccasWshwFC hRlQTAn5SlDfoMJe1WQZa4ol1HtajYqIwiGe9av2Gjwbf0eTGDm4K9kLMI1Db9y7xMId6u vNiGI+aTuZ0ng9jMiMcnUnTKzaXliPhjXVFwRLZfUnVEb5h4J80vh+9Aq5QO31LkzAwgz3 G4NmKqmRzIRggl/Qsd3y3LCvrUUlm6UBT90qTqkEpkcXfRD+M9ZUVQ1cW5y9rA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1745683806; a=rsa-sha256; cv=none; b=OT9MFdFiMqTdDLYDVdireoLCa5hNnBKYEdLZ68gzDJh47Bli1q5upabOu68LWx492Sof3p SCVjNxz3Qc2l/5bBBK5UJd7Hrfe4ka8Sk83jDWdQi/4iuqmRitamgwrn8hYCajg7JZ53YK YTzBQSCH7ic+4aeouV8vn9uRCq+svAR8JH83FSGA8kcBqvFiFusyl31ICjh1eBIoD4H8r/ prq7lZ/aRwIVV+NbpjHGYlVKyyKjjSryqTappcqddQ5r8POCwbKQ1rEL5iOJTf7rNTa5PV Rnv+W/K5EjV+bSz21BffuhTpKC3K6h3BaKEeh0XwFAz8ZUmJOMYpGf6Ibk4n+A== 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=1745683806; 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=rEuUr7QKqiRVEIUoojceBkEv0UjZrIqmuWHOvTrXA1w=; b=PgoxmlHo+KrcI9hsdPW9dqY4+MeXmaVtR351+LFssCSoZDkeW7I9TqeAbSN70yxPTtyFT0 P8ef4RofNqFbfxqhxIfLZKImsx6EYa+9JctDdrhZcm+FL3zhBEOgkhfXc61JyecODhfV+T FYg0U0l3Tx4ZxAsXy6l7p+Ko+QQH4k/0LR7J9+BnP5aFcx6zHgFTky3FCoMamZyQdKYPhl fFsYksL56zqp3t+RDlQxvs5xHWklxR8aLq+I7fIRzYdA4/pO68m5UEMRppnrX4k9tFv8ki eqQof4vJOelKVI6N277ahT+uHUt1Dx73/SnFBpAGNh0ep+xqhay0Ph0yVBFx2g== 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 4ZlF6Q5r1WzBlx for ; Sat, 26 Apr 2025 16:10:06 +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 53QGA6eO004704 for ; Sat, 26 Apr 2025 16:10:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 53QGA6HC004703 for bugs@FreeBSD.org; Sat, 26 Apr 2025 16:10:06 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 286045] [iicbus] panic page fault on start by devd in L635: sc->intr_handler(sc->intr_ctx, sc->intr_buf, actual); Date: Sat, 26 Apr 2025 16:10:06 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: wulf@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: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D286045 Vladimir Kondratyev changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wulf@freebsd.org --- Comment #4 from Vladimir Kondratyev --- I think it is regression from daa098cc37b9 Test this patch: diff --git a/sys/dev/iicbus/iichid.c b/sys/dev/iicbus/iichid.c index eeabf817616..d82beb52d58 100644 --- a/sys/dev/iicbus/iichid.c +++ b/sys/dev/iicbus/iichid.c @@ -630,7 +630,7 @@ iichid_intr(void *context) error =3D iichid_cmd_read(sc, sc->intr_buf, sc->intr_bufsize, &actu= al); THREAD_NO_SLEEPING(); if (error =3D=3D 0) { - if (sc->power_on) { + if (sc->power_on && sc->open) { if (actual !=3D 0) sc->intr_handler(sc->intr_ctx, sc->intr_buf, actual); --=20 You are receiving this mail because: You are the assignee for the bug.=