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

Cannot connect to Redpitaya 250-12 with OS 2.00-30 #394

Open
Zacstein opened this issue May 4, 2024 · 9 comments
Open

Cannot connect to Redpitaya 250-12 with OS 2.00-30 #394

Zacstein opened this issue May 4, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@Zacstein
Copy link

Zacstein commented May 4, 2024

  1. The executable file linien-2.0.0.exe can successfully install linien-server on the redpitaya.
  2. ping and ssh success, but the connection always show time-out error.
  3. The command screen -ls shows no sockets, and after the command linien-server start, screen -ls still shows no sockets. Additionally, screen -r linien-server shows "not matching" error.

I have no idea about how to fix this problem. Thank you in advance!

@Zacstein Zacstein added the bug Something isn't working label May 4, 2024
@chengshufn
Copy link

chengshufn commented May 10, 2024

+1, I'm using Redpitaya STEMlab 125-14 LN, the executable file linien-2.0.0.exe can successfully install linien-server on the redpitaya, but the connection always show time-out error, I've changed the Redpitaya OS version from 2.0.23 to 2.0.35, Every version didn't work.

@bleykauf
Copy link
Collaborator

I forgot to update the README. Linien 2.0 uses systemd rather than screen for running the server. Please run linien-server status or check /root/.local/share/linien/linien.log for debugging.

You can also try to run the server directly with linein-server run.

@Zacstein
Copy link
Author

I forgot to update the README. Linien 2.0 uses systemd rather than screen for running the server. Please run linien-server status or check /root/.local/share/linien/linien.log for debugging.

You can also try to run the server directly with linein-server run.

image

@Zacstein
Copy link
Author

And I check the file linien.log, which is always empty.

@bleykauf
Copy link
Collaborator

OK, so there is something wrong when deploying the gateware...

Could you please verify that the SH256 checksum of the gateware is 47bba375ba97bb1e9de0261844b2e527521bea795e3f6233e65247a0ba4a41bf?

You can do this by running

sha256sum /usr/local/lib/python3.10/dist-packages/linien_server/gateware.bin

Also, I just uploaded a new version yesterday. The old one had a severe bug related to the autolock.

@Zacstein
Copy link
Author

I change to use the new version linien-2.0.2.exe, but encounter new bug.
dff74ed7e2ee4fc58fe4eb1aa252bb4

And I also verify the SH256 checkesum of the gateware, which is correct.
4de5b23c78b99402124775791d1aad4

@bleykauf
Copy link
Collaborator

bleykauf commented May 15, 2024

Edit: Sorry, its not the parameters.json that got corrupted but influxdb_credentials.json: Please delete it, rm /root/.local/share/linien/influxdb_credentials.json, and try again.~~

Looks like the parameters.json got corrupted due to the crash when uploading the gateware. Please delete it, rm /root/.local/share/linien/parameters.json, and try again.

@Zacstein
Copy link
Author

Thanks for your quick reply! I delete the json file, but the old bug apears.....
aa8b8489564a8b94273d875f81ed563

2e3610134cbbeff0f9b0dc5d4fe6210

@bleykauf
Copy link
Collaborator

That is odd. I did test specifically test with the same OS version and STEMlab 125-14 LN without any issue. I would not rule out some hardware issue. Do you happen to have another RP lying around that you could test on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants