From owner-freebsd-stable Fri Mar 2 17: 9:21 2001 Delivered-To: freebsd-stable@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id D2AA837B719 for ; Fri, 2 Mar 2001 17:09:18 -0800 (PST) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.9.3) id f2316P815026; Fri, 2 Mar 2001 17:06:25 -0800 (PST) (envelope-from dillon) Date: Fri, 2 Mar 2001 17:06:25 -0800 (PST) From: Matt Dillon Message-Id: <200103030106.f2316P815026@earth.backplane.com> To: Jonathan Lemon Cc: Mike Tancsa , Bosko Milekic , stable@FreeBSD.ORG, jlemon@flugsvamp.com, phk@critter.freebsd.dk Subject: Re: Continued panics on a recent STABLE machine References: <01a101c0a1ea$77a64b20$becbca18@jehovah> <4.2.2.20010228114855.03d28be0@marble.sentex.net> <4.2.2.20010301151110.01de4650@marble.sentex.net> <200103022307.f22N76Z10552@earth.backplane.com> <20010302171910.J25974@prism.flugsvamp.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I took a look at Mike Tancsa's core dumps and recommend the following. Based on a typical gdb crashdump backtrace (from this from your core.6 file, Mike), I recommend taking Jonathan's patch and adjusting it to fill the pad area at the end with some pattern, like 0xAA, 0x55, 0xAA, 0x55, and then put a consistency check in for that pattern at ip_input(), ip_forward(), ip_output(), and ether_output(). And see if we can narrow down where the corruption is occuring. I'm going through the CVS logs now to see if I can find anything suspicious in the last two months. The only other suspicious item here is that this particular panic occured relative to a softclock(). -Matt #8 0xc014fd38 in panic (fmt=0xc0285e36 "Bad mbuf: %x %x %d") at ../../kern/kern_shutdown.c:554 #9 0xc016a9cd in m_prepend (m=0xc0d96500, len=0xe, how=0x1) at ../../kern/uipc_mbuf.c:561 #10 0xc018b344 in ether_output (ifp=0xc1506800, m=0xc0d96500, dst=0xc15d0a50, rt0=0xc1611200) at ../../net/if_ethersubr.c:307 #11 0xc019dc3f in ip_output (m0=0xc0d96500, opt=0x0, ro=0xc02d4090, flags=0x1, ---Type to continue, or q to quit--- imo=0x0) at ../../netinet/ip_output.c:788 #12 0xc019d3c0 in ip_forward (m=0xc0d96500, srcrt=0x0) at ../../netinet/ip_input.c:1555 #13 0xc019c5ca in ip_input (m=0xc0d96500) at ../../netinet/ip_input.c:566 #14 0xc019c7fb in ipintr () at ../../netinet/ip_input.c:762 #15 0xc025c005 in swi_net_next () #16 0xc020b49e in xl_miibus_readreg (dev=0xc150a200, phy=0x18, reg=0x0) at ../../pci/if_xl.c:555 #17 0xc01397a0 in MIIBUS_READREG (dev=0xc150a200, phy=0x18, reg=0x0) at miibus_if.c:27 #18 0xc0135613 in miibus_readreg (dev=0xc150db00, phy=0x18, reg=0x0) at ../../dev/mii/mii.c:196 #19 0xc01397a0 in MIIBUS_READREG (dev=0xc150db00, phy=0x18, reg=0x0) at miibus_if.c:27 #20 0xc0135ec1 in ukphy_status (phy=0xc150eb40) at ../../dev/mii/ukphy_subr.c:83 #21 0xc01376dd in exphy_service (sc=0xc150eb40, mii=0xc150eb80, cmd=0x1) at ../../dev/mii/exphy.c:295 #22 0xc0135791 in mii_tick (mii=0xc150eb80) at ../../dev/mii/mii.c:311 #23 0xc020dd62 in xl_stats_update (xsc=0xc150b000) at ../../pci/if_xl.c:2114 #24 0xc01556d5 in softclock () at ../../kern/kern_timeout.c:131 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message