Does samba server respond to partial write andx request?
Looks like cifs has not sent (write andx) entire 56K of data but
samba server has responded.
Or does samba server thinks the request is complete?
Specifically, I am not sure what
smb_bcc=57345
means/signifies

Your help is really, really appreciated.

Regards,

Shirish



CIFS VFS: sends on sock 0000000021dc4a00, sndbuf 34776, rcvbuf 87380 of
length 57408 stuck for 15 seconds, act_len: 57412 total_len: 20128 mid: 23485
pid: 32690, cmd: 47, error: -11

CIFS VFS: No task to wake, unknown frame received! NumMids 3, Mid 23485,
Pid: 45695, cmd: 47
Received Data is: : dump of 43 bytes of data at 0x000000001d1e2100
0000002f ff534d42 2f000000 008001c0 . . . / ÿ S M B / . . . . . .
00000000 00000000 00000000 0100b27f . . . . . . . . . . . . . . ² .
00005bbd 06ff0000 0000e000 . . [ ½ . ÿ . . . .


size=57408
smb_com=0x2f
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=49153
smb_tid=1
smb_pid=32690
smb_uid=0
smb_mid=48475
smt_wct=14
smb_vwv[ 0]= 255 (0xFF)
smb_vwv[ 1]= 0 (0x0)
smb_vwv[ 2]= 4395 (0x112B)
smb_vwv[ 3]=49152 (0xC000)
smb_vwv[ 4]= 36 (0x24)
smb_vwv[ 5]=65535 (0xFFFF)
smb_vwv[ 6]=65535 (0xFFFF)
smb_vwv[ 7]= 0 (0x0)
smb_vwv[ 8]= 0 (0x0)
smb_vwv[ 9]= 0 (0x0)
smb_vwv[10]=57344 (0xE000)
smb_vwv[11]= 64 (0x40)
smb_vwv[12]= 0 (0x0)
smb_vwv[13]= 0 (0x0)
smb_bcc=57345
[2008/07/08 16:46:31, 10] lib/util.c:dump_data(2286)
[000] 00 74 00 72 00 69 00 6E 00 67 00 73 00 04 00 00 .t.r.i.n .g.s....
[010] 00 0C 00 00 00 73 00 74 00 61 00 74 00 75 00 73 .....s.t .a.t.u.s
[020] 00 46 00 6F 00 72 00 6D 00 61 00 74 00 04 00 00 .F.o.r.m .a.t....
[030] 00 0D 00 00 00 73 00 74 00 61 00 74 00 75 00 73 .....s.t .a.t.u.s
[040] 00 46 00 6F 00 72 00 6D 00 61 00 74 00 32 00 00 .F.o.r.m .a.t.2..
[050] 00 04 00 00 00 11 00 00 00 74 00 72 00 61 00 6E ........ .t.r.a.n
[060] 00 73 00 66 00 65 00 72 00 53 00 61 00 6D 00 65 .s.f.e.r .S.a.m.e
[070] 00 55 00 6E 00 69 00 74 00 73 00 00 00 04 00 00 .U.n.i.t .s......
[080] 00 11 00 00 00 74 00 72 00 61 00 6E 00 73 00 66 .....t.r .a.n.s.f
[090] 00 65 00 72 00 44 00 69 00 66 00 66 00 55 00 6E .e.r.D.i .f.f.U.n
[0A0] 00 69 00 74 00 73 00 00 00 04 00 00 00 0F 00 00 .i.t.s.. ........
[0B0] 00 74 00 72 00 61 00 6E 00 73 00 66 00 65 00 72 .t.r.a.n .s.f.e.r
[0C0] 00 4E 00 6F 00 54 00 6F 00 74 00 61 00 6C 00 00 .N.o.T.o .t.a.l..
[0D0] 00 04 00 00 00 08 00 00 00 74 00 69 00 6D 00 65 ........ .t.i.m.e
[0E0] 00 50 00 61 00 69 00 72 00 04 00 00 00 0E 00 00 .P.a.i.r ........
[0F0] 00 74 00 69 00 6D 00 65 00 4C 00 65 00 66 00 74 .t.i.m.e .L.e.f.t
[100] 00 53 00 69 00 6E 00 67 00 6C 00 65 00 04 00 00 .S.i.n.g .l.e....
[110] 00 0E 00 00 00 74 00 69 00 6D 00 65 00 4C 00 65 .....t.i .m.e.L.e
[120] 00 66 00 74 00 44 00 6F 00 75 00 62 00 6C 00 65 .f.t.D.o .u.b.l.e
[130] 00 04 00 00 00 0E 00 00 00 74 00 69 00 6D 00 65 ........ .t.i.m.e
[140] 00 46 00 65 00 77 00 53 00 65 00 63 00 6F 00 6E .F.e.w.S .e.c.o.n
[150] 00 64 00 73 00 04 00 00 00 0B 00 00 00 74 00 69 .d.s.... .....t.i
[160] 00 6D 00 65 00 55 00 6E 00 6B 00 6E 00 6F 00 77 .m.e.U.n .k.n.o.w
[170] 00 6E 00 00 00 04 00 00 00 0A 00 00 00 64 00 6F .n...... .....d.o
[180] 00 6E 00 65 00 53 00 63 00 68 00 65 00 6D 00 65 .n.e.S.c .h.e.m.e
[190] 00 04 00 00 00 0E 00 00 00 64 00 6F 00 6E 00 65 ........ .d.o.n.e
[1A0] 00 46 00 69 00 6C 00 65 00 53 00 63 00 68 00 65 .F.i.l.e .S.c.h.e
[1B0] 00 6D 00 65 00 04 00 00 00 05 00 00 00 75 00 6E .m.e.... .....u.n
[1C0] 00 69 00 74 00 73 00 00 00 04 00 00 00 05 00 00 .i.t.s.. ........
[1D0] 00 62 00 79 00 74 00 65 00 73 00 00 00 04 00 00 .b.y.t.e .s......
[1E0] 00 08 00 00 00 6B 00 69 00 6C 00 6F 00 62 00 79 .....k.i .l.o.b.y
[1F0] 00 74 00 65 00 04 00 00 00 08 00 00 00 6D 00 65 .t.e.... .....m.e
[2008/07/08 16:46:31, 3] smbd/process.c:switch_message(926)
switch message SMBwriteX (pid 26779) conn 0x2aaaafd07e0
[2008/07/08 16:46:31, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
[2008/07/08 16:46:31, 5] auth/auth_util.c:debug_nt_user_token(454)
NT user token of user S-1-22-1-99
contains 5 SIDs
SID[ 0]: S-1-22-1-99
SID[ 1]: S-1-22-2-99
SID[ 2]: S-1-1-0
SID[ 3]: S-1-5-2
SID[ 4]: S-1-5-32-546
SE_PRIV 0x0 0x0 0x0 0x0
[2008/07/08 16:46:31, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 99
Primary group is 99 and contains 1 supplementary groups
Group[ 0]: 99
[2008/07/08 16:46:31, 5] smbd/uid.c:change_to_user(273)
change_to_user uid=(99,99) gid=(0,99)
[2008/07/08 16:46:31, 4] smbd/vfs.c:vfs_ChDir(665)
vfs_ChDir to /SAMBA1
[2008/07/08 16:46:31, 10] locking/locking.c:is_locked(99)
is_locked: optimisation - exclusive oplock on file root.tar
[2008/07/08 16:46:31, 10] locking/locking.c:is_locked(137)
is_locked: flavour = POSIX_LOCK brl start=2408448 len=57344 unlocked
for fnum 4395 file root.tar
[2008/07/08 16:46:31, 10] smbd/fileio.c:real_write_file(137)
real_write_file (root.tar): pos = 2408448, size = 57344, returned 57344
[2008/07/08 16:46:31, 3] smbd/reply.c:reply_write_and_X(3154)
writeX fnum=4395 num=57344 wrote=57344
[2008/07/08 16:46:31, 5] lib/util.c:show_msg(506)
[2008/07/08 16:46:31, 5] lib/util.c:show_msg(516)
size=47
smb_com=0x2f
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=128
smb_flg2=49153
smb_tid=1
smb_pid=32690
smb_uid=0
smb_mid=48475
smt_wct=6
smb_vwv[ 0]= 255 (0xFF)
smb_vwv[ 1]= 0 (0x0)
smb_vwv[ 2]=57344 (0xE000)
smb_vwv[ 3]= 0 (0x0)
smb_vwv[ 4]= 0 (0x0)
smb_vwv[ 5]= 0 (0x0)
smb_bcc=0
[2008/07/08 16:46:31, 10] smbd/process.c:receive_message_or_smb(402)
receive_message_or_smb: select with timeout of [59.607392]
[2008/07/08 16:46:31, 10] lib/util_sock.c:read_smb_length_return_keepalive(623)
got smb length of 124930
[2008/07/08 16:46:31, 6] smbd/process.crocess_smb(1067)
got message type 0x3 of len 0x1e802
[2008/07/08 16:46:31, 3] smbd/process.crocess_smb(1068)
Transaction 156004 of length 124934
[2008/07/08 16:46:31, 10] smbd/process.c:receive_message_or_smb(402)
receive_message_or_smb: select with timeout of [59.560563]
[2008/07/08 16:46:31, 10] lib/util_sock.c:read_smb_length_return_keepalive(623)
got smb length of 65793
[2008/07/08 16:47:06, 10] lib/util_sock.c:read_data(525)
read_data: read of 48455 returned 0. Error = Success
[2008/07/08 16:47:06, 3] smbd/process.c:timeout_processing(1328)
timeout_processing: End of file from client (client has disconnected).
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba