From owner-freebsd-current@FreeBSD.ORG Sat Nov 17 18:13:28 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE1416D; Sat, 17 Nov 2012 18:13:28 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from zcs04.jnb1.cloudseed.co.za (zcs04.jnb1.cloudseed.co.za [41.154.0.161]) by mx1.freebsd.org (Postfix) with ESMTP id 6EB928FC0C; Sat, 17 Nov 2012 18:13:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zcs04.jnb1.cloudseed.co.za (Postfix) with ESMTP id CC4E72A82C15; Sat, 17 Nov 2012 20:13:25 +0200 (SAST) X-Virus-Scanned: amavisd-new at zcs04.jnb1.cloudseed.co.za Received: from zcs04.jnb1.cloudseed.co.za ([127.0.0.1]) by localhost (zcs04.jnb1.cloudseed.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hHbmwN2nz+yC; Sat, 17 Nov 2012 20:13:24 +0200 (SAST) Received: from clue.co.za (unknown [41.154.88.19]) by zcs04.jnb1.cloudseed.co.za (Postfix) with ESMTPSA id 244262A82C14; Sat, 17 Nov 2012 20:13:24 +0200 (SAST) Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.80 (FreeBSD)) (envelope-from ) id 1TZmtO-0000Xg-Cv; Sat, 17 Nov 2012 20:13:22 +0200 To: Adrian Chadd From: Ian FREISLICH Subject: Re: netisr panic? In-Reply-To: References: X-Attribution: BOFH Date: Sat, 17 Nov 2012 20:13:22 +0200 Message-Id: Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 17 Nov 2012 18:13:28 -0000 Adrian Chadd wrote: > It's a NULL ponter deref. This is my line 484 in if_ethersubr.c: > > eh = mtod(m, struct ether_header *); > > > .. if that's yours, see if eh is NULL? (kgdb) frame 7 #7 0xffffffff8050f534 in ether_nh_input (m=0xfffffe012521e700) at /usr/src/sys/net/if_ethersubr.c:484 484 eh = mtod(m, struct ether_header *); (kgdb) print eh No symbol "eh" in current context. (kgdb) print *m $2 = {m_hdr = {mh_next = 0x100000000000000, mh_nextpkt = 0x10000000000, mh_data = 0x0, mh_len = 60, mh_flags = 4259842, mh_type = 0, pad = "\000\000\000\000\000"}, M_dat = {MH = {MH_pkthdr = { rcvif = 0xfffffe000a1c2000, header = 0xffffffff, len = 60, flowid = 0, csum_flags = 3840, csum_data = 65535, tso_segsz = 0, PH_vt = { vt_vtag = 4, vt_nrecs = 4}, tags = {slh_first = 0x3c000000}}, MH_dat = {MH_ext = { ext_buf = 0x69e5498600000000
, ext_free = 0x10602, ext_arg1 = 0xc000000070000, ext_arg2 = 0x100, ext_size = 2048, ref_cnt = 0xfffffe0125236d8c, ext_type = 6}, MH_databuf = "\000\000\000\000\206Iåi\002\006\001\000\000\000\000\000\000\000\a\000\000\000\f\000\000\001\000\000\000\000\000\000\000\b\000\000\000\000\000\000\214m#%\001þÿÿ\006", '\0' }}, M_databuf = "\000 \034\n\000þÿÿÿÿÿÿ\000\000\000\000<\000\000\000\000\000\000\000\000\017\000\000ÿÿ\000\000\000\000\004\000\000\000\000\000\000\000\000<\000\000\000\000\000\000\000\000\206Iåi\002\006\001\000\000\000\000\000\000\000\a\000\000\000\f\000\000\001\000\000\000\000\000\000\000\b\000\000\000\000\000\000\214m#%\001þÿÿ\006", '\0' }} Ian -- Ian Freislich