[linux-cifs-client] Re: CIFS and Windows 2003 Server shares

Jeff Layton jlayton at redhat.com
Fri Jan 9 00:34:38 GMT 2009


On Thu, 08 Jan 2009 17:04:35 -0500
Rob Henderson <robh at cs.indiana.edu> wrote:

> 
> 
> Jeff Layton wrote:
> > Rob,
> >
> > Your problem sounds like a different problem from what Leonardo
> > described, and is probably just poor error handling in the cifs_mount
> > code. We've done a lot of cleanup to that code recently, so results
> > with more recent kernels might be better. If you have a place to test
> > them, please test the kernels on my people.redhat.com page and report
> > the results:
> >
> > http://people.redhat.com/jlayton/
> >
> > ...they have updated CIFS code. Both the RHEL4 and RHEL5 kernels should
> > have the cifs_mount overhaul.
> >
> >   
> 
> Thanks, Jeff.  I just grabbed and installed 2.6.18-128.el5.jtltest.57PAE 
> and didn't have any luck.  The cifs mounts fail completely (even with 
> just one user) and tcpdump shows they aren't generating any traffic to 
> the samba server.  I ran the mount via strace and it says it is 
> panicing.  Here are the results:
> 
> # strace -f -v mount -t cifs //curie.cs.indiana.edu/robh /u/robh
> ... lots of output deleted ...
> [pid  6310] write(3, "Password: ", 10Password: )  = 10
> [pid  6310] read(3, "password removed\n", 4096) = 17
> [pid  6310] write(3, "\n", 1
> )           = 1
> [pid  6310] ioctl(3, SNDCTL_TMR_CONTINUE or TCSETSF, {c_iflags=0x500, 
> c_oflags=0x5, c_cflags=0xbf, c_lflags=0x8a3b, c_line=0, 
> c_cc="\x03\x1c\x7f\x15\x04\x00\x01\x00\x11\x13\x1a\x00\x12\x0f\x17\x16\x00\x00\x00"}) 
> = 0
> [pid  6310] close(3)                    = 0
> [pid  6310] munmap(0xb7f7f000, 4096)    = 0
> [pid  6310] mount("//curie.cs.indiana.edu/robh", "/u/robh", "cifs"..., 
> MS_MANDLOCK, "unc=//curie.cs.indiana.edu\\robh,"...PANIC: attached pid 
> 6310 exited
>  <unfinished ... exit status 0>
> Process 6309 resumed
> <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6310
> --- SIGCHLD (Child exited) @ 0 (0) ---
> exit_group(0)                           = ?
> 
> 
> I don't see anything being syslogged when I do this.  Please let me know 
> what else I can I do to help debug this?
> 

Huh. Looks like the userspace helper errored out (though maybe the
problem is something else). Did the mount attempt generate any error
messages in dmesg? What version of samba-client package do you have
installed?

-- 
Jeff Layton <jlayton at redhat.com>


More information about the linux-cifs-client mailing list