[Samba] Problems with Samba and kernel 2.6

Alexej Davidov alexej.davidov at gmx.net
Tue Jul 27 09:05:51 GMT 2004


Hello!

I have problems using Samba with Kernel 2.6.

With smbmount: mounting works but changing to the mounted directory or doing 
an 'ls' there leads to a timeout. Syslog says: 
$ cd /mnt/serv/c
Jul 27 10:37:19 sbs93 kernel: smb_setup_bcc: Packet too large 4257 > 4096
Jul 27 10:37:49 sbs93 kernel: smb_add_request: request [ea195e80, mid=0] timed 
out!
$ ls
Jul 27 10:38:36 sbs93 kernel: smb_receive_header: short packet: 0
Jul 27 10:39:06 sbs93 kernel: smb_add_request: request [e8d5be80, mid=1] timed 
out!
Jul 27 10:39:06 sbs93 kernel: smb_receive_header: short packet: 0
Jul 27 10:39:36 sbs93 kernel: smb_add_request: request [e8d5be80, mid=2] timed 
out!

With smbclient: I can do 'ls' and 'get', but 'put' says:
ERRSRV - 206 opening remote file 
\hb\opera-static_7.51-20040602.1-qt_en_i386.deb

The Problems arise when I access OS/2 Warp 3 but not when I access Windows NT, 
Windows 95 or OS/2 Warp 4.

Another funny thing is accessing a Samba server 3.0.4 on SUSE. If I mount it 
with username/password, and I try to 'cd' to the mounted dir or doing an 'ls' 
in the mounted dir syslog says :
Jul 27 10:47:29 sbs93 kernel: smb_add_request: request [e8706080, mid=1] timed 
out!
If I mount it without usernam/password options, it works fine. Also, in this 
case, smbclient works.

If I boot with kernel 2.4.26 and use exactly the same samba configuration 
everything works fine.

I've also checked the samba logs and the debug output of smbmount, but 
couldn't find anything unusual. Any ideas?

Btw: I use kernel 2.6.6 of Debian unstable with samba 3.0.4 and smbmount 
3.0.4-Debian

Thanks in advance
Alexej


More information about the samba mailing list