Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2022 14:43:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 254472] graphics/drm-fbsd13-kmod Xorg crash on resume
Message-ID:  <bug-254472-7141-QlAdYMojSM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254472-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254472-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254472

--- Comment #9 from Maurizio <maurizio1018@gmail.com> ---
(In reply to fred.ha11 from comment #8)
Thank you for testing the patch.=20
Try this command:
$ grep -B16 ' rtsx0: Resume' /var/log/messages=20

Apr 24 15:23:55 NomadBSD kernel: uhub0: detached
Apr 24 15:23:55 NomadBSD kernel: vgapci0: child drmn0 requested
pci_set_powerstate
Apr 24 15:23:55 NomadBSD kernel: pci0: failed to set ACPI power state D3 on
\_SB_.PCI0.VID_: AE_BAD_PARAMETER
Apr 24 15:23:55 NomadBSD kernel: pcib0: failed to set ACPI power state D2 on
\_SB_.PCI0: AE_BAD_PARAMETER
Apr 24 15:23:55 NomadBSD kernel: acpi0: cleared fixed power button status
Apr 24 15:23:55 NomadBSD kernel: vgapci0: child drmn0 requested
pci_set_powerstate
Apr 24 15:23:55 NomadBSD kernel: vgapci0: child drmn0 requested pci_enable_=
io
Apr 24 15:23:55 NomadBSD syslogd: last message repeated 1 times
Apr 24 15:23:55 NomadBSD kernel:
Apr 24 15:23:55 NomadBSD kernel: Start of i915_gem_wait_for_idle()
Apr 24 15:23:55 NomadBSD kernel: flags=3D12 (locked), timeout=3D200
Apr 24 15:23:55 NomadBSD kernel:
Apr 24 15:23:55 NomadBSD kernel: Calling wait_for_timelines()
Apr 24 15:23:55 NomadBSD kernel: flags=3D12 (locked), timeout=3D2147483647
(forever)
Apr 24 15:23:55 NomadBSD kernel:
Apr 24 15:23:55 NomadBSD kernel: End of i915_gem_wait_for_idle() in 0 tick(=
s)
Apr 24 15:23:55 NomadBSD kernel: rtsx0: Resume
--
Apr 24 16:08:51 NomadBSD kernel: Start of i915_gem_wait_for_idle()
Apr 24 16:08:51 NomadBSD kernel: flags=3D12 (locked), timeout=3D200
Apr 24 16:08:51 NomadBSD kernel:
Apr 24 16:08:51 NomadBSD kernel: Calling wait_for_timelines()
Apr 24 16:08:51 NomadBSD kernel: drmn0: Resetting rcs0 for hang on rcs0
Apr 24 16:08:51 NomadBSD kernel: flags=3D12 (locked), timeout=3D2147483647
(forever)
Apr 24 16:08:51 NomadBSD kernel:
Apr 24 16:08:51 NomadBSD kernel: End of i915_gem_wait_for_idle() in 4136
tick(s)
Apr 24 16:08:51 NomadBSD kernel:
Apr 24 16:08:51 NomadBSD kernel: Start of i915_gem_wait_for_idle()
Apr 24 16:08:51 NomadBSD kernel: flags=3D12 (locked), timeout=3D200
Apr 24 16:08:51 NomadBSD kernel:
Apr 24 16:08:51 NomadBSD kernel: Calling wait_for_timelines()
Apr 24 16:08:51 NomadBSD kernel: flags=3D12 (locked), timeout=3D2147483647
(forever)
Apr 24 16:08:51 NomadBSD kernel:
Apr 24 16:08:51 NomadBSD kernel: End of i915_gem_wait_for_idle() in 0 tick(=
s)
Apr 24 16:08:51 NomadBSD kernel: rtsx0: Resume

At 15:23:55 suspend/resume worked, there is only one line of =E2=80=98End of
i915_gem_wait_for_idle() in 0 tick(s)=E2=80=99.
At 16:08:51 there was an error in the suspend/resume cycle: =E2=80=98drmn0:=
 Resetting
rcs0 for hang on rcs0=E2=80=99 and the i915_gem_wait_for_idle function take=
s 4136
ticks. The function i915_gem_wait_for_idle is recalled without error. In the
messages log file there are two lines of the =E2=80=98End of i915_gem_wait_=
for_idle()
in N tick(s)=E2=80=99 message in the same second.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254472-7141-QlAdYMojSM>