Problems with HDD in drive caddy
Hello,
I have HP 2510p laptop. This laptop contains 1.8" ZIF HDD but zif
disks are slow and small volume. So I've installed Drive Caddy from
NewmodeUS with Toshiba MK5075GSX (2.5", 500G, SATA2).
This Drive Caddy translates SATA 2 PATA and operating system see this
drive as slave pata.
Unfortunately this drive caddy doesn't work on Linux. I tried kernels
2.6.32 3.0.21, 3.0.24, 3.2.0 - the situation is similar.
Detailed this issue looks like this:
After boot from ZIF HDD (hdd in drive caddy doesn't use for system
boot) and before active usage hdd behavior sounds good:
# hdparm /dev/sdb
/dev/sdb:
multcount = 16 (on)
IO_support = 1 (32-bit)
readonly = 0 (off)
readahead = 256 (on)
geometry = 60801/255/63, sectors = 976773168, start = 0
# hdparm -tT /dev/sdb
/dev/sdb:
Timing cached reads: 1488 MB in 2.00 seconds = 744.18 MB/sec
Timing buffered disk reads: 226 MB in 3.01 seconds = 75.04 MB/sec
But if I start to use /dev/sdb, system shows a lot of messages:
...
[ 907.961152] ata3.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[ 907.964220] ata3.01: BMDMA stat 0x65
[ 907.967161] ata3.01: failed command: READ DMA EXT
[ 907.970156] ata3.01: cmd 25/00:80:00:14:30/00:00:2e:00:00/f0 tag 0 dma 65536 in
[ 907.970160] res 51/84:01:7f:14:30/84:00:2e:00:00/f0 Emask 0x10 (ATA bus error)
[ 907.976332] ata3.01: status: { DRDY ERR }
[ 907.979398] ata3.01: error: { ICRC ABRT }
[ 907.982492] ata3: soft resetting link
[ 908.164376] ata3.00: configured for UDMA/100
[ 908.180650] ata3.01: configured for UDMA/33
[ 908.182649] ata3: EH complete
[ 908.983478] ata3.01: limiting speed to PIO4
[ 908.985568] ata3.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[ 908.987710] ata3.01: BMDMA stat 0x65
[ 908.989837] ata3.01: failed command: READ DMA EXT
[ 908.991977] ata3.01: cmd 25/00:80:80:86:30/00:00:2e:00:00/f0 tag 0 dma 65536 in
[ 908.991979] res 51/84:01:ff:86:30/84:00:2e:00:00/f0 Emask 0x10 (ATA bus error)
[ 908.996275] ata3.01: status: { DRDY ERR }
[ 908.998431] ata3.01: error: { ICRC ABRT }
[ 909.000603] ata3: soft resetting link
[ 909.196395] ata3.00: configured for UDMA/100
[ 909.212667] ata3.01: configured for PIO4
[ 909.214697] ata3: EH complete
...
After this HDD switch to PIO mode and hdd speed decreases
dramatically:
# hdparm -tT /dev/sdb
/dev/sdb:
Timing cached reads: 828 MB in 2.00 seconds = 413.66 MB/sec
Timing buffered disk reads: 8 MB in 3.52 seconds = 2.27 MB/sec
and error messages shows again and again.
I tried to boot with "ide-pci-generic.all-generic-ide hpet=disable"
kernel parameters but it doesn't resolve this issue.
System shows the same error messages:
[ 121.422136] ata3.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[ 121.422251] ata3.01: BMDMA stat 0x64
[ 121.422322] ata3.01: failed command: READ DMA EXT
[ 121.422411] ata3.01: cmd 25/00:80:80:1f:23/00:00:2e:00:00/f0 tag 0 dma 65536 in
[ 121.422415] res 51/84:01:ff:1f:23/84:00:2e:00:00/f0 Emask 0x10 (ATA bus error)
[ 121.422669] ata3.01: status: { DRDY ERR }
[ 121.422737] ata3.01: error: { ICRC ABRT }
[ 121.422856] ata3: soft resetting link
[ 121.616418] ata3.00: configured for UDMA/100
[ 121.636721] ata3.01: configured for UDMA/100
[ 121.636734] ata3: EH complete
...
[ 139.510856] ata3.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[ 139.514481] ata3.01: BMDMA stat 0x65
[ 139.517974] ata3.01: failed command: READ DMA EXT
[ 139.521502] ata3.01: cmd 25/00:80:00:ed:35/00:00:2e:00:00/f0 tag 0 dma 65536 in
[ 139.521506] res 51/84:01:7f:ed:35/84:00:2e:00:00/f0 Emask 0x10 (ATA bus error)
[ 139.528580] ata3.01: status: { DRDY ERR }
[ 139.532054] ata3.01: error: { ICRC ABRT }
[ 139.535577] ata3: soft resetting link
[ 139.728421] ata3.00: configured for UDMA/100
[ 139.748697] ata3.01: configured for UDMA/33
[ 139.748708] ata3: EH complete
and system freezes periodically.
When I boot Windows XP, hdd in drive caddy works fine. HDD test
utilities like DFT don't find any errors on this hdd.
What can I do to make this hdd will work fine in Linux?
--
With Best Regards, Maksym Tiurin
JID: MrKooll@jabber.pibhe.com
Reply to: