From owner-freebsd-stable Mon Sep 9 12:57:23 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC4E737B400 for ; Mon, 9 Sep 2002 12:57:19 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 1D17443E65 for ; Mon, 9 Sep 2002 12:57:18 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 9 Sep 2002 20:57:16 +0100 (BST) Date: Mon, 9 Sep 2002 20:57:16 +0100 From: David Malone To: Al Cc: freebsd-stable@freebsd.org Subject: Re: kernel panic, perhaps in xl driver, perhaps not Message-ID: <20020909195715.GA86404@walton.maths.tcd.ie> References: <20020909192749.GB56603@otterhole.ods.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020909192749.GB56603@otterhole.ods.org> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Sep 09, 2002 at 03:27:50PM -0400, Al wrote: > (kgdb) up > #6 0xc02a0984 in xl_newbuf (sc=0xc1a5c000, c=0xc1a5c698) at /usr/src/sys/pci/if_xl.c:1727 > 1727 MCLGET(m_new, M_DONTWAIT); > (kgdb) list > 1722 > 1723 MGETHDR(m_new, M_DONTWAIT, MT_DATA); > 1724 if (m_new == NULL) > 1725 return(ENOBUFS); > 1726 > 1727 MCLGET(m_new, M_DONTWAIT); > 1728 if (!(m_new->m_flags & M_EXT)) { > 1729 m_freem(m_new); > 1730 return(ENOBUFS); > 1731 } > > (kgdb) print m_new > $1 = (struct mbuf *) 0xc0ee7c00 > (kgdb) print m_new->m_flags > There is no member named m_flags. You'd have to print m_new->m_hdr.mh_flags 'cos m_flags is a #define. However, I'd guess the problem is somewhere in MCLGET or that the freelist is corrupted. You could try "print mclfree" and "print _mp". (Have a look in /usr/include/sys/mbuf.h if you want to see what is going on...) David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message