Date: Fri, 2 Mar 2001 17:06:25 -0800 (PST) From: Matt Dillon <dillon@earth.backplane.com> To: Jonathan Lemon <jlemon@flugsvamp.com> Cc: Mike Tancsa <mike@sentex.net>, Bosko Milekic <bmilekic@technokratis.com>, stable@FreeBSD.ORG, jlemon@flugsvamp.com, phk@critter.freebsd.dk Subject: Re: Continued panics on a recent STABLE machine Message-ID: <200103030106.f2316P815026@earth.backplane.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <return> to continue, or q <return> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103030106.f2316P815026>
