Mailing List Archive

Samba Retardedness (Was: NForce 2 Network and Booting)
I offer my thanks to everyone who game me suggestions on this problem,
and it comes to be that the soothing light at the end of my tunnel was
just a freight train coming my way.

Now that I have gotten it to stop failing the mount on boot. (If
anyone is curious, on how, I added 'noauto' the line in the /etc/fstab
that mounts the drive, then added the mount command to my .xinitrc,
because X loads at boot)

Samba has started giving me new problems. For copying, viewing and
moving files, it seems to be rock solid... But for Trying to play
video and audio files from the mounted samba drive is failing... It
will play the first few seconds of any file and then just stop without
warning... It will just die... smb.conf is very simple, and listed
below... So for a week now, I have been struggling with this issue and
I have, once agan gotten all the way down to my last nerve on it... If
anyone can offer suggestions, fixes, etc....


<begin smb.conf>

[global]
workgroup = CEREBRO
server string = Samba Server %v
log file = /var/log/samba3/log.%m
max log size = 50

hosts allow = 192.168.1.
guest account = samba
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/private/smbpasswd
dns proxy = no


[homes]
comment = Home Directories
browseable = no
writable = yes

[public]
browseable = yes
path = /home/samba
public = yes
only guest = yes
guest ok = yes
writeable = yes

<end smb.conf>
--
-Jokr 2 Thief
Your speedbump on the information super highway.
----
"It dosen't matter how many times you type them... 'u, ur, r ne1 b and
y' are *NOT* real words." - Me

--
gentoo-user@gentoo.org mailing list
Re: Samba Retardedness (Was: NForce 2 Network and Booting) [ In reply to ]
Jokr2 Thief wrote:
> I offer my thanks to everyone who game me suggestions on this problem,
> and it comes to be that the soothing light at the end of my tunnel was
> just a freight train coming my way.
>
<snip>
>
> Samba has started giving me new problems. For copying, viewing and
> moving files, it seems to be rock solid... But for Trying to play
> video and audio files from the mounted samba drive is failing... It
> will play the first few seconds of any file and then just stop without
> warning... It will just die... smb.conf is very simple, and listed
> below... So for a week now, I have been struggling with this issue and
> I have, once agan gotten all the way down to my last nerve on it... If
> anyone can offer suggestions, fixes, etc....

What application are you using to play the audio/video files? Does this
application support networked files? Mplayer, for example, has a "samba"
USE flag), other applications may support networking inside their
configuration options, rather than during the compile.

In any case, the problem might not be Samba (don't see why it would,
actually, since the file appears and begins to play, and since samba is
able to transfer large files via a file manager, it seems unlikely that
Samba would be cutting off only when media files are involved), but
rather the multimedia application being used.

Hope this helps.
Holly

--
gentoo-user@gentoo.org mailing list
Re: Samba Retardedness (Was: NForce 2 Network and Booting) [ In reply to ]
On Thursday 30 September 2004 02:34 am, Jokr2 Thief wrote:
> I offer my thanks to everyone who game me suggestions on this problem,
> and it comes to be that the soothing light at the end of my tunnel was
> just a freight train coming my way.
>
> Now that I have gotten it to stop failing the mount on boot. (If
> anyone is curious, on how, I added 'noauto' the line in the /etc/fstab
> that mounts the drive, then added the mount command to my .xinitrc,
> because X loads at boot)
>
> Samba has started giving me new problems. For copying, viewing and
> moving files, it seems to be rock solid... But for Trying to play
> video and audio files from the mounted samba drive is failing... It
> will play the first few seconds of any file and then just stop without
> warning... It will just die...


Does it die and never comes back? If so, try adding to globals in smb.conf the
following line:

use sendfile = no

Then restart samba... Did it fix your problem? If so, it's a well know kernel
bug that no one talks about...

If it's not fixed... well... start browesing the samba logs.

Jerry

--

******************************************************************************
Registered Linux User Number 185956
FSF Associate Member number 2340 since 05/20/2004
Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
12:44pm up 30 days, 12:57, 7 users, load average: 3.04, 3.03, 3.00

--
gentoo-user@gentoo.org mailing list
Re: Samba Retardedness (Was: NForce 2 Network and Booting) [ In reply to ]
> > Samba has started giving me new problems. For copying, viewing and
> > moving files, it seems to be rock solid... But for Trying to play
> > video and audio files from the mounted samba drive is failing... It
> > will play the first few seconds of any file and then just stop without
> > warning... It will just die...

I had a similar problem getting Samba set up on my server. After many
frustrating hours of playing with different smb.conf settings, it
finally turned out to be a problem with one of the ports on my switch.
I plugged the server into a different port and the problem went away.


Matt

--
gentoo-user@gentoo.org mailing list
Re: Samba Retardedness (Was: NForce 2 Network and Booting) [ In reply to ]
On Thursday 30 September 2004 02:34 am, Jokr2 Thief wrote:
> I offer my thanks to everyone who game me suggestions on this problem,
> and it comes to be that the soothing light at the end of my tunnel was
> just a freight train coming my way.
>
> Now that I have gotten it to stop failing the mount on boot. (If
> anyone is curious, on how, I added 'noauto' the line in the /etc/fstab
> that mounts the drive, then added the mount command to my .xinitrc,
> because X loads at boot)
>
> Samba has started giving me new problems. For copying, viewing and
> moving files, it seems to be rock solid... But for Trying to play
> video and audio files from the mounted samba drive is failing... It
> will play the first few seconds of any file and then just stop without
> warning... It will just die...


Does it die and never comes back? If so, try adding to globals in smb.conf the
following line:

use sendfile = no

Then restart samba... Did it fix your problem? If so, it's a well know kernel
bug that no one talks about...

If it's not fixed... well... start browsing the samba logs.

Jerry

--

******************************************************************************
Registered Linux User Number 185956
FSF Associate Member number 2340 since 05/20/2004
Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
12:44pm up 30 days, 12:57, 7 users, load average: 3.04, 3.03, 3.00

--
gentoo-user@gentoo.org mailing list
Re: Samba Retardedness (Was: NForce 2 Network and Booting) [ In reply to ]
On Thu, 30 Sep 2004 11:30:57 +0200, Holly Bostick <motub@planet.nl> wrote:

> What application are you using to play the audio/video files? Does this
> application support networked files? Mplayer, for example, has a "samba"
> USE flag), other applications may support networking inside their
> configuration options, rather than during the compile.

Actually, I think this has a ring of truth to it... XMMS seems to have
no end of trouble, so I emerged mpg123 this morning and it seems to
have no problem playing audio files all the way through. Now I don't
think there's any sort of Samba specific code in XMMS, but just to be
sure, I did a USE="samba" emerge xmms today, and the recompile gave me
the same result. I have been fiddling with the buffer settings, but to
no avail...

I'll go check the XMMS homepage and look for a bugfix.

> In any case, the problem might not be Samba (don't see why it would,
> actually, since the file appears and begins to play, and since samba is
> able to transfer large files via a file manager, it seems unlikely that
> Samba would be cutting off only when media files are involved), but
> rather the multimedia application being used.
>
> Hope this helps.
> Holly
>
> --
> gentoo-user@gentoo.org mailing list
>
>



--
-Jokr 2 Thief
Your speedbump on the information super highway.
----
"It dosen't matter how many times you type them... 'u, ur, r ne1 b and
y' are *NOT* real words." - Me

--
gentoo-user@gentoo.org mailing list