USB problems

Vladimir Grebenschikov vova at fbsd.ru
Fri Jan 7 15:03:19 PST 2005


В сб, 01/01/2005 в 02:11 -0800, Julian Elischer пишет:
> Vladimir Grebenschikov wrote:
> > В пт, 31/12/2004 в 05:05 -1000, Randy Bush пишет:
> > 
> >>possibly related?
> >>
> >>just so you know, on a thinkpad t41 with any current in the last
> >>few weeks, i kernel panic on boot if a usb device is not plugged
> >>in.  turning off acpi also allows boot.  see
> >>
> >>   <http://rip.psg.com/~randy/041215.crash>
> >>
> >>i can help debug if anyone is on the trail
> > 
> > 
> > I have also problems with USB on recent current (previous was few weeks
> > old).
> > 
> 
> the most salient thiing you could do is find the date of the problem by checking 
> out  sys/dev/usb on dec 9 and seeing if that fixes it (you said dec 9 was ok)
> and if so, gradually moving it forward using a binary search and narrowing in on 
> the commit that broke it.

So far I tracked it:
it works on -D '2004-12-08 12:00'
and does not works with -D '2004-12-09 00:00'

I guess time is by MSK timezone (my local time).

There are a lot of changes between these dates.

> Is it an ohci or uhci (or ehci) usb inerface?

I think both.
It strikes when only ehci umass device attached or when uhci mouse or
bluetooth dongle connected.

usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
ehci_pci_attach: companion usb0
ehci_pci_attach: companion usb1
ehci_pci_attach: companion usb2
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <EHCI (generic) USB 2.0 controller> on ehci0
usb3: USB revision 2.0

Looks like it is not USB-only problem, I have revert only USB code and
it does not helps. So I suppose it is some kind of locking problem.


-- 
Vladimir B. Grebenchikov
vova at fbsd.ru


More information about the freebsd-current mailing list