On Wed, Jul 26, 2023 at 02:53:42PM +0000, Klemens Nanni wrote:
> startxfce4 in ~/.xsession leaves the screen black immediately after
> login from xenodm on an Intel T14g3 with latest snap and packages,
> sometimes it hangs completely and needs a hard reset, but this time
> I could switch to ttyC0 and use DDB:
>
>
> uvm_fault(0xffffffff825b0130, 0xffff8000020a8014, 0, 1) -> e
> uvm_fault(0xffffffff825b0130, 0xffffffffffffffff, 0, 2) -> e
> kernel: page fault trap, code=2
> Stopped at taskq_next_work+0x80: movq %rcx,0(%rdx)
> TID PID UID PRFLAGS PFLAGS CPU COMMAND
> 35 0x12 0 1 Xorg
> 0 0x14000 0x200 4 drmtskl
> 0 0x14000 0x200 0K drmwq
> 0 0x14000 0x200 3 drmwq
> 0 0x14000 0x200 2 drmwq
> 0 0x14000 0x200 5 drmwq
> taskq_next_work(ffff800000044cf00, ffff800023153ef0) at taskq_next_work+0x80
> task_thread(ffff800000044cf00) at task_thread+0xeb
> end trace frame: 0x0, count: 13
>
>
> The graphics stack on this machine has always been unstable.
> Back at m2k23 I could not even use Qt programs like telegram-desktop
> without artifacts/glitches/hangs/crashes, but something improved and it
> is almost stable, i.e. firefox + telegram-desktop + gui apps maybe hang
> the machine once a week on GENERIC.MP when I'm unlucky.
> 'disable inteldrm' is stable (but yields other bugs in Qt apps).
>
>
> Xfce4, however, I have never been able to start in the first place.
>
> Anything I should look for in DDB next time?
> Happy to poke at this in case anyone has a clue what's going on.
I tried xfce on 21AH t14 gen 3.
The first time, everything seemed fine.
The second time:
panic: pmap_get_ptp: unmanaged user PTP
another time with WITNESS
chillbufs+0xc6: movq %r8,0x8(%rdx)
r8 0xffffffff8251a868 cleancache+0x18 cachepages
rdx 0xc8abc8abd8fde6c7
Line 1765 of "/sys/kern/vfs_bio.c"
TAILQ_REMOVE(queue, bp, b_freelist);
chillbufs+0xc6
bufcache_release+0x10a
brelse+0x96
ffs_read+0x203
VOP_READ+0x45
uvn_io+0x26b
uvn_get+0x15d
uvm_fault_lower+0x336
uvm_fault+0x1b3
upageflttrap+0x65
usertrap+0x1ee
recall_trap+0x8
*xfsettingsd
removing ~/.config/xfce4/ before starting X, xfce starts again
There appears to be some kind of memory corruption.
often it is just
uvm_fault(0xffffffff82519940, 0xffff8000019e0014, 0, 1) -> e
and a hang