Subject: Re: crash from ohci detach
To: None <current-users@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: current-users
Date: 01/08/2008 13:24:16
On Tue, Jan 08, 2008 at 07:08:07PM +0000, Steven M. Bellovin wrote:
> On Thu, 3 Jan 2008 00:32:24 +0100
> Joerg Sonnenberger <joerg@britannica.bec.de> wrote:
> 
> > On Wed, Jan 02, 2008 at 06:09:15PM -0500, Steven M. Bellovin wrote:
> > > Eyeballing the panic, it says "ohci_intr:... bad address" followed
> > > by a uvm_fault.  These are both consistent with a bad PTE...
> > 
> > Check if the interrupt handler is called after the memory mapped IO
> > has been removed.
> > 
> I finally got a crash dump; however, running 'bt' doesn't work --
> invalid PTE entry.
> 
> Here is the panic message, as extracted from the dump:
> 
> panic: ohci_softintr: addr 0x021e86b0 not found

At a glance, either detachment is not synchronized with software
interrupts, or detachment does not cancel all of the software interrupt
handlers.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933 ext 24