-
Notifications
You must be signed in to change notification settings - Fork 16
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
Runs for a few minutes, then freezes. Errors in dmesg log. #57
Comments
For Crowsnest there is already a "fix" for the problem with camera-streamer not starting. Have a look at this issue, if you got that problem. Then to spyglass, as crowsnest shouldn't work anyway if spyglass already got problems. Please send the output of edit: Also add your |
Sorry, I was in the middle of a 5 hour print earlier so I couldn't do anything requiring a reboot, so I just now got back to working on this. After disabling spyglass and re-enabling Crowsnest, rebooting (because I'd recompiled earlier) I looked over the crowsnest.log file and noticed: So I tried searching the web for that, which led me to this link: https://www.reddit.com/r/klippers/comments/13ygwum/cant_make_camera_work_with_crownest/ Going off that, in That fixed it. Thanks for the quick reply though, I appreciate your assistance. UPDATE: Well, maybe it's not fixed. The camera feed just crashed again after about 10 minutes. So, maybe something is messed up with the camera now. I just find it strange that this all started happening after I updated things. Restarting Crowsnest through the Mainsail interface fixed the camera again, but who knows for how long. |
These are the errors in dmesg that I get when the camera stops working (now in crowsnest, but I was seeing these same errors in spyglass):
Maybe a hardware problem? |
Like I wrote before
So please send those things and attach your With these other informations, it sounds like you updated from crowsnest v3 to v4, and that can make problems with some cheap/old raspicams, as it will use the new camera stack. That's the one spyglass also uses and the same reason why spyglass has to work, before crowsnest will work too. Spyglass is like a minimum version of the backend crowsnest uses (camera-streamer). The upgrade from v3 to v4 of crowsnest is documented inside the crowsnest documentation, as well as your problem with the raspicam not detected. But I go to deep into the crowsnest support again 😂 If you need help with crowsnest in the future, join the Mainsail Discord. Me, or someone else of the mainsail-crew, will help you there with such things. |
Sorry, I've been busy with work. An EEPROM update on the Raspberry Pi seemed to fix the issue with the crashes. It still sometimes doesn't start on bootup, but a restart on the Crowsnest service usually fixes it. Since I haven't really updated much since I built the printer back in April I'm considering just starting fresh with a clean install of MainsailOS and then seeing what issues remain. My klipper and some other repos are months behind and I'm afraid to update them because I guess I need to go line by line through the commits to look for breaking changes before I update? Is that how that works? I'm still new to this ecosystem. Like I said, I wonder if a clean install is the way to go for now. You can probably just close this. I can provide those logs, but I don't know if they be of any use. I don't even know if I did a 3 -> 4 upgrade like you mentioned, I didn't note the version before I upgraded Crowsnest. |
If you didn't update for months it's most likely a v3->v4 update. But if the issue is kinda gone now and it's only a problem with crowsnest now, then I would close this issue. |
Trying this because Klipper's Crowsnest stopped working after a recent update. I'm running mailsailos on Raspberry Pi 4 with Raspberry Pi HQ camera connected via ribbon cable. Spyglass runs for a random amount of time (usually less than 5 minutes) and then image hangs. I check
dmesg
log and see this:Restarting Spyglass works... but only for a few minutes at most, then errors out again.
NOTE: The first message in the log there happens when it starts, the other two when it freezes.
The text was updated successfully, but these errors were encountered: