Re: USB problems

From: Vladimir Grebenschikov <vova_at_fbsd.ru>
Date: Sat, 08 Jan 2005 02:03:07 +0300
÷ ÓÂ, 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
Received on Fri Jan 07 2005 - 22:03:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:25 UTC