Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Regular Linux Mint failures with latest MX build

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
fury88
Posts: 15
Joined: Thu May 20, 2010 5:20 pm
Weather Station: Vantage Pro 2 (fw 1.7.3)
Operating System: Linux Mint 18.1 x64

Regular Linux Mint failures with latest MX build

Postby fury88 » Fri Nov 17, 2017 1:57 pm

Hi all,

Curious if anyone has run into this problem. It seems that my Cumulus MX crashes about every few weeks on Linux Mint. It probably doesn’t have anything to do with the OS itself but not sure. Unfortunately when it dies it locks up the serial port and if I try to restart via script it says it can’t connect to the port. I usually do a quick shutdown and run the script again. I’ll consider writing a script to monitor it but if I could figure out how to unlock the serial port that would be the best. Anyway if anyone has experienced this please let me know. Otherwise it’s off to the search engines to piece together a script!

Thanks.

-Matt

User avatar
steve
Cumulus Author
Posts: 26318
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in Portugal
Contact:

Re: Regular Linux Mint failures with latest MX build

Postby steve » Fri Nov 17, 2017 3:35 pm

What exactly do you mean by “crashes”? Does it exit abnormally and print an exception to the console? What does the end of the diags file look like? Hopefully you have debug logging turned on?
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

fury88
Posts: 15
Joined: Thu May 20, 2010 5:20 pm
Weather Station: Vantage Pro 2 (fw 1.7.3)
Operating System: Linux Mint 18.1 x64

Re: Regular Linux Mint failures with latest MX build

Postby fury88 » Fri Nov 17, 2017 3:39 pm

Hey Steve,

I thought I read you were on vacation! No need to reply if you are!

Yes, it abnormally exits Cumulus MX back to the command line. I SHOULD have debugging turned on due to some issues you helped me with in the spring. It does tell me to zip up the log files and send them in. I can do that at your convenience.

-Matt

User avatar
steve
Cumulus Author
Posts: 26318
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in Portugal
Contact:

Re: Regular Linux Mint failures with latest MX build

Postby steve » Fri Nov 17, 2017 3:57 pm

I’m on permanent vacation now :lol:

Yes, the log files would be good. I think they may just show an exception accessing the serial port, and MX has no recovery from that.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

fury88
Posts: 15
Joined: Thu May 20, 2010 5:20 pm
Weather Station: Vantage Pro 2 (fw 1.7.3)
Operating System: Linux Mint 18.1 x64

Re: Regular Linux Mint failures with latest MX build

Postby fury88 » Tue Nov 28, 2017 7:22 pm

Ok, Steve, finally got the log files! They are attached. LOL It crashed again this morning. Strange, Weather Underground used to send me emails when I stopped reporting but I've noticed they are cutting back on a lot since TWC bought them. I haven't had an email in months.
You do not have the required permissions to view the files attached to this post.

User avatar
steve
Cumulus Author
Posts: 26318
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in Portugal
Contact:

Re: Regular Linux Mint failures with latest MX build

Postby steve » Tue Nov 28, 2017 7:32 pm

There was an I/O exception accessing the serial port, MX doesn’t handle this I’m afraid.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

fury88
Posts: 15
Joined: Thu May 20, 2010 5:20 pm
Weather Station: Vantage Pro 2 (fw 1.7.3)
Operating System: Linux Mint 18.1 x64

Re: Regular Linux Mint failures with latest MX build

Postby fury88 » Wed Nov 29, 2017 2:17 am

Which is what you expected, right? Can a recovery timeout be increased or is there any clue as to what might be causing it?

User avatar
steve
Cumulus Author
Posts: 26318
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in Portugal
Contact:

Re: Regular Linux Mint failures with latest MX build

Postby steve » Wed Nov 29, 2017 10:36 am

I’m afraid there’s no information as to the cause.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

fury88
Posts: 15
Joined: Thu May 20, 2010 5:20 pm
Weather Station: Vantage Pro 2 (fw 1.7.3)
Operating System: Linux Mint 18.1 x64

Re: Regular Linux Mint failures with latest MX build

Postby fury88 » Wed Nov 29, 2017 7:06 pm

Ok. It's likely the driver or something. I'll see if there are any updates. Would this be something you might address in a future build? Thanks for all your help!

User avatar
steve
Cumulus Author
Posts: 26318
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in Portugal
Contact:

Re: Regular Linux Mint failures with latest MX build

Postby steve » Wed Nov 29, 2017 7:13 pm

If there are any future builds, handling the exception is something I could add. Whether just handling the exception would help much, I couldn’t say.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

fury88
Posts: 15
Joined: Thu May 20, 2010 5:20 pm
Weather Station: Vantage Pro 2 (fw 1.7.3)
Operating System: Linux Mint 18.1 x64

Re: Regular Linux Mint failures with latest MX build

Postby fury88 » Wed Nov 29, 2017 7:18 pm

Understood! Right now it seems to keep hold of the port. I can't connect once it crashes. I have to restart the system. If I could figure out what port it is connecting to I might be able to kill the process but I haven't been able to find it. ;-) It's emulating serial through USB.

jlmr731
Posts: 113
Joined: Sat Aug 27, 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Youngstown, Ohio
Contact:

Re: Regular Linux Mint failures with latest MX build

Postby jlmr731 » Thu Nov 30, 2017 2:06 am

you can try searching for your usb by running lsusb this will show all usb devices you can also add -v to get more details.
There is a program you can try called usbreset more info here https://unix.stackexchange.com/questions/234581/disconnect-and-reconnect-usb-port-via-cli
It would be worth a try instead of rebooting

fury88
Posts: 15
Joined: Thu May 20, 2010 5:20 pm
Weather Station: Vantage Pro 2 (fw 1.7.3)
Operating System: Linux Mint 18.1 x64

Re: Regular Linux Mint failures with latest MX build

Postby fury88 » Thu Nov 30, 2017 3:17 am

jlmr731 wrote:you can try searching for your usb by running lsusb this will show all usb devices you can also add -v to get more details.
There is a program you can try called usbreset more info here https://unix.stackexchange.com/questions/234581/disconnect-and-reconnect-usb-port-via-cli
It would be worth a try instead of rebooting


Thanks much! Great find. I compiled and tested and it works great. I’ll have to script a cron job to check for the crash and reset and restart. Should be fun little project. :D


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 7 guests