All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.30-rc6: Problem with an SSD disk on Freescale PowerPC mpc8315e-rdb, works fine on x86
@ 2009-06-08 14:59 Leon Woestenberg
  2009-06-09  9:26   ` Leon Woestenberg
  2009-06-17 16:07 ` Leon Woestenberg
  0 siblings, 2 replies; 8+ messages in thread
From: Leon Woestenberg @ 2009-06-08 14:59 UTC (permalink / raw)
  To: Linux PPC, Stuart Hughes, Kumar Gala, linux-ide

Hello,

using 2.6.30-rc6, I get the following problems when I read from a SSD
disk, connected to the
3.0 Gb SATA controller of the MPC8315E SoC rev 1.0 running Linux 2.6.30-rc6.

Below see the output from two dd read runs.

The disk behaves fine on a x86 box.

What I can do to (help) pin-point the problem?

Regards,

Leon.


root@mpc8315e-rdb:~# dd if=/dev/sda of=/dev/null bs=4k
ata2: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x2 frozen
ata2.00: cmd c8/00:3e:1e:e0:01/00:00:00:00:00/e0 tag 0 dma 31744 in
         res 50/00:3e:e0:df:01/00:00:00:00:00/e0 Emask 0x1 (device error)
ata2.00: status: { DRDY }
ata2: hard resetting link
ata2: Signature Update detected @ 3528 msecs
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: configured for UDMA/133
sd 1:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 1:0:0:0: [sda] Sense Key : 0xb [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
        00 01 df e0
sd 1:0:0:0: [sda] ASC=0x0 ASCQ=0x0
end_request: I/O error, dev sda, sector 122910
__ratelimit: 52 callbacks suppressed
Buffer I/O error on device sda, logical block 122910
Buffer I/O error on device sda, logical block 122911
Buffer I/O error on device sda, logical block 122912
Buffer I/O error on device sda, logical block 122913
Buffer I/O error on device sda, logical block 122914
Buffer I/O error on device sda, logical block 122915
Buffer I/O error on device sda, logical block 122916
Buffer I/O error on device sda, logical block 122917
Buffer I/O error on device sda, logical block 122918
Buffer I/O error on device sda, logical block 122919
ata2: EH complete
dd: /dev/sda: Input/output error


root@mpc8315e-rdb:~# dd if=/dev/sda of=/dev/null bs=4k
ata2: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x2 frozen
ata2.00: cmd c8/00:32:9a:6e:00/00:00:00:00:00/e0 tag 0 dma 25600 in
         res 50/00:3e:5c:6e:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata2.00: status: { DRDY }
ata2: hard resetting link
ata2: Signature Update detected @ 3528 msecs
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: configured for UDMA/133
sd 1:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 1:0:0:0: [sda] Sense Key : 0xb [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
        00 00 6e 5c
sd 1:0:0:0: [sda] ASC=0x0 ASCQ=0x0
end_request: I/O error, dev sda, sector 28314
__ratelimit: 52 callbacks suppressed
Buffer I/O error on device sda, logical block 28314
Buffer I/O error on device sda, logical block 28315
Buffer I/O error on device sda, logical block 28316
Buffer I/O error on device sda, logical block 28317
Buffer I/O error on device sda, logical block 28318
Buffer I/O error on device sda, logical block 28319
Buffer I/O error on device sda, logical block 28320
Buffer I/O error on device sda, logical block 28321
Buffer I/O error on device sda, logical block 28322
Buffer I/O error on device sda, logical block 28323
ata2: EH complete
dd: /dev/sda: Input/output error


root@mpc8315e-rdb:~# uname -a
Linux mpc8315e-rdb 2.6.30-rc6 #1 Mon Jun 8 15:54:00 CEST 2009 ppc unknown

root@mpc8315e-rdb:~# hdparm -i /dev/sda

/dev/sda:

 Model=Solidata X SSD                          , FwRev=0955    , SerialNo=<...>
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=128, MultSect=?1?
 CurCHS=16383/16/63, CurSects=16514064, LBA=no
 IORDY=no, tPIO={min:240,w/IORDY:120}
 PIO modes:  pio0 pio3 pio4
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5
 AdvancedPM=yes: disabled (255) WriteCache=disabled
 Drive conforms to: Unspecified:  ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6
ATA/ATAPI-7

 * signifies the current active mode



-- 
Leon

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

* Re: 2.6.30-rc6: Problem with an SSD disk on Freescale PowerPC mpc8315e-rdb, works fine on x86
  2009-06-08 14:59 2.6.30-rc6: Problem with an SSD disk on Freescale PowerPC mpc8315e-rdb, works fine on x86 Leon Woestenberg
@ 2009-06-09  9:26   ` Leon Woestenberg
  2009-06-17 16:07 ` Leon Woestenberg
  1 sibling, 0 replies; 8+ messages in thread
From: Leon Woestenberg @ 2009-06-09  9:26 UTC (permalink / raw)
  To: Linux PPC, Kumar Gala, linux-ide, Ashish Kalra, Li Yang

Adding the sata_fsl.c developers to the recipients:

On Mon, Jun 8, 2009 at 4:59 PM, Leon
Woestenberg<leon.woestenberg@gmail.com> wrote:
> Hello,
>
> using 2.6.30-rc6, I get the following problems when I read from a SSD
> disk, connected to the
> 3.0 Gb SATA controller of the MPC8315E SoC rev 1.0 running Linux 2.6.30-rc6.
>
> Below see the output from two dd read runs.
>
> The disk behaves fine on a x86 box.
>
> What I can do to (help) pin-point the problem?
>
> Regards,
>
> Leon.
>
>
> root@mpc8315e-rdb:~# dd if=/dev/sda of=/dev/null bs=4k
> ata2: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x2 frozen
> ata2.00: cmd c8/00:3e:1e:e0:01/00:00:00:00:00/e0 tag 0 dma 31744 in
>         res 50/00:3e:e0:df:01/00:00:00:00:00/e0 Emask 0x1 (device error)
> ata2.00: status: { DRDY }
> ata2: hard resetting link
> ata2: Signature Update detected @ 3528 msecs
> ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> ata2.00: configured for UDMA/133
> sd 1:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
> sd 1:0:0:0: [sda] Sense Key : 0xb [current] [descriptor]
> Descriptor sense data with sense descriptors (in hex):
>        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
>        00 01 df e0
> sd 1:0:0:0: [sda] ASC=0x0 ASCQ=0x0
> end_request: I/O error, dev sda, sector 122910
> __ratelimit: 52 callbacks suppressed
> Buffer I/O error on device sda, logical block 122910
> Buffer I/O error on device sda, logical block 122911
> Buffer I/O error on device sda, logical block 122912
> Buffer I/O error on device sda, logical block 122913
> Buffer I/O error on device sda, logical block 122914
> Buffer I/O error on device sda, logical block 122915
> Buffer I/O error on device sda, logical block 122916
> Buffer I/O error on device sda, logical block 122917
> Buffer I/O error on device sda, logical block 122918
> Buffer I/O error on device sda, logical block 122919
> ata2: EH complete
> dd: /dev/sda: Input/output error
>
>
> root@mpc8315e-rdb:~# dd if=/dev/sda of=/dev/null bs=4k
> ata2: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x2 frozen
> ata2.00: cmd c8/00:32:9a:6e:00/00:00:00:00:00/e0 tag 0 dma 25600 in
>         res 50/00:3e:5c:6e:00/00:00:00:00:00/e0 Emask 0x1 (device error)
> ata2.00: status: { DRDY }
> ata2: hard resetting link
> ata2: Signature Update detected @ 3528 msecs
> ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> ata2.00: configured for UDMA/133
> sd 1:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
> sd 1:0:0:0: [sda] Sense Key : 0xb [current] [descriptor]
> Descriptor sense data with sense descriptors (in hex):
>        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
>        00 00 6e 5c
> sd 1:0:0:0: [sda] ASC=0x0 ASCQ=0x0
> end_request: I/O error, dev sda, sector 28314
> __ratelimit: 52 callbacks suppressed
> Buffer I/O error on device sda, logical block 28314
> Buffer I/O error on device sda, logical block 28315
> Buffer I/O error on device sda, logical block 28316
> Buffer I/O error on device sda, logical block 28317
> Buffer I/O error on device sda, logical block 28318
> Buffer I/O error on device sda, logical block 28319
> Buffer I/O error on device sda, logical block 28320
> Buffer I/O error on device sda, logical block 28321
> Buffer I/O error on device sda, logical block 28322
> Buffer I/O error on device sda, logical block 28323
> ata2: EH complete
> dd: /dev/sda: Input/output error
>
>
> root@mpc8315e-rdb:~# uname -a
> Linux mpc8315e-rdb 2.6.30-rc6 #1 Mon Jun 8 15:54:00 CEST 2009 ppc unknown
>
> root@mpc8315e-rdb:~# hdparm -i /dev/sda
>
> /dev/sda:
>
>  Model=Solidata X SSD                          , FwRev=0955    , SerialNo=<...>
>  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
>  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
>  BuffType=unknown, BuffSize=0kB, MaxMultSect=128, MultSect=?1?
>  CurCHS=16383/16/63, CurSects=16514064, LBA=no
>  IORDY=no, tPIO={min:240,w/IORDY:120}
>  PIO modes:  pio0 pio3 pio4
>  UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5
>  AdvancedPM=yes: disabled (255) WriteCache=disabled
>  Drive conforms to: Unspecified:  ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6
> ATA/ATAPI-7
>
>  * signifies the current active mode
>
>
>
> --
> Leon
>



-- 
Leon

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

* Re: 2.6.30-rc6: Problem with an SSD disk on Freescale PowerPC mpc8315e-rdb, works fine on x86
@ 2009-06-09  9:26   ` Leon Woestenberg
  0 siblings, 0 replies; 8+ messages in thread
From: Leon Woestenberg @ 2009-06-09  9:26 UTC (permalink / raw)
  To: Linux PPC, Kumar Gala, linux-ide, Ashish Kalra, Li Yang

Adding the sata_fsl.c developers to the recipients:

On Mon, Jun 8, 2009 at 4:59 PM, Leon
Woestenberg<leon.woestenberg@gmail.com> wrote:
> Hello,
>
> using 2.6.30-rc6, I get the following problems when I read from a SSD
> disk, connected to the
> 3.0 Gb SATA controller of the MPC8315E SoC rev 1.0 running Linux 2.6.30-r=
c6.
>
> Below see the output from two dd read runs.
>
> The disk behaves fine on a x86 box.
>
> What I can do to (help) pin-point the problem?
>
> Regards,
>
> Leon.
>
>
> root@mpc8315e-rdb:~# dd if=3D/dev/sda of=3D/dev/null bs=3D4k
> ata2: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x2 frozen
> ata2.00: cmd c8/00:3e:1e:e0:01/00:00:00:00:00/e0 tag 0 dma 31744 in
> =A0 =A0 =A0 =A0 res 50/00:3e:e0:df:01/00:00:00:00:00/e0 Emask 0x1 (device=
 error)
> ata2.00: status: { DRDY }
> ata2: hard resetting link
> ata2: Signature Update detected @ 3528 msecs
> ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> ata2.00: configured for UDMA/133
> sd 1:0:0:0: [sda] Result: hostbyte=3D0x00 driverbyte=3D0x08
> sd 1:0:0:0: [sda] Sense Key : 0xb [current] [descriptor]
> Descriptor sense data with sense descriptors (in hex):
> =A0 =A0 =A0 =A072 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
> =A0 =A0 =A0 =A000 01 df e0
> sd 1:0:0:0: [sda] ASC=3D0x0 ASCQ=3D0x0
> end_request: I/O error, dev sda, sector 122910
> __ratelimit: 52 callbacks suppressed
> Buffer I/O error on device sda, logical block 122910
> Buffer I/O error on device sda, logical block 122911
> Buffer I/O error on device sda, logical block 122912
> Buffer I/O error on device sda, logical block 122913
> Buffer I/O error on device sda, logical block 122914
> Buffer I/O error on device sda, logical block 122915
> Buffer I/O error on device sda, logical block 122916
> Buffer I/O error on device sda, logical block 122917
> Buffer I/O error on device sda, logical block 122918
> Buffer I/O error on device sda, logical block 122919
> ata2: EH complete
> dd: /dev/sda: Input/output error
>
>
> root@mpc8315e-rdb:~# dd if=3D/dev/sda of=3D/dev/null bs=3D4k
> ata2: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x2 frozen
> ata2.00: cmd c8/00:32:9a:6e:00/00:00:00:00:00/e0 tag 0 dma 25600 in
> =A0 =A0 =A0 =A0 res 50/00:3e:5c:6e:00/00:00:00:00:00/e0 Emask 0x1 (device=
 error)
> ata2.00: status: { DRDY }
> ata2: hard resetting link
> ata2: Signature Update detected @ 3528 msecs
> ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> ata2.00: configured for UDMA/133
> sd 1:0:0:0: [sda] Result: hostbyte=3D0x00 driverbyte=3D0x08
> sd 1:0:0:0: [sda] Sense Key : 0xb [current] [descriptor]
> Descriptor sense data with sense descriptors (in hex):
> =A0 =A0 =A0 =A072 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
> =A0 =A0 =A0 =A000 00 6e 5c
> sd 1:0:0:0: [sda] ASC=3D0x0 ASCQ=3D0x0
> end_request: I/O error, dev sda, sector 28314
> __ratelimit: 52 callbacks suppressed
> Buffer I/O error on device sda, logical block 28314
> Buffer I/O error on device sda, logical block 28315
> Buffer I/O error on device sda, logical block 28316
> Buffer I/O error on device sda, logical block 28317
> Buffer I/O error on device sda, logical block 28318
> Buffer I/O error on device sda, logical block 28319
> Buffer I/O error on device sda, logical block 28320
> Buffer I/O error on device sda, logical block 28321
> Buffer I/O error on device sda, logical block 28322
> Buffer I/O error on device sda, logical block 28323
> ata2: EH complete
> dd: /dev/sda: Input/output error
>
>
> root@mpc8315e-rdb:~# uname -a
> Linux mpc8315e-rdb 2.6.30-rc6 #1 Mon Jun 8 15:54:00 CEST 2009 ppc unknown
>
> root@mpc8315e-rdb:~# hdparm -i /dev/sda
>
> /dev/sda:
>
> =A0Model=3DSolidata X SSD =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0, FwRev=3D0955 =A0 =A0, SerialNo=3D<...>
> =A0Config=3D{ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
> =A0RawCHS=3D16383/16/63, TrkSize=3D0, SectSize=3D0, ECCbytes=3D0
> =A0BuffType=3Dunknown, BuffSize=3D0kB, MaxMultSect=3D128, MultSect=3D?1?
> =A0CurCHS=3D16383/16/63, CurSects=3D16514064, LBA=3Dno
> =A0IORDY=3Dno, tPIO=3D{min:240,w/IORDY:120}
> =A0PIO modes: =A0pio0 pio3 pio4
> =A0UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5
> =A0AdvancedPM=3Dyes: disabled (255) WriteCache=3Ddisabled
> =A0Drive conforms to: Unspecified: =A0ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6
> ATA/ATAPI-7
>
> =A0* signifies the current active mode
>
>
>
> --
> Leon
>



--=20
Leon

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

* Re: 2.6.30-rc6: Problem with an SSD disk on Freescale PowerPC mpc8315e-rdb, works fine on x86
  2009-06-09  9:26   ` Leon Woestenberg
@ 2009-06-11 18:41     ` Leon Woestenberg
  -1 siblings, 0 replies; 8+ messages in thread
From: Leon Woestenberg @ 2009-06-11 18:41 UTC (permalink / raw)
  To: Linux PPC, Kumar Gala, linux-ide, Ashish Kalra, Li Yang

Hello,


I found this is a regression compared with an older kernel. I have
tested the same setup with the Freescale LTIB BSP 2008-06-27 BSP
kernel*, keeping the user space and hardware setup exactly identical.
Under that kernel, no errors occur.

Also I found the error only occurs during *reading* the SSD disk under
Linux 2.6.30-rc6, writing seems unaffected.

As the same Freescale SATA controller IP is used in the new 8536E
processor (and others), I would like to help to solve this issue
before trying 8536E hardware.

Regards,

Leon.

*
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC8315E&nodeId=0162468rH3bTdGJk191439&fpsp=1&tab=Design_Tools_Tab#
Split out patches available from http://www.bitshrine.org/gpp/


On Tue, Jun 9, 2009 at 11:26 AM, Leon
Woestenberg<leon.woestenberg@gmail.com> wrote:
> Adding the sata_fsl.c developers to the recipients:
>
> On Mon, Jun 8, 2009 at 4:59 PM, Leon
> Woestenberg<leon.woestenberg@gmail.com> wrote:
>> Hello,
>>
>> using 2.6.30-rc6, I get the following problems when I read from a SSD
>> disk, connected to the
>> 3.0 Gb SATA controller of the MPC8315E SoC rev 1.0 running Linux 2.6.30-rc6.
>>
>> Below see the output from two dd read runs.
>>
>> The disk behaves fine on a x86 box.
>>
>> What I can do to (help) pin-point the problem?
>>
>> Regards,
>>
>> Leon.
>>
>>
>> root@mpc8315e-rdb:~# dd if=/dev/sda of=/dev/null bs=4k
>> ata2: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x2 frozen
>> ata2.00: cmd c8/00:3e:1e:e0:01/00:00:00:00:00/e0 tag 0 dma 31744 in
>>         res 50/00:3e:e0:df:01/00:00:00:00:00/e0 Emask 0x1 (device error)
>> ata2.00: status: { DRDY }
>> ata2: hard resetting link
>> ata2: Signature Update detected @ 3528 msecs
>> ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
>> ata2.00: configured for UDMA/133
>> sd 1:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
>> sd 1:0:0:0: [sda] Sense Key : 0xb [current] [descriptor]
>> Descriptor sense data with sense descriptors (in hex):
>>        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
>>        00 01 df e0
>> sd 1:0:0:0: [sda] ASC=0x0 ASCQ=0x0
>> end_request: I/O error, dev sda, sector 122910
>> __ratelimit: 52 callbacks suppressed
>> Buffer I/O error on device sda, logical block 122910
>> Buffer I/O error on device sda, logical block 122911
>> Buffer I/O error on device sda, logical block 122912
>> Buffer I/O error on device sda, logical block 122913
>> Buffer I/O error on device sda, logical block 122914
>> Buffer I/O error on device sda, logical block 122915
>> Buffer I/O error on device sda, logical block 122916
>> Buffer I/O error on device sda, logical block 122917
>> Buffer I/O error on device sda, logical block 122918
>> Buffer I/O error on device sda, logical block 122919
>> ata2: EH complete
>> dd: /dev/sda: Input/output error
>>
>>
>> root@mpc8315e-rdb:~# dd if=/dev/sda of=/dev/null bs=4k
>> ata2: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x2 frozen
>> ata2.00: cmd c8/00:32:9a:6e:00/00:00:00:00:00/e0 tag 0 dma 25600 in
>>         res 50/00:3e:5c:6e:00/00:00:00:00:00/e0 Emask 0x1 (device error)
>> ata2.00: status: { DRDY }
>> ata2: hard resetting link
>> ata2: Signature Update detected @ 3528 msecs
>> ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
>> ata2.00: configured for UDMA/133
>> sd 1:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
>> sd 1:0:0:0: [sda] Sense Key : 0xb [current] [descriptor]
>> Descriptor sense data with sense descriptors (in hex):
>>        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
>>        00 00 6e 5c
>> sd 1:0:0:0: [sda] ASC=0x0 ASCQ=0x0
>> end_request: I/O error, dev sda, sector 28314
>> __ratelimit: 52 callbacks suppressed
>> Buffer I/O error on device sda, logical block 28314
>> Buffer I/O error on device sda, logical block 28315
>> Buffer I/O error on device sda, logical block 28316
>> Buffer I/O error on device sda, logical block 28317
>> Buffer I/O error on device sda, logical block 28318
>> Buffer I/O error on device sda, logical block 28319
>> Buffer I/O error on device sda, logical block 28320
>> Buffer I/O error on device sda, logical block 28321
>> Buffer I/O error on device sda, logical block 28322
>> Buffer I/O error on device sda, logical block 28323
>> ata2: EH complete
>> dd: /dev/sda: Input/output error
>>
>>
>> root@mpc8315e-rdb:~# uname -a
>> Linux mpc8315e-rdb 2.6.30-rc6 #1 Mon Jun 8 15:54:00 CEST 2009 ppc unknown
>>
>> root@mpc8315e-rdb:~# hdparm -i /dev/sda
>>
>> /dev/sda:
>>
>>  Model=Solidata X SSD                          , FwRev=0955    , SerialNo=<...>
>>  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
>>  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
>>  BuffType=unknown, BuffSize=0kB, MaxMultSect=128, MultSect=?1?
>>  CurCHS=16383/16/63, CurSects=16514064, LBA=no
>>  IORDY=no, tPIO={min:240,w/IORDY:120}
>>  PIO modes:  pio0 pio3 pio4
>>  UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5
>>  AdvancedPM=yes: disabled (255) WriteCache=disabled
>>  Drive conforms to: Unspecified:  ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6
>> ATA/ATAPI-7
>>
>>  * signifies the current active mode
>>
>>
>>
>> --
>> Leon
>>
>
>
>
> --
> Leon
>



-- 
Leon

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

* Re: 2.6.30-rc6: Problem with an SSD disk on Freescale PowerPC mpc8315e-rdb, works fine on x86
@ 2009-06-11 18:41     ` Leon Woestenberg
  0 siblings, 0 replies; 8+ messages in thread
From: Leon Woestenberg @ 2009-06-11 18:41 UTC (permalink / raw)
  To: Linux PPC, Kumar Gala, linux-ide, Ashish Kalra, Li Yang

Hello,


I found this is a regression compared with an older kernel. I have
tested the same setup with the Freescale LTIB BSP 2008-06-27 BSP
kernel*, keeping the user space and hardware setup exactly identical.
Under that kernel, no errors occur.

Also I found the error only occurs during *reading* the SSD disk under
Linux 2.6.30-rc6, writing seems unaffected.

As the same Freescale SATA controller IP is used in the new 8536E
processor (and others), I would like to help to solve this issue
before trying 8536E hardware.

Regards,

Leon.

*
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=3DMPC8315E&n=
odeId=3D0162468rH3bTdGJk191439&fpsp=3D1&tab=3DDesign_Tools_Tab#
Split out patches available from http://www.bitshrine.org/gpp/


On Tue, Jun 9, 2009 at 11:26 AM, Leon
Woestenberg<leon.woestenberg@gmail.com> wrote:
> Adding the sata_fsl.c developers to the recipients:
>
> On Mon, Jun 8, 2009 at 4:59 PM, Leon
> Woestenberg<leon.woestenberg@gmail.com> wrote:
>> Hello,
>>
>> using 2.6.30-rc6, I get the following problems when I read from a SSD
>> disk, connected to the
>> 3.0 Gb SATA controller of the MPC8315E SoC rev 1.0 running Linux 2.6.30-=
rc6.
>>
>> Below see the output from two dd read runs.
>>
>> The disk behaves fine on a x86 box.
>>
>> What I can do to (help) pin-point the problem?
>>
>> Regards,
>>
>> Leon.
>>
>>
>> root@mpc8315e-rdb:~# dd if=3D/dev/sda of=3D/dev/null bs=3D4k
>> ata2: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x2 frozen
>> ata2.00: cmd c8/00:3e:1e:e0:01/00:00:00:00:00/e0 tag 0 dma 31744 in
>> =A0 =A0 =A0 =A0 res 50/00:3e:e0:df:01/00:00:00:00:00/e0 Emask 0x1 (devic=
e error)
>> ata2.00: status: { DRDY }
>> ata2: hard resetting link
>> ata2: Signature Update detected @ 3528 msecs
>> ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
>> ata2.00: configured for UDMA/133
>> sd 1:0:0:0: [sda] Result: hostbyte=3D0x00 driverbyte=3D0x08
>> sd 1:0:0:0: [sda] Sense Key : 0xb [current] [descriptor]
>> Descriptor sense data with sense descriptors (in hex):
>> =A0 =A0 =A0 =A072 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
>> =A0 =A0 =A0 =A000 01 df e0
>> sd 1:0:0:0: [sda] ASC=3D0x0 ASCQ=3D0x0
>> end_request: I/O error, dev sda, sector 122910
>> __ratelimit: 52 callbacks suppressed
>> Buffer I/O error on device sda, logical block 122910
>> Buffer I/O error on device sda, logical block 122911
>> Buffer I/O error on device sda, logical block 122912
>> Buffer I/O error on device sda, logical block 122913
>> Buffer I/O error on device sda, logical block 122914
>> Buffer I/O error on device sda, logical block 122915
>> Buffer I/O error on device sda, logical block 122916
>> Buffer I/O error on device sda, logical block 122917
>> Buffer I/O error on device sda, logical block 122918
>> Buffer I/O error on device sda, logical block 122919
>> ata2: EH complete
>> dd: /dev/sda: Input/output error
>>
>>
>> root@mpc8315e-rdb:~# dd if=3D/dev/sda of=3D/dev/null bs=3D4k
>> ata2: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x2 frozen
>> ata2.00: cmd c8/00:32:9a:6e:00/00:00:00:00:00/e0 tag 0 dma 25600 in
>> =A0 =A0 =A0 =A0 res 50/00:3e:5c:6e:00/00:00:00:00:00/e0 Emask 0x1 (devic=
e error)
>> ata2.00: status: { DRDY }
>> ata2: hard resetting link
>> ata2: Signature Update detected @ 3528 msecs
>> ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
>> ata2.00: configured for UDMA/133
>> sd 1:0:0:0: [sda] Result: hostbyte=3D0x00 driverbyte=3D0x08
>> sd 1:0:0:0: [sda] Sense Key : 0xb [current] [descriptor]
>> Descriptor sense data with sense descriptors (in hex):
>> =A0 =A0 =A0 =A072 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
>> =A0 =A0 =A0 =A000 00 6e 5c
>> sd 1:0:0:0: [sda] ASC=3D0x0 ASCQ=3D0x0
>> end_request: I/O error, dev sda, sector 28314
>> __ratelimit: 52 callbacks suppressed
>> Buffer I/O error on device sda, logical block 28314
>> Buffer I/O error on device sda, logical block 28315
>> Buffer I/O error on device sda, logical block 28316
>> Buffer I/O error on device sda, logical block 28317
>> Buffer I/O error on device sda, logical block 28318
>> Buffer I/O error on device sda, logical block 28319
>> Buffer I/O error on device sda, logical block 28320
>> Buffer I/O error on device sda, logical block 28321
>> Buffer I/O error on device sda, logical block 28322
>> Buffer I/O error on device sda, logical block 28323
>> ata2: EH complete
>> dd: /dev/sda: Input/output error
>>
>>
>> root@mpc8315e-rdb:~# uname -a
>> Linux mpc8315e-rdb 2.6.30-rc6 #1 Mon Jun 8 15:54:00 CEST 2009 ppc unknow=
n
>>
>> root@mpc8315e-rdb:~# hdparm -i /dev/sda
>>
>> /dev/sda:
>>
>> =A0Model=3DSolidata X SSD =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0, FwRev=3D0955 =A0 =A0, SerialNo=3D<...>
>> =A0Config=3D{ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
>> =A0RawCHS=3D16383/16/63, TrkSize=3D0, SectSize=3D0, ECCbytes=3D0
>> =A0BuffType=3Dunknown, BuffSize=3D0kB, MaxMultSect=3D128, MultSect=3D?1?
>> =A0CurCHS=3D16383/16/63, CurSects=3D16514064, LBA=3Dno
>> =A0IORDY=3Dno, tPIO=3D{min:240,w/IORDY:120}
>> =A0PIO modes: =A0pio0 pio3 pio4
>> =A0UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5
>> =A0AdvancedPM=3Dyes: disabled (255) WriteCache=3Ddisabled
>> =A0Drive conforms to: Unspecified: =A0ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-=
6
>> ATA/ATAPI-7
>>
>> =A0* signifies the current active mode
>>
>>
>>
>> --
>> Leon
>>
>
>
>
> --
> Leon
>



--=20
Leon

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

* Re: 2.6.30-rc6: Problem with an SSD disk on Freescale PowerPC mpc8315e-rdb, works fine on x86
  2009-06-08 14:59 2.6.30-rc6: Problem with an SSD disk on Freescale PowerPC mpc8315e-rdb, works fine on x86 Leon Woestenberg
  2009-06-09  9:26   ` Leon Woestenberg
@ 2009-06-17 16:07 ` Leon Woestenberg
  2009-06-17 17:53     ` Kumar Gala
  1 sibling, 1 reply; 8+ messages in thread
From: Leon Woestenberg @ 2009-06-17 16:07 UTC (permalink / raw)
  To: Linux PPC, Kumar Gala, linux-ide

Hello Kumar, all,

On Mon, Jun 8, 2009 at 4:59 PM, Leon
Woestenberg<leon.woestenberg@gmail.com> wrote:
> using 2.6.30-rc6, I get the following problems when I read from a SSD
> disk, connected to the
> 3.0 Gb SATA controller of the MPC8315E SoC rev 1.0 running Linux 2.6.30-rc6.
>
Result on a first batch of bisects. I decided to go with the kernel
releases rather than git-bisect (still too scary for me).

All kernel releases 2.6.25 through -30 kernel gave the same error.
2.6.25 crashed on it, whereas 2.6.26+ recovered after each "dd" run.

The BSP 2.6.24.3-rt3 kernel did not give the error.

So on my todo is diff between 2.6.25 and .2.6.24.3-rt3 from the BSP.

Regards,
-- 
Leon

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

* Re: 2.6.30-rc6: Problem with an SSD disk on Freescale PowerPC  mpc8315e-rdb, works fine on x86
  2009-06-17 16:07 ` Leon Woestenberg
@ 2009-06-17 17:53     ` Kumar Gala
  0 siblings, 0 replies; 8+ messages in thread
From: Kumar Gala @ 2009-06-17 17:53 UTC (permalink / raw)
  To: Leon Woestenberg; +Cc: Linux PPC, linux-ide


On Jun 17, 2009, at 11:07 AM, Leon Woestenberg wrote:

> Hello Kumar, all,
>
> On Mon, Jun 8, 2009 at 4:59 PM, Leon
> Woestenberg<leon.woestenberg@gmail.com> wrote:
>> using 2.6.30-rc6, I get the following problems when I read from a SSD
>> disk, connected to the
>> 3.0 Gb SATA controller of the MPC8315E SoC rev 1.0 running Linux  
>> 2.6.30-rc6.
>>
> Result on a first batch of bisects. I decided to go with the kernel
> releases rather than git-bisect (still too scary for me).
>
> All kernel releases 2.6.25 through -30 kernel gave the same error.
> 2.6.25 crashed on it, whereas 2.6.26+ recovered after each "dd" run.
>
> The BSP 2.6.24.3-rt3 kernel did not give the error.
>
> So on my todo is diff between 2.6.25 and .2.6.24.3-rt3 from the BSP.

Does kernel.org 2.6.24 work ok?

- k

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

* Re: 2.6.30-rc6: Problem with an SSD disk on Freescale PowerPC mpc8315e-rdb, works fine on x86
@ 2009-06-17 17:53     ` Kumar Gala
  0 siblings, 0 replies; 8+ messages in thread
From: Kumar Gala @ 2009-06-17 17:53 UTC (permalink / raw)
  To: Leon Woestenberg; +Cc: Linux PPC, linux-ide


On Jun 17, 2009, at 11:07 AM, Leon Woestenberg wrote:

> Hello Kumar, all,
>
> On Mon, Jun 8, 2009 at 4:59 PM, Leon
> Woestenberg<leon.woestenberg@gmail.com> wrote:
>> using 2.6.30-rc6, I get the following problems when I read from a SSD
>> disk, connected to the
>> 3.0 Gb SATA controller of the MPC8315E SoC rev 1.0 running Linux  
>> 2.6.30-rc6.
>>
> Result on a first batch of bisects. I decided to go with the kernel
> releases rather than git-bisect (still too scary for me).
>
> All kernel releases 2.6.25 through -30 kernel gave the same error.
> 2.6.25 crashed on it, whereas 2.6.26+ recovered after each "dd" run.
>
> The BSP 2.6.24.3-rt3 kernel did not give the error.
>
> So on my todo is diff between 2.6.25 and .2.6.24.3-rt3 from the BSP.

Does kernel.org 2.6.24 work ok?

- k

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

end of thread, other threads:[~2009-06-17 17:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-08 14:59 2.6.30-rc6: Problem with an SSD disk on Freescale PowerPC mpc8315e-rdb, works fine on x86 Leon Woestenberg
2009-06-09  9:26 ` Leon Woestenberg
2009-06-09  9:26   ` Leon Woestenberg
2009-06-11 18:41   ` Leon Woestenberg
2009-06-11 18:41     ` Leon Woestenberg
2009-06-17 16:07 ` Leon Woestenberg
2009-06-17 17:53   ` Kumar Gala
2009-06-17 17:53     ` Kumar Gala

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.