[linux-cifs-client] cifs on ARM?

Steven Scholz steven.scholz at imc-berlin.de
Fri Oct 14 07:54:19 GMT 2005


Steven Scholz wrote:
> Steve,
> 
> 
>>I did run into the bad smb in response from some windows XP servers on byte
>>range lock response.
>>
>>MS was sending an SMB of length 3 bytes shorter than the RFC1001 length
>>would require.   I relaxed the check in cifs 1.38
> 
> 
> Is that a use space problem or a kernel driver problem?

Nevermind.
I downloaded cifs-1.38.tar.gz and copied all the files into
<mykernel>/fs/cifs, recompiled the kernel using

CONFIG_CIFS=y
CONFIG_CIFS_STATS=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
CONFIG_CIFS_EXPERIMENTAL=y


But using

~ # mount -t cifs //10.0.2.10/test /mnt/smb -o user=scholz,guest

I still get:

 CIFS VFS: Length less than smb header size
 CIFS VFS: bad smb detected. Illegal length. mid=1
Bad SMB: : dump of 48 bytes of data at 0xc0994ea0

 00000025 424d53ff 00000072 80018000 % . . . ÿ S M B r . . . . . . .
 00000000 00000000 00000000 01080000 . . . . . . . . . . . . . . . .
 00010000 00ffff01 00000000 00000000 . . . . . ÿ ÿ . . . . . . . . .
	(zzzZZZZzzz)
 CIFS VFS: No response for cmd 114 mid 1
 CIFS VFS: cifs_mount failed w/return code = -112
mount: Mounting //10.0.2.10/test on /mnt/smb failed: Host is down

--
Steven



More information about the linux-cifs-client mailing list