Re: [SlimDevices: Unix] Linux + Squeezebox Server running off of a USB stick

2011-07-29 Thread epoch1970

If you have enough RAM to overlay a writable (and volatile) filesystem
in ram over the readonly filesystem on the USB drive, to hold swap, and
to give SBS and the OS enough normal RAM you should have a very fast
system. I guess 4 GB begins to put you on the safe side (unless you,re
running a headless/minimal OS). Could be much less, Touch only runs
with 256MB or RAM AFAIK. 
There are kernel options at compile/runtime that will let you specify
the way the Linux kernel manages RAM. On a desktop it will use up all
RAM to cache old pages and fill the swap; on an embedded machine you'll
try avoiding swap (or removing it) and discarding old pages quickly, as
everything is in RAM anyway. 

I'm not up to speed on the embedded distributions. FreeNAS will work
like that (and persist settings to the USB key, nice) but this is BSD
with a web interface so you'd have to rely on a special package of SBS.
Michael usually packages one. 
You could also look at Voyage Linux which is a Debian distro tweaked
for embedded environments. Or go wild and use Debian's Live USB package
to install a custom system on a USB key (probably the most
work-intensive option). 
BTW, In this kind of setup you'd better not use hibernate ;)


-- 
epoch1970

Daily dose delivered by: 3 SB Classic, 1 SB Boom • iPeng (iPhone + iPad)
• SqueezeCenter 7.4.2 (Debian 5.0)  with plugins: MusicIP • Server Power
Control by Gordon Harris •  WeatherTime by Martin Rehfeld • IRBlaster by
Gwendesign (Felix) • Find cover art by bpa • BBC iPlayer, SwitchPlayer
by Triode • PowerSave by Jason Holtzapple • TrackStat, Song Info, Song
Lyrics by Erland Isaksson • SaverSwitcher, ContextMenu by Peter
Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=89100

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] How to downgrade from 7.6.0 on ubuntu with apt?

2011-07-29 Thread mudlark

andyjj;644573 Wrote: 
 How do I downgrade from 7.6.0 to 7.5.5 on Ubuntu (8.04 Server) that has
 *debian.slimdevices.com/ stable main* as an apt source?  The only
 version in my apt cache is 7.6.0.
 
 (7.6.0 has lost my library and scanning always crashes after 300-500
 files.  I've even tried *apt-get remove --purge squeezeboxserver*, then
 manually locating and removing everything squeezeboxserver/squeezecenter
 related, and reinstalling squeezeboxserver 7.6.0 but scanning still does
 not work.)
 
 After removing squeezeboxserver again (but leaving all dependencies) I
 downloaded 7.5.5 and tried:
 
 DPKG -I SQUEEZEBOXSERVER_7.5.5_ALL.DEB
 
 but it's missing:
 
 LIBMYSQLCLIENT14-DEV | LIBMYSQLCLIENT15-DEV | LIBMYSQLCLIENT16-DEV
 
 I'm a bit stuck.
 
 Worth noting: the old squeezeboxserver (7.5.3 I think) used my existing
 MySql server instance and I assume my library is still in there intact
 as 7.6.0 seemed to use SQLite judging from the logging.  I'm reluctant
 to point 7.6.0 to MySql in case it trashes it.
 
 Thanks,
 Andy.
 (also posted on Logitech forums)

My personal advice would be to upgrade your server to 10.04 LTS as I
believe all the dependencies will be Ok and you will get mysql sqlite
upgrades.


-- 
mudlark

SB3CyrusDACXPreXvsESPAudio P09B Active filterNAP140+260ARhapsody,
Avondale and Naim cable, Kubuntu Loony Lion servers, various boxes for
storage.
SB3 Flycatcher 3A linear power supply.
Using SqueezeBox Server 7.5.2 testing

mudlark's Profile: http://forums.slimdevices.com/member.php?userid=7151
View this thread: http://forums.slimdevices.com/showthread.php?t=89145

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Linux + Squeezebox Server running off of a USB stick

2011-07-29 Thread reniera

Also have a look there.
http://forums.slimdevices.com/showthread.php?p=634155


-- 
reniera

reniera's Profile: http://forums.slimdevices.com/member.php?userid=40705
View this thread: http://forums.slimdevices.com/showthread.php?t=89100

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Debian repository for arm (armel) architecture

2011-07-29 Thread sim909

Well I was hoping for some sort of reply...

In the meantime I just figured out a workaround that so far seems to be
working, at least for me. Hoping it may be useful for others, here it
is.

In your /etc/apt/sources.list add the following line:

Code:

deb [arch=i386] http://debian.slimdevices.com stable main


The [arch=i386] is what accomplishes the trick. 
You can change stable to testing or unstable, according to your
needs.


-- 
sim909

sim909's Profile: http://forums.slimdevices.com/member.php?userid=36685
View this thread: http://forums.slimdevices.com/showthread.php?t=88303

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] How to downgrade from 7.6.0 on ubuntu with apt?

2011-07-29 Thread andyjj

mudlark;644703 Wrote: 
 My personal advice would be to upgrade your server to 10.04 LTS as I
 believe all the dependencies will be Ok and you will get mysql sqlite
 upgrades.

The dependencies are fine for Ubuntu 8.04 as SBS 7.6.0 installed
without problem (but the scanning was borked, which seems to be a
common problem).  Some dependencies were removed - probably when I
purged squeezeboxserver - and dpkg doesn't install dependencies.

In case it helps somebody I fixed it by looking in /var/log/dpkg.log
and finding the packages that had been removed and reinstalling them:

SUDO APT-GET INSTALL LIBC6-DEV LIBMYSQLCLIENT15-DEV LINUX-LIBC-DEV
ZLIB1G-DEV

then downloading and installing the .deb (version found in dpkg.log
again):

*sudo dpkg -i squeezeboxserver_7.5.3_all.deb*


-- 
andyjj

andyjj's Profile: http://forums.slimdevices.com/member.php?userid=48565
View this thread: http://forums.slimdevices.com/showthread.php?t=89145

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix