Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-01-2005, 09:24 AM   #1
LQ Newbie
Registered: Feb 2005
Posts: 12

Rep: Reputation: 0
Samba timed out

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

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.
Old 03-21-2005, 01:38 PM   #2
LQ Newbie
Registered: Mar 2005
Location: Morristown, NJ USA
Distribution: openSuse 10.2 / Suse 9.3
Posts: 23

Rep: Reputation: 15

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

Regrads Ossah
Old 11-17-2008, 04:23 PM   #3
LQ Newbie
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
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.

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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba: smb_add_request: request timed out! jhibbets Linux - Networking 26 04-02-2008 01:31 AM
Timed suspend.. Alex_jacobson Slackware 3 04-15-2005 09:23 PM
Timed actions LongName Programming 2 09-02-2004 03:42 AM
Timed Script rridler Programming 10 07-01-2004 10:52 PM
timed backups dennis_89 Linux - Networking 2 06-17-2004 09:55 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration