Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2005 19:27:30 -0700
From:      Sam Leffler <sam@errno.com>
To:        Pawel Jakub Dawidek <pjd@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: ath(4) panic: bus_dmamap_load_sg: no mbuf packet header!
Message-ID:  <4338AE12.7040309@errno.com>
In-Reply-To: <20050926210429.GA1198@garage.freebsd.pl>
References:  <20050926210429.GA1198@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4338AE12.7040309>