public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan Rychter <jan@rychter.com>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.4.22 USB problem (uhci)
Date: Sat, 20 Sep 2003 17:15:57 -0700	[thread overview]
Message-ID: <m2r82bvvwi.fsf@tnuctip.rychter.com> (raw)
In-Reply-To: m2brtgpg1a.fsf@tnuctip.rychter.com

>>>>> "Jan" == Jan Rychter <jan@rychter.com>:
>>>>> "Greg" == Greg KH <greg@kroah.com> writes:
 Jan> [...]

 > Please allow me to restate the original problem:
 >
 > -- I usually use uhci instead of usb-uhci, because it is able to go
 > into "suspend mode" when no devices are plugged, which allows the CPU
 > to enter C3 states,
 >
 > -- usb-uhci eats CPU power by keeping it in C2 constantly because of
 > busmastering DMA activity, therefore being much less useful,
 >
 > -- uhci generally works for me just fine, but breaks in one
 > particular case, when removing the device causes a strange message to
 > be printed and the system being unable to use the C3 states again,
 > until uhci is unloaded and reloaded back again.
 >
 > Just as a reminder, this message is:
 >
 > uhci.c: efe0: host controller halted. very bad
 >
 > I hope if the message says "very bad", then this is something that
 > can be fixed. I was therefore reporting a problem with "uhci" and
 > kindly asking for help.

 Greg> Ok, sorry for the confusion.  No I don't know of a fix for this
 Greg> problem, but one just went into the 2.6 kernel tree for the
 Greg> uhci-hcd driver that you might want to take a look at that fixed
 Greg> a problem almost exactly like this.

 Jan> Greg,

 Jan> I've looked at uhci.c, the message comes from line 2461, in
 Jan> uhci_interrupt. But there is no chance I will be able to fix it
 Jan> without first understanding thoroughly how uhci.c works.

 Jan> So I guess this goes into my "unfixed Linux bugs" bin.

I've just realized that some people may not know why the above uhci bug
is a problem.

Having done some measurements and calculations, the above uhci bug
translates into a shortened battery life: 20 minutes less for the laptop
I've been testing on. You get 1h30 instead of 1h50 you would normally
get if uhci would work correctly.

That's like having only 84% of your battery available to start with.

--J.


      reply	other threads:[~2003-09-21  0:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-19  3:10 2.4.22 USB problem (uhci) Jan Rychter
2003-09-19 19:06 ` Greg KH
2003-09-19 19:17   ` Jan Rychter
2003-09-19 20:17     ` Greg KH
2003-09-19 20:29       ` Jan Rychter
2003-09-19 20:44         ` Greg KH
2003-09-19 21:14           ` Jan Rychter
2003-09-19 21:22             ` Greg KH
2003-09-19 22:30               ` Jan Rychter
2003-09-21  0:15                 ` Jan Rychter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2r82bvvwi.fsf@tnuctip.rychter.com \
    --to=jan@rychter.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox