problem with initial firmware install.

Hello! when I do the initial firmware install, it will say that my octopus is detected but not responding. so i choose the automatic flash over USB. It usually runs for 5 min and then gives me this error. am i doing soething wrong?
No description
79 Replies
miklschmidt
miklschmidt17mo ago
Looks like a bug, have you used something like WinSCP before? I need the contets of /var/log/ratos-configurator.log Also check this: https://discord.com/channels/582187371529764864/1113869513386119199/1114249265561227395
jannu198
jannu198OP17mo ago
I have not but i can take a look and send it here
jannu198
jannu198OP17mo ago
i hope this is the right one. thank you for replying so quick!
jannu198
jannu198OP17mo ago
It seems like it couldnt find klipper
No description
miklschmidt
miklschmidt17mo ago
Ah this is my bad its sudo systemctl start klipper
jannu198
jannu198OP17mo ago
Okay. Entered it in and waited the 10 minutes. Now when i go trough the configuration I am welcomed with the same error: “octopus is detected but is unresponsive”. When I press flash automatically it flashes for a few minutes and then says again that the board is detected but unresponsive. It doesn’t give any error code anymore. If it helps. I am using a rapberry pi 3 mod b My pc is not connected to the internet while I configure the pi. I do not have wifi for the pi to connect so I skip that part of the install I use ubuntu linux, I don’t think it should affect anythinf Maybe something here will tell you what can be the bad actor
miklschmidt
miklschmidt17mo ago
I think at this point i would recommend you reflash the SD card. Something has gone wrong Please use Balena Etcher if you didn't the first time (it has a verification process)
jannu198
jannu198OP17mo ago
Alright, will do! So an update… i re formatted the sd card with .bin file and reburned the ratos on to a sd card. I still have the same issues, even if i manually start klipper from ssh. Tomorrow i will have access to a windows laptop, where i can try if the problem is linux related. I tried it on windows laptop. Wiped everything clean and flashed a new ratOS on to the PI. Still get the same issues. Is there a way to know if my octopus is faulty?
miklschmidt
miklschmidt17mo ago
It's not your octopus. Which RatOS image are you using?
jannu198
jannu198OP17mo ago
2023-04-11-RatOS-v2.0.1-raspberry-rpi32.img.xz this is the file name i didnt use the 64bit one because i have an old pi 3b
miklschmidt
miklschmidt17mo ago
Please try v2.0.2 there is almost no situation where the 64bit version is preferable.
jannu198
jannu198OP17mo ago
alright, i just started the download, will update you when i load it up. didnt know there was v2.0.2
miklschmidt
miklschmidt17mo ago
i released it recently has been in pre-release for a long time I believe your 2.0.1 image is corrupted (can happen during download)
jannu198
jannu198OP17mo ago
alright. lets hope this is the issue i did redownload it on another device and still had the issue
miklschmidt
miklschmidt17mo ago
It's inifinitely unlikely to corrupt in a way that results in that error twice. Nobody else has had your particular error though, so.. something is up
jannu198
jannu198OP17mo ago
yeah thats what i am wondering. before you wrote i was going to try PIdoctor to see if my pi is F-d
miklschmidt
miklschmidt17mo ago
I can't rule it out, but it's not the first conclusion i would make from the error you're getting. It's the c compiler that's complaining about what i assume is a missing binary.
jannu198
jannu198OP17mo ago
is there a possability that the binary i get from ratos confuration wizard is bad? like the one for octopus
miklschmidt
miklschmidt17mo ago
No it doesn't have anything to do with the octopus itself, it's a klipper compilation step that fails. A compilation step for the klippy code that runs on the pi. It never even attempts to communicate with your board. Your octopus is in all likelyhood perfectly fine And flashed correctly (or you wouldn't even get to that version check step)
jannu198
jannu198OP17mo ago
alright, thats good to hear, lets hope that the new version helps out Still get the same issue. Im going to try the systemctl start klipper fix
jannu198
jannu198OP17mo ago
did i do anything wrong?
No description
No description
miklschmidt
miklschmidt17mo ago
You should've stopped klipper first before you deleted the file (if it was running, prolly wasn't actually). I don't really get why you need to though, worked fine in my tests on a raspberry pi 3. Strange that it cut the connection, what happened?
jannu198
jannu198OP17mo ago
oh when i saw after 15 min that the flashing wouldnt work i did an shutdown from the wizard
miklschmidt
miklschmidt17mo ago
Ah ok It already falshed though. So after you delete the c_helper.so and started klipper, what did you do?
jannu198
jannu198OP17mo ago
waited 10 minutes, restarted the wizard, saw it didnt change anything, tried the automatic flash, saw it didnt work, did a shutdown from wizard.
miklschmidt
miklschmidt17mo ago
saw it didnt change anything
So you picked the octopus, and it tried to check the version and it still said it was unresponsive?
jannu198
jannu198OP17mo ago
yes
miklschmidt
miklschmidt17mo ago
Can you show me /var/log/ratos-configurator.log again? I would also like to see the klipper.log (you can download that from mainsail) in the machine tab
miklschmidt
miklschmidt17mo ago
exact same error curious what klipper is saying
jannu198
jannu198OP17mo ago
sorry, where is the klipper.log located? i cant find it under var/log
miklschmidt
miklschmidt17mo ago
go to ratos.local/ go to the machine tab use the button to download the klipper.log
jannu198
jannu198OP17mo ago
Im using linux so i have acces to the image files from file explorer. I cant seem to find ratos.local/ directory
miklschmidt
miklschmidt17mo ago
Use your browser 🙂 Instead of ratos.local/configure go to ratos.local It's located in ~/printer_data/logs/klipper.log
jannu198
jannu198OP17mo ago
oh sorry, i thougt it was on the image itself give me a sec
jannu198
jannu198OP17mo ago
No description
jannu198
jannu198OP17mo ago
I have access to the setup wizard, but this doesn’t connect I did 192.168.50.1/local and i gave me the result
jannu198
jannu198OP17mo ago
miklschmidt
miklschmidt17mo ago
Oh you're still connected to the hotspot? That would just be 192.168.50.1/ in that case
jannu198
jannu198OP17mo ago
No description
miklschmidt
miklschmidt17mo ago
Apparently klipper is fine...
jannu198
jannu198OP17mo ago
there is no klipper.log
miklschmidt
miklschmidt17mo ago
This is fine, all of those are invalid because the pi is not connected to the internet. You just sent it to me? If you mean the button for downloading, just scroll down. Anyway. I recommend you just ignore the configurator and proceed with the configuration for now I think everything is fine, despite the error during version checking (that i can't reproduce 🤔 )
jannu198
jannu198OP17mo ago
alright so i will not do the setup wizar?
miklschmidt
miklschmidt17mo ago
Works fine here
No description
miklschmidt
miklschmidt17mo ago
You basically already did, that last step is just sanity checking (which for some reason isn't working).
jannu198
jannu198OP17mo ago
hahaha alright, mine was antisanity. all jokes aside i can now use the board?
miklschmidt
miklschmidt17mo ago
yeah lol. Yeah i think you should be fine. Klipper is running, the board is connecting on USB. Should be fine. I would really want to know what the hell is going on. But that's gonna be difficult without being able to reproduce the issue. So weird.
jannu198
jannu198OP17mo ago
is there anything i can do to help you with that(the least i could do) i will happily provide all the files and whatnot from my image
miklschmidt
miklschmidt17mo ago
We kind of already exhausted all the options. If i think of anything else i'll let you know, thanks!
jannu198
jannu198OP17mo ago
yeah no problem. also i cannot thank you enough for the support and time you put into my issue one thing that might glitch out the wizard maybe is that i skip wifi setup everytime. i do not have working wifi and i cannot connect the ratos to my mobile hotspot
miklschmidt
miklschmidt17mo ago
Should be fine too, i tried that as well You can run ethernet to it if you've got that
jannu198
jannu198OP17mo ago
it doesnt connect over ethernet
miklschmidt
miklschmidt17mo ago
How did you determine that it doesn't connect? Did you check your router for connected devices?
jannu198
jannu198OP17mo ago
I plugged a LAN cable from pi to my PC PC said it can detect a connection but cannot initiate from it Soo I couldn’t make a connection to it from LAN cable
miklschmidt
miklschmidt17mo ago
This won't work You need to connect the pi to your router. or your need to set up your pc as a DCHP server Otherwise the pi won't know how to configure it's ethernet interface
jannu198
jannu198OP17mo ago
Well, thats at least relief. I not very smart at networking. I already thought i have a dead ethernet port
miklschmidt
miklschmidt17mo ago
@jannu198 when you have time, can you show me the output of:
ls -la /usr/lib/gcc/arm-linux-gnueabihf/10/cc*
ls -la /usr/lib/gcc/arm-linux-gnueabihf/10/cc*
I can't reproduce the issue on any of my pi's and it's driving me positively insane kekw
jannu198
jannu198OP17mo ago
I don seem to have cc* Only cc1 and cc1plus
miklschmidt
miklschmidt17mo ago
yeah * is a wild card I just need to see the output
jannu198
jannu198OP17mo ago
Oh, i didn’t ssh i opened up the pi boot drive from file manager Is that a problem?
miklschmidt
miklschmidt17mo ago
yeah i need to see the output from ls -la
jannu198
jannu198OP17mo ago
Alright, in that case i need a minute
miklschmidt
miklschmidt17mo ago
no worries Actually this would be even better find /usr/ -name "*cc1*" -exec ls -lah {} \;
jannu198
jannu198OP17mo ago
No description
miklschmidt
miklschmidt17mo ago
dangit everything looks correct
jannu198
jannu198OP17mo ago
Hahaha i feel like my insanity connected to this is nothing compared to what you are going through here
miklschmidt
miklschmidt17mo ago
Yeah i'm having a rough time lol If only i could reproduce it
jannu198
jannu198OP17mo ago
I tell you what… my ISP installed a wifi router today, i will test if the installer gets bugged out because I didn’t have wifi
miklschmidt
miklschmidt17mo ago
appreciate it 🙂
jannu198
jannu198OP17mo ago
No problem
Unclebones
Unclebones17mo ago
I had that problem too. In my case i compiled and downloaded the firmware from the web configurator and flashed the board manually. After that my board worked fine and i could re-flash again from the configurator. I think i had an old klipper firmware. After i flashed manually with the new firmware my problem was gone. My board was again responsive. I didnt had the patience to scroll up and read all the messages, you probable already did that, but that was how i solved my not responsive board.
jannu198
jannu198OP17mo ago
Alright, we got a hit. I repeat, we got it boys. The problem was wifi Now that i have a connection, everything works fine Just so you can reproduce it. Every time it bugs out i do the following. Turn on the pi Connect to hotspot Connect to ratos.local/configure Press skip the wifi step Select the board And from there we have the bugged out part Now i went ahead and connected the wifi. Now everything worked like it should
jannu198
jannu198OP17mo ago
No description
jannu198
jannu198OP17mo ago
Is this normal Restart fixed this
miklschmidt
miklschmidt17mo ago
Did you verify that it still failed without the wifi? I will try this asap Reproduced!! Thank youj!
jannu198
jannu198OP17mo ago
Thank you for helping me out in the first place I just did a favor back. you are welcome!
Want results from more Discord servers?
Add your server