[PROBLEM] Installed 6.x - USB media not working (ARM6) - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [PROBLEM] Installed 6.x - USB media not working (ARM6) (/showthread.php?tid=1665) |
Installed 6.x - USB media not working (ARM6) - drivedesigned - 08-26-2019 Hi There, Just having a bit of trouble with USB media on both v6.0 and v6.1 of moode. In both cases I've been trying to diagnose the issue on a fresh install with both an externally powered hard drive as well as a USB flash drive, and both devices DO work if I install a fresh version of v5.3.1. I'm using a Raspberry Pi Zero W. I've tried to troubleshoot the problem myself, working my way through this thread in particular: http://moodeaudio.org/forum/showthread.php?tid=894 so I'll share my findings thus far. - if I connect one of the drives and run MPD Update, 'USB' is listed in the media browser, but the folder is empty and likewise nothing is listed in the filter browser. cat /var/log/mpd/log also returns nothing. - if I run MPD Re-Gen instead the 'USB' listing disappears, and the mpd log simply lists "Aug 25 23:34 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac" - the syslog contains this: Code: Aug 25 23:24:08 moode kernel: [ 979.744877] usb 1-1: USB disconnect, device number 2 so to continue following along with the other thread, the output of lsusb DOES list my drive, but it is not mounted in /media if I try to mount the drive manually (to /tmp/mydrive) as suggested on page 2, it works: Code: pi@moode:~ $ sudo mkdir /media/mydrive and from the syslog: Code: Aug 25 23:31:41 moode kernel: [ 1433.033016] fuse init (API version 7.27) and then if I run MPD Update... we have music in the library! But I'd still like to get to the bottom of what's going on here and restore the plug 'n' play capabilities if possible. Thanks very much Dave EDIT: my apologies for the duplicate, but it appears I'm having the same issue as Wigwam here: http://moodeaudio.org/forum/showthread.php?tid=1662 RE: Installed 6.x - USB media not working - TheOldPresbyope - 08-26-2019 @drivedesigned Ah, there's the smoking gun...udisk isn't mounting your drive, just as Tim speculated in his post on the other thread http://moodeaudio.org/forum/showthread.php?tid=1662&pid=12545#pid12545 Code: Aug 25 23:24:15 moode systemd-udevd[2380]: Process 'udisks-part-id /dev/sda' terminated by signal SEGV. Sorry, I don't have an answer off the top of my head and I won't have time to rummage through Google's closet until late today. Perhaps Tim will have another suggestion in the meantime. Regards, Kent RE: Installed 6.x - USB media not working - Tim Curtis - 08-26-2019 Oops, I compiled disks-glue on an arm7 Pi and it looks like its segfaulting on arm6 :-0 An arm6 binary should work on both arm6 and arm7. Try the procedure below and let me know how it goes. Install arm6 binary Code: sudo cp /usr/bin/udisks-glue ./udisks-glue-arm7 Verify its running Code: pgrep udisks-glue Plug in USB drive and verify its auto-mounted Code: ls /media RE: Installed 6.x - USB media not working - drivedesigned - 08-27-2019 (08-26-2019, 12:50 PM)Tim Curtis Wrote: Verify its running OK, carried out the installation process but after reboot this returns nothing. EDIT: and if I just try to run udisks-glue in the terminal it says "Unable to find the configuration file" EDIT2: if I cat /etc/udisks-glue.conf sure enough the file exists... RE: Installed 6.x - USB media not working - Tim Curtis - 08-27-2019 Look at the launch string for disks-glue in /etc/rc.local. It needs a --config= param RE: Installed 6.x - USB media not working - drivedesigned - 08-27-2019 (08-27-2019, 01:17 AM)Tim Curtis Wrote: Look at the launch string for disks-glue in /etc/rc.local. It needs a --config= param in there we have: Code: /usr/bin/udisks-glue --config=/etc/udisks-glue.conf > /dev/null 2>&1 RE: Installed 6.x - USB media not working - Tim Curtis - 08-27-2019 Looking into this a bit further I'm getting same result as you on a 0W with either the arm6 or arm7 binary. It appears to be some sort of fault with the udisks service, possibly related to udisks-glue ?? Code: pi@rp2:~ $ sudo systemctl status udisks.service Note that the udisks-glue package was not carried forward by the RPi Foundation from Stretch to Buster and so it required manual compilation and integration for moOde 6 and works perfectly on arm7 but apparently there are issues on arm6. -Tim RE: Installed 6.x - USB media not working - drivedesigned - 08-27-2019 (08-27-2019, 01:50 AM)Tim Curtis Wrote: Looking into this a bit further I'm getting same result as you on a 0W with either the arm6 or arm7 binary. It appears to be some sort of fault with the udisks service, possibly related to udisks-glue ?? Interesting... thank you. Unfortunate decision by the RPi Foundation by the sounds of things! RE: Installed 6.x - USB media not working - TheOldPresbyope - 08-27-2019 To be fair, the github repo of the original udisks-glue hasn't been touched in 6 years and the sources apparently in 8 years. I think we've been lucky it's worked for so many releases of Debian -> Raspbian. The Debian package search page doesn't show any hits on udisks-glue after Jessie (oldoldstable) and sid. The irony is that udisks-glue itself was created to replace functionality in the defunct hal project which had preceded it. RE: Installed 6.x - USB media not working - drivedesigned - 08-27-2019 (08-27-2019, 02:33 AM)TheOldPresbyope Wrote: To be fair, the github repo of the original udisks-glue hasn't been touched in 6 years and the sources apparently in 8 years. I think we've been lucky it's worked for so many releases of Debian -> Raspbian. The Debian package search page doesn't show any hits on udisks-glue after Jessie (oldoldstable) and sid. oooff, well there you go, that probably is fair then so I wonder what the most sensible way forward is? I was thinking of trying udevil as suggested here: https://www.raspberrypi.org/forums/viewtopic.php?p=1514984 but not sure how that might effect any future in-place updates to moode. |