Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.9.1 (build 3096) - 31 October 2020 (please see announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of the NOAA report and Snow Index drop-down menus to 2030)

Use this Wiki link to Download the Software (Cumulus MX / Cumulus 1 and other related items).

CumulusMX on Debian

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

User avatar
MeteoBallino
Posts: 10
Joined: Thu 10 May 2018 3:42 pm
Weather Station: Davis Pro 2, Vue & PCE-FWS 20N
Operating System: Raspberry Pi OS
Location: Ballino, Fiavé (TN) - Italy
Contact:

CumulusMX on Debian

Post by MeteoBallino »

Hello everyone.
I installed debian 10 on a sheevaplug I had. Everything went well, then I also installed mono (mono-complete) to be able to run CumulusMX.
When I try to start CumulusMX I get this error, would you know what it is?


Also I obteined this mono-crash file (mono_crash.9a7fdf6df.0.json):

Code: Select all

{
  "protocol_version" : "0.0.6",
  "configuration" : {
    "version" : "(6.12.0.90) (tarball)",
    "tlc" : "__thread",
    "sigsgev" : "normal",
    "notifications" : "epoll",
    "architecture" : "armel,vfp+fallback",
    "disabled_features" : "none",
    "smallconfig" : "disabled",
    "bigarrays" : "disabled",
    "softdebug" : "enabled",
    "interpreter" : "enabled",
    "llvm_support" : "disabled",
    "suspend" : "preemptive"
  },
  "memory" : {
    "minor_gc_time" : "0",
    "major_gc_time" : "0",
    "minor_gc_count" : "0",
    "major_gc_count" : "0",
    "major_gc_time_concurrent" : "0"
 },
  "threads" : [
 {
    "is_managed" : true,
    "offset_free_hash" : "0x9a7fdf6df",
    "offset_rich_hash" : "0x9a7fdf848",
    "crashed" : true,
    "native_thread_id" : "0xffffffffb6f0e010",
    "thread_info_addr" : "0xfab5b8",
    "thread_name" : "mono",
    "ctx" : {
      "IP" : "0xb6c5b6ac",
      "SP" : "0xbec6f5b0",
      "BP" : "0x10a6ea0"
  },
    "managed_frames" : [
  {
      "is_managed" : "false",
      "native_address" : "unregistered"
   }
,
  {
      "is_managed" : "true",
      "guid" : "9F0DF102-FE6E-4CFE-A29D-2E46F585D8A5",
      "token" : "0x600690d",
      "native_offset" : "0x0",
      "filename" : "mscorlib.dll",
      "sizeofimage" : "0x472000",
      "timestamp" : "0xe43f23f1",
      "il_offset" : "0x00071"
   }
,
  {
      "is_managed" : "true",
      "guid" : "9F0DF102-FE6E-4CFE-A29D-2E46F585D8A5",
      "token" : "0x600001f",
      "native_offset" : "0x0",
      "filename" : "mscorlib.dll",
      "sizeofimage" : "0x472000",
      "timestamp" : "0xe43f23f1",
      "il_offset" : "0x00042"
   }
,
  {
      "is_managed" : "true",
      "guid" : "9F0DF102-FE6E-4CFE-A29D-2E46F585D8A5",
      "token" : "0x6000f6e",
      "native_offset" : "0x0",
      "filename" : "mscorlib.dll",
      "sizeofimage" : "0x472000",
      "timestamp" : "0xe43f23f1",
      "il_offset" : "0x00002"
   }
,
  {
      "is_managed" : "true",
      "guid" : "9F0DF102-FE6E-4CFE-A29D-2E46F585D8A5",
      "token" : "0x6000f6d",
      "native_offset" : "0x0",
      "filename" : "mscorlib.dll",
      "sizeofimage" : "0x472000",
      "timestamp" : "0xe43f23f1",
      "il_offset" : "0x00019"
   }
,
  {
      "is_managed" : "true",
      "guid" : "9F0DF102-FE6E-4CFE-A29D-2E46F585D8A5",
      "token" : "0x6000f6b",
      "native_offset" : "0x0",
      "filename" : "mscorlib.dll",
      "sizeofimage" : "0x472000",
      "timestamp" : "0xe43f23f1",
      "il_offset" : "0x0000f"
   }
,
  {
      "is_managed" : "true",
      "guid" : "9F0DF102-FE6E-4CFE-A29D-2E46F585D8A5",
      "token" : "0x6000f73",
      "native_offset" : "0x0",
      "filename" : "mscorlib.dll",
      "sizeofimage" : "0x472000",
      "timestamp" : "0xe43f23f1",
      "il_offset" : "0x00000"
   }
,
  {
      "is_managed" : "true",
      "guid" : "9F0DF102-FE6E-4CFE-A29D-2E46F585D8A5",
      "token" : "0x6000f68",
      "native_offset" : "0x0",
      "filename" : "mscorlib.dll",
      "sizeofimage" : "0x472000",
      "timestamp" : "0xe43f23f1",
      "il_offset" : "0x00000"
   }
,
  {
      "is_managed" : "true",
      "guid" : "9F0DF102-FE6E-4CFE-A29D-2E46F585D8A5",
      "token" : "0x6001015",
      "native_offset" : "0x0",
      "filename" : "mscorlib.dll",
      "sizeofimage" : "0x472000",
      "timestamp" : "0xe43f23f1",
      "il_offset" : "0x00018"
   }
,
  {
      "is_managed" : "true",
      "guid" : "9F0DF102-FE6E-4CFE-A29D-2E46F585D8A5",
      "token" : "0x6001016",
      "native_offset" : "0x0",
      "filename" : "mscorlib.dll",
      "sizeofimage" : "0x472000",
      "timestamp" : "0xe43f23f1",
      "il_offset" : "0x0000c"
   }
,
  {
      "is_managed" : "true",
      "guid" : "9F0DF102-FE6E-4CFE-A29D-2E46F585D8A5",
      "token" : "0x6000fb9",
      "native_offset" : "0x0",
      "filename" : "mscorlib.dll",
      "sizeofimage" : "0x472000",
      "timestamp" : "0xe43f23f1",
      "il_offset" : "0x00000"
   }
,
  {
      "is_managed" : "true",
      "guid" : "9F0DF102-FE6E-4CFE-A29D-2E46F585D8A5",
      "token" : "0x6000f77",
      "native_offset" : "0x0",
      "filename" : "mscorlib.dll",
      "sizeofimage" : "0x472000",
      "timestamp" : "0xe43f23f1",
      "il_offset" : "0x00000"
   }
,
  {
      "is_managed" : "true",
      "guid" : "9F0DF102-FE6E-4CFE-A29D-2E46F585D8A5",
      "token" : "0x600081c",
      "native_offset" : "0x0",
      "filename" : "mscorlib.dll",
      "sizeofimage" : "0x472000",
      "timestamp" : "0xe43f23f1",
      "il_offset" : "0x00008"
   }
,
  {
      "is_managed" : "true",
      "guid" : "F5DA340E-6068-4DE0-9423-98858416B40E",
      "token" : "0x60008e9",
      "native_offset" : "0x0",
      "filename" : "CumulusMX.exe",
      "sizeofimage" : "0x154000",
      "timestamp" : "0x5f9d6ead",
      "il_offset" : "0x00000"
   }
,
  {
      "is_managed" : "true",
      "guid" : "F5DA340E-6068-4DE0-9423-98858416B40E",
      "token" : "0x00000",
      "native_offset" : "0x0",
      "filename" : "CumulusMX.exe",
      "sizeofimage" : "0x154000",
      "timestamp" : "0x5f9d6ead",
      "il_offset" : "0x00060"
   }

  ]
 },
 {
    "is_managed" : false,
    "offset_free_hash" : "0x0",
    "offset_rich_hash" : "0x0",
    "crashed" : false,
    "native_thread_id" : "0xffffffffb66e3440",
    "thread_info_addr" : "0xffffffffb4a005b8",
    "thread_name" : "Finalizer",
    "ctx" : {
      "IP" : "0xb6dc4754",
      "SP" : "0xb66e2d48",
      "BP" : "0x896408"
  }
  }
  ]
}
Thank you so much.

