[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1205011016130.1499-100000@iolanthe.rowland.org>
Date: Tue, 1 May 2012 10:24:03 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Grzegorz Nosek <root@...aldomain.pl>
cc: linux-usb@...r.kernel.org, <linux-kernel@...r.kernel.org>,
<support@...ermicro.com>
Subject: Re: EHCI software retries break Supermicro IPKVM
On Mon, 30 Apr 2012, Grzegorz Nosek wrote:
> W dniu 30.04.2012 23:12, Alan Stern pisze:
> > It isn't a software issue. You've got a hardware problem; either the
> > IPKVM itself, or the connecting cable, or your computer's EHCI
> > controller is bad. The only reason the device worked without the retry
> > logic is because it failed so completely that the kernel was forced to
> > run it at full speed (12 Mb/s) instead of high speed (480 Mb/s). With
> > the retry logic present, the device was barely workable at high speed
> > (but it probably didn't work well enough to be very useful).
>
> Oh. Thanks for the info. Is there a way to force the device into 12Mb/s
> mode? I don't care about performance as the bottleneck is my Internet
> link on the client, anyway. The retry logic rendered the console
> unusable (not just slow, completely no keyboard or redirected media).
In fact there _is_ a way to do it:
echo 7 >/sys/bus/pci/devices/0000:00:1d.7/companion
Here 7 is the number of the port which you want to force to full speed
and 0000:00:1d.7 is the PCI address of the EHCI controller.
> > Have you tried plugging the IPKVM into a different computer to see if
> > it behaves any better?
>
> Nope. The IPKVM is a proprietary addon card without any cables (plugs
> into a dedicated slot on the motherboard). Another identical machine is
> misbehaving the exact same way (retry messages in dmesg), so either I'm
> just unlucky, or it's a wider issue. Still, a few others are working
> fine (no retry messages; though I did not check the KVM recently). All
> the machines are in a rather remote DC, so I'm unlikely to muck with the
> hardware any time soon.
>
> Are there any diagnostics possible to determine what is broken (i.e. the
> KVM card or the controller)? IIRC plugging a physical USB-based KVM
> worked fine, although that might have been an older kernel, without the
> retry logic.
Well, you could move the card into a different computer and see how it
behaves there. Or you could replace the card with a different one, to
see if there's any difference in behavior.
It may be that neither part is directly at fault, but instead there's a
slight incompatibilty between them.
For example, at one point I had a USB disk drive that didn't work on my
home computer. The same drive and USB cable did work on my office
computer. The same drive with a different cable worked on my home
computer. And a flash storage device worked when attached via the same
cable to my home computer. In a situation like that, it's very
difficult to point a finger at any specific part.
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists