Re: [SlimDevices: Unix] piCorePlayer - root / sudo access?
drmatt wrote: > Fair enough. In that case "sudo /bin/sh" or whatever the shell is > called.. Yeah, that got it. drmatt wrote: > > or just get used to prefixing everything with sudo.. > :) Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=106787 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer - root / sudo access?
drmatt wrote: > "% sudo visudo" and grant yourself whatever rights you'd like.. visudo is not installed. And anyway, the tc user has "ALL=NOPASSWD: ALL" perms in /etc/sudoers. R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=106787 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer - root / sudo access?
paul- wrote: > There is no direct root access, the default user id, has builtin sudo > access. Ah, OK - sudo works but I can't sudo -i to get a root shell. I can live with that, I guess. Thanks, R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=106787 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] piCorePlayer - root / sudo access?
My google-fu is perhaps failing me, but I've been unable to find any docs describing how to get root / sudo access on piCorePlayer 3.10. Can anyone point me in the right direction? Thanks, R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=106787 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora LMS RPM packages, call for testers...
Hmm, that will need a spec file update. Need to add something like: Code: --- rpmbuild/SPECS/logitechmediaserver-CPAN.spec.orig 2016-12-07 22:34:54.359247536 + +++ rpmbuild/SPECS/logitechmediaserver-CPAN.spec 2016-12-07 22:35:48.962402162 + @@ -154,6 +154,11 @@ %endif %if 0%{?perl_version:1} + # F25 + %if "%{perl_version}" == "5.24.0" +%define perl_major_minor 5.24 +%define BASE %{BUILD}/%{perl_major_minor} + %endif # F24 %if "%{perl_version}" == "5.22.2" %define perl_major_minor 5.22 R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=101931 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] "Media scan terminated unexpectedly"
Here we go: http://bugs.slimdevices.com/show_bug.cgi?id=17832 R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=106587 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] "Media scan terminated unexpectedly"
Mnyb wrote: > There are settings in LMS to get more verbose log outputs , even to the > level of it logging every fole it scans . > There is a tab for log settings. Yes, I know. I have all the scanner log items set to DEBUG. There is a log set for it in the drop-down box on the logging page. Mnyb wrote: > Bit you are rigth it should spit out the failing file or image with the > default log settings . > > And yes it should not crash just log the file and continue. But thats an > old problem that we always had . > Bet there are bugs in buggzilla already . Please tell if you log or find > a suitable bug and i'll vote with you . I'll see what I can find. R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=106587 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] "Media scan terminated unexpectedly"
Looks like that's fixed it - the previous scans aborted at 2,967 files. Current scan is now > 16,000 and still chugging away. I shall investigate where to log some bugs. 1. the scan process shouldn't fail silently on bad files - it should catch the error, log it, and continue. 2. whatever tool is crashing on the bad file, shouldn't R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=106587 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] "Media scan terminated unexpectedly"
Yeah, nothing of interest in them. The scan just stops. That said, I had a look around the last-mentioned image in the scanner log, and there's an animated gif in the same folder. I've moved it out of the way and am re-scanning to see if that was the one that caused the scan to barf. R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=106587 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] "Media scan terminated unexpectedly"
It would be useful if I could get lms to tell me why it's failing and on what file(s). R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=106587 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] "Media scan terminated unexpectedly"
Uh, I dunno what they are - there is no log output. I'm guessing they need scanning as there's 29k of them and logitechmediaserver tries to scan them out-of-the-box. R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=106587 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] "Media scan terminated unexpectedly"
Hi, I'm running 7.9, specifically from the following RPM: logitechmediaserver-7.9.0-0.149.20161121git1479666929.el7.centos.noarch.rpm When I scan the library, I'm finding that the the scan terminates with the following: Discovering files/directories: /music/library (126523 of 126523) Complete 00:08:01 ■■ Scanning new music files: /music/library (110447 of 110447) Complete 01:52:03 ■■ Scanning new media files: /music/library (2967 of 29020) Complete 00:11:17 ■■ Media scan terminated unexpectedly (Scanning Progress) Total Time: 02:11:21 (Tue, 6 Dec 2016 / 21.33) I've tried turning on scanner debugging but no errors are output to the log. Any suggestions to try and get to the bottom of what's going wrong? R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=106587 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora LMS RPM packages, call for testers...
You should be able to rebuild the fc24 packages yourself. I've just done the same for el7. I found I needed the following packages for EL7: dsdplay-0.1-10.20140801git4e1d21e.fc24.src.rpm logitechmediaserver-7.9.0-0.149.20161121git1479666929.fc24.src.rpm logitechmediaserver-CPAN-7.9.0-0.22.20150426git1426673042.fc24.src.rpm logitechmediaserver-vendor-7.9.0-0.9.20140409git1396988329.fc24.src.rpm mac-3.99-11.u4b5.fc24.3.src.rpm perl-Text-LevenshteinXS-0.03-25.fc24.src.rpm Grab the ones you want/need from http://www.squeezecommunity.org/repo/fedora/24/SRPMS/ and rebuild them with: mock -r fedora-25-x86_64 (you'll obviously need to install mock to do this). R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=101931 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora LMS RPM packages, call for testers...
Clive, I just did a full rebuild based on the latest SRPMs in f21/f22 testing and the main logitechmediaserver RPM build just fine on el7 with the same spec file. I've uploaded all the modified packages to http://www.squeezecommunity.org/repo/el/7/testing/x86_64/ I had to add a couple of extra conditions to the squeezelite RPM - I'll send a PR for those changes. So, in summary, you should be able to simply build on el7 with the same spec file as you use currently for f22. Let me know if you have any questions. Cheers, R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=101931 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora LMS RPM packages, call for testers...
Any chance of regular EL7 builds? R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=101931 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] EL6/7 yum repo for latest LMS (7.8.x/7.9.x) ?
Following up on my own thread, I have re-built the Fedora 21 RPMs from the Squeeze Community repo, including all dependencies from the Fedora & RPMFusion repos. The whole lot are currently available here: http://www.squeezecommunity.org/repo/el/7/testing/x86_64/ The easiest way to get them is to install the Squeeze Community repo file: Code: yum install http://www.squeezecommunity.org/repo/el/7/testing/x86_64/squeezecommunity-repo-1-5.el7.noarch.rpm You also need to have the EPEL repo configured. See 'here' (https://fedoraproject.org/wiki/EPEL) for details: Then do: Code: yum install --enablerepo=squeezecommunity-testing --nogpgcheck logitechmediaserver Notes: - --nogpgcheck is required because the packages have not been signed - Instead of using --enablerepo you could manually edit /etc/yum.repos.d/squeezecommunity-testing-EL.repo and enable the squeezecommunity-testing repo by setting "enabled=1" Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=102439 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora LMS RPM packages, call for testers...
Le_dom wrote: > > 'mac-3.99-11.u4b5.fc21.x86_64.rpm' > (ftp://195.220.108.108/linux/rpmfusion/nonfree/fedora/releases/21/Everything/x86_64/os/mac-3.99-11.u4b5.fc21.x86_64.rpm) > 'mac-libs-3.99-11.u4b5.fc21.x86_64.rpm' > (ftp://195.220.108.108/linux/rpmfusion/nonfree/fedora/releases/21/Everything/x86_64/os/mac-libs-3.99-11.u4b5.fc21.x86_64.rpm) > 'mac-devel-3.99-11.u4b5.fc21.x86_64.rpm' > (ftp://195.220.108.108/linux/rpmfusion/nonfree/fedora/releases/21/Everything/x86_64/os/mac-devel-3.99-11.u4b5.fc21.x86_64.rpm) These are all in the RPMFusion repositories: http://rpmfusion.org/ R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=101931 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora LMS RPM packages, call for testers...
JackOfAll wrote: > On Fedora, perl-Time-HiRes is required by the base perl package, so was > no need to add explicit requires. > > > Code: > > > $ rpm -q --whatrequires 'perl(Time::HiRes)' > perl-AnyEvent-7.05-1.fc20.i686 > perl-Event-1.21-4.fc20.i686 > perl-5.18.4-291.fc20.i686 > > > Yeah, I figured as much: Code: [root@lms squeezeboxserver]# rpm -q --whatrequires 'perl(Time::HiRes)' no package requires perl(Time::HiRes) We can make it conditional, ie. only add it for EL7, although it wouldn't hurt to add it for all platforms. R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=101931 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora LMS RPM packages, call for testers...
Le_dom wrote: > Hi robinbowes, > > I've installed Centos 7 (netinstall and minimal installation) on my > audio PC to try it with squeezelite and Logitech media server. > > I've just tried to install LMS 7.9 according your previous post but I > get several errors related to perl. > > In fact, when I try to install LMS I get: > > Code: > > > Erreur*: Paquet*: 1:logitechmediaserver-7.9.0-0.63.20150205git1423147268.el7.centos.noarch (squeezecommunity-testing) > Requiert*: perl(YAML::LibYAML) > Erreur*: Paquet*: 1:logitechmediaserver-7.9.0-0.63.20150205git1423147268.el7.centos.noarch (squeezecommunity-testing) > Requiert*: perl(JSON::XS) > Erreur*: Paquet*: dsdplay-0.1-9.20140801git4e1d21e.el7.centos.x86_64 (squeezecommunity-testing) > Requiert*: libsoxr.so.0()(64bit) > Erreur*: Paquet*: 1:logitechmediaserver-7.9.0-0.63.20150205git1423147268.el7.centos.noarch (squeezecommunity-testing) > Requiert*: perl(Class::XSAccessor) > > > > Note that it's a french version of Centos (requiert means require) > > Note that I've installed perl, perl-json and perl-yaml on my Centos 7 > PC. > Hi, I wasn't clear - you also need to configure the EPEL repo. See here: https://fedoraproject.org/wiki/EPEL Le_dom wrote: > > I have another question. > > How to install squeezelite on it ? Is there a way to install it? > > Many thanks in advance for your answer. Sorry, I can't help with that. R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=101931 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora LMS RPM packages, call for testers...
Just to be clear, the EL7 packages are here: http://www.squeezecommunity.org/repo/el/7/testing/x86_64/ The easiest way to get them is to install the Squeeze Community repo file: yum install http://www.squeezecommunity.org/repo/el/7/testing/x86_64/squeezecommunity-repo-1-5.el7.noarch.rpm Then do: yum install --enablerepo=squeezecommunity-testing --nogpgcheck perl-Time-HiRes logitechmediaserver Notes: * --nogpgcheck is required because the packages have not been signed * Instead of using --enablerepo you could manually edit /etc/yum.repos.d/squeezecommunity-testing-EL.repo and enable the squeezecommunity-testing repo by setting "enabled=1" * at some stage in the near future, perl-Time-HiRes will be added as a dependency of logitechmediaserver and will not need to be explicitly installed Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=101931 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora LMS RPM packages, call for testers...
robinbowes wrote: > I'm just stupidly busy. > > I *will* get round to fixing stuff up for EL7 as I want to re-install my > LMS server (I have it running in a VM on my SmartOS NAS) but I can't say > when I will get it done. I'm pleased to announce I've finally got around to doing this. I have re-built the Fedora 21 packages on CentOS 7 and uploaded the RPMS to the el/7/testing repo. The only slight gremlin I hit was I needed to manually install Time::HiRes (actually, perl-Time-HiRes) before the squeezeboxserver would start. I guess we just need to add an additional dependency to the logitechmediaserver RPM. Please, install and abuse these packages and let me know how you get on. R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=101931 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora LMS RPM packages, call for testers...
I'm just stupidly busy. I *will* get round to fixing stuff up for EL7 as I want to re-install my LMS server (I have it running in a VM on my SmartOS NAS) but I can't say when I will get it done. R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=101931 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora LMS RPM packages, call for testers...
OK, gotcha.. Sounds like you need a build pipeline to automate thinga :) R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=101931 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora LMS RPM packages, call for testers...
OK, done. They build OK. Do you not have mock? Something like this should build for el7: mock --rebuild --root epel-7-x86_64 http://www.squeezecommunity.org/repo/20/unstable/SRPMS/logitechmediaserver-7.9.0-0.43.20141115git1415964652.fc20.src.rpm R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=101931 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora LMS RPM packages, call for testers...
So, I've got all three SRPMs to build fairly easily but it appears there is no RPMFusion repo for EL7 so I can't install/test the RPMs as the follow packages are missing: mppdec, dsdplay, lame, mac. I've attached the diffs for logitechmediaserver and logitechmediaserver-CPAN (logitechmediaserver-vendor builds with no changes). I'll also look into rebuilding those 4 packages from the F20 RPMFusion repo. R. +---+ |Filename: lms.el7.patch| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=16654| +---+ Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=101931 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)
My original problem was that I didn't get any sound - sorry, can't remember any more detail than that. It's currently working, but hitting 100% CPU regularly, eg. if the stream is stopped. R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora LMS RPM packages, call for testers...
Any chance of getting an EL (RHEL/CentOS) 7 repo for LMS? I'm happy to help with the build if necessary... R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=101931 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)
Krisbee wrote: > What JackOfAll says may be true. But try this first: > > aplay -v -D plughw:CARD=M2,DEV=0 /usr/share/sounds/alsa/Front_Left.wav > > and then > > ./squeezelite-x86-64 -n hero -s lms.robinbowes.com -o > plughw:CARD=M2,DEV=0 -a :::0 -d output=debug I have to confess I parked this and haven't tried again until now. And I can report that the above command-line works just fine with Squeezelite v1.6.4 :) Many thanks, R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] EL6/7 yum repo for latest LMS (7.8.x/7.9.x) ?
No-one? Really? R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=102439 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] EL6/7 yum repo for latest LMS (7.8.x/7.9.x) ?
Hi, Can someone please put me out of my misery and point me at the URL for the yum repo containing the latest LMS RPMs, ie. 7.8.x + 7.9.x? Thanks! R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=102439 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)
Hi Krisbee, I tried to play an audio file as follows: aplay -v -D iec958:CARD=M2,DEV=0 /usr/share/sounds/alsa/Front_Left.wav Playing WAVE '/usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono aplay: set_params:1233: Sample format non available Available formats: - S24_3BE I don't hear any audio. I tried the same device with squeezelite: ./squeezelite-x86-64 -n hero -s lms.robinbowes.com -o iec958:CARD=M2,DEV=0 -a :::0 -d output=debug [20:47:41.760501] output_init_alsa:637 init output [20:47:41.760618] output_init_alsa:660 requested alsa_buffer: 40 alsa_period: 4 format: any mmap: 0 [20:47:41.760636] output_init_common:341 outputbuf size: 3528000 [20:47:41.765319] output_init_common:401 supported rates: 48000 [20:47:41.767972] output_init_alsa:672 memory locked [20:47:41.768218] output_thread:465 open output device: iec958:CARD=M2,DEV=0 [20:47:41.768228] output_init_alsa:695 set output sched fifo rt: 45 [20:47:41.769037] alsa_open:244 unable to open audio device with any supported format [20:47:41.773521] output_flush:414 flush output buffer Again, no audio. The file plays fine in vlc and the "Videos" app. Interestingly, I don't get any output from Audacity either. R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)
I removed the pulseaudio plugin as you suggested. Still no sound from squeezelite. :( I have these output devices available: Output devices: null - Discard all samples (playback) or generate zero samples (capture) default:CARD=Intel - HDA Intel, ALC888 Analog - Default Audio Device sysdefault:CARD=Intel - HDA Intel, ALC888 Analog - Default Audio Device front:CARD=Intel,DEV=0 - HDA Intel, ALC888 Analog - Front speakers surround40:CARD=Intel,DEV=0- HDA Intel, ALC888 Analog - 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0- HDA Intel, ALC888 Analog - 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0- HDA Intel, ALC888 Analog - 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0- HDA Intel, ALC888 Analog - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Intel,DEV=0- HDA Intel, ALC888 Analog - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=Intel,DEV=0- HDA Intel, ALC888 Digital - IEC958 (S/PDIF) Digital Audio Output default:CARD=M2- Mbox 2, USB Audio - Default Audio Device sysdefault:CARD=M2 - Mbox 2, USB Audio - Default Audio Device front:CARD=M2,DEV=0- Mbox 2, USB Audio - Front speakers surround40:CARD=M2,DEV=0 - Mbox 2, USB Audio - 4.0 Surround output to Front and Rear speakers surround41:CARD=M2,DEV=0 - Mbox 2, USB Audio - 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=M2,DEV=0 - Mbox 2, USB Audio - 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=M2,DEV=0 - Mbox 2, USB Audio - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=M2,DEV=0 - Mbox 2, USB Audio - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=M2,DEV=0 - Mbox 2, USB Audio - IEC958 (S/PDIF) Digital Audio Output The Intel device is on the mobo but I'm not using it as I have the MBox 2 plugged in. I've a few things again but no sound. With default sound device: ./squeezelite-x86-64 -n hero -s lms.robinbowes.com -d output=debug [22:14:37.012520] output_init_alsa:637 init output [22:14:37.012690] output_init_alsa:660 requested alsa_buffer: 40 alsa_period: 4 format: any mmap: 1 [22:14:37.012716] output_init_common:341 outputbuf size: 3528000 [22:14:37.031621] output_init_common:401 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 [22:14:37.034056] output_init_alsa:672 memory locked [22:14:37.034260] output_thread:465 open output device: default [22:14:37.035035] output_init_alsa:695 set output sched fifo rt: 45 [22:14:37.035876] alsa_open:234 opened device default using format: S32_LE sample rate: 44100 mmap: 1 [22:14:37.035962] alsa_open:313 buffer: 40 period: 4 -> buffer size: 3763 period size: 940 [22:14:37.040258] output_flush:414 flush output buffer [22:14:37.141417] _output_frames:59 start buffer frames: 86016 [22:14:37.141473] _output_frames:144 track start sample rate: 44100 replay_gain: 0 ./squeezelite-x86-64 -n hero -s lms.robinbowes.com -o hw:CARD=M2,DEV=0 -a ::16:0 -d output=debug [22:16:32.282232] output_init_alsa:637 init output [22:16:32.282362] output_init_alsa:660 requested alsa_buffer: 40 alsa_period: 4 format: 16 mmap: 0 [22:16:32.282387] output_init_common:341 outputbuf size: 3528000 [22:16:32.283597] output_init_common:401 supported rates: 48000 [22:16:32.285746] output_init_alsa:672 memory locked [22:16:32.285990] output_thread:465 open output device: hw:CARD=M2,DEV=0 [22:16:32.286002] output_init_alsa:695 set output sched fifo rt: 45 [22:16:32.286549] alsa_open:213 reopening device hw:CARD=M2,DEV=0 in plug mode as plughw:CARD=M2,DEV=0 for resampling [22:16:32.286834] alsa_open:234 opened device plughw:CARD=M2,DEV=0 using format: S16_LE sample rate: 0 mmap: 0 [22:16:32.286913] alsa_open:303 unable to get period size: Invalid argument [22:16:32.291412] output_flush:414 flush output buffer [22:16:32.292521] output_flush:414 flush output buffer :( R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)
Thanks Triode - I'm assuming you meant "M2" not "MD"? Here's the output with M2: ./squeezelite-x86-64 -n hero -s lms.robinbowes.com -o hw:CARD=M2,DEV=0 -a ::16:0 -d output=debug [20:54:02.466949] output_init_alsa:637 init output [20:54:02.467087] output_init_alsa:660 requested alsa_buffer: 40 alsa_period: 4 format: 16 mmap: 0 [20:54:02.467112] output_init_common:341 outputbuf size: 3528000 [20:54:02.468339] ALSA snd_pcm_hw_open:1557 open '/dev/snd/pcmC1D0p' failed (-16) [20:54:02.468388] test_open:124 playback open error: Device or resource busy [20:54:02.468404] output_init_common:372 unable to open output device Is that what you would expect, JackOfAll? R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)
Nothing seems to work. eg -o hw:M2, -o default, -o sysdefault:CARD=M2 These are my devices: ./squeezelite-x86-64 -l Output devices: null - Discard all samples (playback) or generate zero samples (capture) pulse - PulseAudio Sound Server default- Default ALSA Output (currently PulseAudio Sound Server) sysdefault:CARD=Intel - HDA Intel, ALC888 Analog - Default Audio Device front:CARD=Intel,DEV=0 - HDA Intel, ALC888 Analog - Front speakers surround40:CARD=Intel,DEV=0- HDA Intel, ALC888 Analog - 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0- HDA Intel, ALC888 Analog - 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0- HDA Intel, ALC888 Analog - 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0- HDA Intel, ALC888 Analog - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Intel,DEV=0- HDA Intel, ALC888 Analog - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=Intel,DEV=0- HDA Intel, ALC888 Digital - IEC958 (S/PDIF) Digital Audio Output sysdefault:CARD=M2 - Mbox 2, USB Audio - Default Audio Device front:CARD=M2,DEV=0- Mbox 2, USB Audio - Front speakers surround40:CARD=M2,DEV=0 - Mbox 2, USB Audio - 4.0 Surround output to Front and Rear speakers surround41:CARD=M2,DEV=0 - Mbox 2, USB Audio - 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=M2,DEV=0 - Mbox 2, USB Audio - 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=M2,DEV=0 - Mbox 2, USB Audio - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=M2,DEV=0 - Mbox 2, USB Audio - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=M2,DEV=0 - Mbox 2, USB Audio - IEC958 (S/PDIF) Digital Audio Output What command-line should I use? R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)
HI, I seem to be having trouble getting this running on Fedora 20 with an external MBox2 USB device. I'm running it like this: ./squeezelite-x86-64 -n hero -s lms.robinbowes.com -d all=debug It's connecting to the server OK and appears to play tracks but I don't get any audio, just occasional clicks. Am I missing a trick here? R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)
So I debugged the auto-discovery failure a bit and it seems that my client-side firewall is blocking the reply from the server to the client. I see the following exchange: UDP 192.168.1.110:46860 -> 255.255.255.255:3483 UDP 192.168.1.15:3483 -> 192.168.1.110:46860 ICMP 192.168.1.110 -> 192.168.1.15 Destination unreachable It works OK when I disable the client firewall (ie. the server is discovered). Any idea what I might need to do to fix this? R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)
Downloaded. chmod +x. Ran with "-s myserver". Works great! Not sure why autodiscovery didn't work, but I didn't try too hard :) Thanks Triode. R. Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora 18 Upgrade appears to break LMS 7.7.2 and 7.7.3
OK, sounds like I may need to hack the spec and send you a pull-request. R. robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=97862 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora 18 Upgrade appears to break LMS 7.7.2 and 7.7.3
I don't suppose you've got a build for EL6, have you? I tried rebuilding the SRPM but it's pretty F18-specific (ie. it uses systemd). R. robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=97862 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Fedora 18 Upgrade appears to break LMS 7.7.2 and 7.7.3
Looks like this stuff is in a repo now: http://www.vacuumtube.org.uk/downloads/ R. robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=97862 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Anybody using "native ZFS on linux" yet ?
My approach here was to use SmartOS, which gives me native ZFS and also supports virtualisation with kvm. So I just run various linux boxes as VMs. All working great so far! R. robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=92904 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Centos can't locate bootstrap.pm
Thanks Paul - I'll give that a go. You know, I always used to say that Slim should do something about their RPM packaging. It's just crazy having one .noarch RPM that isn't - it's 32-bit. If they made it a .i386 package and added the necessary dependencies then that wouldn't be so bad. But the current package is just a mess. I'll see if I can make time to hack on the .spec file and produce something sensible. R. -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=93797 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Centos can't locate bootstrap.pm
gharris999;695170 Wrote: > ..And if that did work, then I'd say you guys have uncovered a bug in > the rpm package. I suspect this is indeed the case. I have just done a fresh install of logitechmediaserver-7.7.1-1.noarch onto a minimal CentOS 6.2 x86_64 install, and I get the same error as the OP: $ sudo service squeezeboxserver start Starting Squeezebox Server: Can't locate Slim/bootstrap.pm in @INC (@INC contains: /usr/libexec /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/libexec/squeezeboxserver line 137. BEGIN failed--compilation aborted at /usr/libexec/squeezeboxserver line 137. [FAILED] Looks like the RPM is fubar. Also, the logitechmediaserver RPM does not pull in any additional RPMs when it is installed - shouldn't it make sure various dependencies are satisfied? R. -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=93797 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 7.6 on FreeBSD
I gave up in the end and went back to 7.6.1. My current game plan is to move my NAS back to OpenSolaris or SmartOS and to run LMS in a linux VM rather than natively under the NAS OS. R. -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=88765 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 7.6 on FreeBSD
Any luck with 7.7 on FreeBSD? It's not working for me :( I get a problem loading YAML::XS Any ideas how to fix? R. -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=88765 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] btrfs and multiple devices
gharris999;648948 Wrote: > I think you just caused a meat-space head crash in my system. Heh. It's pretty straight-forward, really. Just a load of layers and abbreviations. 1. Combine two physical drives with mdadm to create a mirror (an MD device, RAID 1) 2. Label the MD device an LVM Physical Volume (PV). 3. Create an LVM Volume Group (VG) using the PV. 4. Create one or more LVM Logical Volumes (LVs) inside the VG 5. Create file systems on the LVs 6. mount the file systems Simples! R. -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=89504 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 7.6 on FreeBSD
Looks like the buildme.pl in svn doesn't actually work at the moment. Your (pallfreeman's) modified version still works. I don't have time to look into it at the moment though. R. PS. r33044 installed and working nicely (with MySQL) -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=88765 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] btrfs and multiple devices
gharris999;648795 Wrote: > But I don't understand what sandwiching LVM under ext4 would get me. > I'm not questioning the wisdom of this...I just don't understand. lvm gives you flexibility. For example, you might create an md mirror from two physical drives, and make that an lvm PV and add it to a VG and create one or more LVs on top. Then, in the future, you might add another md mirror with another couple of drives and create another PV and add that to the existing VG, then extend the LV(s) into the new space. It's not essential, but can be useful. R. -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=89504 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] btrfs and multiple devices
gharris999;648695 Wrote: > Does anyone have any experience using btrfs with multiple discs? > > I have 3 1T drives in my system, unpartitioned: sdb, sdc & sdd. > > It looks like: > > # mkfs.btrfs /dev/sdb /dev/sdc /dev/sdc > > ..will create a file system spanning the three devices. The btrfs wiki > says that the data will be striped and the metadata mirrored. See: > https://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices > > Is there any real data redundancy here? I.e., is there any recovery > possible from a drive failure? Or does one have to specifically > incorporate more raid features into this setup? Any reason in particular you want to use btrfs? I don't think it does RAID5 yet - just 0,1,10. (I'm no expert). I'd be looking at mdadm (to create a RAID device) and probably LVM on top of that, then use ext3/4. R. -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=89504 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 7.6 on FreeBSD
Well, I hacked your FreeBSD changes into buildme.sh, and rebuilt the modules, then ran your buildme.pl ... and it works! I'll commit the changes to buildme.sh now. Thanks! -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=88765 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 7.6 on FreeBSD
Hmmm, "buildme.sh" seems to want to install globally: Result: PASS Manifying blib/man3/Compress::Raw::Zlib.3 Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /volumes/space/home/robin/software/squeezeboxserver/7.6/trunk/vendor/CPAN/build/5.12/lib/perl5/amd64-freebsd/auto/Compress/Raw/Zlib/Zlib.bs Installing /volumes/space/home/robin/software/squeezeboxserver/7.6/trunk/vendor/CPAN/build/5.12/lib/perl5/amd64-freebsd/auto/Compress/Raw/Zlib/Zlib.so Installing /volumes/space/home/robin/software/squeezeboxserver/7.6/trunk/vendor/CPAN/build/5.12/lib/perl5/amd64-freebsd/Compress/Raw/Zlib.pm Installing /volumes/space/home/robin/software/squeezeboxserver/7.6/trunk/vendor/CPAN/build/5.12/lib/perl5/amd64-freebsd/auto/Compress/Raw/Zlib/autosplit.ix Installing /volumes/space/home/robin/software/squeezeboxserver/7.6/trunk/vendor/CPAN/build/5.12/man/man3/Compress::Raw::Zlib.3 FreeBSD: Registering installation in the package database Cannot create directory /var/db/pkg/bsdpan-Compress-Raw-Zlib-2.017: Permission denied Appending installation info to /volumes/space/home/robin/software/squeezeboxserver/7.6/trunk/vendor/CPAN/build/5.12/lib/perl5/amd64-freebsd/perllocal.pod tar: Error opening archive: Failed to open 'DBI-1.608.tar.gz' buildme.sh: line 141: cd: DBI-1.608: No such file or directory Can't open perl script "Makefile.PL": No such file or directory make: don't know how to make test. Stop make test failed, aborting R. -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=88765 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 7.6 on FreeBSD
I noticed these files and ran this: $(pwd)/buildme.pl \ --freebsd \ --noCPAN \ --build tarball \ --buildDir /tmp/scbuild \ --sourceDir $(pwd) \ -destDir ~/software/squeezeboxserver/build/ When I install the resulting tarball and start up squeezeboxserver, I get this: root@nas02:~ # /usr/local/etc/rc.d/squeezeboxserver start --daemon --prefsdir=/var/db/squeezeboxserver/prefs --logdir=/var/log/squeezeboxserver --cachedir=/var/db/squeezeboxserver/cache --pidfile=/var/run/squeezeboxserver/squeezeboxserver.pid /usr/local/etc/rc.d/squeezeboxserver: WARNING: $command_interpreter /usr/local/bin/perl != perl Starting squeezeboxserver. Use of inherited AUTOLOAD for non-method YAML::Syck::DumpYAML() is deprecated at /usr/local/squeezeboxserver-7.6.1-33033-noCPAN/CPAN/YAML/Syck.pm line 65. The following modules failed to load: YAML::Syck I'll give your script a go. R. -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=88765 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 7.6 on FreeBSD
pallfreeman;648659 Wrote: > Figures. You'll need the 64-bit SBS to go with your 64-bit perl, then, > too. > > I'll build one. Be an hour or two, 'cos I need to update other stuff. Ah, your packages are 32-bit? OK. I can build me own packages, if you share the buildme line you use! R. -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=88765 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 7.6 on FreeBSD
Out of interest, what buildme.pl command do you use to build the tarball? (I have a checkout of 7.6/trunk on my NAS) R. -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=88765 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 7.6 on FreeBSD
Yup, 64-bit: # uname -a FreeBSD nas02.robinbowes.com 8.2-STABLE FreeBSD 8.2-STABLE #1 r223883: Sat Jul 9 19:14:04 UTC 2011 r...@nas02.robinbowes.com:/usr/obj/tank/src/8/sys/GENERICPB amd64 -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=88765 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 7.6 on FreeBSD
[cont'd] The following modules are loaded after the second attempt: attributes.pm => /usr/local/lib/perl5/5.12.4/mach/attributes.pm HTML/Parser.pm => /usr/local/lib/perl5/site_perl/5.12.4/mach/HTML/Parser.pm File/Spec/Functions.pm => /usr/local/lib/perl5/5.12.4/mach/File/Spec/Functions.pm List/Util.pm => /usr/local/lib/perl5/5.12.4/mach/List/Util.pm POSIX.pm => /usr/local/lib/perl5/5.12.4/mach/POSIX.pm Getopt/Long.pm => /usr/local/lib/perl5/5.12.4/Getopt/Long.pm Tie/Hash.pm => /usr/local/lib/perl5/5.12.4/Tie/Hash.pm Cwd.pm => /usr/local/lib/perl5/5.12.4/mach/Cwd.pm warnings.pm => /usr/local/lib/perl5/5.12.4/warnings.pm Slim/Utils/OSDetect.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/Slim/Utils/OSDetect.pm BSDPAN/Override.pm => /usr/local/lib/perl5/5.12.4/BSDPAN/BSDPAN/Override.pm Digest/base.pm => /usr/local/lib/perl5/5.12.4/Digest/base.pm Fcntl.pm => /usr/local/lib/perl5/5.12.4/mach/Fcntl.pm BSDPAN.pm => /usr/local/lib/perl5/5.12.4/BSDPAN/BSDPAN.pm Symbol.pm => /usr/local/lib/perl5/5.12.4/Symbol.pm Sub/Name.pm => /usr/local/lib/perl5/site_perl/5.12.4/mach/Sub/Name.pm Scalar/Util.pm => /usr/local/lib/perl5/5.12.4/mach/Scalar/Util.pm Exporter.pm => /usr/local/lib/perl5/5.12.4/Exporter.pm Slim/Utils/OS.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/Slim/Utils/OS.pm File/Spec.pm => /usr/local/lib/perl5/5.12.4/mach/File/Spec.pm JSON/XS.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/CPAN/JSON/XS.pm File/Path.pm => /usr/local/lib/perl5/5.12.4/File/Path.pm FindBin.pm => /usr/local/lib/perl5/5.12.4/FindBin.pm warnings/register.pm => /usr/local/lib/perl5/5.12.4/warnings/register.pm XSLoader.pm => /usr/local/lib/perl5/5.12.4/XSLoader.pm Slim/bootstrap.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/Slim/bootstrap.pm Digest/SHA1.pm => /usr/local/lib/perl5/site_perl/5.12.4/mach/Digest/SHA1.pm Time/HiRes.pm => /usr/local/lib/perl5/5.12.4/mach/Time/HiRes.pm XML/Parser/Expat.pm => /usr/local/lib/perl5/site_perl/5.12.4/mach/XML/Parser/Expat.pm version.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/CPAN/version.pm DBI.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/CPAN/DBI.pm Config_git.pl => /usr/local/lib/perl5/5.12.4/mach/Config_git.pl /usr/local/lib/perl5/5.12.4/mach/auto/POSIX/autosplit.ix => /usr/local/lib/perl5/5.12.4/mach/auto/POSIX/autosplit.ix base.pm => /usr/local/lib/perl5/5.12.4/base.pm Config.pm => /usr/local/lib/perl5/5.12.4/mach/Config.pm File/Basename.pm => /usr/local/lib/perl5/5.12.4/File/Basename.pm EV.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/CPAN/EV.pm version/vxs.pm => /usr/local/lib/perl5/site_perl/5.12.4/mach/version/vxs.pm Carp.pm => /usr/local/lib/perl5/5.12.4/Carp.pm common/sense.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/CPAN/common/sense.pm Exporter/Heavy.pm => /usr/local/lib/perl5/5.12.4/Exporter/Heavy.pm File/Spec/Unix.pm => /usr/local/lib/perl5/5.12.4/mach/File/Spec/Unix.pm /usr/local/lib/perl5/5.12.4/mach/auto/POSIX/load_imports.al => /usr/local/lib/perl5/5.12.4/mach/auto/POSIX/load_imports.al vars.pm => /usr/local/lib/perl5/5.12.4/vars.pm strict.pm => /usr/local/lib/perl5/5.12.4/strict.pm constant.pm => /usr/local/lib/perl5/5.12.4/constant.pm Config_heavy.pl => /usr/local/lib/perl5/5.12.4/mach/Config_heavy.pl overload.pm => /usr/local/lib/perl5/5.12.4/overload.pm AutoLoader.pm => /usr/local/lib/perl5/5.12.4/AutoLoader.pm HTML/Entities.pm => /usr/local/lib/perl5/site_perl/5.12.4/mach/HTML/Entities.pm lib.pm => /usr/local/lib/perl5/5.12.4/mach/lib.pm Slim/Utils/OS/Unix.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/Slim/Utils/OS/Unix.pm DynaLoader.pm => /usr/local/lib/perl5/5.12.4/mach/DynaLoader.pm The following modules failed to load: YAML::Syck *** NOTE: If you're running some unsupported Linux/Unix platform, please use the buildme.sh script located here: http://svn.slimdevices.com/repos/slim/7.6/trunk/vendor/CPAN/ If 7.6 is outdated by the time you read this, Replace "7.6" with the major version You should never need to do this if you're on Windows or Mac OSX. If the installers don't work for you, ask for help and/or report a bug. of Squeezebox Server you are running. *** -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations
Re: [SlimDevices: Unix] 7.6 on FreeBSD
tempt: attributes.pm => /usr/local/lib/perl5/5.12.4/mach/attributes.pm File/Spec/Functions.pm => /usr/local/lib/perl5/5.12.4/mach/File/Spec/Functions.pm List/Util.pm => /usr/local/lib/perl5/5.12.4/mach/List/Util.pm POSIX.pm => /usr/local/lib/perl5/5.12.4/mach/POSIX.pm Getopt/Long.pm => /usr/local/lib/perl5/5.12.4/Getopt/Long.pm Tie/Hash.pm => /usr/local/lib/perl5/5.12.4/Tie/Hash.pm Cwd.pm => /usr/local/lib/perl5/5.12.4/mach/Cwd.pm warnings.pm => /usr/local/lib/perl5/5.12.4/warnings.pm Slim/Utils/OSDetect.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/Slim/Utils/OSDetect.pm BSDPAN/Override.pm => /usr/local/lib/perl5/5.12.4/BSDPAN/BSDPAN/Override.pm Fcntl.pm => /usr/local/lib/perl5/5.12.4/mach/Fcntl.pm BSDPAN.pm => /usr/local/lib/perl5/5.12.4/BSDPAN/BSDPAN.pm Symbol.pm => /usr/local/lib/perl5/5.12.4/Symbol.pm Scalar/Util.pm => /usr/local/lib/perl5/5.12.4/mach/Scalar/Util.pm Exporter.pm => /usr/local/lib/perl5/5.12.4/Exporter.pm Slim/Utils/OS.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/Slim/Utils/OS.pm File/Spec.pm => /usr/local/lib/perl5/5.12.4/mach/File/Spec.pm JSON/XS.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/CPAN/JSON/XS.pm File/Path.pm => /usr/local/lib/perl5/5.12.4/File/Path.pm FindBin.pm => /usr/local/lib/perl5/5.12.4/FindBin.pm warnings/register.pm => /usr/local/lib/perl5/5.12.4/warnings/register.pm XSLoader.pm => /usr/local/lib/perl5/5.12.4/XSLoader.pm Slim/bootstrap.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/Slim/bootstrap.pm Time/HiRes.pm => /usr/local/lib/perl5/5.12.4/mach/Time/HiRes.pm version.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/CPAN/version.pm DBI.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/CPAN/DBI.pm Config_git.pl => /usr/local/lib/perl5/5.12.4/mach/Config_git.pl /usr/local/lib/perl5/5.12.4/mach/auto/POSIX/autosplit.ix => /usr/local/lib/perl5/5.12.4/mach/auto/POSIX/autosplit.ix base.pm => /usr/local/lib/perl5/5.12.4/base.pm Config.pm => /usr/local/lib/perl5/5.12.4/mach/Config.pm File/Basename.pm => /usr/local/lib/perl5/5.12.4/File/Basename.pm EV.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/CPAN/EV.pm version/vxs.pm => /usr/local/lib/perl5/site_perl/5.12.4/mach/version/vxs.pm Carp.pm => /usr/local/lib/perl5/5.12.4/Carp.pm common/sense.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/CPAN/common/sense.pm Exporter/Heavy.pm => /usr/local/lib/perl5/5.12.4/Exporter/Heavy.pm File/Spec/Unix.pm => /usr/local/lib/perl5/5.12.4/mach/File/Spec/Unix.pm /usr/local/lib/perl5/5.12.4/mach/auto/POSIX/load_imports.al => /usr/local/lib/perl5/5.12.4/mach/auto/POSIX/load_imports.al vars.pm => /usr/local/lib/perl5/5.12.4/vars.pm strict.pm => /usr/local/lib/perl5/5.12.4/strict.pm constant.pm => /usr/local/lib/perl5/5.12.4/constant.pm Config_heavy.pl => /usr/local/lib/perl5/5.12.4/mach/Config_heavy.pl overload.pm => /usr/local/lib/perl5/5.12.4/overload.pm AutoLoader.pm => /usr/local/lib/perl5/5.12.4/AutoLoader.pm lib.pm => /usr/local/lib/perl5/5.12.4/mach/lib.pm Slim/Utils/OS/Unix.pm => /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/Slim/Utils/OS/Unix.pm DynaLoader.pm => /usr/local/lib/perl5/5.12.4/mach/DynaLoader.pm The following modules failed to load on the first attempt: [XML::Parser::Expat, HTML::Parser, Digest::SHA1, YAML::Syck, Sub::Name] - will try again. Loaded module: [XML::Parser::Expat] ok! Loaded module: [HTML::Parser] ok! Loaded module: [Digest::SHA1] ok! Module [YAML::Syck] failed to load: Undefined subroutine & called at /usr/local/squeezeboxserver-7.6.1-33022-FreeBSD/Slim/bootstrap.pm line 284. Removing [YAML::Syck] from the symbol table - load failed. Loaded module: [Sub::Name] ok! [cont'd in next post] -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=88765 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 7.6 on FreeBSD
Thanks - that's all great. I'll have a go with that this evening. R. PS. I don't have a problem with your shell scripting - I'm an experienced linux sysadmin, I'm just not used FreeBSD an awful lot since the late '90s! -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=88765 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 7.6 on FreeBSD
I too have FreeBSD 8.2 and perl 5.12.4. However, I'm a bit of a FreeBSD newbie... For example, how would I go about trying your squeezeboxserver-7.6.1-33022-FreeBSD.tgz tarball? Thanks, R. -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=88765 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 7.6 on FreeBSD
I have been in touch with the port maintainer and I asked him if he will be updating the port to 7.6. He replied (on Jul 28): "Yes, but I'm not sure when I'll have time to do so. I'm kind of buried at work and I'm going on vacation next week." So, I guess we sit back and wait :) R. -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=88765 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] 7.6 on FreeBSD
I've just switched my NAS to FreeBSD 8.2 (from NexentaStor) and so can run squeezeboxserver directly on the NAS box (I was running it on a CentOS VM with the library mounted over NFS). I have 7.5.4 installed from the port, but would like to use the latest code from svn. So, anyone doing this already? I'd like some help getting this going! Thanks, R. -- robinbowes Net-UDAP is free software - you do not have to pay for it. However, if you found it useful, please consider donating: https://projects.robinbowes.com/Net-UDAP/trac#Donations robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=88765 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] New FLAC versions in Linux?
I installed flac-1.1.4 on FC6 from a rebuilt FC7 RPM but ran into the following SELinux issues: flac: error while loading shared libraries: /usr/lib/libFLAC.so.8: cannot restore segment prot after reloc: Permission denied I fixed this using: chcon -t textrel_shlib_t /usr/lib/libFLAC.so.8* R. -- robinbowes robinbowes's Profile: http://forums.slimdevices.com/member.php?userid=480 View this thread: http://forums.slimdevices.com/showthread.php?t=34794 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
[SlimDevices: Unix] Re: Anyone also working PostgreSQL support?
Dan Sully Wrote: > > On the Pg issue - you'll probably need to set a sequence at the > Slim::DataStores::DBI::* level for all the auto-increment keys. > Something like: $class->sequence('album_seq_next'); > > near the top of Album.pm, etc. Go here: http://search.cpan.org/~timb/DBI-1.48/DBI.pm and search for "last_insert_id". >From what I can gather, the last_insert_id function is portable but requires different parameters for PgSQL, MySQL, SQLite, etc. I seems eminently possible to code around this, i.e. define parameters if a particular DB is being used. R. -- robinbowes ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix