lingo124
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
So I ended up checking /boot/config.txt and it looks like the gpu_mem value under RPi4 section did not match the value in raspi-config. I changed it to match and so far haven’t had a crash… so that seems to have solved the problem. Not sure why this would be as I only set gpu_mem through raspi_config, not directly i /boot/config.txt, so i’m thinking it originally came non-matching but the problem didn’t rear its head until i added a webcam…
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
I will test it with a vanilla install, except adding the WebCam to see if it makes a difference
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
same with the swappiness. because of the swap usage i made it utilize ram more aggressively rather than swap
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
so it was crashing before i installed zram
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
i actually installed zram after all of this crashing issue because i was ok a 8gb pi that was bricked so going back to a 1 gb i was seeing swap usage and wanted to have more overhead
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
that should really read “upper_led_relay” to be more precise, as it is a relay controlling 24V from the PS to the LED strip I installed, not directly powering the LEDs from the Pi
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
It was my bad. i read that the Pi’s 3.3V can support up to 500mA and my relays were drawing only 130mA each. I wanted to put the LED relay on the Pi since I want to control the LED through the moonraker power device menu. I didn’t see a way to put a button if I used the Octopus board. The 2nd relay (for bed heater) i powered off the Pi also because i want there to be 2 layers of protection: the relay is powered by and controlled by the Pi. this relay then switches 24V from the octopus to a bigger relay which then switches on the SSR; i heard that SSRs usually fail open and didn’t really want my house burning down. I’ve since modified the power scheme so the Pi only drives the optoisolated side of the 2 relays and the 24V PsS stepped down to 3.3V drive the relay side. seems to work ok now with minimal power draw on the Pi side…
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
it’s weird since it is a standard Logitech C270 (which seems to be a commonly used webcam) that i plugged into the waveshare usb expander. not sure why it’s not announcing properly. also not sure why it’s taking up all the ram… the weird thing is that the webcam dies but the OS still works until i try to restart crowsnest. wouldn’t a maxed memory/swap make the whole OS unresponsive, meaning i shouldn’t even be able to load the webUI to click the restart?
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
uhh i think i installed tmux and rpi-clone. i also changed the gpu mem to 128gb, set vm.swappiness=1 to try to utilize the ram more, and set dtoverlay to enable using pin21 to shutdown the pi safely if i don’t have gui access. also to note, i believe the usb stick i am using actually is a SSD in USB form, with a normal SSD controller built in… so hopefully more resilient to power failure.
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
Ok, I left the Pi on overnight with the printer off. Woke up the webcam was black screen. Performed a reset using the reset button. UI became unresponsive. Refreshing the page left it stuck on "connecting". Raspberry Pi had a repeating pattern of green LED light flashing. No ability to ping or SSH into the device.
I also have a hardware pin that I can ground to safe shutdown the Pi: it doesn't work. Usually I ground the pin and it takes a few seconds and goes into its normal shutdown routine, but this time, the LED lights kept their periodic flashing. That leads me to think the OS crashed, as at minimum the hardware pin shutdown SHOULD work. To note, the previous times I've had a crashed OS, the pin method does not restart the Pi either. I've attached all the logs after reboot.
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
Ya no 3.3V on the Pi... It's dead. I think maybe the relay I was driving with the 3.3V got smoked. Maybe the pin was overdrawn and that killed the rail. Anyways, got a new Pi up and running and moved the relay onto a stepdown powered directly by the 24V PS so hopefully that fixes that issue... fingers crossed
Anyways, here is the ratos debug log i grabbed.
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
yes my boot drive is booting on a friends pi. have UI access on that no problem. yes i plugged in hdmi to my Pi and no image. even with a clean stock raspberry pi image
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
to be fair i had to hard power cycle the pi like 3-4 times because ratos crashed so i have no UI or SSH access.
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
Maybe. But i just ran a bunch of prints last few days. The only time I’ve witnessed crashes is restarting crowsnest, using the restart circle arrow button from the ratos power menu. other than that, ratos has been rock solid.
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
The whole OS crashes. I can’t SSH into it anymore. I will post a screenshot later.
Currently ran into a different behavior. The last “reboot host” from the RatOS power menu seems to have permanently bricked my Pi. It cannot boot at all, no activity LEDs and reflashing the bootloader doesn’t work… will need to figure out the Pi first before so can boot back in RatOS.
The same boot drive seems to boot on a friends Pi though, but i didn’t remember to grab logs.
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
Issue not solved. Ran a reset for crows nest and the webcam showed “disconnected” continuously. All the rest of the numbers on the system looked normal (i.e. they keep updating). Tried to reboot host and the whole ratos system went down, similar to the issue before. It just seems like crows nest is the culprit here since i never had an issue when directly restarting the host. But a crows nest restart often crashes the system or if i try to restart the system, either crashes the system or doesn’t allow it to restart normally.
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 3/14/2025 in #ratos-support
Webcam Goes Offline, Crowsnest Restart Crashes RatOS
Might be an issue with gpu_memory being set too high in /boot/config.txt. I changed it away from stock at some point and never exercised the crows nest restart until recently… will test and see if my current 256 setting is ok on the 8gb pi.
51 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 2/22/2025 in #ratos-support
RatOS Post-Processing Introducing Errors in GCode (More like destroying good GCode)
Have been doing more testing and it seems like SFTP uploads, regardless of wired or wifi, seems to never introduce issues. It more strongly pointing towards something off with Mainsail's upload handling. Im surprised I am the only one who has run into this issue so far, given my setup is pretty much bonestock standard (i.e. 1GB Pi4 wired into my network with no additional packages installed). I would assume if there were memory issues on the Pi or computer, the problem would happen on both Mainsail upload and SFTP. Plus the Pi is brand new out of the box just for the printer so less chance it is faulty. At this point I'm really lost at what to do... maybe swap in my 4GB Pi? It's just such a pain having to SFTP the files in since I can never be certain if an upload will kill the G-Code and stop my print halfway through =/
Also another note, in the G-Code Files page, when I click the checkbox for a file and click the download button, nothing happens. I have to right click the file and click download to get it downloading. Wondering if this is related to my uploading woes...
39 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 2/22/2025 in #ratos-support
RatOS Post-Processing Introducing Errors in GCode (More like destroying good GCode)
Actually, I take that back about the problem being solved. So I just tried uploading through SFTP instead of the Mainsail UI and it looks like it never introduces errors. So far:
Computer (wifi) RatOS (ethernet): Upload using PS or Mainsail, download using SFTP = Errors (many runs)
Computer (ethernet) RatOS (ethernet): Upload using Mainsail, download using SFTP = No errors (2 runs)
Computer (wifi) RatOS (ethernet): Upload using SFTP, download using Mainsail = No errors (3 runs)
Computer (wifi) RatOS (ethernet): Upload using SFTP, download using SFTP = No errors (2 runs)
So far it looks like the workflow combination of computer on wifi and using Mainsail or PS upload causes problems. My first thought was that the wifi was the issue, but if that were the case, I would have expected an SFTP upload to also cause issues. Also, it looks like downloading a file using Mainsail of a file uploaded by SFTP does not show any errors. My assumption would be that if there were network issues, we would see corruption on the Mainsail upload as well as Mainsail download, but currently it only seems like there are errors during upload, not download.
39 replies
RRCRat Rig Community [Unofficial]
•Created by lingo124 on 2/22/2025 in #ratos-support
RatOS Post-Processing Introducing Errors in GCode (More like destroying good GCode)
Think I found the problem. It looks like my wifi AP is starting to fail? So what it looks like is when I upload gcode from my computer (wifi) to mainsail using the UI, it completes upload. But when I download the file and compare it to the original, I see the errors. This i’ve verified at least 10 times over the past couple days. I just wired my computer to the router and tested the upload and download cycle a couple of times and so far the files seem to be undamaged.
So it looks like this problem is “solved”, at least based on my limited testing. But going forward, is there any way to implement some kind of file checksum verification on upload or something. Probably not easily possible due to PS needing to support calculating the checksum, but I figure I’d ask anyways. Or will RatOS have some sort of feature in the preprocess to heuristically check uploads?
39 replies