You are not logged in.

#1 2008-09-02 00:01:51

Donki
Member
Registered: 2008-09-01
Posts: 6

[SOLVED]Samba IO Errors [EXACT ERROR UNCLEAR]

I have Arch setup on a box that I'm currently using as a file server among other things in my room.
I currently only have OpenNTPD, OpenSSH, and Samba installed.
It's connected through gigabit network to a DIR-655 (D-Link router).

[root@Ownage ~]# dmesg | grep Network
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection

I use it to stream music that I have stored on a 500GB JFS partition.
Everything was working fine until I moved my stuff to my dorm room, installed new (gigabit) network cards, and bought the new router.
Now when I try to stream music, it will start to play, but somewhere along in the middle of a song or so, my player freezes playing.
It freezes on my computer when I play it through WMPlayer, and it freezes on XBMC on my Xbox.

I'm kind of clueless as to what it can be.
When I drag files over from my laptop to my samba share, it copies very quickly, and correctly (md5 checks out).
This include a 4GB+ file that I dragged over a few days ago.

It seems like this problem only happens when I stream music.

Here is my smb.conf:

[global]
server string = Chrispy's File Server
netbios name = Ownage
workgroup = WORKGROUP
security = user
create mask = 0750
directory mask = 0750
hosts allow = 192.168.0.
log file = /var/log/samba/%m.log
max log size = 256

[My Files]
path = /shares/files
valid users = chrispy
writable = yes
force group = samba

[My Music]
path = /shares/music
valid users = chrispy
writable = yes
force group = samba

Also, it seems to lag when I try to search for the share on the Network section in Vista, but I have a feeling this is a Vista problem.

Some other weird things I've noticed are:
OpenNTPD is off by 10+ seconds or more sometimes. I have a feeling that it could be because the internet speed in my dorm room sucks.
Check this out:

Sep  1 18:26:11 Ownage ntpd[3257]: adjusting local clock by 14.575700s
Sep  1 18:28:16 Ownage ntpd[3257]: adjusting local clock by 14.570207s
Sep  1 18:31:01 Ownage ntpd[3257]: adjusting local clock by 14.495401s
Sep  1 18:34:06 Ownage ntpd[3257]: adjusting local clock by 14.458976s
Sep  1 18:37:02 Ownage ntpd[3257]: adjusting local clock by 14.359066s
Sep  1 18:40:50 Ownage ntpd[3257]: adjusting local clock by 14.310435s
Sep  1 18:44:34 Ownage ntpd[3257]: adjusting local clock by 14.227120s
Sep  1 18:46:41 Ownage ntpd[3257]: adjusting local clock by 14.171818s
Sep  1 18:50:25 Ownage ntpd[3257]: adjusting local clock by 14.063023s

Why is it readjusting by so much?

Any help is greatly appreciated!
Thanks for making such a great distro!

Last edited by Donki (2008-09-03 04:48:57)

Offline

#2 2008-09-03 04:30:02

Donki
Member
Registered: 2008-09-01
Posts: 6

Re: [SOLVED]Samba IO Errors [EXACT ERROR UNCLEAR]

I may have found a fix, but this is still weird.
I upped the output of the logs on Samba and waited around till it cut out again.
One thing I noticed, is that in and around the time where it would cut out, this would pop up in smbd.log:

[2008/09/02 19:49:51, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused

I don't have a printer, or CUPS installed on my server, and I never have, so I decided, hey, why the hell don't I just disable printing all together in Samba?

load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes

Been listening to my music nonstop for around an hour! I don't know why this would have such a HUGE effect, but it does.
Maybe this is fixed in the newest version of Samba (3.2.*).

I guess we can consider this one solved!

P.S. Thanks for making the best OS to touch an ALU Arch team!

Offline

Board footer

Powered by FluxBB