https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082007-08-09T20:03:02ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #770: page fault at m_xhalf on 1.10 while browsinghttps://bugs.dragonflybsd.org/issues/770?journal_id=34942007-08-09T20:03:02Zsepherosa
<ul></ul><p>Try following patch:<br /><a class="external" href="http://leaf.dragonflybsd.org/~sephe/bge_encap.diff">http://leaf.dragonflybsd.org/~sephe/bge_encap.diff</a></p>
<p>Best Regards,<br />sephe</p> DragonFlyBSD - Bug #770: page fault at m_xhalf on 1.10 while browsinghttps://bugs.dragonflybsd.org/issues/770?journal_id=34952007-08-09T20:37:00Zkmb810
<ul></ul><p>On 8/9/07, Sepherosa Ziehau <<a class="email" href="mailto:sepherosa@gmail.com">sepherosa@gmail.com</a>> wrote:</p>
<p>Thanks Sephe for the patch. I am going to try it now. But to let you<br />know, I have examined the coredump and the mbuf pointer is not valid<br />(starting from the ip_input). So I doubt the patch would work.</p> DragonFlyBSD - Bug #770: page fault at m_xhalf on 1.10 while browsinghttps://bugs.dragonflybsd.org/issues/770?journal_id=34962007-08-09T20:47:00Zsepherosa
<ul></ul><p>Nah, the mbuf is probably freed in bge_encap(), so if you use kgdb to<br />inspect frames before bge_encap(), you will see a trashed mbuf<br />content. I think the BPF is opened by DHCP, so one thing we can test<br />with ease:<br />Use fixed IP (i.e. stop the DHCP), and see whether your system still<br />crash regularly.</p>
<p>Best Regards,<br />sephe</p> DragonFlyBSD - Bug #770: page fault at m_xhalf on 1.10 while browsinghttps://bugs.dragonflybsd.org/issues/770?journal_id=34972007-08-09T20:58:00Zkmb810
<ul></ul><p>On 8/9/07, Sepherosa Ziehau <<a class="email" href="mailto:sepherosa@gmail.com">sepherosa@gmail.com</a>> wrote:</p>
<p>Thanks Sephe for the explanation. Indeed the mbuf was valid pointer<br />when using ddb. The patch works.</p>
<p>Cheers<br />kmb</p> DragonFlyBSD - Bug #770: page fault at m_xhalf on 1.10 while browsinghttps://bugs.dragonflybsd.org/issues/770?journal_id=34982007-08-09T21:03:00Zsepherosa
<ul></ul><p>Sorry, I am not a native speaker, do you mean it fixes the panic you have seen?</p>
<p>Best Regards,<br />sephe</p> DragonFlyBSD - Bug #770: page fault at m_xhalf on 1.10 while browsinghttps://bugs.dragonflybsd.org/issues/770?journal_id=34992007-08-09T21:06:01Zkmb810
<ul></ul><p>On 8/9/07, Sepherosa Ziehau <<a class="email" href="mailto:sepherosa@gmail.com">sepherosa@gmail.com</a>> wrote:</p>
<p>yes it does.</p>