LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba timed out (https://www.linuxquestions.org/questions/linux-networking-3/samba-timed-out-296277/)

Lechio 03-01-2005 09:24 AM

Samba timed out
 
This thing happens when i'm accessing samba shares, requests get timed out.
Here's the output from dmesg:


Code:

smb_add_request: request [c5d11ea0, mid=7280] timed out!
smb_proc_readX_data: offset is larger than SMB_READX_MAX_PAD or negative!
smb_proc_readX_data: -59 > 64 || -59 < 0


I'm running samba version 3.0.10 on a debian unstable.
Never had this problem with previous versions of samba, after an update i'm constantly
getting this error, wich freezes all my samba mounts making impossible to unmount them
and crashing the software that is using them (media players for instance).
Analising the smb.conf didn't get me nowhere.

Ossah 03-21-2005 01:38 PM

Hei,

I have the same problem. It's pretty annoying. Did you or anyvody else find a way to fix this?

Regrads Ossah

lomion2 11-17-2008 04:23 PM

I just ran into this problem myself and thought I'd post the solution here. It's my first post though so I can't post the url I got this from, but if you google my quote I'm sure you can find it.

Quote:

File copies fail with "smb_proc_readX_data: offset is larger than SMB_READX_MAX_PAD or negative!"

When coping a file from a windows server's share that is locally mounted with smbmount the copy fails with an I/O error and the following is in syslog:

smb_proc_readX_data: offset is larger than SMB_READX_MAX_PAD or negative!
smb_proc_readX_data: -59 > 64 || -59 < 0

This only seems to happen with the kernel-image-2.6.8 package in Debian Sarge. The error doesn't occur if you:

* use smbclient interactively;
* mount the remote share as type cifs instead of type smbfs; or
* use a vanilla kernel or a backport of a later kernel that is packaged for debian.

There is a debian bug report on this.
Apparently just replacing smbfs with cifs when mounting the share will get rid of the problem, and I think smbfs is being phased out in favor of cifs anyway.


All times are GMT -5. The time now is 12:29 PM.