Re: Teeny, tiny patch to 1.79, & smbfs question

John Corey (kunglao@prairienet.org)
Tue, 13 Jan 1998 22:32:04 -0600


Bill Hawes wrote:
>
> John R. Corey wrote:
>
> > Secondly, has there been any work done with smbfs? With the 2.0 line it
> > worked fine, but 2.1.7x, it is very sporadic. Samba 1.9.18p1 now has a
> > line in the makefile to build smbmount for the 2.1.7x kernels. I gave it
> > a whirl and it mounts ok. Doing a df is about the only reliable
> > operation I've found though :). Directory listings vary from showing all
> > files, to only a few, and many times, no files at all.
>
> Please file a more detailed report of your problem with smbfs. Most
> importantly, which server are you using? Win NT, 95 and 3.1 all behave
> rather differently.
>
> Regards,
> Bill

Win95 OSR2 server, kernel 2.1.79 with Win95 bug fix compiled in, and
samba 1.9.18p1. Here's what happpens:

linux:~# smbmount //bozo/d zz
Added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
Server time is Tue Jan 13 22:12:42 1998
Timezone is UTC-6.0
security=share
smb: \> mount /mnt/d
linux:~# SMBFS: Win 95 bug fixes enabled
smb_newconn: state valid, pid=601

linux:~# df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda2 476226 410880 40751 91% /
/dev/hda1 694695 529623 129189 80% /usr
none 2096832 1774016 322816 85% /mnt/d
linux:~# dir /mnt/d/
ls: /mnt/d/: File table overflow
linux:~# dir /mnt/d/
smb_proc_readdir_long: rcls=2, err=1, breaking
smb_refill_dircache: readdir failed, result=-23
total 0
linux:~# dir /mnt/d/
smb_proc_readdir_long: rcls=2, err=1, breaking
smb_refill_dircache: readdir failed, result=-23
total 0

====
/var/log/messages:
Jan 13 22:12:48 linux kernel: SMBFS: Win 95 bug fixes enabled
Jan 13 22:12:48 linux kernel: smb_newconn: state valid, pid=601
Jan 13 22:13:13 linux kernel: smb_proc_readdir_long: rcls=2, err=1,
breaking
Jan 13 22:13:13 linux kernel: smb_refill_dircache: readdir failed,
result=-23
Jan 13 22:13:18 linux kernel: smb_proc_readdir_long: rcls=2, err=1,
breaking
Jan 13 22:13:18 linux kernel: smb_refill_dircache: readdir failed,
result=-23