Luca
You do not have the required permissions to view the files attached to this post.

freddie
Posts: 938
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux Ubuntu 20.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: CumulusMX on Debian

Post by freddie »

Hi,

You don't say which version of mono you have installed - but you need at least version 5 for the latest release of Cumulus MX.
Freddie
Image

User avatar
mcrossley
Posts: 7179
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX on Debian

Post by mcrossley »

It looks like Mono 6.12 from that dump.

The stack trace shows Cumulus attempted to get the current time (DateTime.Now) and that crashed Mono whilst processing the Time Zone info. So something pretty fundamental is wrong somewhere.

Did you install Mono from the Mono Project web site? - www.mono-project.com/download/stable/

User avatar
HansR
Posts: 1536
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
Location: Wagenborgen (NL)
Contact:

Re: CumulusMX on Debian

Post by HansR »

Please note I (and some users of cumulusutils) had similar problems described in this thread.
Ultimately it appeared not a problem, the world kept on truning turning and after a while it stopped. No special actions were taken just updates of our own software.
No idea what is going on, but cmx and the other software simply kept running and recovered.
https://meteo-wagenborgen.nl / Cumulus 3.9.1 (build: 3096)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l
Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:21:54 UTC 2020)

User avatar
MeteoBallino
Posts: 10
Joined: Thu 10 May 2018 3:42 pm
Weather Station: Davis Pro 2, Vue & PCE-FWS 20N
Operating System: Raspberry Pi OS
Location: Ballino, Fiavé (TN) - Italy
Contact:

