Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946297AbWBDDbD (ORCPT ); Fri, 3 Feb 2006 22:31:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946298AbWBDDbB (ORCPT ); Fri, 3 Feb 2006 22:31:01 -0500 Received: from mx1.rowland.org ([192.131.102.7]:5386 "HELO mx1.rowland.org") by vger.kernel.org with SMTP id S1946297AbWBDDbB (ORCPT ); Fri, 3 Feb 2006 22:31:01 -0500 Date: Fri, 3 Feb 2006 22:30:56 -0500 (EST) From: Alan Stern X-X-Sender: stern@netrider.rowland.org To: Martin Michlmayr cc: jgarzik@pobox.com, Subject: Re: Bad interaction between uhci_hcd and de2104x In-Reply-To: <20060204005014.GA13351@deprecation.cyrius.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2228 Lines: 53 On Sat, 4 Feb 2006, Martin Michlmayr wrote: > I have a machine on which the de2104x driver doesn't work when > uhci_hcd is loaded. It used to work fine with 2.4 and the tulip > driver (and usb-uhci). Basically, when I boot I get the following > traceback and then eth0 doesn't work. When I unload de2104x and > uhci_hcd and load only de2104x again then Ethernet works. Similarly, > when I completely blacklist the uhci_hcd module the de2104x driver > works without any problems. And presumably, if you blacklist the de2104x driver then your USB controller works without any problems. > eth0: enabling interface > eth0: set link 10baseT auto > eth0: mode 0x7ffc0040, sia 0x10c4,0xffffef01,0xffffffff,0xffff0008 > eth0: set mode 0x7ffc0040, set sia 0xef01,0xffff,0x8 > irq 10: nobody cared (try booting with the "irqpoll" option) > [] __report_bad_irq+0x31/0x73 > [] note_interrupt+0x75/0x98 > [] __do_IRQ+0x67/0x91 > [] do_IRQ+0x19/0x24 > [] common_interrupt+0x1a/0x20 > [] __do_softirq+0x2c/0x7d > [] do_softirq+0x22/0x26 > [] do_IRQ+0x1e/0x24 > [] common_interrupt+0x1a/0x20 > [] de_set_rx_mode+0xf/0x12 [de2104x] > [] de_init_hw+0x6d/0x76 [de2104x] > [] de_open+0x64/0xe4 [de2104x] > [] dev_open+0x30/0x66 > [] dev_change_flags+0x4d/0xf0 > [] devinet_ioctl+0x224/0x4bd > [] do_ioctl+0x21/0x50 > [] vfs_ioctl+0x152/0x161 > [] sys_ioctl+0x48/0x65 > [] syscall_call+0x7/0xb > handlers: > [] (usb_hcd_irq+0x0/0x56 [usbcore]) > Disabling IRQ #10 For some reason, the de2104x driver isn't listed as a handler for IRQ 10. That's probably the cause of the problem. Did you have any full- or low-speed USB devices plugged in at the time this occurred? If you didn't then the UHCI hardware would not have generated any interrupt requests. Alan Stern - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/