I am running a CM5 (Lite with 4G RAM, no wireless) with the Dev Kit (CM5 I/O + passive heatsink + fan resting on top with chassis lid removed). I'm using a Sandisk uSD card and have an HDMI monitor plugged into port 0, Ethernet connected, a Logitech K400r KB/Trackpad, and the RPi power adapter connected. All connected hardware has been used and works fine with assorted Pi4/CM4/Pi5 setups over the last few years. The CM5 boots and runs normally for a while, but eventually seems to just turn itself off. It doesn't appear to do a clean shutdown, the power LED on the I/O board just turns off, the fan goes to full speed (expected if the CM5 turns off) and my connected ssh sessions drop. I can turn the CM5 back on by pressing the power button, but if I do this too soon after the shutdown, the boot process dies (typically while the kernel is booting) and the CM5 doesn't reach a login prompt.
Any ideas what could be going wrong? It feels like a thermal issue, but the CM5 is only running in the 40 deg. C range and my understanding is the CPU will throttle rather than simply turn off. I thought it might be a a power issue but I've tried several RPi 27W supplies with the same results, and they're behind a Liebert on-line UPS so I doubt it's any sort of short-term "flicker" in the AC mains causing the problem.
Anyone know what can make a CM5 just shutdown "Right-Now" vs. throttle or cleanly power down which might help me figure out what's wrong with my setup?
Here's the output from my last test run, I'm running "uptime" and "vcgencmd measure_temp" every 15 seconds in one ssh window, and htop in the other. Other than that, the system is idle. It takes about 25 minutes before the system temp hits 40 deg., it first hit 42.8 deg (the last reported temp before it shutdown) after about 40 minutes, so it was thermally stable for about 55 minutes before shutting down.
Any ideas what could be going wrong? It feels like a thermal issue, but the CM5 is only running in the 40 deg. C range and my understanding is the CPU will throttle rather than simply turn off. I thought it might be a a power issue but I've tried several RPi 27W supplies with the same results, and they're behind a Liebert on-line UPS so I doubt it's any sort of short-term "flicker" in the AC mains causing the problem.
Anyone know what can make a CM5 just shutdown "Right-Now" vs. throttle or cleanly power down which might help me figure out what's wrong with my setup?
Here's the output from my last test run, I'm running "uptime" and "vcgencmd measure_temp" every 15 seconds in one ssh window, and htop in the other. Other than that, the system is idle. It takes about 25 minutes before the system temp hits 40 deg., it first hit 42.8 deg (the last reported temp before it shutdown) after about 40 minutes, so it was thermally stable for about 55 minutes before shutting down.
Code:
pi@raspberrypi:~ $ while : ; do uptime ; vcgencmd measure_temp ; sleep 15 ; done 13:40:09 up 0 min, 1 user, load average: 0.13, 0.04, 0.01temp=22.4'C 13:40:24 up 1 min, 1 user, load average: 0.10, 0.04, 0.01temp=23.0'C 13:40:39 up 1 min, 1 user, load average: 0.08, 0.04, 0.01temp=24.6'C<snip> 15:12:12 up 1:33, 2 users, load average: 0.00, 0.00, 0.00temp=42.8'C 15:12:27 up 1:33, 2 users, load average: 0.00, 0.00, 0.00temp=42.2'C 15:12:42 up 1:33, 2 users, load average: 0.00, 0.00, 0.00temp=43.3'C 15:12:57 up 1:33, 2 users, load average: 0.00, 0.00, 0.00temp=42.8'C 15:13:12 up 1:34, 2 users, load average: 0.00, 0.00, 0.00temp=42.8'C 15:13:27 up 1:34, 2 users, load average: 0.00, 0.00, 0.00temp=43.9'C 15:13:42 up 1:34, 2 users, load average: 0.00, 0.00, 0.00temp=42.8'C 15:13:57 up 1:34, 2 users, load average: 0.00, 0.00, 0.00temp=42.8'C
Code:
pi@raspberrypi:~ $ htop 0[ 0.0%] Tasks: 28, 7 thr, 115 kthr; 2 running 1[|| 2.7%] Load average: 0.00 0.00 0.00 2[ 0.0%] Uptime: 01:34:44 3[| 0.7%] Mem[||||||||| 125M/3.95G] Swp[ 0K/512M] [Main] [I/O] PID USER PRI NI VIRT RES SHR S CPU%▽MEM% TIME+ Command 1806 pi 20 0 8656 4096 2560 R 0.7 0.1 0:02.27 htop 1 root 20 0 165M 11168 8192 S 0.0 0.3 0:02.38 /sbin/init 290 root 20 0 50464 14336 12800 S 0.0 0.3 0:00.13 /lib/systemd/systemd-journald 309 root 20 0 26784 6656 4096 S 0.0 0.2 0:00.16 /lib/systemd/systemd-udevd 544 systemd-ti 20 0 91072 6656 5632 S 0.0 0.2 0:00.04 /lib/systemd/systemd-timesyncd 546 systemd-ti 20 0 91072 6656 5632 S 0.0 0.2 0:00.00 /lib/systemd/systemd-timesyncd 548 avahi 20 0 7600 3072 2560 S 0.0 0.1 0:00.03 avahi-daemon: running [raspberrypi.local] 549 root 20 0 13504 4608 4096 S 0.0 0.1 0:00.02 /usr/libexec/bluetooth/bluetoothd 550 root 20 0 6880 2048 2048 S 0.0 0.0 0:00.00 /usr/sbin/cron -f 551 messagebus 20 0 8928 2560 2048 S 0.0 0.1 0:00.07 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation -- 554 polkitd 20 0 230M 6656 5632 S 0.0 0.2 0:00.00 /usr/lib/polkit-1/polkitd --no-debug 561 root 20 0 34192 7680 6144 S 0.0 0.2 0:00.03 /lib/systemd/systemd-logind 562 nobody 20 0 6032 2048 2048 S 0.0 0.0 0:00.01 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody 571 avahi 20 0 7424 1536 1024 S 0.0 0.0 0:00.00 avahi-daemon: chroot helper 631 polkitd 20 0 230M 6656 5632 S 0.0 0.2 0:00.00 /usr/lib/polkit-1/polkitd --no-debug 636 polkitd 20 0 230M 6656 5632 S 0.0 0.2 0:00.00 /usr/lib/polkit-1/polkitd --no-debug 637 root 20 0 257M 18944 15360 S 0.0 0.5 0:00.19 /usr/sbin/NetworkManager --no-daemon 639 root 20 0 16688 5632 4608 S 0.0 0.1 0:00.01 /sbin/wpa_supplicant -u -s -O DIR=/run/wpa_supplicant GROUP=netdev 645 root 20 0 244M 11776 8704 S 0.0 0.3 0:00.04 /usr/sbin/ModemManager 658 root 20 0 244M 11776 8704 S 0.0 0.3 0:00.00 /usr/sbin/ModemManager 660 root 20 0 244M 11776 8704 S 0.0 0.3 0:00.00 /usr/sbin/ModemManager 661 root 20 0 257M 18944 15360 S 0.0 0.5 0:00.03 /usr/sbin/NetworkManager --no-daemon 662 root 20 0 257M 18944 15360 S 0.0 0.5 0:00.00 /usr/sbin/NetworkManager --no-daemon 667 root 20 0 5744 1536 1536 S 0.0 0.0 0:00.00 /sbin/agetty -o -p -- \u --noclear - linux 668 root 20 0 5360 1536 1536 S 0.0 0.0 0:00.00 /sbin/agetty -o -p -- \u --keep-baud 115200,57600,38400,9600 - vt220 677 root 20 0 16816 8704 7168 S 0.0 0.2 0:00.01 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups 728 root 20 0 20000 10704 8192 S 0.0 0.3 0:00.12 sshd: pi [priv] 731 pi 20 0 19920 10240 8192 S 0.0 0.2 0:00.06 /lib/systemd/systemd --user 732 pi 20 0 166M 5568 1536 S 0.0 0.1 0:00.00 (sd-pam) 751 pi 20 0 20272 6720 4608 S 0.0 0.2 0:00.12 sshd: pi@pts/0 752 pi 20 0 8240 4608 3072 S 0.0 0.1 0:00.41 -bash 1764 root 20 0 20000 10704 8192 S 0.0 0.3 0:00.13 sshd: pi [priv] 1770 pi 20 0 20272 6720 4608 S 0.0 0.2 0:00.08 sshd: pi@pts/1 1771 pi 20 0 8240 4608 3072 S 0.0 0.1 0:00.01 -bash 2049 pi 20 0 5312 1536 1536 S 0.0 0.0 0:00.00 sleep 15
Statistics: Posted by cdsteinkuehler — Fri Jan 03, 2025 7:39 pm