Re: CumulusMX on Debian

Post by MeteoBallino »

mcrossley wrote:
Fri 20 Nov 2020 4:44 pm
It looks like Mono 6.12 from that dump.

The stack trace shows Cumulus attempted to get the current time (DateTime.Now) and that crashed Mono whilst processing the Time Zone info. So something pretty fundamental is wrong somewhere.

Did you install Mono from the Mono Project web site? - www.mono-project.com/download/stable/

Yes, of course.

I just can't understand.

The process aborts, CumulusMX can't even start.

Gregorean
Posts: 32
Joined: Tue 12 May 2020 11:41 am
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi 3B
Location: Amersfoort, The Netherlands
Contact:

Re: CumulusMX on Debian

Post by Gregorean »

Hello Meteo Ballino, it's really not mono, you're short of memory and really not going to work. On the shevaplug you only have 512MB DDR2 RAM, and 512MB NAND memory. That's really too tight to run Debian properly, let alone CumulusMX. :bash:
I got a BeagleBoneBlack Rev C working myself. The BBB has 4GB 8-bit eMMC Onboard Flash memory I could install Debian Buster on it and Mono 6.12 and CumulusMX 3096 PHP7.3 and a NGINX webserver.
But that cost me over 3.5Gb of memory and left me only 500mb of storage. CumulusMX was running fine but after a day the memory was already full and CumulusMX stopped. :roll:
I then mounted CumulusMX on a 32gb sd card, and now it runs smoothly. :clap:
I run it as a spare next to my Raspberry Pi 3b which also works fine.

In a test someone wrote about the shevaplug: Sheevaplug was one of the biggest disappointments I've ever had in this kind of hardware... if you want a very small Linux box save your money, don't buy Sheevaplug because it's USELESS. :evil:

Sjaak.
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.serverthuis.nl/

User avatar
MeteoBallino
Posts: 10
Joined: Thu 10 May 2018 3:42 pm
Weather Station: Davis Pro 2, Vue & PCE-FWS 20N
Operating System: Raspberry Pi OS
Location: Ballino, Fiavé (TN) - Italy
Contact:

Re: CumulusMX on Debian

Post by MeteoBallino »

