Re: XT-PIC interrupts blocked by usbserial ? [Was Re: Intel ICH9M bug : sata unusable with usbserial]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11-03-03 09:58 AM, Philippe De Muyter wrote:
> Summary :
> 
> When I started to listen to a USB serial GPS receiver, the interrupts
> of my sata disk were blocked until reboot :(
> 
> Switching in the BIOS from 'APIC disabled' to 'APIC enabled' made the problem
> disappear.
> 
> On Wed, Mar 02, 2011 at 08:34:50AM -0500, Mark Lord wrote:
>> On 11-03-01 10:00 AM, Philippe De Muyter wrote:
>>> On Tue, Mar 01, 2011 at 09:16:27AM -0500, Greg KH wrote:
>>>> On Tue, Mar 01, 2011 at 01:34:52PM +0100, Philippe De Muyter wrote:
>>>>> previously we had all but one usb interrupts on the same line as ata_piix :
>>>>>   5:      17183    XT-PIC-XT-PIC    ata_piix, ata_piix, ehci_hcd:usb1, ehci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb5, uhci_hcd:usb6, uhci_hcd:usb7, uhci_hcd:usb8
..

And now with APIC enabled:
>>>
>>>    19:     996143     995511   IO-APIC-fasteoi   ata_piix, ata_piix, uhci_hcd:usb5, uhci_hcd:usb7
>>>   tmp199:~ #
>>>
>>> my USB GPS receiver and my sata disk still share the same interrupt, I assume ?
>>>
>>> What's changed now is that this interrupt line is now IO-APIC-fasteoi instead
>>> of XT-PIC-XT-PIC.  Maybe there's something to look at there ?

Mmm.. I missed that part.  Very curious, that.
I wonder if it could be some issue with how the interrupt controller is set up.

Oh the other hand, this USB-GPS is probably a "full-speed" (slow) device,
using the UHCI interface rather than EHCI.

The uhci_irq() handler (in uhci-hcd.c) appears to always return IRQ_HANDLED,
even when it didn't actually handle an IRQ.  If I'm reading the code correctly,
then that's a bug, and could cause this issue given the "right" peripheral
(eg. your USB-GPS).

I wonder if uhci_irq() can be a bit more clever and only set IRQ_HANDLED
for interrupts that it actually had to handle?  Or am I reading it wrong?

Greg?
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux