Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: HEADS UP: Merging drm update (Lenovo X230 mode switch issue in UEFI mode only, BIOS works)
On Tue, 4 Jan 2022, Matthias Petermann wrote:
RVP's tip was good and I can also confirm on my side that the problem is not
fundamentally caused by the actual UEFI boot process, but that only the
enabling/disabling of the CSM affects it. Also, the problem did not exist in
NetBSD 9.2 at all.
Can you check something else as well?
Compile a kernel with:
-----
# Give us a choice of fonts based on monitor size
#options FONT_BOLD8x16
#options FONT_BOLD16x32
options FONT_SPLEEN12x24
-----
ie. with a non-standard font. On my Asus X202E laptop (in CSM mode) the
system comes up OK, but, X hangs as soon as you start it with this
message being repeated every 3 secs. in the logs. (Power-off using the
power button works correctly and the system does an orderly shutdown
which is why I could collect these logs.)
-----
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat rcs0 heartbeat {prio:-2147483645} not ticking
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat Awake? 4
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat Barriers?: no
Dec 27 09:04:51 x202e /netbsd: [ 34.6986941] heartbeat Latency: 27us
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat Heartbeat: 3000 ms ago
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat Reset count: 0 (global 0)
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat Requests:
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat active 3:4*- @ 6000ms: X[2108]
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat ring->start: 0x7fffa000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat ring->head: 0x00000248
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat ring->tail: 0x000004a8
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat ring->emit: 0x000004a8
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat ring->space: 0x00003d60
Dec 27 09:04:51 x202e /netbsd: [ 34.6986941] heartbeat ring->hwsp: 0x7fffe100
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [head 0248, postfix 0300, tail 0318, batch 0x00000000_00005000]:
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] warning: /usr/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_engine_cs.c:1234: WARN_ON_ONCE(hex_dump_to_buffer(buf + pos, len - pos, rowsize, sizeof(u32), line, sizeof(line), 0) >= sizeof(line))heartbeat [0000] 0200007a 02001000 00000000 00000000 0200007a 1c4c1501 80f0ff7f 00000000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] 0200007a a1501001 80f0ff7f 00000000 01000011 20220000 f
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [0020] 0200007a a1501001 80f0ff7f 00000000 01000011 20220000 ffffffff 01000011
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] 28220000 0000bf7f 01004012 28220000 00f0ff7f 01000011 c
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [0040] 28220000 0000bf7f 01004012 28220000 00f0ff7f 01000011 c0200000 00020002
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] 0200007a a1501001 80f0ff7f 00000000 0200007a 02001000 0
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] 28220000 000060] 0200007a a1501001 80f0ff7f 00000000 0200007a 02001000 00000000 00000000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] 0200007a 1c4c1501 80f0ff7f 00000000 00000004 00000000 0
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [0080] 0200007a 1c4c1501 80f0ff7f 00000000 00000004 00000000 0000000c 0c01ff7f
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [0080] 0200007a 1c4c1501 80f0ff7f 000000000 0
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [0080] 00000000 01000004 00008018 00500000 00018018 a0100000 0200007a a1501001
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] 00e1ff7f 04000000 00000001 00000000
Dec 27 09:04:51 x202e /netbsd:
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat On hold?: 0
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat MMIO base: 0x00002000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat CCID: 0x7fff010d
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat RING_START: 0x7fffa000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat RING_HEAD: 0x000002e8
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat RING_TAIL: 0x000004a8
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat RING_CTL: 0x00003001
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat RING_MODE: 0x00004000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat RING_IMR: ffffffde
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat ACTHD: 0x00000000_000002e8
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat BBADDR: 0x00000000_7fff1230
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat DMA_FADDR: 0x00000000_7fffa2e8
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat DMEIR: 0x00000000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat IPEHR: 0xdf31ccd3
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat PP_DIR_BASE: 0x7fbf0000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat PP_DIR_BASE: 0x7fbfx00000000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat PP_DIR_DCLV: 0xffffffff
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat E 3:4*- @ 6000ms: X[2108]
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat E 3:4*- @ 6000ms: X[08]
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat E 3:6 @ 3000ms: [i915]
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat HWSP:
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat HWSP:34.6986941] 00000000 00000000 00000000 00000000 00000000 00000000 0
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [0020] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] 00000000 00000000 00000000 00000000 00000000 00000000 0
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat *
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [0100] 03000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] 00000000 00000000 00000000 00000000 00000000 00000000 0
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [0120] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] 00000000 00000000 00000000 00000000 00000000 00000000 0
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat *
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat Idle? no
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat Signals:
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [3:4*] @ 6000ms
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] i915drmkms0: notice: Resetting chip for stopped heartbeat on rcs0
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] i915drmkms0: notice: X[2108] context reset due to GPU hang
-----
I don't know if this is caused by the new DRM, or if the new code is just
exacerbating a pre-existing condition (the pre-newdrm kernel used to
reboot immediately after being loaded if compiled with any of these
fonts instead of the standard ones):
FONT_DROID_SANS_MONO9x18
FONT_DROID_SANS_MONO10x20
FONT_DROID_SANS_MONO12x22
Thanks,
-RVP
Home |
Main Index |
Thread Index |
Old Index