By inspecting journalctl logs I found the lightdm service was not dying gracefully on sudo reboot (which I believe first sends a sigterm) and then dying ungracefully still after later receiving a sigkill. This info was not in /var/log/syslog.
gaveThen my SDRAM bricked, AKA my pi died and would power up but not boot, showing a solid red light and 8 short flashes of green. I got an identical pi, put the sd card in, and everything boots fine. I still see the same errors about lightdm, but the pi now reboots in ~40sec.
I'm not going to mark this as solved, because buying a new sd card and rpi is not really solving the problem, but in the process of debugging I found out my sd card and eventually my pi were shot, so I got the easy way out.
Thanks all for the help.
Code:
journalctl -b -1
Code:
23:01:14 raspberrypi systemd[1]: user-1000.slice: Consumed 21.728s CPU time.23:02:44 raspberrypi systemd[1]: lightdm.service: State 'stop-sigterm' timed out. Killing.23:02:44 raspberrypi systemd[1]: lightdm.service: Killing process 546 (lightdm) with signal SIGKILL.23:02:44 raspberrypi systemd[1]: lightdm.service: Killing process 579 (Xorg) with signal SIGKILL.23:02:44 raspberrypi systemd[1]: lightdm.service: Killing process 550 (gmain) with signal SIGKILL.23:02:44 raspberrypi systemd[1]: lightdm.service: Main process exited, code=killed, status=9/KILL23:04:14 raspberrypi systemd[1]: lightdm.service: State 'final-sigterm' timed out. Killing.23:04:14 raspberrypi systemd[1]: lightdm.service: Killing process 579 (Xorg) with signal SIGKILL.23:04:14 raspberrypi systemd[1]: lightdm.service: Failed with result 'timeout'.23:04:14 raspberrypi systemd[1]: lightdm.service: Unit process 579 (Xorg) remains running after unit stopped.23:04:14 raspberrypi systemd[1]: Stopped Light Display Manager.23:04:14 raspberrypi systemd[1]: lightdm.service: Triggering OnFailure= dependencies.23:04:14 raspberrypi systemd[1]: Requested transaction contradicts existing jobs: Transaction for plymouth-quit.service/start is destru>23:04:14 raspberrypi systemd[1]: lightdm.service: Failed to enqueue OnFailure= job, ignoring: Transaction for plymouth-quit.service/sta>23:04:14 raspberrypi systemd[1]: lightdm.service: Consumed 3.007s CPU time.
I'm not going to mark this as solved, because buying a new sd card and rpi is not really solving the problem, but in the process of debugging I found out my sd card and eventually my pi were shot, so I got the easy way out.
Thanks all for the help.
Statistics: Posted by mgrocketman — Mon Apr 01, 2024 9:03 pm