[linux-cifs-client] Re: cifs version 1.42 available for testing
Juan José Villaplana Querol
villapla at si.uji.es
Fri May 26 11:27:22 GMT 2006
On Fri, May 26, 2006 at 12:33:58PM +0200, Juan José Villaplana Querol wrote:
> Hi Steve,
>
> The attached patch is needed in order to compile 1.42b on
> RHEL4/Centos4. Redhat uses kernel 2.6.9, but provides "kzalloc".
>
>
> In order to avoid warnings compiling link.c:
>
> CC [M] /home/devel/cifs/cifs-1.42b/fs/cifs/link.o
> /home/devel/cifs/cifs-1.42b/fs/cifs/link.c: In function `cifs_follow_link':
> /home/devel/cifs/cifs-1.42b/fs/cifs/link.c:157: warning: return makes integer from pointer without a cast
>
> it seems that, in function cifs_follow_link line 92, kernel 2.6.8 should
> be checked instead of kernel 2.6.12. Is this correct?
Hi,
cifs-1.42b patched this way seems to work fine, but I get this error
when mounting a share:
CIFS VFS: Send error in SETFSUnixInfo = -5
The command used to mount the share is:
mount -t cifs -o noacl,serverino,iocharset=iso8859-1,user=villapla //127.0.0.1/villapla ~villapla
The client is running Centos4.3 (kernel 2.6.9-34.0.1.ELsmp) with custom
cifs 1.42b and mount.cifs 1.7. The server is running RHEL3 Update 7 and
samba 3.0.9-1.3E.7 with "unix extensions" enabled, on the attached logs
you will see 127.0.0.1 because port 139 on this server is reached via
a ssh port forwarding.
Please find attached cifsFYI debug output and DebugData.
I will do more extensive testing next week in our production-like
environment.
Best regards,
Juanjo
--
Juan José Villaplana Querol/Servei d'Informàtica/Universitat Jaume I
-------------- next part --------------
/home/devel/cifs/cifs-1.42b/fs/cifs/cifsfs.c: Devname: //127.0.0.1/villapla flags: 64
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 44321 with uid: 0
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: iocharset set to iso8859-1
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: Username: villapla
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: UNC: \\127.0.0.1\villapla ip: 127.0.0.1
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: Socket created
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: sndbuf 50436 rcvbuf 87680 rcvtimeo 0x7fffffff
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: Sending smb of length 68
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: Demultiplex PID: 10056
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: Existing smb sess not found
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: For smb_command 114
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: Sending smb of length 47
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: rfc1002 length 0x82000004)
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: Good RFC 1002 session rsp
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: rfc1002 length 0x5f)
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: Security Mode: 0x3 Capabilities: 0x80e3fd Time Zone: 65416
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: In sesssetup
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: For smb_command 115
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: Sending smb of length 248
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: rfc1002 length 0x6c)
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: UID = 100
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: CIFS Session Established successfully
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: file mode: 0x7f7 dir mode: 0x1ff
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: For smb_command 117
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: Sending smb of length 92
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: rfc1002 length 0x3a)
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: Tcon flags: 0x1
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: CIFS Tcon rc = 0
/home/devel/cifs/cifs-1.42b/fs/cifs/cifssmb.c: In QFSDeviceInfo
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: For smb_command 50
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: Sending smb of length 68
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: rfc1002 length 0x44)
/home/devel/cifs/cifs-1.42b/fs/cifs/cifssmb.c: In QFSAttributeInfo
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: For smb_command 50
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: Sending smb of length 68
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: rfc1002 length 0x50)
/home/devel/cifs/cifs-1.42b/fs/cifs/cifssmb.c: In QFSUnixInfo
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: For smb_command 50
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: Sending smb of length 68
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: rfc1002 length 0x48)
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: Negotiate caps 0x0
/home/devel/cifs/cifs-1.42b/fs/cifs/cifssmb.c: In SETFSUnixInfo
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: For smb_command 50
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: Sending smb of length 82
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: rfc1002 length 0x27)
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: invalid transact2 word count
/home/devel/cifs/cifs-1.42b/fs/cifs/netmisc.c: !!Mapping smb error code 65 to POSIX err -5 !!
CIFS VFS: Send error in SETFSUnixInfo = -5
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: setting capabilities failed
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 44321) rc = 0
/home/devel/cifs/cifs-1.42b/fs/cifs/inode.c: CIFS VFS: in cifs_read_inode as Xid: 44322 with uid: 0
/home/devel/cifs/cifs-1.42b/fs/cifs/inode.c: Getting info on
/home/devel/cifs/cifs-1.42b/fs/cifs/cifssmb.c: In QPathInfo (Unix) the path
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: For smb_command 50
/home/devel/cifs/cifs-1.42b/fs/cifs/transport.c: Sending smb of length 74
/home/devel/cifs/cifs-1.42b/fs/cifs/connect.c: rfc1002 length 0xa5)
/home/devel/cifs/cifs-1.42b/fs/cifs/inode.c: Old time 0
/home/devel/cifs/cifs-1.42b/fs/cifs/inode.c: New time 90416474
/home/devel/cifs/cifs-1.42b/fs/cifs/inode.c: Size 0 and blocks 8
/home/devel/cifs/cifs-1.42b/fs/cifs/inode.c: Directory inode
-------------- next part --------------
Display Internal CIFS Data Structures for Debugging
---------------------------------------------------
CIFS Version 1.42b
Active VFS Requests: 0
Servers:
1) Name: 127.0.0.1 Domain: ANUBIS Mounts: 1 OS: Unix
NOS: Samba 3.0.9-1.3E.7 Capability: 0x80e3fd
SMB session status: 1 TCP status: 1
Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
MIDs:
Shares:
1) \\127.0.0.1\villapla Uses: 1 Type: NTFS DevInfo: 0x0 Attributes: 0x2b
PathComponentMax: 255 Status: 1 type: 0
More information about the linux-cifs-client
mailing list