Kernel panic during boot in usb_add_task

Michael Neumann mneumann at
Mon Nov 26 12:54:28 PST 2007

Michael Neumann wrote:
Michael Neumann schrieb:
Bill Hacker schrieb:
Michael Neumann wrote:
For starters, what does NetBSD report as the hardware and can you 
capture *any* scan, dmesg, or other report from FreeBSD 7-BETA3 or DFLY?
I could track it down where the panic occurs:

More specifically:

  *(head)->tqh_last = (elm);

This expands to:

  *(&taskq->tasks)->tgh_last = task;

There a NULL pointer is dereferenced somehow.

usb_add_task is called from uhci_timeout:

It seems to get only called when a timeout occurs. That's maybe that I 
am the only one having those problems :)

I couldn't track it down further. My pure guess would be that it would 
not panic if "uhci_abort_xfer(&uxfer->xfer, USBD_TIMEOUT);" is called 
instead (sc->sc_dying == 1), but I can't build a kernel right now, so I 
can't change the code and build an ISO image.

Any further ideas?



More information about the Kernel mailing list