smbmount/kernel 2.4.2/Samba 2.0.7 - Unable to use large files/directories

Urban Widmark urban at teststation.com
Mon Mar 5 19:22:51 GMT 2001


On Mon, 5 Mar 2001, Robert M. Voegerl wrote:

> Hi there.
> 
> I'm having a very odd problem with samba.  I have a Mandrake 7.2 linux

smbfs, not samba.

> distro, though I've compiled a 2.4.2 kernel for it (with samba support
> compiled in - not a module), and I've also compiled Samba 2.0.7.  When I
> mount shares from my win98 machines, if I try to list a large directory
> or open a large file, the terminal freezes. I'm able to log in another,

How large directory and how large file? Number of files/directories (or
even better a list of names) and bytes.

> Mar  5 10:22:47 ra kernel: smb_get_length: recv error = 104
> Mar  5 10:22:47 ra kernel: smb_trans2_request: result=-104, setting
> invalid
> Mar  5 10:22:47 ra kernel: smb_retry: sucessful, new pid=3860,
> generation=2
> Mar  5 10:22:47 ra kernel: smb_proc_readdir_long: error=-104, retrying
> Mar  5 10:23:47 ra kernel: smb_get_length: recv error = 104

Hm, one minute exactly.

What are you running that accesses smbfs here? Some mp3 player? which?


> Any assistance would be appreciated.  This is an old p133 that I'm
> turning into a headless firewall/mp3 player, but it has no drive space,
> so I need to smbmount the tunes! :)

Unless your linux machine has a lot of memory (highmem, >4G) you may want
to try 2.4.1 or copy the fs/smbfs/*.c code from 2.4.1 into 2.4.2.

The 2.4.2 smbfs code appears to have some fatal bugs in the dentry code. I
know how to hang my machine and I someone reported bad things when trying
to tar up a remote machine.

Your report doesn't match this completely, it doesn't go away by itself,
but you may want to try 2.4.1 anyway.

/Urban





More information about the samba mailing list