Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jan 2005 02:03:07 +0300
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        Julian Elischer <julian@elischer.org>
Cc:        "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re: USB problems
Message-ID:  <1105138987.1401.5.camel@localhost>
In-Reply-To: <41D67753.60202@elischer.org>
References:  <20041228010938.GA39686@freebsd3.cimlogic.com.au> <20041230.111631.13597845.imp@bsdimp.com> <1104542138.3084.9.camel@localhost>	 <41D67753.60202@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =D3=C2, 01/01/2005 =D7 02:11 -0800, Julian Elischer =D0=C9=DB=C5=D4:
> Vladimir Grebenschikov wrote:
> > =F7 =D0=D4, 31/12/2004 =D7 05:05 -1000, Randy Bush =D0=C9=DB=C5=D4:
> >=20
> >>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
> >=20
> >=20
> > I have also problems with USB on recent current (previous was few weeks
> > old).
> >=20
>=20
> the most salient thiing you could do is find the date of the problem by c=
hecking=20
> 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 narrowin=
g in on=20
> 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.


--=20
Vladimir B. Grebenchikov
vova@fbsd.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1105138987.1401.5.camel>