Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: crash from ohci detach




To: current-users%netbsd.org@localhost

Subject: Re: crash from ohci detach

From: christos%astron.com@localhost (Christos Zoulas)

Date: Fri, 4 Jan 2008 02:47:50 +0000 (UTC)


In article <20080103233127.6f423e16%cs.columbia.edu@localhost>,
Steven M. Bellovin <smb%cs.columbia.edu@localhost> wrote:
>-=-=-=-=-=-
>
>On Thu, 3 Jan 2008 10:39:35 -0500
>"Steven M. Bellovin" <smb%cs.columbia.edu@localhost> wrote:
>
>> On Thu, 3 Jan 2008 00:32:24 +0100
>> Joerg Sonnenberger <joerg%britannica.bec.de@localhost> 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.
>> > 
>> My tentative answer is that uhub.c and usb.c called pmf_register but
>> not pmf_deregister.  Preliminary tests suggest that adding those calls
>> to the detach routines solve the problem but I want to test more first
>> -- shortly after a series of attach/detach cycles, my system crashed
>> with 'list head mismatch'.  
>> 
>No, my patch didn't fix the problem...  
>
>That said, I think the attached patches should be committed
>nevertheless.  Comments?

Yes, if we call pmf_register we should also call pmf_deregister.

christos




Follow-Ups:

Re: crash from ohci detach
From: Steven M. Bellovin


References:

crash from ohci detach
From: Steven M. Bellovin

Re: crash from ohci detach
From: Joerg Sonnenberger

Re: crash from ohci detach
From: Steven M. Bellovin

Re: crash from ohci detach
From: Steven M. Bellovin




Prev by Date: Crash when compiling xenkernel3 on 4.99.45 i386 XEN3_DOM0 (Thu Dec 27 12:41:54 CET 2007)

Next by Date: Re: halt(8) regression

Previous by Thread: Re: crash from ohci detach

Next by Thread: Re: crash from ohci detach

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index