PDA

View Full Version : Slimserver on Solaris



Kilgore Trout
2004-01-26, 22:05
Here is the output of a slimserver --d_stream. Does this look right?

2004-01-26 23:55:08 00:04:20:04:07:4e new stream
2004-01-26 23:55:08 00:04:20:04:07:4e Buffer full, starting playback
2004-01-26 23:55:09 00:04:20:04:07:4e- play - Buffer full, need to poll to see if there is space
2004-01-26 23:55:09 00:04:20:04:07:4e 1075179309.68496 Timeout on seq: 210
2004-01-26 23:55:09 00:04:20:04:07:4e 1075179309.74237 Timeout on seq: 210
2004-01-26 23:55:09 00:04:20:04:07:4e 1075179309.79959 Timeout on seq: 210
2004-01-26 23:55:09 00:04:20:04:07:4e 1075179309.85761 Timeout on seq: 210
...........and so on.

Kilgore Trout <diatrive (AT) yahoo (DOT) com> wrote:
Ok, further oddity. I can stream with the remote streaming ability to a laptop and that works fine. I am using the same network setup that worked with my mac. But when playing to a Slimp3 it just dies after 5 seconds.

?!?
Jeremy


Kilgore Trout <diatrive (AT) yahoo (DOT) com> wrote:
Oh here is the info.

bragi [/usr/local/SlimServer_v2004-01-24] # uname -a
SunOS bragi 5.9 Generic_112233-11 sun4u sparc SUNW,UltraAX-i2
bragi [/usr/local/SlimServer_v2004-01-24] # perl -v
This is perl, v5.8.0 built for sun4-solaris
Copyright 1987-2002, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
bragi [/usr/local/SlimServer_v2004-01-24] # perl
use Time::HiRes
print "blah \n";
blah
bragi [/usr/local/SlimServer_v2004-01-24] #


Kilgore Trout <diatrive (AT) yahoo (DOT) com> wrote:
So, I patched to the most recent set, upgraded perl and made sure that Time::HiRes works. Anyone else have any ideas?

Jeremy

dean blackketter <dean (AT) slimdevices (DOT) com> wrote:
SlimServer should work with Perl as far back as 5.6.0, as long as you
have the Time::HiRes module installed.

(Mac OS X pre-10.3 used this version, so we have incentive to keep
backwards compatibility.)

-dean

On Jan 26, 2004, at 2:15 PM, Steve Pawsey-Bowerman wrote:

> Correct me if I'm wrong, but I though you need Perl 5.8 + to run
> Slimserver. Mine runs on Red Hat, but I've played with it on Solaris 8
> with Perl 5.8 and it was fine. The only reason I went back to RedHat
> was because I couldn't get my 250gb HD working with my Ultra5. I've
> also had it working on one of my E420's at work (but thats another
> story.....!!)
>
> Steve
> -----Original Message-----
> From:discuss-bounces (AT) lists (DOT) slimdevices.com
> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of! ! ! Kilgore
> Trout
> Sent:24 January 2004 23:19
> To:discuss (AT) lists (DOT) slimdevices.com
> Subject:[slim] Slimserver on Solaris
>
> Hi all,
>
> Is there anything special needed to get the slimserver running on
> Solaris?
> It runs for about 3-5 seconds then goes dead, every time you start a
> song.
>
> Here are some stats.
>
> bragi [/usr/local/SlimServer_v5.0.1] # uname -a
> SunOS bragi 5.9 Generic_112233-07 sun4u sparc SUNW,UltraAX-i2
> bragi [/usr/local/SlimServer_v5.0.1] # perl -v
> This is perl, v5.6.1 built for sun4-solaris-64int
> (with 48 registered patches, see perl -V for more detail)
>
> Slimserver v 5.0.1 Slimp3s running firmware 2.2
>
> Here is the output from a slimserver --d_stream_v when it stops
> playing.
> 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.31035 ! sending ! ! stream,
> seq=106 len=1400 wptr=7700 state=play inflight=
> 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.31579 gotAck for seq:
> 106 2004-01-24 17:04:24 ack: wptr:7700, rptr:10785, seq:106,
> 2004-01-24 17:04:24 bytesinflight:1400 fullness:127702
> 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.32186 sending stream,
> seq=107 len=1400 wptr=8400 state=play inflight=
> 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.32727 gotAck for seq:
> 107 2004-01-24 17:04:24 ack: wptr:8400, rptr:10932, seq:107,
> 2004-01-24 17:04:24 bytesinflight:1400 fullness:128808
> 2004-01-24 17:04:24 00:04:20:04:07:4e sendEmptyChunk
> 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.39185 sending stream,
> seq=108 len=0 wptr=9100 state=play inflight=
> 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.45069 sending stream,
> seq=108 len=0 wptr=9100 state=play inflight=
> 2004-01-24 17:04:24 00:04:20:04:07! ! :4e 1074981864.51068 sending str! !
> ! eam, seq=108 len=0 wptr=9100 state=play inflight=
> 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.5707 sending stream,
> seq=108 len=0 wptr=9100 state=play inflight=
> 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.6307 sending stream,
> seq=108 len=0 wptr=9100 state=play inflight=
> 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.6907 sending stream,
> seq=108 len=0 wptr=9100 state=play inflight=
> 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.75071 sending stream,
> seq=108 len=0 wptr=9100 state=play inflight=
> Any ideas??
>
> Thanks,
> /jeremy
>
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool.Try it!
>

