NetBSD-Bugs archive

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

Re: kern/22646 (Panic in ohci_add_done())



The following reply was made to PR kern/22646; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: skrll%NetBSD.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/22646 (Panic in ohci_add_done())
Date: Tue, 26 Apr 2016 17:16:50 +0300

 Nick Hudson wrote:
 >  Does this patch (without the ohci.c patch) help?
 
 No, it does not.  It's back to locking up the system, with this
 backtrace:
 
   db{0}> bt
   breakpoint() at netbsd:breakpoint+0x5
   comintr() at netbsd:comintr+0x59a
   Xintr_ioapic_edge9() at netbsd:Xintr_ioapic_edge9+0xea
   --- interrupt ---
   bus_space_read_4() at netbsd:bus_space_read_4+0xa
   bintime() at netbsd:bintime+0x11
   microtime() at netbsd:microtime+0x15
   ohci_softintr() at netbsd:ohci_softintr+0x7a8
   usb_soft_intr() at netbsd:usb_soft_intr+0x1f
   softint_dispatch() at netbsd:softint_dispatch+0xd3
   DDB lost frame for netbsd:Xsoftintr+0x4f, trying 0xfffffe8044f2dff0
   Xsoftintr() at netbsd:Xsoftintr+0x4f
   --- interrupt ---
 
 I have a saved kernel core dump, but its usbhist is just lots of lines
 like these:
 
   1461679403.982811 ohci_softintr#67@0: add TD 0xffff8000334ffe20
   1461679403.982811 ohci_softintr#67@0: add TD 0xffff8000334ffd60
   1461679403.982812 ohci_softintr#67@0: add TD 0xffff8000334ffe20
   1461679403.928422 ohci_softintr#67@0: add TD 0xffff8000334ffd60
 
 >  Not sure why your camera doesn't like begin asked for strings at the
 >  moment and ohci should do a better good of not getting confused.
 
 Just to be clear, this PR is all about ohci getting confused.  My goal
 is not to get the camera to work, but to get NetBSD to not crash.  The
 camera just happens to be the only way I know of triggering those
 crashes.
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index