List Info

Thread: smb_iod_recvall: drop resp with mid errors




smb_iod_recvall: drop resp with mid errors
user name
2008-03-18 18:33:34
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
rooti386-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
//WINCHCAFFEINEADDICTS/MALWARE_BEWARE on
/caffeineaddicts-malware (smbfs)
# /etc/fstab:
//winchcaffeineaddicts/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 %dn", (u_int)mid);
363 /*                      smb_printrqlist(vcp);*/
364                         m_freem(m);
365                 }

-- 
Darren Spruell
phatbuckettgmail.com
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: smb_iod_recvall: drop resp with mid errors
country flaguser name
United States
2008-03-19 12:25:44
Hi, Darren--

On Mar 18, 2008, at 4:33 PM, Darren Spruell wrote:
> 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.

While a fair number of people using FreeBSD also use Samba,
asking  
here about the details of the Samba code is less likely to
receive  
detailed responses compared to asking on a Samba-specific
list, such  
as <sambalists.samba.org>...

-- 
-Chuck

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: smb_iod_recvall: drop resp with mid errors
user name
2008-03-19 18:01:58
On Wed, Mar 19, 2008 at 10:25 AM, Chuck Swiger
<cswigermac.com> wrote:
> Hi, Darren--
>
>
>  On Mar 18, 2008, at 4:33 PM, Darren Spruell wrote:
>  > 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.
>
>  While a fair number of people using FreeBSD also use
Samba, asking
>  here about the details of the Samba code is less
likely to receive
>  detailed responses compared to asking on a
Samba-specific list, such
>  as <sambalists.samba.org>...

No, nothing to do with samba. This is the native
mount_smbfs(8) code in FreeBSD.

-- 
Darren Spruell
phatbuckettgmail.com
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: smb_iod_recvall: drop resp with mid errors
country flaguser name
United States
2008-03-19 18:18:02
Hi--

On Mar 19, 2008, at 4:01 PM, Darren Spruell wrote:
> No, nothing to do with samba. This is the native
mount_smbfs(8) code  
> in FreeBSD.

OK.../usr/src/contrib/smbfs/CREDITS points to the Samba code
as a  
reference implementation, but the listed contact for the
FreeBSD  
implementation is Boris Popov <bpbutya.kz> aka <bpFreeBSD.org>....

-- 
-Chuck

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )