-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Under-voltage warnings when /etc/cron.daily runs #2491
Comments
I was getting the same, but replacing my power supply appears to have fixed it |
These warning simply pass on the results of the low voltage detection circuitry. So you have a low voltage situation, usually caused by a inadequate power supply or power cable. |
As per my original discussion I bought a new power supply that is rated for 5v and 3A which is more powerful that the old 2.5A power adapters. I am getting the following messages using the new power adapter. Also, I receive many more Voltage normalised messages that I do Under-voltage messages which I find curious as well. grep Under /var/log/syslog grep Voltage /var/log/messages |
Yep, I suspect your new power supply is no better. I bought one that was rated fine for the Pi as well, and it was still shitty. I ended up with an official one and it's fine. |
I appears that the Under-voltage issue was caused by a case fan that was powered off of the GPIO. |
Top of syslog:
Apr 5 03:25:37 motionpi3 liblogging-stdlog: [origin software="rsyslogd" swVersion="8.24.0" x-pid="355" x-info="http://www.rsysl$
Apr 5 03:27:29 motionpi3 kernel: [44909.410295] Under-voltage detected! (0x00050005)
Apr 5 03:27:35 motionpi3 kernel: [44915.650294] Voltage normalised (0x00000000)
Apr 5 03:29:29 motionpi3 kernel: [45030.060770] Under-voltage detected! (0x00050005)
Apr 5 03:29:33 motionpi3 kernel: [45034.210692] Voltage normalised (0x00000000)
Apr 5 03:30:01 motionpi3 CRON[15736]: (root) CMD ( PATH="$PATH:/usr/local/bin/" pihole updatechecker local)
Apr 5 03:39:01 motionpi3 CRON[15794]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /u$
Apr 5 03:39:01 motionpi3 CRON[15796]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Apr 5 03:39:06 motionpi3 systemd[1]: Starting Clean php session files...
Apr 5 03:39:06 motionpi3 systemd[1]: Started Clean php session files.
Apr 5 03:40:01 motionpi3 CRON[15880]: (root) CMD ( PATH="$PATH:/usr/local/bin/" pihole updatechecker local)
Apr 5 03:50:01 motionpi3 CRON[15939]: (root) CMD ( PATH="$PATH:/usr/local/bin/" pihole updatechecker local)
Apr 5 03:57:28 motionpi3 kernel: [46708.615260] Under-voltage detected! (0x00050005)
Apr 5 03:57:34 motionpi3 kernel: [46714.855234] Voltage normalised (0x00000000)
At no other time daily do I get Under-voltage messages.
/etc/crontab:
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 3 * * * root cd / && run-parts --report /etc/cron.daily
47 4 * * 7 root cd / && run-parts --report /etc/cron.weekly
52 4 1 * * root cd / && run-parts --report /etc/cron.monthly
47 1 * * 7 root ionice -c 3 fstrim -v /
Other notes:
Raspberry Pi 3 with Raspian Stretch
uname -a: Linux motionpi3 4.14.32-v7+ #1106 SMP Wed Apr 4 18:19:23 BST 2018 armv7l GNU/Linux
Replaced CanaKit 2.5 A Pi adapter with a new 3A capable Pi power adapter.
Pi used for a combination of Home Automation devices through hostapd, motion detection and Pihole.
top - 14:36:11 up 23:37, 1 user, load average: 1.93, 1.94, 1.95
Tasks: 107 total, 1 running, 66 sleeping, 0 stopped, 0 zombie
%Cpu(s): 6.0 us, 2.8 sy, 38.3 ni, 52.7 id, 0.1 wa, 0.0 hi, 0.3 si, 0.0 st
KiB Mem : 949452 total, 129212 free, 137728 used, 682512 buff/cache
KiB Swap: 102396 total, 102140 free, 256 used. 463916 avail Mem
Power usage:
Running headless with one usb based Wifi adapter:
Hawking Technologies HAWNU1 Hi-Gain Wireless-150N Network Adapter with Range Amplifier [Ralink RT3070]
No overclocking.
root@motionpi3:/etc/cron.daily# ls -l
total 64
-rwxr-xr-x 1 root root 268 Nov 3 2014 00logwatch
-rwxr-xr-x 1 root root 1474 Sep 13 2017 apt-compat
-rwxr-xr-x 1 root root 15001 Nov 21 2016 apt.dpkg-bak
-rwxr-xr-x 1 root root 314 Jun 15 2014 aptitude
-rwxr-xr-x 1 root root 355 Oct 28 2014 bsdmainutils
-rwxrwxrwx 1 root root 264 Sep 12 2016 ClearMotionLog
-rwxr-xr-x 1 root root 1597 Nov 26 2015 dpkg
-rwxr-xr-x 1 root root 338 Aug 6 2016 lighttpd
-rwxr-xr-x 1 root root 2211 Jul 11 2014 locate
-rwxr-xr-x 1 root root 90 Apr 5 06:49 logrotate
-rwxr-xr-x 1 root root 1065 Dec 13 2016 man-db
-rwxr-xr-x 1 root root 1386 Aug 8 2017 ntp
-rwxr-xr-x 1 root root 249 Jan 23 2016 passwd
So, I am puzzled why I get these Under-voltage messages only when it seems that cron.daily is running.
The text was updated successfully, but these errors were encountered: