From owner-freebsd-current@FreeBSD.ORG Sun Oct 7 19:39:49 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C97CF1065672 for ; Sun, 7 Oct 2012 19:39:49 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id 4340D8FC08 for ; Sun, 7 Oct 2012 19:39:49 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id q97JdfPS063946; Sun, 7 Oct 2012 23:39:41 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id q97JdfJB063945; Sun, 7 Oct 2012 23:39:41 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Sun, 7 Oct 2012 23:39:41 +0400 From: Gleb Smirnoff To: David Wolfskill , Michael Butler Message-ID: <20121007193941.GK34622@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="A6N2fC+uXW/VQSAv" Content-Disposition: inline In-Reply-To: <5071C118.40302@protected-networks.net> <20121007174331.GA2583@albert.catwhisker.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Garrett Cooper , current@FreeBSD.org Subject: Re: Message "in_cksum_skip: out of data by ...." X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Oct 2012 19:39:49 -0000 --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=koi8-r Content-Disposition: inline David and Michael, can you please build a kernel with attached patch and options KDB, and report what's the trace is. Unfortunately my iwn(4) is running on amd64, so I can reproduce exactly your case. -- Totus tuus, Glebius. --A6N2fC+uXW/VQSAv Content-Type: text/x-diff; charset=koi8-r Content-Disposition: attachment; filename="in_cksum.backtrace.diff" Index: i386/i386/in_cksum.c =================================================================== --- i386/i386/in_cksum.c (revision 241328) +++ i386/i386/in_cksum.c (working copy) @@ -36,6 +36,7 @@ #include #include #include +#include #include #include @@ -204,6 +205,7 @@ caddr_t addr; union q_util q_util; union l_util l_util; + static int once = 0; len -= skip; for (; skip && m; m = m->m_next) { @@ -477,8 +479,12 @@ su.c[0] = *(char *)w; } - if (len) + if (len) { printf("%s: out of data by %d\n", __func__, len); + if (once == 0) + kdb_backtrace(); + once = 1; + } if (mlen == -1) { /* The last mbuf has odd # of bytes. Follow the standard (the odd byte is shifted left by 8 bits) */ --A6N2fC+uXW/VQSAv--