[linux-cifs-client] cifs on ARM?
Steven Scholz
steven.scholz at imc-berlin.de
Thu Oct 20 07:01:32 GMT 2005
Steven French,
>>>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
>>
> 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
Any news on this?
Can I help by providing more denug output?
BTW has CIFS ever been used on a ARM platform?
Could there be alignment problems with data structures?
As you might know, ARM only does 32bit accesses. So maybe some _
__attribute__((packed)) are needed ...
--
Steven Scholz
More information about the linux-cifs-client
mailing list