Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2010 15:26:18 -0800
From:      Erik Klavon <erikk@berkeley.edu>
To:        Pyun YongHyeon <pyunyh@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: bge panic in 8.0
Message-ID:  <20100114232618.GA27380@malcolm.berkeley.edu>
In-Reply-To: <20100114020640.GT1228@michelle.cdnetworks.com>
References:  <20100114014719.GA11284@malcolm.berkeley.edu> <20100114020640.GT1228@michelle.cdnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 13, 2010 at 06:06:40PM -0800, Pyun YongHyeon wrote:
> On Wed, Jan 13, 2010 at 05:47:19PM -0800, Erik Klavon wrote:
> > One of my amd64 machines running 8.0p1 acting as a NAT system for many
> > network clients dropped into kdb today. tr indicates a problem in
> > bge.
> > 
> > Tracing pid 12 tid 100033 td 0xffffff0001687000
> > pmap_kextract() at pmap_kextract+0x4e
> > bus_dmamap_load() at bus_dmamap_load+0xab
> > bge_newbuf_std() at bge_newbuf_std+0xcc
> > bge_rxeof() at bge_rxeof+0x36a
> > bge_intr() at bge_intr+0x1c0
> > intr_event_execute_handlers() at intr_event_execute_handlers+0xfd
> > ithread_loop() at ithread_loop+0x8e
> > fork_exit() at fork_exit+0x118
> > fork_trampoline() at fork_trampoline+0xe
> > --- trap 0, rip = 0, rsp = 0xffffff8074c01d30, rbp = 0 ---
> > 
> > I haven't been able to find a PR that matches this particular trace.
> > 
> > Pyun recently MFCd to stable (hence my post to this list) some changes
> > to bge that involve functions in the above trace and according to the
> > commit log (r201685) may address a kernel panic. Is there any
> > indication in the above trace that this is the type of panic the
> > commit attempts to address? I don't have a core dump for this
> > panic. This machine has been unstable on 8, so I may be able to get a
> > core dump in the future. If there is other information you'd like me
> > to gather, please let me know.
> 
> Yes, that part of code in trace above were rewritten to address
> bus_dma(9) issues. So it would be great if you can try latest
> bge(4) in stable/8 and let me know how it goes on your box. I guess
> you can just download if_bge.c and if_bgereg.h from stable/8 and
> rebuild bge(4) would be enough to run it on 8.0-RELEASE.

Great, I will try this out on a test machine today. If it holds up
under testing, I will put it into production. These crashes can happen
weeks after a machine boots, so I won't know if the problem is solved
for some time. Thanks for your help,

Erik



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