Distribution:Gentoo 1.4 Hardware Environment:Compaq DL380 Software Environment: Problem Description:smbmount fails after 30 minutes or so. Steps to reproduce: Create a mount with smbfs similar to this: mount -t smbfs -o username=theusername,password=thepassword,dmask=777,fmask=777 //tr-mke-file01/shared /mnt/to Then let it sit for awhile, not sure of the interval, but usually when I come back to work the next day and run a app that writes to the mount it produces a input/output error. Then as long as you are using the connection it is fine, then after it sits it starts all over again. This only started after I updated to 2.6.X and never happened on 2.4. Here is the kernel output from dmesg: SMB connection re-established (-5) smb_errno: class ERRSRV, code 91 from command 0x32 smb_lookup: find //File Transfers failed, error=-5 This is a problem as cron jobs that write to the mount fail for the first attempt, then manual intervention is required.
I get this too - initially it happened all the time, but after applying the patch from bug 1671 it only happens after the computer has been on over night or similar. ls on the mounted share dies after a while saying Input/output error, and the system log is filled with: Aug 9 09:27:15 gromgull kernel: smb_add_request: request [c4305dc0, mid=48868] timed out! Aug 9 09:27:15 gromgull kernel: smb_lookup: find //PICS failed, error=-5 This is running samba 3.0.5-1 and self compiled kernel 2.6.7
SMBFS is being deprecated, you should be using CIFS instead (see http://lwn.net/Articles/183693/
Another bug related to smbfs, with no activity for 2.5 years.
Closing as WONTFIX