linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO
@ 2007-09-11 21:21 Sergey Dolgov
  2007-09-12 16:33 ` Michal Piotrowski
  0 siblings, 1 reply; 12+ messages in thread
From: Sergey Dolgov @ 2007-09-11 21:21 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-kernel, linux-ide

[-- 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 --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO
  2007-09-11 21:21 ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO Sergey Dolgov
@ 2007-09-12 16:33 ` Michal Piotrowski
  2007-09-12 20:07   ` Sergey Dolgov
  0 siblings, 1 reply; 12+ messages in thread
From: Michal Piotrowski @ 2007-09-12 16:33 UTC (permalink / raw)
  To: Sergey Dolgov; +Cc: Tejun Heo, linux-kernel, linux-ide

Hi Sergey,

On 11/09/2007, Sergey Dolgov <dolgovs@gmail.com> wrote:
> 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).

It would be great if you could check it.

>
> --
> 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
>
>
>

Regards,
Michal

-- 
LOG
http://www.stardust.webpages.pl/log/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO
  2007-09-12 16:33 ` Michal Piotrowski
@ 2007-09-12 20:07   ` Sergey Dolgov
  2007-09-12 20:19     ` Michal Piotrowski
  0 siblings, 1 reply; 12+ messages in thread
From: Sergey Dolgov @ 2007-09-12 20:07 UTC (permalink / raw)
  To: Michal Piotrowski; +Cc: Tejun Heo, linux-kernel, linux-ide

Hi Michal,

On Wed, Sep 12, 2007 at 06:33:20PM +0200, Michal Piotrowski wrote:
> Hi Sergey,
> 
> On 11/09/2007, Sergey Dolgov <dolgovs@gmail.com> wrote:
> > 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).
> 
> It would be great if you could check it.

I've just built 2.6.22.6 with basically the same configuration, and
the behaviour is just the same, i.e. both [1] and [2] still can
happen.

> >
> > [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
> >
> >

--
Sergey

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO
  2007-09-12 20:07   ` Sergey Dolgov
@ 2007-09-12 20:19     ` Michal Piotrowski
  2007-09-12 21:20       ` Sergey Dolgov
  0 siblings, 1 reply; 12+ messages in thread
From: Michal Piotrowski @ 2007-09-12 20:19 UTC (permalink / raw)
  To: Sergey Dolgov; +Cc: Michal Piotrowski, Tejun Heo, linux-kernel, linux-ide

Sergey Dolgov pisze:
> Hi Michal,
> 
> On Wed, Sep 12, 2007 at 06:33:20PM +0200, Michal Piotrowski wrote:
>> Hi Sergey,
>>
>> On 11/09/2007, Sergey Dolgov <dolgovs@gmail.com> wrote:
>>> 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).
>> It would be great if you could check it.
> 
> I've just built 2.6.22.6 with basically the same configuration, and
> the behaviour is just the same, i.e. both [1] and [2] still can
> happen.

Ok, thanks.

BTW please check cables and PCU.

> 
>>> [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
>>>
>>>
> 
> --
> Sergey
> 

Regards,
Michal

-- 
LOG
http://www.stardust.webpages.pl/log/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO
  2007-09-12 20:19     ` Michal Piotrowski
@ 2007-09-12 21:20       ` Sergey Dolgov
  2007-09-12 22:20         ` Michal Piotrowski
  0 siblings, 1 reply; 12+ messages in thread
From: Sergey Dolgov @ 2007-09-12 21:20 UTC (permalink / raw)
  To: Michal Piotrowski; +Cc: Tejun Heo, linux-kernel, linux-ide

On Wed, Sep 12, 2007 at 10:19:03PM +0200, Michal Piotrowski wrote:
> Sergey Dolgov pisze:
> > Hi Michal,
> > 
> > On Wed, Sep 12, 2007 at 06:33:20PM +0200, Michal Piotrowski wrote:
> >> Hi Sergey,
> >>
> >> On 11/09/2007, Sergey Dolgov <dolgovs@gmail.com> wrote:
> >>> 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).
> >> It would be great if you could check it.
> > 
> > I've just built 2.6.22.6 with basically the same configuration, and
> > the behaviour is just the same, i.e. both [1] and [2] still can
> > happen.
> 
> Ok, thanks.
> 
> BTW please check cables and PCU.

What's a PCU? BTW, this only happens when using libata of course. The
old CONFIG_IDE stuff works fine every time.

> 
> > 
> >>> [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
> >>>
> >>>
> > 
> > --
> > Sergey
> > 
> 
> Regards,
> Michal
> 
> -- 
> LOG
> http://www.stardust.webpages.pl/log/

--
Sergey

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO
  2007-09-12 21:20       ` Sergey Dolgov
@ 2007-09-12 22:20         ` Michal Piotrowski
  2007-09-16 11:56           ` Tejun Heo
  0 siblings, 1 reply; 12+ messages in thread
From: Michal Piotrowski @ 2007-09-12 22:20 UTC (permalink / raw)
  To: Sergey Dolgov; +Cc: Michal Piotrowski, Tejun Heo, linux-kernel, linux-ide

Sergey Dolgov pisze:
> On Wed, Sep 12, 2007 at 10:19:03PM +0200, Michal Piotrowski wrote:
>> Sergey Dolgov pisze:
>>> Hi Michal,
>>>
>>> On Wed, Sep 12, 2007 at 06:33:20PM +0200, Michal Piotrowski wrote:
>>>> Hi Sergey,
>>>>
>>>> On 11/09/2007, Sergey Dolgov <dolgovs@gmail.com> wrote:
>>>>> 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).
>>>> It would be great if you could check it.
>>> I've just built 2.6.22.6 with basically the same configuration, and
>>> the behaviour is just the same, i.e. both [1] and [2] still can
>>> happen.
>> Ok, thanks.
>>
>> BTW please check cables and PCU.
> 
> What's a PCU?

s/PCU/PSU - power supply unit

> BTW, this only happens when using libata of course. The
> old CONFIG_IDE stuff works fine every time.

This maybe one of libata weirdness (I really don't get it why some hardware
works perfectly fine with an old IDE and don't work well with libata).

> 
>>>>> [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
>>>>>
>>>>>
>>> --
>>> Sergey
>>>
>> Regards,
>> Michal
>>
>> -- 
>> LOG
>> http://www.stardust.webpages.pl/log/
> 
> --
> Sergey
> 

Regards,
Michal

-- 
LOG
http://www.stardust.webpages.pl/log/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO
  2007-09-12 22:20         ` Michal Piotrowski
@ 2007-09-16 11:56           ` Tejun Heo
  2007-09-17  9:57             ` Sergey Dolgov
  0 siblings, 1 reply; 12+ messages in thread
From: Tejun Heo @ 2007-09-16 11:56 UTC (permalink / raw)
  To: Michal Piotrowski; +Cc: Sergey Dolgov, linux-kernel, linux-ide

Michal Piotrowski wrote:
> Sergey Dolgov pisze:
>> On Wed, Sep 12, 2007 at 10:19:03PM +0200, Michal Piotrowski wrote:
>>> Sergey Dolgov pisze:
>>>> Hi Michal,
>>>>
>>>> On Wed, Sep 12, 2007 at 06:33:20PM +0200, Michal Piotrowski wrote:
>>>>> Hi Sergey,
>>>>>
>>>>> On 11/09/2007, Sergey Dolgov <dolgovs@gmail.com> wrote:
>>>>>> 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).
>>>>> It would be great if you could check it.
>>>> I've just built 2.6.22.6 with basically the same configuration, and
>>>> the behaviour is just the same, i.e. both [1] and [2] still can
>>>> happen.
>>> Ok, thanks.
>>>
>>> BTW please check cables and PCU.
>> What's a PCU?
> 
> s/PCU/PSU - power supply unit
> 
>> BTW, this only happens when using libata of course. The
>> old CONFIG_IDE stuff works fine every time.
> 
> This maybe one of libata weirdness (I really don't get it why some hardware
> works perfectly fine with an old IDE and don't work well with libata).

Hmmm... Is MWDMA2 mode used with ide driver too?

-- 
tejun

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO
  2007-09-16 11:56           ` Tejun Heo
@ 2007-09-17  9:57             ` Sergey Dolgov
  2007-09-17 11:37               ` Tejun Heo
  0 siblings, 1 reply; 12+ messages in thread
From: Sergey Dolgov @ 2007-09-17  9:57 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Michal Piotrowski, linux-kernel, linux-ide

On 9/16/07, Tejun Heo <htejun@gmail.com> wrote:
> Michal Piotrowski wrote:
> > Sergey Dolgov pisze:
> >> On Wed, Sep 12, 2007 at 10:19:03PM +0200, Michal Piotrowski wrote:
> >>> Sergey Dolgov pisze:
> >>>> Hi Michal,
> >>>>
> >>>> On Wed, Sep 12, 2007 at 06:33:20PM +0200, Michal Piotrowski wrote:
> >>>>> Hi Sergey,
> >>>>>
> >>>>> On 11/09/2007, Sergey Dolgov <dolgovs@gmail.com> wrote:
> >>>>>> 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).
> >>>>> It would be great if you could check it.
> >>>> I've just built 2.6.22.6 with basically the same configuration, and
> >>>> the behaviour is just the same, i.e. both [1] and [2] still can
> >>>> happen.
> >>> Ok, thanks.
> >>>
> >>> BTW please check cables and PCU.
> >> What's a PCU?
> >
> > s/PCU/PSU - power supply unit
> >
> >> BTW, this only happens when using libata of course. The
> >> old CONFIG_IDE stuff works fine every time.
> >
> > This maybe one of libata weirdness (I really don't get it why some hardware
> > works perfectly fine with an old IDE and don't work well with libata).
>
> Hmmm... Is MWDMA2 mode used with ide driver too?
>

What's the best way to tell whether it does or not? (the log says
"selected mode 0x22", see below)

[    9.267682] ICH7: IDE controller at PCI slot 0000:00:1f.1
[    9.267776] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 16 (level,
low) -> IRQ 16
[    9.267928] ICH7: chipset revision 1
[    9.267998] ICH7: not 100% native mode: will probe irqs later
[    9.268088]     ide0: BM-DMA at 0x40a0-0x40a7, BIOS settings:
hda:DMA, hdb:pio
[    9.268286] Probing IDE interface ide0...
[    9.301139] USB Universal Host Controller Interface driver v3.0
[    9.307592] SCSI subsystem initialized
[    9.325583] libata version 2.21 loaded.
[    9.331069] Clocksource tsc unstable (delta = -127737806 ns)
[    9.333292] hda: HL-DT-ST DVDRAM GSA-T10N, ATAPI CD/DVD-ROM drive
[    9.333533] PM: Adding info for No Bus:ide0
[    9.335577] hda: selected mode 0x22
[    9.336161] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

-- 
Sergey

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO
  2007-09-17  9:57             ` Sergey Dolgov
@ 2007-09-17 11:37               ` Tejun Heo
  2007-09-17 12:05                 ` Sergey Dolgov
  0 siblings, 1 reply; 12+ messages in thread
From: Tejun Heo @ 2007-09-17 11:37 UTC (permalink / raw)
  To: Sergey Dolgov; +Cc: Michal Piotrowski, linux-kernel, linux-ide

Sergey Dolgov wrote:
> On 9/16/07, Tejun Heo <htejun@gmail.com> wrote:
>> Michal Piotrowski wrote:
>>> Sergey Dolgov pisze:
>>>> On Wed, Sep 12, 2007 at 10:19:03PM +0200, Michal Piotrowski wrote:
>>>>> Sergey Dolgov pisze:
>>>>>> Hi Michal,
>>>>>>
>>>>>> On Wed, Sep 12, 2007 at 06:33:20PM +0200, Michal Piotrowski wrote:
>>>>>>> Hi Sergey,
>>>>>>>
>>>>>>> On 11/09/2007, Sergey Dolgov <dolgovs@gmail.com> wrote:
>>>>>>>> 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).
>>>>>>> It would be great if you could check it.
>>>>>> I've just built 2.6.22.6 with basically the same configuration, and
>>>>>> the behaviour is just the same, i.e. both [1] and [2] still can
>>>>>> happen.
>>>>> Ok, thanks.
>>>>>
>>>>> BTW please check cables and PCU.
>>>> What's a PCU?
>>> s/PCU/PSU - power supply unit
>>>
>>>> BTW, this only happens when using libata of course. The
>>>> old CONFIG_IDE stuff works fine every time.
>>> This maybe one of libata weirdness (I really don't get it why some hardware
>>> works perfectly fine with an old IDE and don't work well with libata).
>> Hmmm... Is MWDMA2 mode used with ide driver too?
>>
> 
> What's the best way to tell whether it does or not? (the log says
> "selected mode 0x22", see below)

