mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* PROBLEM: Nvidia OHCI chipset MCP78S (Geforce 8200) hangs on > 1Mbit transfers if noapic/acpi=noirq is missing
       [not found] ` <200907060211.43377.zbiggy@o2.pl>
@ 2009-07-06 21:40   ` Zbigniew Luszpinski
  2009-07-07  1:50     ` Alan Stern
  0 siblings, 1 reply; 2+ messages in thread
From: Zbigniew Luszpinski @ 2009-07-06 21:40 UTC (permalink / raw)
  To: linux-usb; +Cc: linux-kernel

Hello,

with my ohci usb controller problem I came to conclusion that it hangs only 
during big transfers when ohci usb controller is unable to keep up with rest 
of the system. That is why it only hangs on fast bulk/iso transfers and not 
when slow usb keyboard or mouse is used.

After being inspired by this uhci usb bugfix (which is very similar to my 
problem but in my case Nvidia does not provide any driver for windows usb. 
Just use default windows one):
http://osdir.com/ml/linux.usb.user/2002-12/msg00112.html
So I modified ohci usb driver source code (ohci-q.c, ohci-hub.c) in similar 
way by adding mdelay(5); before most of ohci_writel(...) and ohci_readl(...). 
After recompilation and reboot I used ohci usb without noapic workaround for 
much longer time without hanging. However after this modification usb hangs
immediately after hotpluging other usb device so my ugly hack did not fix all
the issues. :(

I hope I find here someone who wrote or know Linux ohci driver so he/she knows 
how to slow down ohci bulk/iso IO operations without breaking hotplug.
It looks Linux ohci driver is more aggressive on ohci IO than windows one so 
making Linux less timing demanding would help my MCP78S keep working.

have a nice day,
Zbigniew Luszpinski


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PROBLEM: Nvidia OHCI chipset MCP78S (Geforce 8200) hangs on > 1Mbit transfers if noapic/acpi=noirq is missing
  2009-07-06 21:40   ` PROBLEM: Nvidia OHCI chipset MCP78S (Geforce 8200) hangs on > 1Mbit transfers if noapic/acpi=noirq is missing Zbigniew Luszpinski
@ 2009-07-07  1:50     ` Alan Stern
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Stern @ 2009-07-07  1:50 UTC (permalink / raw)
  To: Zbigniew Luszpinski; +Cc: linux-usb, linux-kernel

On Mon, 6 Jul 2009, Zbigniew Luszpinski wrote:

> I hope I find here someone who wrote or know Linux ohci driver so he/she knows 
> how to slow down ohci bulk/iso IO operations without breaking hotplug.

The speed of iso operations cannot be changed, because the transactions 
have to occur at a specified interval.

OHCI doesn't provide any way to slow down bulk operations either, once 
a bulk URB has been submitted.  The best you can do is slow down the 
rate of submission.  But you already tried that and it didn't work.

> It looks Linux ohci driver is more aggressive on ohci IO than windows one so 
> making Linux less timing demanding would help my MCP78S keep working.

I suspect you're looking in the wrong direction.  There's probably 
something wrong at a deeper level, in the chipset drivers for instance.

Alan Stern


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-07  1:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200907060122.26312.zbiggy@o2.pl>
     [not found] ` <200907060211.43377.zbiggy@o2.pl>
2009-07-06 21:40   ` PROBLEM: Nvidia OHCI chipset MCP78S (Geforce 8200) hangs on > 1Mbit transfers if noapic/acpi=noirq is missing Zbigniew Luszpinski
2009-07-07  1:50     ` Alan Stern

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®