NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-arm/56842: Cron hangs on Raspberry Pi Zero 2W



>Number:         56842
>Category:       port-arm
>Synopsis:       Cron hangs on Raspberry Pi Zero 2W
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 16 18:45:00 +0000 2022
>Originator:     Jim Spath
>Release:        NetBSD 9.2_STABLE
>Organization:
>Environment:
System: NetBSD n0b 9.2_STABLE NetBSD 9.2_STABLE (GENERIC) #0: Mon Apr 25 12:39:27 UTC 2022 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC evbarm

>Description:
New install of NetBSD 9.2 (stable) on a Raspberry Pi Zero 2W.
Followed install from: https://mail-index.netbsd.org/port-arm/2022/02/14/msg007592.html

I have a shell script that should run every minute. After several days of uptime, I noticed the cron commands were not being processed.

I tried to start and stop the cron process using /etc/rc.d script, and that worked to resume processing for a little while.

I can find no obvious error messages in /var/log.

If I run a command to show a crontab listing, that works and the attempt is logged:

= =
$ crontab -u _httpd -l

#
[...]

$ tail /var/log/cron
[...]
May 15 09:21:00 n0b cron[17560]: (_httpd) CMD FINISH (/usr/local/www/bin/graph-cputemp.sh >>/usr/local/www/logs/crontab-graph.log 2>>/usr/local/www/logs/crontab-graph.err)
May 16 18:25:30 n0b crontab[9766]: (root) LIST (_httpd)
= = =
ls -l  /usr/local/www/logs/crontab-graph.???
-rw-r--r--  1 _httpd  _httpd     684 Apr 28 00:40 /usr/local/www/logs/crontab-graph.err
-rw-r--r--  1 _httpd  _httpd  695088 May 15 09:21 /usr/local/www/logs/crontab-graph.log
= = =


The system has a USB Ethernet adapter connected, and is otherwise a stock Pi Zero 2W.

The logrotate pkg is set up in cron also:

# Thu Apr 28 00:16:45 UTC 2022
0       0       *       *       *       /usr/pkg/sbin/logrotate /usr/pkg/etc/logrotate.conf

No email from daily root cron jobs since May 4, 2022.


The dmesg output is replicated here:

https://jspath55.blogspot.com/2022/04/raspberry-pi-zero-2-w-netbsd-dmesg-text.html




>How-To-Repeat:
Unsure how to repeat elsewhere.
Issue recurred after a reboot.
>Fix:
Unknown.



Home | Main Index | Thread Index | Old Index