mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gaetano Sferra <gaesferr@libero.it>
To: linux-kernel@vger.kernel.org
Subject: EHCI errors in 2.6.8 could be a patch mistake
Date: Wed, 1 Sep 2004 22:52:37 +0200	[thread overview]
Message-ID: <200409012252.37518.gaesferr@libero.it> (raw)

Hello to all,
please, read carefully:

I've patched my fully working 2.6.7 kernel to the 2.6.8 and I got these errors 
at boot time (no errors during patch and compilation using the same config of 
the 2.6.7 kernel):

ehci_hcd 0000:00:1d.7: BIOS handoff failed (104, 1010001)
ehci_hcd 0000:00:1d.7: can't reset
ehci_hcd 0000:00:1d.7: init 0000:00:1d.7 fail, -95
ehci_hcd: probe of 0000:00:1d.7 failed with error -95

In this condition the hotplugging of USB devices doesn't work at all!
The host controller is an Intel Corp. 82801DB (ICH4) USB2 EHCI and it fully 
work with the 2.6.7. Looking into the patched and original code of the 
ehci-hcd driver I've noticed that some changes has been maded but the only 
one that can influence the BIOS handoff is the following:

kernel 2.6.7 - line 296: cap &= 1 << 24;
kernel 2.6.8 - line 296: cap |= 1 << 24;

This may be a mistake, I don't know, but I've restored that line with the &=
operator and all works again! If this was a typo mistake in the 2.6.8 patch
check the 2.8.9-rc1 also, in the prepatch there is a work-around that force 
the module to exit with code 0!

-- 
Gaetano Sferra
On Jabber: G[a]e@jabber.org

                 reply	other threads:[~2004-09-01 20:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200409012252.37518.gaesferr@libero.it \
    --to=gaesferr@libero.it \
    --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

all inboxes | Powered by JetHome®