From: David Brownell <david-b@pacbell.net>
To: Greg KH <greg@kroah.com>
Cc: Milton Miller <miltonm@bga.com>, linux-kernel@vger.kernel.org
Subject: Re: USB problem. 'irq 9: nobody cared!'
Date: Thu, 25 Sep 2003 12:11:45 -0700 [thread overview]
Message-ID: <3F733DF1.7010008@pacbell.net> (raw)
In-Reply-To: <20030925180020.GB28876@kroah.com>
[-- Attachment #1: Type: text/plain, Size: 888 bytes --]
Greg KH wrote:
> On Thu, Sep 25, 2003 at 12:23:26AM -0400, Yaroslav Halchenko wrote:
>
>>Nop - it didn't help :-(
>>
>>http://onerussian.com/Linux/bug.USB2/dmesg
>>
>>which else usefull information I can provide?
>
>
> David, can you try to fix this up. It all started with your uhci
> patch...
I have tried, two or three times now ...
The problem is that nobody has ever reported back with results from
testing any updated patch (see attachment, the guts of this being
from Alan Stern). Sort of makes trying be a moot point ... :)
It's OK with me if you just revert the patch that adds a uhci_reset()
entry, but based on what I saw with EHCI and OHCI that'll just turn
up a different set of problems with certain BIOS configurations (none
of which I have) ... which will need to be fixed by having a UHCI
reset sequence that works correctly from _all_ initial states.
- Dave
[-- Attachment #2: Diff --]
[-- Type: text/plain, Size: 729 bytes --]
--- 1.44/drivers/usb/host/uhci-hcd.c Fri Jul 18 06:22:32 2003
+++ edited/drivers/usb/host/uhci-hcd.c Fri Sep 19 12:23:54 2003
@@ -1960,8 +1960,9 @@
{
unsigned int io_addr = uhci->io_addr;
- /* Global reset for 50ms */
+ /* Global reset for 50ms, and don't interrupt me */
uhci->state = UHCI_RESET;
+ outw(0, io_addr + USBINTR);
outw(USBCMD_GRESET, io_addr + USBCMD);
set_current_state(TASK_UNINTERRUPTIBLE);
schedule_timeout((HZ*50+999) / 1000);
@@ -2187,6 +2188,7 @@
/* Maybe kick BIOS off this hardware. Then reset, so we won't get
* interrupts from any previous setup.
*/
+ outw(0, uhci->io_addr + USBINTR);
pci_write_config_word(hcd->pdev, USBLEGSUP, USBLEGSUP_DEFAULT);
reset_hc(uhci);
return 0;
next prev parent reply other threads:[~2003-09-25 19:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-24 22:57 USB problem. 'irq 9: nobody cared!' Milton Miller
2003-09-25 4:23 ` Yaroslav Halchenko
2003-09-25 18:00 ` Greg KH
2003-09-25 19:11 ` David Brownell [this message]
2003-09-30 9:41 ` USB problem. 'irq 9: nobody cared!' (FIXED!) Arkadiusz Miskiewicz
2003-09-30 19:30 ` David Brownell
2003-09-26 3:14 ` USB problem. 'irq 9: nobody cared!' Yaroslav Halchenko
-- strict thread matches above, loose matches on Subject: below --
2003-09-21 18:41 Yaroslav Halchenko
2003-09-22 6:33 ` Jan Dittmer
[not found] ` <20030923050848.GA5917@washoe.rutgers.edu>
2003-09-23 9:47 ` Jan Dittmer
2003-09-24 20:48 ` Greg KH
2003-09-24 22:20 ` Yaroslav Halchenko
2003-09-25 7:41 ` Jan Dittmer
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=3F733DF1.7010008@pacbell.net \
--to=david-b@pacbell.net \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=miltonm@bga.com \
/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