dean
2004-01-27, 09:21
If I remember correctly there were some problems with UDP support in
some patches of Solaris. Here's a message from our old list archive:

From: hww3 (AT) riverweb (DOT) com
Subject: [slimp3-users] Solaris 12/02 & firmware 1.3 resolution (sort
of)
Date: January 15, 2003 7:51:21 PM PST
To: slimp3-users (AT) yahoogroups (DOT) com
Reply-To: slimp3-users (AT) yahoogroups (DOT) com

Well, I've finally figured out what was probably causing the problem. I
downgraded the sun system from Solaris 9 12/02 (update 2) to Solaris 9
(update 0) and everything started working again. I confirmed this at
work with different hardware running those two releases of the OS, and
there the newer release also did not work. I don't know what Sun
changed in the intervening 2 software updates, but it doesn't agree
with the SliMP3 firmware/software.

Bill

On Tuesday, January 14, 2003, at 07:47 PM, Bill Welliver wrote:

> The sunblade will happily (and correctly) service a slimp3 when it is
> sending the traffic through a router. I found this out when my mac
> started its own bootp server on a second subnet on its interface. The
> slimp3 happily communicated with the solaris box on the same physical
> network, through the mac (as its router).




On Jan 26, 2004, at 9:05 PM, Kilgore Trout wrote:

> Here is the output of a slimserver --d_stream. Does this look right?
>
> 2004-01-26 23:55:08 00:04:20:04:07:4e new stream
> 2004-01-26 23:55:08 00:04:20:04:07:4e Buffer full, starting playback
> 2004-01-26 23:55:09 00:04:20:04:07:4e- play - Buffer full, need to
> poll to see if there is space
> 2004-01-26 23:55:09 00:04:20:04:07:4e 1075179309.68496 Timeout on seq:
> 210
> 2004-01-26 23:55:09 00:04:20:04:07:4e 1075179309.74237 Timeout on seq:
> 210
> 2004-01-26 23:55:09 00:04:20:04:07:4e 1075179309.79959 Timeout on seq:
> 210
> 2004-01-26 23:55:09 00:04:20:04:07:4e 1075179309.85761 Timeout on seq:
> 210
> ..........and so on.
>
> Kilgore Trout <diatrive (AT) yahoo (DOT) com>wrote:
> Ok, further oddity. I can stream with the remote streaming ability to
> a laptop and that works fine. I am using the same network setup that
> worked with my mac. But when playing to a Slimp3 it just dies after 5
> seconds.
>
> ?!?
> Jeremy
>
>
> Kilgore Trout <diatrive (AT) yahoo (DOT) com>wrote:
> Oh here is the info.
>
> bragi [/usr/local/SlimServer_v2004-01-24] # uname -a
> SunOS bragi 5.9 Generic_112233-11 sun4u sparc SUNW,UltraAX-i2
> bragi [/usr/local/SlimServer_v2004-01-24] # perl -v
> This is perl, v5.8.0 built for sun4-solaris
> Copyright 1987-2002, Larry Wall
> Perl may be copied only under the terms of either the Artistic License
> or the
> GNU General Public License, which may be found in the Perl 5 source
> kit.
> Complete documentation for Perl, including FAQ lists, should be found
> on
> this system using `man perl' or `perldoc perl'. If you have access to
> the
> Internet, point your browser athttp://www.perl.com/, the Perl Home
> Page.
> bragi [/usr/local/SlimServer_v2004-01-24] # perl
> use Time::HiRes
> print "blah \n";
> blah
> bragi [/usr/local/SlimServer_v2004-01-24] #
>
>
> Kilgore Trout <diatrive (AT) yahoo (DOT) com>wrote:
> So, I patched to the most recent set, upgraded perl and made sure that
> Time::HiRes works. Anyone else have any ideas?
>
> Jeremy
>
> dean blackketter <dean (AT) slimdevices (DOT) com>wrote:
> SlimServer should work with Perl as far back as 5.6.0, as long as you
> have the Time::HiRes module installed.
>
> (Mac OS X pre-10.3 used this version, so we have incentive to keep
> backwards compatibility.)
>
> -dean
>
> On Jan 26, 2004, at 2:15 PM, Steve Pawsey-Bowerman wrote:
>
> > Correct me if I'm wrong, but I though you need Perl 5.8 + to run
> > Slimserver. Mine runs on Red Hat, but I've played with it on Solaris
> 8
> > with Perl 5.8 and it was fine. The only reason I went back to RedHat
> > was because I couldn't get my 250gb HD working with my Ultra5. I've
> > also had it working on one of my E420's at work (but thats another
> > story.....!!)
> >
> > Steve
> > -----Original Message-----
> > From:discuss-bounces (AT) lists (DOT) slimdevices.com
> > [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of! ! ! !
> Kilgore
> > Trout
> > Sent:24 January 2004 23:19
> > To:discuss (AT) lists (DOT) slimdevices.com
> > Subject:[slim] Slimserver on Solaris
> >
> > Hi all,
> >
> > Is there anything special needed to get the slimserver running on
> > Solaris?
> > It runs for about 3-5 seconds then goes dead, every time you start a
> > song.
> >
> > Here are some stats.
> >
> > bragi [/usr/local/SlimServer_v5.0.1] # uname -a
> > SunOS bragi 5.9 Generic_112233-07 sun4u sparc SUNW,UltraAX-i2
> > bragi [/usr/local/SlimServer_v5.0.1] # perl -v
> > This is perl, v5.6.1 built for sun4-solaris-64int
> > (with 48 registered patches, see perl -V for more detail)
> >
> > Slimserver v 5.0.1 Slimp3s running firmware 2.2
> >
> > Here is the output from a slimserver --d_stream_v when it stops
> > playing.
> > 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.31035 ! ! sending !
> ! stream,
> > seq=106 len=1400 wptr=7700 state=play inflight=
> > 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.31579 gotAck for
> seq:
> > 106 2004-01-24 17:04:24 ack: wptr:7700, rptr:10785, seq:106,
> > 2004-01-24 17:04:24 bytesinflight:1400 fullness:127702
> > 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.32186 sending
> stream,
> > seq=107 len=1400 wptr=8400 state=play inflight=
> > 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.32727 gotAck for
> seq:
> > 107 2004-01-24 17:04:24 ack: wptr:8400, rptr:10932, seq:107,
> > 2004-01-24 17:04:24 bytesinflight:1400 fullness:128808
> > 2004-01-24 17:04:24 00:04:20:04:07:4e sendEmptyChunk
> > 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.39185 sending
> stream,
> > seq=108 len=0 wptr=9100 state=play inflight=
> > 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.45069 sending
> stream,
> > seq=108 len=0 wptr=9100 state=play inflight=
> > 2004-01-24 17:04:24 00:04:20:04:07! ! :4e 1074981864.51068 sending
> str! !
> > ! eam, seq=108 len=0 wptr=9100 state=play inflight=
> > 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.5707 sending stream,
> > seq=108 len=0 wptr=9100 state=play inflight=
> > 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.6307 sending stream,
> > seq=108 len=0 wptr=9100 state=play inflight=
> > 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.6907 sending stream,
> > seq=108 len=0 wptr=9100 state=play inflight=
> > 2004-01-24 17:04:24 00:04:20:04:07:4e 1074981864.75071 sending
> stream,
> > seq=108 len=0 wptr=9100 state=play inflight=
> > Any ideas??
> >
> > Thanks,
> > /jeremy
> >
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free web site building tool.Try it!
> >