From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergey Vlasov Subject: Re: tulip Ethernet driver messes up USB keyboard Date: Fri, 14 Sep 2012 18:24:37 +0400 Message-ID: <20120914142437.GD11919@newmaster.mivlgu.local> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DrWhICOqskFTAXiy" Cc: Kernel hackers , Linux USB list , Linux network list To: Marti Raudsepp Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org --DrWhICOqskFTAXiy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 14, 2012 at 12:49:45PM +0300, Marti Raudsepp wrote: > After installing an old 100Mbit PCI Ethernet card to my machine, it has > complained a few times about spurious interrupts ("nobody cared") at a > random time of the day. After the oops is reported, my USB keyboard (HP > smart card keyboard) stops working properly -- it has lots of delay, it > misses some keystrokes and also causes "stuck keys". Strangely enough my = USB > mouse continues to work without problems. Apparently the USB controller a= nd > the Ethernet card share an interrupt line. Un-/replugging the keyboard do= es > not help. >=20 > So far I have simply rebooted to fix the issue. I haven't been able to > reproduce this on will despite my best attempts. >=20 > The Ethernet card is driven by the tulip driver and is listed as "ADMtek > NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)" in lspci. My > motherboard uses the Intel H77 chipset (ASRock H77 Pro4/MVP) This board uses the ASMedia ASM1083 PCIe-to-PCI bridge (or maybe ASM1085 - hard to see from photos available on the net, and the PCI IDs for these chips are the same), which is known to have problems with interrupt handling: https://lkml.org/lkml/2012/1/30/216 I experience the same problem with ASUS P8P67 LE (except in my case the interrupt is not shared with anything, and the network card does not stop working completely, just gives horrible performance with > 100ms pings). Some people use "noirqdebug irqpoll" as a workaround: http://lkml.indiana.edu/hypermail/linux/kernel/1204.1/03451.html But this workaround basically turns off the protection against stuck interrupts in the kernel, so the system could potentially be busy handling a stuck interrupt forever. You can also try to move the PCI card to another slot, so that it would use another interrupt, which might be not shared with USB or another important device. --DrWhICOqskFTAXiy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQFQUz4kW82GfkQfsqIRAoC7AJ9U9dq+xJINxEBPRnUUlYk9+JCHBACbBlMO 5tseIVosdhOry05Mhbr/PJg= =icQx -----END PGP SIGNATURE----- --DrWhICOqskFTAXiy-- -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html