page fault at m_xhalf on 1.10 while browsing

Sepherosa Ziehau sepherosa at gmail.com
Thu Aug 9 06:43:39 PDT 2007


On 8/9/07, km b <kmb810 at gmail.com> wrote:
> On 8/9/07, Sepherosa Ziehau <sepherosa at 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





More information about the Bugs mailing list