From owner-freebsd-questions@FreeBSD.ORG Tue Mar 18 23:58:32 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4BA9106566B for ; Tue, 18 Mar 2008 23:58:32 +0000 (UTC) (envelope-from phatbuckett@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mx1.freebsd.org (Postfix) with ESMTP id CEC088FC25 for ; Tue, 18 Mar 2008 23:58:32 +0000 (UTC) (envelope-from phatbuckett@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so134229waf.3 for ; Tue, 18 Mar 2008 16:58:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=8AAo7Umtof61khivy37yMPA11DnQFIEx86li3cWB1m0=; b=Hqpg8XNEASLGMD2qAXwCy14rCdUvXkm8FdWBSMrHtN3+/iwJjizQmjkIMRGW67roB4Jtx0iuL48lUYLuHVquG+lAsh6cPzQts/Z2BwjZhARq+TDMhTigUovvi6HGnHedp8Vxn897rOKPJvlzFYDNgejF5Ef2fGnMBzEFuNIqXxQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=gcqIVEo9g+oL0Q4VAhho3cqPnS1KvY5KtKpy9flnlvpoP40rqB4Qklbhm5HCYJXNf1gNoCUa/59pqh7DM/W7RnkFE5vE/Uz+vl7pZ4X6J+x/MUhC4cv+q44T4ApZjRdxTCrfGQVut85GeQy2xu+5Wsc8zgwQkN7+jMhpFrzXPGM= Received: by 10.114.150.1 with SMTP id x1mr208213wad.46.1205883214971; Tue, 18 Mar 2008 16:33:34 -0700 (PDT) Received: by 10.114.47.12 with HTTP; Tue, 18 Mar 2008 16:33:34 -0700 (PDT) Message-ID: <839aec700803181633j15bcc82cuf695e3db8780bdf5@mail.gmail.com> Date: Tue, 18 Mar 2008 16:33:34 -0700 From: "Darren Spruell" To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: smb_iod_recvall: drop resp with mid errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2008 23:58:33 -0000 I have a CIFS share mounted from a Windows 2003 server on FreeBSD 6.2/i386 host (FreeBSD 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #0: Thu Nov 29 04:22:49 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386). Earlier today we ran into a case where we were intermittently unable to write to files on the mounted filesystem. The following errors were encountered when this occurred: smb_iod_recvall: drop resp with mid 5412 smb_iod_recvall: drop resp with mid 5417 smb_iod_recvall: drop resp with mid 5422 smb_iod_recvall: drop resp with mid 5531 smb_iod_recvall: drop resp with mid 5591 smb_iod_recvall: drop resp with mid 5662 smb_iod_recvall: drop resp with mid 7278 smb_iod_recvall: drop resp with mid 7285 smb_iod_recvall: drop resp with mid 7297 smb_iod_recvall: drop resp with mid 12 smb_iod_recvall: drop resp with mid 15 smb_iod_recvall: drop resp with mid 18 $ mount //WINCH@CAFFEINEADDICTS/MALWARE_BEWARE on /caffeineaddicts-malware (smbfs) # /etc/fstab: //winch@caffeineaddicts/Malware_Beware /caffeineaddicts-malware smbfs rw,-N,late 0 0 While this host was experiencing these issues a different FreeBSD host also encountered issues with a different share on the same Windows server. I think this points to issues of some sort on the Windows filesystem, but I'd like to understand the smb_iod_recvall output. I think this is the relevant code, with a check on line 361 resulting in the error. Is there enough information to suggest what might be wrong on the remote system to cause this? /* 288 * Process incoming packets 289 */ 290 static int 291 smb_iod_recvall(struct smbiod *iod) 292 { 293 struct smb_vc *vcp = iod->iod_vc; 294 struct thread *td = iod->iod_td; 295 struct smb_rq *rqp; 296 struct mbuf *m; 297 u_char *hp; 298 u_short mid; 299 int error; 300 ... 360 SMB_IOD_RQUNLOCK(iod); 361 if (rqp == NULL) { 362 SMBERROR("drop resp with mid %d\n", (u_int)mid); 363 /* smb_printrqlist(vcp);*/ 364 m_freem(m); 365 } -- Darren Spruell phatbuckett@gmail.com