DragonFly bugs List (threaded) for 2007-08
DragonFly BSD
DragonFly bugs List (threaded) for 2007-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: page fault at m_xhalf on 1.10 while browsing


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Thu, 9 Aug 2007 21:42:44 +0800

On 8/9/07, km b <kmb810@gmail.com> wrote:
> On 8/9/07, Sepherosa Ziehau <sepherosa@gmail.com> wrote:
>
> > > #10 0xc035d4c5 in m_xhalf (m=0xcf4b4c00, k=12, err=0xce2bd8b0) at
> > > /usr/src/sys/net/bpf_filter.c:156
> > > #11 0xc035d647 in bpf_filter (pc=0xcf20ba08, p=0xcf4b4c00 "",
> > > wirelen=3735929054, buflen=0) at /usr/src/sys/net/bpf_filter.c:238
> >
> > Try following patch:
> > http://leaf.dragonflybsd.org/~sephe/bge_encap.diff
>
> Thanks Sephe for the patch. I am going to try it now. But to let you
> know, I have examined the coredump and the mbuf pointer is not valid
> (starting from the ip_input). So I doubt the patch would work.

Nah, the mbuf is probably freed in bge_encap(), so if you use kgdb to
inspect frames before bge_encap(), you will see a trashed mbuf
content.  I think the BPF is opened by DHCP, so one thing we can test
with ease:
Use fixed IP (i.e. stop the DHCP), and see whether your system still
crash regularly.

Best Regards,
sephe

-- 
Live Free or Die



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]