From: Philippe De Muyter <phdm@macqel.be>
To: Tejun Heo <tj@kernel.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
linux-ide@vger.kernel.org, Greg Kroah-Hartman <gregkh@suse.de>,
linux-usb@vger.kernel.org
Subject: Re: Intel ICH9M bug : sata unusable with usbserial
Date: Mon, 28 Feb 2011 20:21:17 +0100 [thread overview]
Message-ID: <20110228192117.GA15092@frolo.macqel> (raw)
In-Reply-To: <20110228173634.GA23008@htj.dyndns.org>
On Mon, Feb 28, 2011 at 06:36:34PM +0100, Tejun Heo wrote:
> On Mon, Feb 28, 2011 at 06:05:56PM +0100, Philippe De Muyter wrote:
> > 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
>
> So, usb7 and ata_piix share the same IRQ line.
>
> > [ 1.517781] usb 7-1: New USB device found, idVendor=067b, idProduct=2303
> > [ 1.517837] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> > [ 1.517883] usb 7-1: Product: USB-Serial Controller
> > [ 1.517928] usb 7-1: Manufacturer: Prolific Technology Inc.
> ...
> > [ 4.327431] usbcore: registered new interface driver usbserial
> > [ 4.327585] USB Serial support registered for generic
> > [ 4.327747] usbcore: registered new interface driver usbserial_generic
> > [ 4.327774] usbserial: USB Serial Driver core
> ...
> > [ 4.419657] USB Serial support registered for pl2303
> ...
> > [ 4.431805] usb 7-1: pl2303 converter now attached to ttyUSB0
> > [ 4.431846] usbcore: registered new interface driver pl2303
> > [ 4.431875] pl2303: Prolific PL2303 USB to serial adaptor driver
>
> I believe this is the GPS thingie?
Yes, that's it. It loads the `usbserial' and `pl2303' modules.
>
> ...
> > [ 175.706014] ata1: lost interrupt (Status 0x50)
> > [ 175.706040] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
> > [ 175.706050] ata1.00: failed command: READ DMA
> > [ 175.706062] ata1.00: cmd c8/00:08:28:41:01/00:00:00:00:00/e1 tag 0 dma 4096 in
> > [ 175.706064] res 40/00:00:01:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
> > [ 175.706079] ata1.00: status: { DRDY }
>
> There was no screaming IRQ but it definitely looks like IRQ delivery
> is gone at this point.
I confirm. After that, any `cat /proc/interrupts' gives the same interrupt count (17183)
as above for irq 5 (shared by ata_piix and *usb*)
>
> > [ 175.706091] ata1: hard resetting link
> > [ 176.162049] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> > [ 181.165024] ata1.00: qc timeout (cmd 0x27)
> > [ 181.165034] ata1.00: failed to read native max address (err_mask=0x4)
> > [ 181.165043] ata1.00: revalidation failed (errno=-5)
>
> Hardreset and IDENTIFY are executed by polling on ata_piix and
> READ_NATIVE_MAX is the first command executed using IRQ and that's the
> first thing in the recovery sequence which fails.
>
> > [ 181.165054] ata1: hard resetting link
> > [ 181.621053] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> > [ 191.624025] ata1.00: qc timeout (cmd 0x27)
> > [ 191.624036] ata1.00: failed to read native max address (err_mask=0x4)
> > [ 191.624045] ata1.00: revalidation failed (errno=-5)
> > [ 191.624053] ata1: limiting SATA link speed to 1.5 Gbps
> > [ 191.624065] ata1: hard resetting link
> > [ 192.080046] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
> > [ 202.083023] ata1.00: qc timeout (cmd 0x27)
> > [ 202.083033] ata1.00: failed to read native max address (err_mask=0x4)
> > [ 202.083042] ata1.00: revalidation failed (errno=-5)
> > [ 202.083049] ata1.00: disabled
> > [ 202.083066] ata1: hard resetting link
>
> And it never comes back. Specifying kernel parameter 'irqpoll' might
> help but it looks like somehow the GPS thingie kills the IRQ line
> completely.
My process listening to the GPS receiver continues to get GPS messages each second.
>
> cc'ing Greg and linux-usb. Hey, USB folks, it seems accessing a USB
> GPS device kills IRQ delivery to ata_piix sharing the same IRQ line as
> the USB host. Any ideas on what's going on? The original messages
> can be read from...
>
> http://www.spinics.net/lists/linux-ide/msg40425.html
> http://www.spinics.net/lists/linux-ide/msg40428.html
>
> Thanks.
>
> --
> tejun
--
Philippe De Muyter +32 2 6101532 Macq SA rue de l'Aeronef 2 B-1140 Bruxelles
next prev parent reply other threads:[~2011-02-28 19:21 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-28 14:01 Intel ICH9M bug : sata unusable with usbserial Philippe De Muyter
2011-02-28 15:05 ` Alan Cox
2011-02-28 15:16 ` Tejun Heo
2011-02-28 17:05 ` Philippe De Muyter
2011-02-28 17:36 ` Tejun Heo
2011-02-28 19:21 ` Philippe De Muyter [this message]
[not found] ` <20110228173634.GA23008-Gd/HAXX7CRxy/B6EtB590w@public.gmane.org>
2011-02-28 19:27 ` Greg KH
2011-03-01 12:34 ` Philippe De Muyter
2011-03-01 14:16 ` Greg KH
[not found] ` <20110301141627.GB12881-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2011-03-01 15:00 ` Philippe De Muyter
[not found] ` <20110301150018.GA17827-NqYOdiUDesgPnqCj3zZnUQ@public.gmane.org>
2011-03-02 13:34 ` Mark Lord
[not found] ` <4D6E477A.9020401-R6A+fiHC8nRWk0Htik3J/w@public.gmane.org>
2011-03-03 14:58 ` XT-PIC interrupts blocked by usbserial ? [Was Re: Intel ICH9M bug : sata unusable with usbserial] Philippe De Muyter
2011-03-03 15:23 ` Sergei Shtylyov
[not found] ` <4D6FB260.6010402-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
2011-03-04 14:24 ` Philippe De Muyter
2011-03-03 18:10 ` Mark Lord
2011-03-03 18:20 ` Greg KH
2011-03-04 14:29 ` Philippe De Muyter
[not found] ` <4D6FD982.2050308-R6A+fiHC8nRWk0Htik3J/w@public.gmane.org>
2011-03-04 14:56 ` Philippe De Muyter
2011-03-03 18:20 ` Mark Lord
2011-03-03 19:06 ` Alan Stern
2011-03-03 19:39 ` Mark Lord
[not found] ` <4D6FEE56.4080006-R6A+fiHC8nRWk0Htik3J/w@public.gmane.org>
2011-03-03 19:51 ` Mark Lord
2011-03-03 20:11 ` Alan Stern
2011-03-03 21:48 ` Mark Lord
2011-03-03 21:56 ` Alan Stern
2011-03-04 1:53 ` Robert Hancock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110228192117.GA15092@frolo.macqel \
--to=phdm@macqel.be \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=gregkh@suse.de \
--cc=linux-ide@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox