On Thu 03/12/2015 09:54, Martin Pieuchot wrote: > On 30/11/15(Mon) 18:28, Björn Ketelaars wrote: > > Hello, > > > > I repeatedly hit the kernel panic below. Easy to reproduce as it happens > > over > > and over again within 60 minutes after rebooting. Root cause is not known. > > > > I'm running snapshot on an USB stick. I tried different USB ports with the > > same > > result. Next step will be an attempt with a different USB stick. > > > > I think this issue has been mentioned before: > > > > https://marc.info/?t=141840591400001&r=1&w=3 > > http://openbsd-archive.7691.n7.nabble.com/panic-ehci-device-clear-toggle-queue-active-td231729.html > > http://article.gmane.org/gmane.os.openbsd.bugs/19812/ > > > > Any ideas on how to tackle this issue? > > You can try the diff below and tell me if it helps. > > Index: ehci.c > =================================================================== > RCS file: /cvs/src/sys/dev/usb/ehci.c,v > retrieving revision 1.187 > diff -u -p -r1.187 ehci.c > --- ehci.c 26 Jun 2015 11:17:34 -0000 1.187 > +++ ehci.c 14 Oct 2015 14:24:19 -0000 >
Yes, it helps! I build and installed a new kernel using your diff and tested it with a couple of USB-sticks on different USB-ports. No panics... Reverting to an old (unpatched) kernel, using the above routine, soon resulted in a hang. I'm currently running a kernel with your diff. As stated: it helps. Thanks!