Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2003 14:52:42 -0400 (EDT)
From:      sysadmin@wvths.com
To:        hackers@freebsd.org
Cc:        mbr@freebsd.org
Subject:   Re: 4.8-stable kernel panic
Message-ID:  <23988.24.218.220.202.1063738362.squirrel@webmail.wvths.com>
In-Reply-To: <20030916105810.U63985@news1.macomnet.ru>
References:  <pan.2003.09.15.22.55.58.674477@wvths.com> <20030916105810.U63985@news1.macomnet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
> Do you use any klds?  What does kldstat say?
No klds loaded.

Well, it looks like the dc net driver is causing the panic. After some
testing, I got this backtrace:
---
#0  dumpsys () at ../../kern/kern_shutdown.c:487
#1  0xc0168237 in boot (howto=3D256) at ../../kern/kern_shutdown.c:316
#2  0xc0168675 in panic (fmt=3D0xc02db260 "m_copydata, offset > size of m=
buf
chain") at ../../kern/kern_shutdown.c:595
#3  0xc018576e in m_copydata (m=3D0xc1560d00, off=3D6144, len=3D2048,
cp=3D0xc155a800 "") at ../../kern/uipc_mbuf.c:979
#4  0xc0186776 in m_defrag (m0=3D0xc1560d00, how=3D1) at
../../kern/uipc_mbuf.c:1572
#5  0xc021de70 in dc_encap (sc=3D0xc21c3000, m_head=3D0xc1560d00,
txidx=3D0xd72d9f60) at ../../pci/if_dc.c:3006
#6  0xc021e0bb in dc_start (ifp=3D0xc21c3000) at ../../pci/if_dc.c:3105
#7  0xc021de09 in dc_intr (arg=3D0xc21c3000) at ../../pci/if_dc.c:2970
#8  0xc02b419d in intr_mux (arg=3D0xc144e3a0) at
../../i386/isa/intr_machdep.c:601
#9  0x8068e79 in ?? ()
#10 0x8061e3c in ?? ()
#11 0x8063c75 in ?? ()
#12 0x8061c2a in ?? ()
#13 0x8060047 in ?? ()
#14 0x805ffeb in ?? ()
#15 0x805e3f5 in ?? ()
#16 0x8048e29 in ?? ()
#17 0x804813e in ?? ()
(kgdb) up 3
#3  0xc018576e in m_copydata (m=3D0xc1560d00, off=3D6144, len=3D2048,
cp=3D0xc155a800 "") at ../../kern/uipc_mbuf.c:979
979                     KASSERT(m !=3D NULL, ("m_copydata, offset > size =
of
mbuf chain"));
(kgdb) up
#4  0xc0186776 in m_defrag (m0=3D0xc1560d00, how=3D1) at
../../kern/uipc_mbuf.c:1572
1572                    m_copydata(m0, progress, length, mtod(m_new,
caddr_t));
(kgdb) up
#5  0xc021de70 in dc_encap (sc=3D0xc21c3000, m_head=3D0xc1560d00,
txidx=3D0xd72d9f60) at ../../pci/if_dc.c:3006
3006                    m =3D m_defrag(m_head, M_DONTWAIT);
(kgdb) up
#6  0xc021e0bb in dc_start (ifp=3D0xc21c3000) at ../../pci/if_dc.c:3105
3105                    if (dc_encap(sc, m_head, &idx)) {
(kgdb) up
#7  0xc021de09 in dc_intr (arg=3D0xc21c3000) at ../../pci/if_dc.c:2970
2970                    dc_start(ifp);
(kgdb) up
#8  0xc02b419d in intr_mux (arg=3D0xc144e3a0) at
../../i386/isa/intr_machdep.c:601
601                     p->handler(p->argument);
---

After switching to the xl-based NIC, I couldn't reproduce the crash anymo=
re.

Thanks,



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