trap 12: page fault while in kernel mode on 8.0-RELEASE (possibly bge(4) related)

Pyun YongHyeon pyunyh at gmail.com
Thu Feb 18 21:32:58 UTC 2010


On Fri, Feb 19, 2010 at 12:24:28AM +0300, Slawa Olhovchenkov wrote:
> On Thu, Feb 18, 2010 at 11:36:12AM -0800, Pyun YongHyeon wrote:
> 
> > On Thu, Feb 18, 2010 at 05:38:22PM +0300, Slawa Olhovchenkov wrote:
> > > On Tue, Feb 16, 2010 at 09:57:19AM -0800, Pyun YongHyeon wrote:
> > > 
> > > > On Sun, Feb 14, 2010 at 10:04:58AM -0800, Nick Rogers wrote:
> > > > > I'm having repeated kernel panic issues on 8.0-RELEASE/amd64. Can anyone
> > > > > shed light on the below error? I unfortunately cannot provide a proper crash
> > > > > dump. The pointer addresses are always the same. The only other thing I've
> > > > > noticed that may be related is a watchdog timeout on bge0 error before the
> > > > > panic. Thanks.
> > > > > 
> > > > 
> > > > Any chance to get backtrace from the crash?
> > > 
> > > I got same trouble on the same platform (8.0-STABLE/amd64).
> > > hw.bge.allow_asf=0 already
> > > 
> > > I got 2 proper crash dump (first w/ net.inet.ip.forwarding=1
> > > and second w/ net.inet.ip.forwarding=0).
> > > 
> > 
> > It looks like mbuf pointer was changed to NULL in the middle of IP
> > forwarding and IP fragment stage. If bge(4) frees passed mbufs this
> > may happen but I'm not sure this comes from bge(4).
> > By chance, are you using polling(4) on bge(4)? Also show me the
> 
> I am not using polling.
> 

Ok.

> > dmesg output(only bge(4) related one).
> 
> dmesg from boot:
> 
> bge0: <HP NC7782 Gigabit Server Adapter, ASIC rev. 0x002100> mem 0xfdf70000-0xfdf7ffff irq 25 at device 2.0 on pci2
> miibus0: <MII bus> on bge0
> brgphy0: <BCM5704 10/100/1000baseTX PHY> PHY 1 on miibus0
> brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
> bge0: Ethernet address: 00:14:c2:3d:e5:52
> bge0: [ITHREAD]
> bge1: <HP NC7782 Gigabit Server Adapter, ASIC rev. 0x002100> mem 0xfdf60000-0xfdf6ffff irq 26 at device 2.1 on pci2
> miibus1: <MII bus> on bge1
> brgphy1: <BCM5704 10/100/1000baseTX PHY> PHY 1 on miibus1
> brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
> bge1: Ethernet address: 00:14:c2:3d:e5:51
> bge1: [ITHREAD]
> bge1: link state changed to UP
> bge0: link state changed to UP
> 
> Nothing in dmesg before trap.
> 

Is this PCI-X controller? It would be even better if you can post
bge(4) related dmesg output of verbosed boot and the output of
"pciconf -lcv".


More information about the freebsd-stable mailing list