Skip to content
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

Provider terminates unexpectedly after some seconds #16

Open
gonium opened this issue Feb 20, 2015 · 2 comments
Open

Provider terminates unexpectedly after some seconds #16

gonium opened this issue Feb 20, 2015 · 2 comments

Comments

@gonium
Copy link
Contributor

gonium commented Feb 20, 2015

The provider process terminates after some seconds without any error output - this is clearly not intended. This happens on an RPi using Golang 1.3.3:

2015/02/20 12:10:15 Info message: I;Frequency: 49.981992 Hz, delta: -18 mHz
2015/02/20 12:10:15 Received unknown data: 
2015/02/20 12:10:15 Received unknown data: 
2015/02/20 12:10:15 Frequency: 49.98199
2015/02/20 12:10:16 Info message: I;Frequency: 49.979228 Hz, delta: -21 mHz
2015/02/20 12:10:16 Received unknown data: 
2015/02/20 12:10:16 Frequency: 49.97923
2015/02/20 12:10:17 Info message: I;Frequency: 49.976162 Hz, delta: -24 mHz
2015/02/20 12:10:17 Received unknown data: 
2015/02/20 12:10:17 Frequency: 49.97616
2015/02/20 12:10:18 Info message: I;Frequency: 49.975660 Hz, delta: -24 mHz
2015/02/20 12:10:18 Received unknown data: 
2015/02/20 12:10:18 Received unknown data: 
2015/02/20 12:10:18 Frequency: 49.97566

The exitcode is 0. strace does not deliver a good cue.

@jibinpjohn
Copy link

I am experiencing same error. The go version used for cross compilation is 1.8

@jibinpjohn
Copy link

The problem is solved for me. This may be due to the program and kernal trying to access the serial port same time.

One can disable the kernal access by
sudo systemctl disable [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants