From nobody@FreeBSD.org  Sun Dec  7 22:21:08 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2D3C6106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  7 Dec 2008 22:21:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 1B5888FC24
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  7 Dec 2008 22:21:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mB7ML7SH016043
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 7 Dec 2008 22:21:07 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id mB7ML7Br016042;
	Sun, 7 Dec 2008 22:21:07 GMT
	(envelope-from nobody)
Message-Id: <200812072221.mB7ML7Br016042@www.freebsd.org>
Date: Sun, 7 Dec 2008 22:21:07 GMT
From: Eric Sabban <eric+freebsd.org@lame.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Kernel "bug" when using smbfs in smbfs_smb.c: kernel: bug: ecnt = 1, but m_len = 0 and m_next = 0
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         129488
>Category:       kern
>Synopsis:       [smbfs] Kernel "bug" when using smbfs in smbfs_smb.c: kernel: bug: ecnt = 1, but m_len = 0 and m_next = 0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-fs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 07 22:30:00 UTC 2008
>Closed-Date:    
>Last-Modified:  Mon May 18 02:35:43 UTC 2009
>Originator:     Eric Sabban
>Release:        7.0-RELEASE-p7
>Organization:
none
>Environment:
FreeBSD sekret.lame.net 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #3: Thu Dec  4 21:48:54 PST 2008     root@sekret.lame.net:/usr/obj/usr/src/sys/SEKRET  amd64

>Description:
Shortly after booting the fileserver (leopard g5) and the smb client (freebsd 7.0p6) I mounted two disks over smb (mount //eric@g5/blah)  from the server. I did an awful thing, just for the sake of it:

for i in *.avi; do file=`echo ${i} | sed -e 's/.avi$//'`; ffmpeg -i "${file}.avi" "/usr/tmp/${file}.mp4" > /tmp/ffmpeg.$$ 2>&1 & done

Ugly as that may have been, the kernel then spit out:

smb_iod_recvall: drop resp with mid 4526
smb_iod_recvall: drop resp with mid 4527
smb_iod_recvall: drop resp with mid 4528
smb_iod_recvall: drop resp with mid 4530
smb_iod_recvall: drop resp with mid 4531
bug: ecnt = 1, but m_len = 0 and m_next = 0 (please report)

Nothing really HAPPENED, but you asked me to report, so here I am.

>How-To-Repeat:
Start out a bunch of concurrent I/O from a fileserver that likely cannot handle it, I did it shortly after booting both the fileserver and the client.
>Fix:
If only I knew.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon May 18 02:35:25 UTC 2009 
Responsible-Changed-Why:  
This does not sound amd64-specific. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129488 
>Unformatted:
