linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sergey Dolgov <dolgovs@gmail.com>
To: Tejun Heo <htejun@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO
Date: Wed, 12 Sep 2007 01:21:32 +0400	[thread overview]
Message-ID: <20070911212030.GA2817@slk.laptop> (raw)

[-- Attachment #1: Type: text/plain, Size: 3915 bytes --]

Hi!

On my hp nx7300 laptop, 2 following scenarios can happen during bootup
(see attachments for the full logs): the "good" one [1] and the one
where multiple EHs lead to limiting the speed [2].

[1] one is more rare, but it seems to be persistent over reboots: once
it happened, just rebooting the machine always results in behaviour
like [1]. 

[1] results in a working cdrom from the start. An attempt to use cdrom
after [2] happened results in even more EHs, resulting in "configured
for PIO4", after which the cdrom is finaly working.

The version I'm using is 2.6.23-rc6, but the same used to happen with
the previous rc's, and probably with 2.6.22 too (I can check).

--
Sergey

[1]:

   [   13.026676] ata_piix 0000:00:1f.1: version 2.12
   [   13.026701] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 16 (level, low) -> IRQ 16
   [   13.026898] PCI: Setting latency timer of device 0000:00:1f.1 to 64
   [   13.026994] scsi4 : ata_piix
   [   13.027209] scsi5 : ata_piix
   [   13.027385] ata5: PATA max UDMA/133 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x000140a0 irq 14
   [   13.027484] ata6: PATA max UDMA/133 cmd 0x00010170 ctl 0x00010376 bmdma 0x000140a8 irq 15
   [   13.339308] ata5.00: ATAPI: HL-DT-ST DVDRAM GSA-T10N, PC05, max MWDMA2
   [   13.505922] ata5.00: configured for MWDMA2
   [   13.506026] ata6: port disabled. ignoring.
   [   13.509916] scsi 4:0:0:0: CD-ROM            HL-DT-ST DVDRAM GSA-T10N  PC05 PQ: 0 ANSI: 5

[2]:

   [   10.007152] ata_piix 0000:00:1f.1: version 2.12
   [   10.007178] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 16 (level, low) -> IRQ 16
   [   10.007369] PCI: Setting latency timer of device 0000:00:1f.1 to 64
   [   10.007464] scsi4 : ata_piix
   [   10.007680] scsi5 : ata_piix
   [   10.007856] ata5: PATA max UDMA/133 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x000140a0 irq 14
   [   10.007956] ata6: PATA max UDMA/133 cmd 0x00010170 ctl 0x00010376 bmdma 0x000140a8 irq 15
   [   10.320462] ata5.00: ATAPI: HL-DT-ST DVDRAM GSA-T10N, PC05, max MWDMA2
   [   10.487077] ata5.00: configured for MWDMA2
   [   10.487181] ata6: port disabled. ignoring.
   [   15.985240] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
   [   15.985325] ata5.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x12 data 96 in
   [   15.985327]          res 40/00:02:00:24:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
   [   15.985532] ata5: soft resetting port
   [   16.465489] ata5.00: configured for MWDMA2
   [   16.465571] ata5: EH complete
   [   21.963643] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
   [   21.963725] ata5.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x12 data 96 in
   [   21.963727]          res 40/00:02:00:24:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
   [   21.963930] ata5: soft resetting port
   [   22.443900] ata5.00: configured for MWDMA2
   [   22.443979] ata5: EH complete
   [   27.942051] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
   [   27.942134] ata5.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x12 data 96 in
   [   27.942136]          res 40/00:02:00:24:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
   [   27.942341] ata5: soft resetting port
   [   28.422309] ata5.00: configured for MWDMA2
   [   28.422389] ata5: EH complete
   [   33.920457] ata5.00: limiting speed to MWDMA1:PIO4
   [   33.920532] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
   [   33.920614] ata5.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x12 data 96 in
   [   33.920616]          res 40/00:02:00:24:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
   [   33.920820] ata5: soft resetting port
   [   34.400708] ata5.00: configured for MWDMA1
   [   34.400790] ata5: EH complete
   [   34.400869] scsi scan: 96 byte inquiry failed.  Consider BLIST_INQUIRY_36 for this device
   [   34.402855] scsi 4:0:0:0: CD-ROM            HL-DT-ST DVDRAM GSA-T10N  PC05 PQ: 0 ANSI: 5


[-- Attachment #2: dmesg.ok.gz --]
[-- Type: application/octet-stream, Size: 12234 bytes --]

[-- Attachment #3: dmesg.bad.gz --]
[-- Type: application/octet-stream, Size: 13210 bytes --]

             reply	other threads:[~2007-09-11 21:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-11 21:21 Sergey Dolgov [this message]
2007-09-12 16:33 ` ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO Michal Piotrowski
2007-09-12 20:07   ` Sergey Dolgov
2007-09-12 20:19     ` Michal Piotrowski
2007-09-12 21:20       ` Sergey Dolgov
2007-09-12 22:20         ` Michal Piotrowski
2007-09-16 11:56           ` Tejun Heo
2007-09-17  9:57             ` Sergey Dolgov
2007-09-17 11:37               ` Tejun Heo
2007-09-17 12:05                 ` Sergey Dolgov
2007-09-17 17:18                   ` Alexey Zaytsev
2007-09-18 18:05                     ` Sergey Dolgov

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=20070911212030.GA2817@slk.laptop \
    --to=dolgovs@gmail.com \
    --cc=htejun@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.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;
as well as URLs for NNTP newsgroup(s).