error code comes from the smbfs support in the kernel.
fs/smbfs/proc.c:

 -2   means that it could not find a file or directory in the call to 
smb_add_request.

Basically, it either means you have a bug in the kernel, or a bug in the 
version of the samba utilities you are using, or you are using a version of the 
utilities that is not compatible with the kernel you are using.

So try  mounting  with cifs filesystem  & if the problem  reoccurs
try upgrading samba utilities & kernel.

B.Sadhiq


--- In [email protected], ashok abraham <ashok...@...> wrote:
>
> dear all
> 
> i used to map my windows share to my linux box via samba 
> for backup  purpose
> strangely for las few days  whaen i mount he winsows partition to my linux 
> box iam getting  a message
> smb_proc_readdir_long: error=-2, breaking
> 
> if i do directory listing  somtimes files are displayed 
> but after  a few second if  do onother listing  the  mount point seems
> to be empty  i had  googled for this error 
> 
> many posting are  avilable wth the same issue  but nonone has a solution for 
> the same
> 
> any  solution   ?
> 
> 
> regards
> 
> ashok
> 
> 
> 
> 
> 
>       Yahoo! recommends that you upgrade to the new and safer Internet 
> Explorer 8. http://downloads.yahoo.com/in/internetexplorer/
>


Reply via email to