Bug with Pi OS 64 and Raspberry Zero 2w

579 views
Skip to first unread message

Remy Lavabre

unread,
Oct 1, 2022, 12:44:06 PM10/1/22
to weewx-user
Good morning all.
I have been using weewx for 3 years with pi os 32B without any problem with a pi zero w then 2w.
Since I switched to version 64B, I have had lots of incomprehensible crashes with the pi not responding and having to reset. weewx is not in question.
I tried to increase the swap, to switch to a 3A power supply, to go back to the non-gl drivers, nothing helped! 

Have you noticed this kind of thing in 64 bits? is there a way to fix the problem? thank you..

michael.k...@gmx.at

unread,
Oct 1, 2022, 2:36:42 PM10/1/22
to weewx-user
I'm using weewx on a Raspberry Pi 4B with Rasperry Pi OS 64 bit without any issues.

vince

unread,
Oct 1, 2022, 2:46:04 PM10/1/22
to weewx-user
Are you trying to run a full desktop on the zero?
And why would you run a 64 bit os on a box with 1 GB of RAM anyway ?

John Kline

unread,
Oct 1, 2022, 3:50:15 PM10/1/22
to weewx...@googlegroups.com
I only run 64 bit on my Raspberry Pi 4s because lots/most software is no longer sufficiently tested on 32bits.  Even is WeeWX is well tested on 32-bits, there is so much more that is running, and being updated, on the Pi.  As such, I would not push back on that IN MOST CASES.

But this is a case where you probably shouldn’t be running it.  I *think* the Pi Zero only has 512MB of RAM.  What all is running on the Pi Zero?  I expect it might be slow (there are plenty of reports of that), but I’m surprised there are crashes.

On Oct 1, 2022, at 11:46 AM, vince <vince...@gmail.com> wrote:

Are you trying to run a full desktop on the zero?
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/f2f85b75-b169-4a44-b189-e424684e93dbn%40googlegroups.com.

Karen K

unread,
Oct 1, 2022, 4:20:16 PM10/1/22
to weewx-user
Could there be a temperature issue?

vince

unread,
Oct 1, 2022, 4:57:41 PM10/1/22
to weewx-user
In the absence of the original poster sharing any logs, we're unlikely to be able to help.

Remy Lavabre

unread,
Oct 2, 2022, 4:35:27 AM10/2/22
to weewx-user
Thank you for all the answers.
For information, the Pi Zero 2W is 64N with 512K of memory.
I used it in 64B version in lite version without screen.
I installed a cooler and its temperature is around 42°C on average. So there is no overheating.
Diagrams over several days show no overhead and no memory overflow. As a precaution, I modified the swap to 1024 instead of the original 256 but without any change!
Syslog and usersylog don't show anything special. Pi seems to completely crash and stop. No more SSH or HTTP connection and Weewx no longer records anything on the shutdown period.

Capture d’écran du 2022-10-02 10-22-48.png
User LOG :

Oct  2 01:10:54 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: Generated 2 files for report wxobs in 0.32 seconds
Oct  2 01:10:54 RPi-Meteo weewx[601] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx/wxobs
Oct  2 01:11:14 RPi-Meteo weewx[601] INFO weewx.reportengine: ftpgenerator: Ftp'd 78 files in 19.97 seconds
Oct  2 01:15:18 RPi-Meteo weewx[601] INFO weewx.manager: Added record 2022-10-02 01:15:19 CEST (1664666119) to database 'cmon.sdb'
Oct  2 01:15:18 RPi-Meteo weewx[601] INFO weewx.manager: Added record 2022-10-02 01:15:19 CEST (1664666119) to daily summary in 'cmon.sdb'
Oct  2 01:15:26 RPi-Meteo weewx[601] INFO weewx.manager: Added record 2022-10-02 01:15:00 CEST (1664666100) to database 'weewx.sdb'
Oct  2 01:15:26 RPi-Meteo weewx[601] INFO weewx.manager: Added record 2022-10-02 01:15:00 CEST (1664666100) to daily summary in 'weewx.sdb'
Oct  2 01:15:27 RPi-Meteo weewx[601] INFO weewx.restx: WeatherCloud: Published record 2022-10-02 01:15:00 CEST (1664666100)
Oct  2 01:15:27 RPi-Meteo weewx[601] INFO user.historygenerator: historygenerator.py: Generated 6 tables in 0.29 seconds
Oct  2 01:15:30 RPi-Meteo weewx[601] INFO weewx.restx: Wunderground-PWS: Published record 2022-10-02 01:15:00 CEST (1664666100)
Oct  2 01:15:32 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: Generated 10 files for report SeasonsReport2 in 4.78 seconds
Oct  2 01:15:34 RPi-Meteo weewx[601] INFO weewx.imagegenerator: Generated 20 images for report SeasonsReport2 in 2.16 seconds
Oct  2 01:15:34 RPi-Meteo weewx[601] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Oct  2 01:15:34 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: Generated 1 files for report Inigo in 0.38 seconds
Oct  2 01:15:34 RPi-Meteo weewx[601] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx/ss
Oct  2 01:15:35 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: Generated 2 files for report SteelSeries in 0.19 seconds
Oct  2 01:15:35 RPi-Meteo weewx[601] INFO weewx.imagegenerator: Generated 11 images for report SteelSeries in 0.92 seconds
Oct  2 01:15:36 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: Generated 1 files for report cmon in 0.04 seconds
Oct  2 01:16:01 RPi-Meteo weewx[601] INFO weewx.imagegenerator: Generated 32 images for report cmon in 25.31 seconds
Oct  2 01:16:01 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: Generated 2 files for report wxobs in 0.32 seconds
Oct  2 01:16:01 RPi-Meteo weewx[601] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx/wxobs
Oct  2 01:16:28 RPi-Meteo weewx[601] INFO weewx.reportengine: ftpgenerator: Ftp'd 82 files in 26.84 seconds
----------------------------- CRASHES
Oct  2 07:17:11 RPi-Meteo mtp-probe: checking bus 1, device 3: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1"
Oct  2 07:17:11 RPi-Meteo mtp-probe: bus: 1, device: 3 was not an MTP device
Oct  2 07:17:11 RPi-Meteo mtp-probe: checking bus 1, device 5: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4"
Oct  2 07:17:11 RPi-Meteo mtp-probe: checking bus 1, device 4: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3"
Oct  2 07:17:11 RPi-Meteo mtp-probe: bus: 1, device: 5 was not an MTP device
Oct  2 07:17:11 RPi-Meteo mtp-probe: bus: 1, device: 4 was not an MTP device
Oct  2 07:17:11 RPi-Meteo udisksd[393]: udisks daemon version 2.9.2 starting
Oct  2 07:17:12 RPi-Meteo udisksd[393]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory
Oct  2 07:17:12 RPi-Meteo udisksd[393]: Failed to load the 'mdraid' libblockdev plugin

Remy Lavabre

unread,
Oct 2, 2022, 5:37:48 AM10/2/22
to weewx-user
Yes the Pi Zero 2W ONLY runs WeeWX.
I added some Python software for WEEWX skin complement and backup (USB SSD and cloud).

I am well aware that these crashes are not related to WEEWX which is written in Python.
Besides, I have already had problems with crashes when launching sudo apt update, for example. The Pi suddenly shut down with a fresh install, PiOS lite 64B and no software other than WeeWX and the Python libraries!
The purpose of my message was to know if others had tried WeeWX 24/24 7/7 in 64B on a Pi Zero 2W...
Thank-you...
Reply all
Reply to author
Forward
0 new messages