-
Notifications
You must be signed in to change notification settings - Fork 76
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
Problems with Pi 4 and SKR 1.3 #109
Comments
Most likely the printer's SD Card is not actually mounted. Can you confirm that the board's SD card is properly mounted? You should see files in /media/usb/. |
Thanks for the reply.... Im not sure what you mean here... If I plug in the SKR directly to my Mac, I do see the card and it appears to be properly mounted. but when trying to reach from a terminal window via the pi/OctoPrint, it is not. I've tried using this line as both pi and root... mount /dev/sda1 ~/SDCard/ again Im in a a bit over my head but wouldn't the line below from dmesg. confirm that the sd card is in fact not mounted? [ 3133.623637] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck from octoprint.log not sure where to go from here. Thanks again |
When you configure the Firmware Updater plugin you must specify a path to the Firmware update folder - what did you put there? On your Pi, can you run these commands and post the output (with the board plugged in): It doesn't really matter what it does on your Mac, we're only worried about the Pi. If you followed all the instructions exactly it should have worked, so we just need to figure out where something is not right... |
pi@raspberrypi:~ $ ls -al /media/ sorry I missed a / pi@raspberrypi:~ $ ls -al /media/usb/ |
Right, the board is not mounted - when there's nothing mounted the mount points are read-only, which is why OctoPrint tells you that it could not write to /media/usb0. Is there anything else in /var/log/messages indicating why usbmount failed? Can you go through the usbmount installation again and make sure you followed all the steps? |
Ok... Ill recheck my USBMount installation... /var/log/syslog list this: Aug 30 12:50:43 raspberrypi usbmount[3773]: executing command: mount -tvfat -osync,noexec,nodev,noatime,nodiratime,gid=pi,dmask=0022,fmask=0111 /dev/sda1 /media/usb0 |
Well we can see that at least it's trying, which is good. You could always try running the mount command manually:
That will only mount the board once, it won't be re-mounted after a disconnect or reboot. If it errors it might help track down the issue. |
redid my USBMount install following all the instructions... still no luck tried to mount manually as suggested above with: pi@raspberrypi:~ $ sudo mount -tvfat -osync,noexec,nodev,noatime,nodiratime,gid=pi,dmask=0022,fmask=0111 /dev/sda1 /media/usb0 this is what was retuned: I am confident that my USBMount install is correct... however I am not confident that Marlin.bugfix2.0 downloaded 8-19-19 is properly configured to support this plugin. from the instructions for this plugin... could you elaborate on:
Im a bit confused as it looks like in marlin bugfix2.0.x this setting seems to be done in the Configuration_adv.h file and by default is set to: SD_CARD_CONNECTION LCD |
I guess I was too quick to state the USBMount was install correctly.... well, I still believe it is installed correctly but it appears that there are problems with Buster.... as stated here after reading the referenced thread I managed to get the plugin working with Udevil while I lack the skill to make permanent via a startup script, I managed to get it working by mounting manually with udevil --mount /dev/ssd1 the sdcard shows up right away in /media/pi/.... and the path is validated by the plugin and able to upload newly compiled firmware files... Thank You |
Ahh, OK. I'll add a note to the docs. Glad you got it working :) |
I ran into exactly this - usbmount doesn't seem to work on Raspberry Pi4 Buster, despite attempting to add PrivateMounts=no in systemd-udevd
|
Got it working. What I had to do is follow this exactly: rbrito/usbmount#25 (comment) So,
Hopefully someone else can verify this from scratch, and then we can update docs |
Im having the same issue with the Raspberry Pi 3B+ running Octopi 0.17 |
Following the existing directions except, instead of
use
Works now for me |
Documentation has been updated. |
I also have the same problem running a pi2B. Tried also reinstalling usbmount via the deb package using wget. But no luck.. When I run: |
I was able to get this working with the most recent version of OctoPi (buster) and an SKR 1.4 Turbo by setting #define When it was set to This is on an Ender 3 Pro with the stock display. I do NOT have a BTT display attached. This allowed the SD card slot on the board to be mounted. |
This issue has been automatically locked because there was no further activity after it was closed. Please open a new issue for any related problems. |
Hello I am trying to get this plugin working on the following hardware.... any help is appreciated...
OctoPrint on Raspberry Pi 4 (Buster) followed these instructions
After 3 days of printing, tweaking, etc... this is the only issue I've found...
After following the instructions to get the FirmwareUpdater working with LPC1768 based boards, Im having problems making SKR 1.3 onboard SDCard accessible for the pi to Mount to then use OctoPrint-FirmwareUpdater to make changes.
while the SDCard is healthy and I have no problems with the card this is what dmesg (last few lines ) reports:
[ 3122.935683] sd 0:0:0:0: [sda] Asking for cache data failed
[ 3122.935697] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 3130.045984] sda: sda1 sda2
[ 3130.050583] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 3133.623637] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 3200.528869] sd 0:0:0:0: [sda] 124735488 512-byte logical blocks: (63.9 GB/59.5 GiB)
[ 3210.208142] sd 0:0:0:0: [sda] 124735488 512-byte logical blocks: (63.9 GB/59.5 GiB)
I think it has something to do with permissions as this line appears in my OctoPrint.log file
IOError: [Errno 13] Permission denied: u'/media/usb0/.testballoon.txt'
I thought permissions are controlled by this line in my USBMount.conf file
FS_MOUNTOPTIONS="-fstype=vfat,gid=pi,uid=pi,dmask=0022,fmask=0111"
I feel that maybe its permissions at a lower lever than set here but im not sure where to look or how to set. I am also not sure that marlin bugfix2.0.x is configured correctly to support this.
any help is greatly appreciated ....
all question, comments, an plain wise crack remarks are welcomed.
thank you
K
The text was updated successfully, but these errors were encountered: