From owner-freebsd-bugs@freebsd.org Tue Dec 1 20:25:50 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 734A84B355A for ; Tue, 1 Dec 2020 20:25:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CltsB2gYBz4qFw for ; Tue, 1 Dec 2020 20:25:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 59FA84B379F; Tue, 1 Dec 2020 20:25:50 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 59C194B35AF for ; Tue, 1 Dec 2020 20:25: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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CltsB1x9Pz4py6 for ; Tue, 1 Dec 2020 20:25:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 311CE1B6E6 for ; Tue, 1 Dec 2020 20:25:50 +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 0B1KPoEu059296 for ; Tue, 1 Dec 2020 20:25:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0B1KPo1u059295 for bugs@FreeBSD.org; Tue, 1 Dec 2020 20:25:50 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 251511] mrsas driver causes machine to lock up Date: Tue, 01 Dec 2020 20:25:50 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: juraj@lutter.sk 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2020 20:25:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251511 Bug ID: 251511 Summary: mrsas driver causes machine to lock up Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: juraj@lutter.sk Dell r730xd with PERC H730 hangs under some load (depending on the workload pattern). Machine runs recent -CURRENT, zroot is mirror pool. When doing buildworld with -j16, the lockup occurs and the only way out is = to reboot, but also ddb can be entered. Using ddb and "alltrace" I've been able to trace that most of the processes= are in sched_switch() and mrsas_ocr0 kernel process sleeps in mrsas_ocr_thread() (mrsas_ocr_thread+0x3d0). Using "examine/i" from within ddb i've been able to trace that mrsas_ocr_thread+0x3d0 points somewhere into the function (mrsas_ocr_thread= ()) to a place inside for(;;) loop. *SOMETIMES* after certain amount of time, the machine runs for minute or tw= o, then the lockup occurs again. What else can I try? Here my kernel-fu ends :-( I'm not sure whether this is caused by scheduler problem(s), interrupt(s) problem(s) or mrsas driver as such. Any help is appreciated. I repeat again that if there is a need for a debug session, we can arrange one. --=20 You are receiving this mail because: You are the assignee for the bug.=