W. Pepperdine,
Apologies, but I am mostly out of ideas. Hopefully people with more
knowledge than myself will assist.
I could not see any issues in the logs that you provided.
I do not think your issue is with LightDM. I still think it might
be with hardware.
Max suggested checking with journalctl which may help, but I am
thinking that if the computer is freezing, then nothing can get
written to the logs anyway, so searching logs may not help.
For example:
# journalctl --priority=err --no-pager
If you can, I suggest installing Debian 12 KDE and see if all works or
not. KDE does not use LightDM and instead uses SDDM so if
your ThinkCentre M920q then locks up, the issue is not LightDM. If
you can easily replace the disk drive in the ThinkCentre M920q with
another disk drive, then you could put aside your existing drive so
you do not destroy the data on it while doing this test. However if
you have already reinstalled several times, you may not have any data
you need to keep on your current disk drive?
When checking my logs, I found that one of my UDEV rules was still
using SYSFS instead of ATTRS. For me, correcting this was easy as
changing SYSFS to ATTRS.
# grep -i "SYSFS" /etc/udev/rules.d/*.rules
George.
On Thursday, 27-03-2025 at 18:34 W. Pepperdine wrote:
Here are outputs of a few queries on log entries
from one of my XFCE installations. How do they compare
with your logs? Can you see any reports on your
computer that could point to what is causing your issue?
After a system freeze, I rebooted to the desktop as root and
collected these reports. Others looked at them but didn't see a cause
for the freeze.
/var/log/Xorg.0.log (http://paste.debian.net/1365570/) /var/log/Xorg.0.log.old (http://paste.debian.net/1365571/) /var/log/lightdm/lightdm.log (http://paste.debian.net/1365572/) /var/log/lightdm/lightdm.log.old (http://paste.debian.net/1365573/)
dmesg (http://paste.debian.net/1365575/)
journalctl -b -p3 (http://paste.debian.net/1365578/)
Any suggestion for what else to check?
I have three theories for the problem.
1. It's hardware. The problem is that it's a new machine, checks
with other software seem OK, and the freezing occurs only during
login/out.
2. It's LightDM. Since the freezing only happens around login/out,
that seems to point to the display manager, but would a frozen DM take
out the USB ports?
3. It's the kernel configuration. At the moment, that seems most
likely to me. I've been reading that the Lenovo machines can have some
peculiar interactions with kernel modules, so I'm now checking into
that.
On Tuesday, March 25th, 2025 at 6:51 PM, W. Pepperdine wrote:
Debian+XFCE freezes randomly either just before, during, or a
couple seconds after the login screen. It happens about a third the
time, both on booting and on changing users. During a freeze, the
screen displays but is not updated and the USB ports appear inactive.
There is no mouse or keyboard input, not even from SysRq. The only
thing to do is a hard shutdown with the power button.
I first installed Trixie and had this problem and others.
Downgraded to Bookworm and have just this problem left. The machine is
a ThinkCentre M920q with i5-9600T, 8GB RAM, and UHD Graphics 630.
Have already had some discussion of log output on Debian User
Forums.
Computer freezing because of
LightDM?
https://forums.debian.net/viewtopic.php?t=162147
<html>
<head>
<style type="text/css">
body,p,td,div,span{
font-size:13px; font-family:Arial, Helvetica, sans-serif;
};
body p{
margin:0px;
}
</style>
</head>
<body>W. Pepperdine,<br>
<br><div>
Apologies, but I am mostly out of ideas. Hopefully people with more knowledge than myself will assist.</div><div><br></div><div>I could not see any issues in the logs that you provided.<br></div>
I do not think your issue is with LightDM. I still think it might be with hardware.<br>
<div><div><br></div><div>Max suggested checking with journalctl which may help, but I am thinking that if the computer is freezing, then nothing
can get written to the logs anyway, so searching logs may not help.</div><div>For example:<br></div># journalctl --priority=err --no-pager</div><div><br></div><div>If you can, I suggest installing Debian 12 KDE and see if all works or not. KDE does
not use LightDM and instead uses SDDM so if your ThinkCentre M920q then locks up, the issue is not LightDM. If you can easily replace the disk drive in the ThinkCentre M920q with another disk drive, then you could put aside your existing
drive so you do not destroy the data on it while doing this test. However if you have already reinstalled several times, you may not have any data you need to keep on your current disk drive?<br></div><br><div><br></div><div>When checking my logs, I
found that one of my UDEV rules was still using SYSFS instead of ATTRS. For me, correcting this was easy as changing SYSFS to ATTRS.<br></div><div><br></div>
# grep -i "SYSFS" /etc/udev/rules.d/*.rules<br><div><br></div><div>George.</div><div><br></div><div><br></div><div><br></div>
On Thursday, 27-03-2025 at 18:34 W. Pepperdine wrote:<br>
> > Here are outputs of a few queries on log entries<br>
> > from one of my XFCE installations. How do they compare<br>
> > with your logs? Can you see any reports on your<br>
> > computer that could point to what is causing your issue?<br>
> After a system freeze, I rebooted to the desktop as root and collected these reports. Others looked at them but didn't see a cause for the freeze.<br>
> <br>
> /var/log/Xorg.0.log (<a href="
http://paste.debian.net/1365570" target="_blank" class="normal-link">
http://paste.debian.net/1365570</a>/)<br>
> /var/log/Xorg.0.log.old (<a href="
http://paste.debian.net/1365571" target="_blank" class="normal-link">
http://paste.debian.net/1365571</a>/)<br>
> /var/log/lightdm/lightdm.log (<a href="
http://paste.debian.net/1365572" target="_blank" class="normal-link">
http://paste.debian.net/1365572</a>/)<br>
> /var/log/lightdm/lightdm.log.old (<a href="
http://paste.debian.net/1365573" target="_blank" class="normal-link">
http://paste.debian.net/1365573</a>/)<br>
> dmesg (<a href="
http://paste.debian.net/1365575" target="_blank" class="normal-link">
http://paste.debian.net/1365575</a>/)<br>
> journalctl -b -p3 (<a href="
http://paste.debian.net/1365578" target="_blank" class="normal-link">
http://paste.debian.net/1365578</a>/)<br>
> <br>
> Any suggestion for what else to check?<br>
> <br>
> I have three theories for the problem.<br>
> <br>
> 1. It's hardware. The problem is that it's a new machine, checks with other software seem OK, and the freezing occurs only during login/out.<br>
> <br>
> 2. It's LightDM. Since the freezing only happens around login/out, that seems to point to the display manager, but would a frozen DM take out the USB ports?<br>
> 3. It's the kernel configuration. At the moment, that seems most likely to me. I've been reading that the Lenovo machines can have some peculiar interactions with kernel modules, so I'm now checking into that.<br>
> <br>
> On Tuesday, March 25th, 2025 at 6:51 PM, W. Pepperdine <
[email protected]> wrote:<br>
> <br>
> > Debian+XFCE freezes randomly either just before, during, or a couple seconds after the login screen. It happens about a third the time, both on booting and on changing users. During a freeze, the screen displays but is not updated and the USB
ports appear inactive. There is no mouse or keyboard input, not even from SysRq. The only thing to do is a hard shutdown with the power button.<br>
> ><br>
> > I first installed Trixie and had this problem and others. Downgraded to Bookworm and have just this problem left. The machine is a ThinkCentre M920q with i5-9600T, 8GB RAM, and UHD Graphics 630.<br>
> ><br>
> > Have already had some discussion of log output on Debian User Forums.<br>
> ><br>
> > Computer freezing because of LightDM?<a href="
https://forums.debian.net/viewtopic.php?t=162147" target="_blank" class="normal-link">
https://forums.debian.net/viewtopic.php?t=162147</a></body></html>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)