Skip to contentSkip to conversation

USB problem. 'irq 9: nobody cared!'

DISCUSSION Milton Miller 5 participants 7 messages Sep 24, 2003 – Sep 30, 2003

Subsystems (2)
lore
Share & tools
lore
#1 lore raw

Nop - it didn't help :-(

http://onerussian.com/Linux/bug.USB2/dmesg

which else usefull information I can provide?
--Yarik

Quoted 8 lines · Milton Miller
Quoted 4 lines · Yaroslav Halchenko
Quoted 1 line · Greg KH

Did you try David Brownell's patch for this issue?

Can you please point which one exactly? I've tried to locate patch you meant but it is too much of USB staff is happening now seems to me.

Quoted 6 lines

I'm guessing this one: Re: irq 11: nobody cared! is back

http://marc.theaimsgroup.com/?l=linux-kernel&m=106399942523614&w=2

milton

                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]
#3 lore raw
Quoted 11 lines · Greg KH
Quoted 5 lines · Yaroslav Halchenko

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

drivers/usb/host/uhci-hcd.c +3 -1
@@ -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;
#4 lore raw

Re: USB problem. 'irq 9: nobody cared!' (FIXED!)

Quoted 3 lines · David Brownell

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 ... :)

So I'm the first one? ;)

Your patch (http://www.ussg.iu.edu/hypermail/linux/kernel/0309.3/0341.html)
FIXES things for me :-)

This time I've tried 2.6.0test6 + all acpi patches from 2.6.0-mm1 (ls *acpi* in akpm broken-out directory) + your patch and things work fine :) Note that 2.6.0+all acpi patches from 2.6.0-mm1 without your patch doesn't work.

[arekm@mobarm arekm]$ cat /proc/interrupts
CPU0

  0:     698946          XT-PIC  timer
  1:       1712          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  3:       1561          XT-PIC  irda0
  5:          4          XT-PIC  yenta
  8:          0          XT-PIC  rtc
  9:       2657          XT-PIC  acpi, eth0
 10:      77708          XT-PIC  VIA686A, uhci-hcd, uhci-hcd
 12:         18          XT-PIC  i8042
 14:      12408          XT-PIC  ide0
 15:         20          XT-PIC  ide1
NMI:          0
ERR:          0

More details about my case in lkml archives and
http://bugme.osdl.org/show_bug.cgi?id=905

Quoted 7 lines

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

Signature · 2 lines
Arkadiusz Miśkiewicz    CS at FoE, Wroclaw University of Technology
arekm.pld-linux.org AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux
#5 lore raw

Re: USB problem. 'irq 9: nobody cared!' (FIXED!)

Quoted 8 lines · Arkadiusz Miskiewicz
Quoted 3 lines · David Brownell

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 ... :)

So I'm the first one? ;)

Since then I got mixed reports -- not sure I trust them.

Quoted 1 line

Your patch (http://www.ussg.iu.edu/hypermail/linux/kernel/0309.3/0341.html) FIXES things for me :-)

OK, that's good to hear. There are two patches that seem to work to various degrees. This isn't the least conservative fix (that'd be http://lkml.org/lkml/2003/9/29/74, returning to that odd "reset before kicking bios off" sequence) but it's good to know this also behaves.

- Dave

Quoted 31 lines

This time I've tried 2.6.0test6 + all acpi patches from 2.6.0-mm1 (ls *acpi* in akpm broken-out directory) + your patch and things work fine :) Note that 2.6.0+all acpi patches from 2.6.0-mm1 without your patch doesn't work.

[arekm@mobarm arekm]$ cat /proc/interrupts
CPU0

  0:     698946          XT-PIC  timer
  1:       1712          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  3:       1561          XT-PIC  irda0
  5:          4          XT-PIC  yenta
  8:          0          XT-PIC  rtc
  9:       2657          XT-PIC  acpi, eth0
 10:      77708          XT-PIC  VIA686A, uhci-hcd, uhci-hcd
 12:         18          XT-PIC  i8042
 14:      12408          XT-PIC  ide0
 15:         20          XT-PIC  ide1
NMI:          0
ERR:          0

More details about my case in lkml archives and http://bugme.osdl.org/show_bug.cgi?id=905

Quoted 7 lines

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

#6 lore raw
In reply to Milton Miller

I've tried again with recent bk12 kernel and this patch worked...

May be I was too tired and actually didn't patch the first time I tried, and then reported to you that it didn't help - I'm sorry. Will check later if it is the case.

Thanx for your help

Sincerely
Yarik

Quoted 8 lines · Milton Miller
Quoted 4 lines · Yaroslav Halchenko
Quoted 1 line · Greg KH

Did you try David Brownell's patch for this issue?

Can you please point which one exactly? I've tried to locate patch you meant but it is too much of USB staff is happening now seems to me.

Quoted 6 lines

I'm guessing this one: Re: irq 11: nobody cared! is back

http://marc.theaimsgroup.com/?l=linux-kernel&m=106399942523614&w=2

milton

                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]