http://bugzilla.novell.com/show_bug.cgi?id=571494
http://bugzilla.novell.com/show_bug.cgi?id=571494#c50
Suresh Jayaraman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO
InfoProvider| |jimoe@sohnen-moe.com
--- Comment #50 from Suresh Jayaraman 2010-03-29 12:41:38 UTC ---
<snip1>
[ 385.211491]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
write_begin from 1212416 len 4096
[ 385.211497]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
write_end for page ffffea0002924788 from pos 1212416 with 4096 bytes
[ 385.211502]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
write_begin from 1216512 len 4096
[ 385.211507]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
write_end for page ffffea00029247c0 from pos 1216512 with 4096 bytes
[ 385.211510]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
write_begin from 1220608 len 1678
[ 385.211515]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
write_end for page ffffea00029247f8 from pos 1220608 with 1678 bytes
[ 385.211518]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
CIFS VFS: in cifs_write_end as Xid: 313 with uid: 1000
[ 385.211522]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
write 1678 bytes to offset 1220608 of enigmail-1.0.1-tb-linux.xpi
[ 385.211525]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
CIFS VFS: in cifs_write as Xid: 314 with uid: 1000
[ 385.211529]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/cifssmb.c:
write2 at 1220608 1678 bytes
[ 385.211533]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/transport.c:
For smb_command 47
[ 385.211535]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/transport.c:
Sending smb: total_len 1746
[ 385.211867]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/connect.c:
rfc1002 length 0x33
[ 385.211884]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/misc.c:
Null buffer passed to cifs_small_buf_release
[ 385.211889]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
CIFS VFS: leaving cifs_write (xid = 314) rc = 0
[ 385.211892]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
CIFS VFS: leaving cifs_write_end (xid = 313) rc = 1181326
</snip2>
[ 4759.449295]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
write_begin from 1212416 len 4096
[ 4759.449306]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
write_end for page ffffea000106f700 from pos 1212416 with 4096 bytes
[ 4759.449316]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
write_begin from 1216512 len 4096
[ 4759.449326]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
write_end for page ffffea000106f738 from pos 1216512 with 4096 bytes
[ 4759.449336]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
write_begin from 1220608 len 1678
[ 4759.449345]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
write_end for page ffffea0000963990 from pos 1220608 with 1678 bytes
[ 4759.449355]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
CIFS VFS: in cifs_write_end as Xid: 366 with uid: 0
[ 4759.449365]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
write 1678 bytes to offset 1220608 of file
[ 4759.449374]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
CIFS VFS: in cifs_write as Xid: 367 with uid: 0
[ 4759.449383]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/cifssmb.c:
write2 at 1220608 1678 bytes
[ 4759.449392]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/transport.c:
For smb_command 47
[ 4759.449399]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/transport.c:
Sending smb: total_len 1746
[ 4759.449694]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/connect.c:
rfc1002 length 0x33
[ 4759.450208]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/misc.c:
Null buffer passed to cifs_small_buf_release
[ 4759.450219]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
CIFS VFS: leaving cifs_write (xid = 367) rc = 0
[ 4759.450229]
/usr/src/packages/BUILD/kernel-desktop-2.6.31.12/linux-2.6.31/fs/cifs/file.c:
CIFS VFS: leaving cifs_write_end (xid = 366) rc = 1678
</snip2>
The first one is with OS/2 server snippet and the second snip is with Samba
server. Comparing the two, note that the value of rc (number of bytes written)
in the last line on both the snippets (rc=1181326 in snip1 vs rc=1678 in
snip2). It is the number of bytes written during that write and the first one
is wrong. It can never be greater than 57344.
This is calculated from the Server's response. The value of bytes written in
case of OS/2 server is too high (even greater than the max number of bytes
written supported which is 57344). As a result the kernel fails while asserting
iov->iter_count < bytes. This is most likely a OS/2 server bug.
We would be able to confirm this by looking at the packet capture.
The packet capture size of cp operation of a file with 1,222,286 bytes was 194K
when I was captured only the cp operation. So perhaps just mounting the
problematic server alone and doing the cp operation should create a less size
packet capture.
If my math is correct, you should be able to create it with a file of size
26254 bytes (4 * 4096 + 2* 4096 + 1678) by doing something like
dd if=/dev/zero of=testfile bs=1 count=26254
cp testfile /mnt/cifs/
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.