From owner-freebsd-net@FreeBSD.ORG Tue Sep 27 02:28:56 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C818E16A41F; Tue, 27 Sep 2005 02:28:56 +0000 (GMT) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80DD043D49; Tue, 27 Sep 2005 02:28:56 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.192] ([10.0.0.192]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j8R2Ss6j030084 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Sep 2005 19:28:56 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4338AE12.7040309@errno.com> Date: Mon, 26 Sep 2005 19:27:30 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20050926210429.GA1198@garage.freebsd.pl> In-Reply-To: <20050926210429.GA1198@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: ath(4) panic: bus_dmamap_load_sg: no mbuf packet header! X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 02:28:57 -0000 Pawel Jakub Dawidek wrote: > Hi. > > I configured NAT (using pf(4)) on my laptop: > > MacOSX (Tiger) <-----> ath0[my laptop]bge0 <-----> local machine > > When I started downloading few files on Mac from "local machine" via FTP > in parallel I got this panic after few minutes (I was able to reproduce it): > > panic: bus_dmamap_load_sg: no mbuf packet header! > > And the backtrace: > > panic() > bus_dmamap_load_sg()+0x2a > ath_start()+0x2ae > taskqueue_run()+0xaf > taskqueue_swi_run()+0x13 > ithread_loop() > ... > > Any ideas? > I'm guessing you hand-transcribed stuff since there are typos (e.g. bus_dmamap_load_mbuf_sg is not called from ath_start but is called from ath_tx_start which is called from ath_start). This indicates the mbuf chain is malformed (missing a packet header). Since the packet is apparently coming in via pf you might want to look there. Sam