Gregorean wrote:
Fri 20 Nov 2020 8:13 pm
Hello Meteo Ballino, it's really not mono, you're short of memory and really not going to work. On the shevaplug you only have 512MB DDR2 RAM, and 512MB NAND memory. That's really too tight to run Debian properly, let alone CumulusMX. :bash:
I got a BeagleBoneBlack Rev C working myself. The BBB has 4GB 8-bit eMMC Onboard Flash memory I could install Debian Buster on it and Mono 6.12 and CumulusMX 3096.
But that cost me over 3.5Gb of memory and left me only 500mb of storage. CumulusMX was running fine but after a day the memory was already full and CumulusMX stopped.
I then mounted CumulusMX on a 32gb sd card, and now it runs smoothly. :clap:
I run it as a spare next to my Raspberry Pi 3b which also works fine.

In a test someone wrote about the shevaplug: Sheevaplug was one of the biggest disappointments I've ever had in this kind of hardware... if you want a very small Linux box save your money, don't buy Sheevaplug because it's USELESS. :evil:

Sjaak.
Hi and thanks for your reply.

But I've installed Debian on an external SD (8GB): do you think it can't work anyway?

User avatar
mcrossley
Posts: 7179
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX on Debian

Post by mcrossley »

Cumulus MX runs OK on a rPi Zero with 512MB of memory and Raspbian Lite. You'll not run much else, and some processes will be a bit slow though!

Gregorean
Posts: 32
Joined: Tue 12 May 2020 11:41 am
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi 3B
Location: Amersfoort, The Netherlands
Contact:

Re: CumulusMX on Debian

Post by Gregorean »

Mark, but he has no Raspberry so Raspbian lite will not work on his shevaplug. ;)

I myself use Debian Buster on my BBB and it is not there in a lite version to my knowledge.

Meteo Ballino now runs Debian 10 on an sd card, I had a problem with that at first because you have a no-exec flag on an SD card and therefore cannot execute CumulusMX.exe. With a automount rule you have to disable this.

I solved this in etc/fstab:

Code: Select all

 /dev/mmcblk0p1 /home/debian ext4 defaults 0 0 

And then installed CumulusMX which runs on the sd card (see below /home/debian), the Debian system (2.2G) runs on the internal 4GB eMMC memory.

Code: Select all

root@beaglebone:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            214M     0  214M   0% /dev
tmpfs            49M  3.4M   45M   7% /run
/dev/mmcblk1p1  3.5G  2.2G  1.2G  66% /
tmpfs           242M  8.0K  242M   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           242M     0  242M   0% /sys/fs/cgroup
/dev/mmcblk0p1   29G   93M   28G   1% /home/debian
tmpfs            49M     0   49M   0% /run/user/0
root@beaglebone:~#
Sjaak.
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.serverthuis.nl/

User avatar
mcrossley
Posts: 7179
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX on Debian

Post by mcrossley »

Ah, I see, its the disk space that's the issue, I was pointing out in can run in 512MB of RAM.

User avatar
MeteoBallino
Posts: 10
Joined: Thu 10 May 2018 3:42 pm
Weather Station: Davis Pro 2, Vue & PCE-FWS 20N
Operating System: Raspberry Pi OS
Location: Ballino, Fiavé (TN) - Italy
Contact:

Re: CumulusMX on Debian

Post by MeteoBallino »

Gregorean wrote:
Fri 20 Nov 2020 9:36 pm
Mark, but he has no Raspberry so Raspbian lite will not work on his shevaplug. ;)

I myself use Debian Buster on my BBB and it is not there in a lite version to my knowledge.

Meteo Ballino now runs Debian 10 on an sd card, I had a problem with that at first because you have a no-exec flag on an SD card and therefore cannot execute CumulusMX.exe. With a automount rule you have to disable this.

I solved this in etc/fstab:

Code: Select all

 /dev/mmcblk0p1 /home/debian ext4 defaults 0 0 

And then installed CumulusMX which runs on the sd card (see below /home/debian), the Debian system (2.2G) runs on the internal 4GB eMMC memory.

Code: Select all

root@beaglebone:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            214M     0  214M   0% /dev
tmpfs            49M  3.4M   45M   7% /run
/dev/mmcblk1p1  3.5G  2.2G  1.2G  66% /
tmpfs           242M  8.0K  242M   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           242M     0  242M   0% /sys/fs/cgroup
/dev/mmcblk0p1   29G   93M   28G   1% /home/debian
tmpfs            49M     0   49M   0% /run/user/0
root@beaglebone:~#
Sjaak.