Yes, that's MWDMA2.  Hmm... We're seeing many cases where MWDMA doesn't
work with libata while it works fine with IDE but have no idea what's
going on yet.  :-(

-- 
tejun

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO
  2007-09-17 11:37               ` Tejun Heo
@ 2007-09-17 12:05                 ` Sergey Dolgov
  2007-09-17 17:18                   ` Alexey Zaytsev
  0 siblings, 1 reply; 12+ messages in thread
From: Sergey Dolgov @ 2007-09-17 12:05 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Michal Piotrowski, linux-kernel, linux-ide

On 9/17/07, Tejun Heo <htejun@gmail.com> wrote:

[...]
> >>>> BTW, this only happens when using libata of course. The
> >>>> old CONFIG_IDE stuff works fine every time.
> >>> This maybe one of libata weirdness (I really don't get it why some hardware
> >>> works perfectly fine with an old IDE and don't work well with libata).
> >> Hmmm... Is MWDMA2 mode used with ide driver too?
> >>
> >
> > What's the best way to tell whether it does or not? (the log says
> > "selected mode 0x22", see below)
>
> Yes, that's MWDMA2.  Hmm... We're seeing many cases where MWDMA doesn't
> work with libata while it works fine with IDE but have no idea what's
> going on yet.  :-(
>

Okay, thanks. Please feel free to contact me if you need any more testing done.

-- 
Sergey

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO
  2007-09-17 12:05                 ` Sergey Dolgov
@ 2007-09-17 17:18                   ` Alexey Zaytsev
  2007-09-18 18:05                     ` Sergey Dolgov
  0 siblings, 1 reply; 12+ messages in thread
From: Alexey Zaytsev @ 2007-09-17 17:18 UTC (permalink / raw)
  To: Sergey Dolgov; +Cc: Tejun Heo, Michal Piotrowski, linux-kernel, linux-ide

On 9/17/07, Sergey Dolgov <dolgovs@gmail.com> wrote:
> On 9/17/07, Tejun Heo <htejun@gmail.com> wrote:
>
> [...]
> > >>>> BTW, this only happens when using libata of course. The
> > >>>> old CONFIG_IDE stuff works fine every time.
> > >>> This maybe one of libata weirdness (I really don't get it why some hardware
> > >>> works perfectly fine with an old IDE and don't work well with libata).
> > >> Hmmm... Is MWDMA2 mode used with ide driver too?
> > >>
> > >
> > > What's the best way to tell whether it does or not? (the log says
> > > "selected mode 0x22", see below)
> >
> > Yes, that's MWDMA2.  Hmm... We're seeing many cases where MWDMA doesn't
> > work with libata while it works fine with IDE but have no idea what's
> > going on yet.  :-(
> >
>

This may be well a hardware problem. Same laptop (HP nx7300 GB848ES)
works fine with either 2.6.22 and 2.6.23-rc. Maybe actually using the
DVD is required to trigger the problem on the next reboot?

Sergey, btw, on this laptop I've observed lockups twice with the -rc5.
After switching to 2.6.22 it was stable for at least one day. Can you
confirm or refute this?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO
  2007-09-17 17:18                   ` Alexey Zaytsev
@ 2007-09-18 18:05                     ` Sergey Dolgov
  0 siblings, 0 replies; 12+ messages in thread
From: Sergey Dolgov @ 2007-09-18 18:05 UTC (permalink / raw)
  To: Alexey Zaytsev; +Cc: Tejun Heo, Michal Piotrowski, linux-kernel, linux-ide

On Mon, Sep 17, 2007 at 09:18:26PM +0400, Alexey Zaytsev wrote:
> On 9/17/07, Sergey Dolgov <dolgovs@gmail.com> wrote:
> > On 9/17/07, Tejun Heo <htejun@gmail.com> wrote:
> >
> > [...]
> > > >>>> BTW, this only happens when using libata of course. The
> > > >>>> old CONFIG_IDE stuff works fine every time.
> > > >>> This maybe one of libata weirdness (I really don't get it why some hardware
> > > >>> works perfectly fine with an old IDE and don't work well with libata).
> > > >> Hmmm... Is MWDMA2 mode used with ide driver too?
> > > >>
> > > >
> > > > What's the best way to tell whether it does or not? (the log says
> > > > "selected mode 0x22", see below)
> > >
> > > Yes, that's MWDMA2.  Hmm... We're seeing many cases where MWDMA doesn't
> > > work with libata while it works fine with IDE but have no idea what's
> > > going on yet.  :-(
> > >
> >
> 
> This may be well a hardware problem. Same laptop (HP nx7300 GB848ES)
> works fine with either 2.6.22 and 2.6.23-rc. Maybe actually using the
> DVD is required to trigger the problem on the next reboot?

No, that is not required. The problem shows up on a fresh start from
powered-off state just as well.

> Sergey, btw, on this laptop I've observed lockups twice with the -rc5.
> After switching to 2.6.22 it was stable for at least one day. Can you
> confirm or refute this?

I've been using 2.6.23 rcs (rc3, rc6) since August, often for days
without rebooting the machine. Haven't seen any lockups (except the
ones on a return from suspend-to-RAM, but that's another story).

--
Sergey

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-09-18 18:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-11 21:21 ata_piix, laptop cdrom, ICH7: EH, limiting speed to PIO Sergey Dolgov
2007-09-12 16:33 ` 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

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).