From nobody Sat Jan 15 07:54:05 2022 X-Original-To: x11@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 E3B1F195457F for ; Sat, 15 Jan 2022 07:54:05 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JbVmY4hlFz3vyZ for ; Sat, 15 Jan 2022 07:54:05 +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 7B594235FB for ; Sat, 15 Jan 2022 07:54:05 +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 20F7s5mB006707 for ; Sat, 15 Jan 2022 07:54:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20F7s58T006706 for x11@FreeBSD.org; Sat, 15 Jan 2022 07:54:05 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: x11@FreeBSD.org Subject: [Bug 261218] graphics/drm-devel-kmod screens blacked out, system freeze, around two minutes after waking from sleep Date: Sat, 15 Jan 2022 07:54:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grahamperrin@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name 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: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642233245; 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=H2JF0a3k4cWSDqRye8eoSfTpRZOWJ/v+GLHy77KsUDQ=; b=esyWTExtBfoefMQtlJhzvwxUgd+giCe4drU/WA4fCeVHIOsneN//bKctk9aApDMAI+GEpt 2F2HC9vIF+J9D39bQd8YwF56MMf9FqHSzapph2q5/brG7Hv4A7UiZSHDU6dyN+8AcpFmK9 zY+O31VID+8xK3qXErgO/oevovO8vPRbp3nU1n5lb//T3ayCpyFuOD3flNG6ZDsovRcarQ GR3KQ+1i59v9Ud+0Q9TsbAijDpbZ9B4EkkppVLt2LxxmK64reoN+abw9R/RQjDV/R6+Opc PRyEY/+M6U8XRjso7tGtZ4uQZS8a5D5vpRRS/mOnjMGbTJd2q6WCJFbw5/gvWA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642233245; a=rsa-sha256; cv=none; b=yemhOpbRTq0rWBIrf1XhpJxLoWgFOlKoXJfY8F2kwFdwZ8twDOqMSWpfPIMcLiwRj1Pdfx N8UbHNGOHfEyvikm60FO3m56z2Bj8aefZHI6/17XmXKY7oPTwGgXWgwjjkdfq2lJaLjLzh afn8wVBPeme360WcJ7mM7XZQG97Cqivr/57DzVVsKMR8wzlR2WRLkpsq/G5q9M3cNb0yEl u0pnMH/TSyKcWbkkef2rFrp7gFR+lun2cwPCoOSoi+M+Xt/E9Vakng/c3JA/mEJQVuMwma sUX7RpwOr2g+98dhb/g0njLl3B6IGH2y15PEBn7L2AGzh+64nJiBBGSQQaHH8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261218 Bug ID: 261218 Summary: graphics/drm-devel-kmod screens blacked out, system freeze, around two minutes after waking from sleep Product: Ports & Packages Version: Latest Hardware: Any URL: https://bsd-hardware.info/?probe=3D5f106ee686 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: grahamperrin@gmail.com CC: hselasky@FreeBSD.org, manu@freebsd.org, wulf@freebsd.org Flags: maintainer-feedback?(x11@FreeBSD.org) Assignee: x11@FreeBSD.org Keywords:=20 D33887, D33888, drm-kmod, graphics, LinuxKPI, radeonkms, resume, sleep, suspend, wake ---- At 23:58 yesterday, in bug 261166 comment 9:=20 > =E2=80=A6 Up for four hours, panic-free, =E2=80=A6 Three hours and twelve minutes later (03:10:24), I put the computer to sleep with a script that gracefully exports OpenZFS devices on USB:=20 * a mobile hard disk drive that comprises a non-essential pool * two small (thumb) flash drives that provide L2ARC to the boot pool =E2=80=93 then switched off a display on DisplayPort on the HP dock in whic= h this HP EliteBook 8570p rests.=20 ---- At then after 06:23, to the best of my recollection, I:=20 * woke the computer * switched on the display (a little late) * ran xrandr * disconnected then remade USB connections to the docked HP keyboard and=20 docked Kensington trackball (one after the other, I can't recall=20 which order, to work around the operating system not responding to=20 one of the two devices) * maybe also disconnected both devices then reconnected both devices * rearranged windows =E2=80=93 mostly dragging from the notebook display (l= eft) to the Philips display (right). Screens on both displays suddenly went dark (blank/black/grey) with no curs= or or pointer. I watched the front of the EliteBook for hard disk drive activity. None.=20 I have this computer set to gracefully shut down (not sleep) in response to= a press on the power button, which is separate from the keyboard. No response= to normal presses.=20 After a while, I forced off the computer, started, then shortly after the desktop environment (KDE Plasma) appeared I ran:=20 hw-probe -all -upload Result: I see nothing in X.Org logs (probed, above) or /var/log/messages to indicate exactly what happened _immediately_ before the freeze occurred.=20 This absence of information is unfortunate, but does make sense, in that the freeze was sudden and complete.=20 Triage =3D=3D=3D=3D=3D=3D Tentatively graphics/drm-devel-kmod because I'm testing this in combination with the patches for (bug 261166) these two reviews:=20 =E2=9A=99 D33887 LinuxKPI: Allow spin_lock_irqsave to be called within a cr= itical section =E2=9A=99 D33888 LinuxKPI: Allow wake_up to be executed within a critical s= ection Cc: the author and reviewers. If this bug is irrelevant: my apologies, plea= se remove yourselves. Thank you.=20 Notes to self =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Four USB ports on the side of the dock:=20 * mobile hard disk drive (rear, upper) * trackball (front, lower) * keyboard (front, upper). Two USB ports at the rear of the dock:=20 * the lower nearly always runs to the USB hub that's integral to the=20 Philips display =E2=80=A6 yesterday, extraordinarily, I removed the cable= =20 (to rearrange things at the table) and did not replace it * L2ARC, 15G, Duracell-branded Alcor Micro Flash Drive=20 USB 058f:6387 (upper). Two ports on the left of the EliteBook:=20 * L2ARC, 29G, Kingston Technology DataTraveler 100 G3/G4/SE9 G2/50=20 USB 0951:1666 (front). --=20 You are receiving this mail because: You are the assignee for the bug.=