Thank you so much!
So I have to edit this file like you did?
You do not have the required permissions to view the files attached to this post.

Gregorean
Posts: 32
Joined: Tue 12 May 2020 11:41 am
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi 3B
Location: Amersfoort, The Netherlands
Contact:

Re: CumulusMX on Debian

Post by Gregorean »

Hi, your automount system is of course different from mine, see below
My system starts from the internal 4Gb eMMC memory mmcblk1p1 and CumulusMX is mounted and started on mmcblk0p1 (sd 32Gb).
I don't know if that rule works for you. :?:

Maybe you could run the df -h command in the terminal window and place the output here. I advise you to use Putty for that. I myself use WinScp (Windows 10) which is also linked to Putty, that works very well and you can browse through all your files so easily and you can edit and modify them if you are logged in as root user.

Code: Select all

# /etc/fstab: static file system information.
#
/dev/mmcblk1p1  /  ext4  noatime,errors=remount-ro  0  1
debugfs  /sys/kernel/debug  debugfs  defaults  0  0
/dev/mmcblk0p1    /home/debian  ext4   defaults   0  0
Sjaak.
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.serverthuis.nl/

User avatar
MeteoBallino
Posts: 10
Joined: Thu 10 May 2018 3:42 pm
Weather Station: Davis Pro 2, Vue & PCE-FWS 20N
Operating System: Raspberry Pi OS
Location: Ballino, Fiavé (TN) - Italy
Contact:

Re: CumulusMX on Debian

Post by MeteoBallino »

Thank you so much!


This is my result of the <df -h> command

Code: Select all

debian@debian:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            244M     0  244M   0% /dev
tmpfs            51M  1.5M   49M   3% /run
/dev/mmcblk0p2  6.6G  1.3G  5.0G  21% /
tmpfs           251M  4.0K  251M   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           251M     0  251M   0% /sys/fs/cgroup
/dev/mmcblk0p1  236M   57M  167M  26% /boot
tmpfs            51M     0   51M   0% /run/user/1000
You do not have the required permissions to view the files attached to this post.

Gregorean
Posts: 32
Joined: Tue 12 May 2020 11:41 am
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi 3B
Location: Amersfoort, The Netherlands
Contact:

Re: CumulusMX on Debian

Post by Gregorean »

Ok, now I see that the /boot already has the "defaults" option, and I don't think you need to add that rule. What I do see in your fstab is that you use 2 formatting on line 9 you use ext4 (/) and on line 11 you use ext2 (/boot) :?:
The sheevaplug is already an older system so I don't know if that has anything to do with it.
I don't know your system, I had never heard of it until now. I understand that it is a challenge to get the sheevaplug working, but I would choose a different mini computer myself. I think the BBB is the best alternative for me because it has an internal eMMC memory of 4Gb on which you can run an OS without an sd card.
If something goes wrong with the sd card on my RPI 3b, your whole system is down and you lose everything. I make a backup to my Synology NAS every night so I don't lose my data. With my BBB I have this problem to a lesser extent, the internal eMMC has fewer problems in general than a complete system on a sd card. So far the RPI is running fine but I am still hesitant about an OS on an sd card.
So unfortunately I can't help you much at the moment, I also had to test and try a lot and read a lot to get a working system. :|
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.serverthuis.nl/

User avatar
mcrossley
Posts: 7179
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX on Debian

Post by mcrossley »

Regarding running an OS on an SD card - yes it is going to fail at some point. There are a number of options to mitigate that...

Use an SLC SD card - they tolerate orders of magnitude more write cycles.
Use a larger card than you need - spread the writes over more memory cells.
If you have a pi 3 or 4 you can boot from a USB attached SSD drive (I do this), 128 GB USB 3 SSD drives are cheap.
The pi 4 also allows you to fall back to booting from the SD card if the USB drive fails/isn't available. The pi 3 is a one-way journey to USB boot.
Use symbolic links for all the temp files MX creates (realtime files, all *htmtmp etc) to your in-memory RAM drive.

Post Reply