Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: concertomi on January 10, 2013, 04:54:18 AM

Title: iPod Video 5.5g ata error -11 with SSD
Post by: concertomi on January 10, 2013, 04:54:18 AM
I have just replaced my HDD of my ipod video 5.5g with a ssd but after restoring and attempting to install rockbox, i get the ata error: -11. Can i know what error is this and the solution of this error? Thanks in advance!
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: Rave on January 18, 2013, 04:04:48 PM
I too am looking for a solution to this issue on my ipod video.

Same error here you have.

weird thing is that the original apple ipod firmware works perfectly?

It would be really awesome if one of the devs could figure it out as is super rapid with the ssd and zif adapter.
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: torne on January 18, 2013, 06:40:02 PM
A user from the forums has just posted me an ipod with a SSD mod which has the same error. Once I receive it and have a little time, I will work out what the problem is and fix our code. Be patient :)
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: cereal_killer on January 19, 2013, 06:11:14 AM
I will work out what the problem is and fix our code.

Yeah, that is great news. We believen your super powers, torne   ;D
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: darrysmi on January 19, 2013, 07:10:08 AM
A user from the forums has just posted me an ipod with a SSD mod which has the same error. Once I receive it and have a little time, I will work out what the problem is and fix our code. Be patient :)

excellent news :) the stock firmware with no flac support is driving me nuts!!
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: DMinor on February 14, 2013, 03:52:40 AM
A user from the forums has just posted me an ipod with a SSD mod which has the same error. Once I receive it and have a little time, I will work out what the problem is and fix our code. Be patient :)


Torne, any update on this? Thanks
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: torne on February 14, 2013, 07:32:29 AM
There's too many threads about this, sorry this didn't get updated here :)

I've got it and have had a quick look, but I've mostly been on vacation and haven't had a lot of time. The converter doesn't appear to be ready in quite the way we expect after a reset, and our initialisation procedure and its timeouts are gonna need tweaking to deal with this. At the moment it's fairly tricky to tell what's going on though, because there isn't enough debugging info available on a real device about what's going on with the ATA stack. I'm probably going to add an ata debug mode which dumps a lot more information about the state of the device on a failure, which will be useful on all Rockbox devices in future :)
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: DMinor on February 14, 2013, 02:31:06 PM
There's too many threads about this, sorry this didn't get updated here :)

I've got it and have had a quick look, but I've mostly been on vacation and haven't had a lot of time. The converter doesn't appear to be ready in quite the way we expect after a reset, and our initialisation procedure and its timeouts are gonna need tweaking to deal with this. At the moment it's fairly tricky to tell what's going on though, because there isn't enough debugging info available on a real device about what's going on with the ATA stack. I'm probably going to add an ata debug mode which dumps a lot more information about the state of the device on a failure, which will be useful on all Rockbox devices in future :)

Thanks for the update and your effort on resolving this issue (especially during your vacation).

Good luck on the debugging and we are looking forward to hearing the good news.
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: Rave on February 17, 2013, 04:47:04 PM
Hi there,

Many thanks for your work, i am deeply looking forward to being able to play FLAC again and not having to use itunes!

I will donate asap.


Many Thanks,

Kai.
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: [Saint] on February 17, 2013, 07:17:22 PM
Not that this actually has any impact on either of those things...but, hey ;)


[Saint]
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: Rave on February 18, 2013, 02:46:33 AM
Every little helps :-)

I'm very happy this is being looked at and appreciate all the devs hard work that goes into rock box, and makes my device far more usable!
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: DMinor on February 22, 2013, 02:52:11 AM
It appears CF cards are more Rockbox-able. Why is that? I thought both CF cards and mSATA are all SSD's.
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: rbhawaii on November 24, 2015, 04:13:06 AM
I have the same problem with a new zheino 256gb zif ssd drive in my ipod 5.5 . Is there any resolution to this yet?  I have this problem with 3.13 and latest dev build. please help if you can
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: saratoga on November 24, 2015, 01:10:58 PM
I have the same problem with a new zheino 256gb zif ssd drive in my ipod 5.5 . Is there any resolution to this yet?  I have this problem with 3.13 and latest dev build. please help if you can

I'd probably just try exchanging it for a different drive.
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: rbhawaii on November 25, 2015, 12:40:24 AM
the original apple ipod firmware works perfectly, so the drive is not defective

by the way this zif ssd drive is the correct 3.3 volts (not 5 volts) and only drains 100mah , so you get much more run time
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: rbhawaii on November 25, 2015, 12:51:52 AM
                                           (sort of)
SOLVED   *   SOLVED   *   SOLVED   *   SOLVED   *   SOLVED   *   SOLVED   *   
                                                 
you have to use this custom firmware that beyondwind created for all ssd drives


beyondwind.duckdns.org/downloads/rockbox.zip

its almost 2 years old but it works!

problem is all firmware after 3.13 break theme compatibility with no fixes coming soon.
so my question is .... can someone who knows how to, take the 3.13 firmware and apply this patch to it...

beyondwind.duckdns.org/downloads/ipod5g_msata_mod.patch

located here:
beyondwind.duckdns.org/downloads/


please reply if you can
Thanks!

========UPDATE APRIL 24 2016===========

User G4Oblivion was kind enough to patch the 3.13 build with the above ssd patch and it works AMAZINGLY WELL!

here it is:

http://www.mediafire.com/download/6y050wldbbfypah/ipodvideo-v3.13.zip

more info here:

http://forums.rockbox.org/index.php/topic,51250.0.html

enjoy!
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: cereal_killer on December 01, 2015, 09:42:10 AM
you have to use this custom firmware that beyondwind created for all ssd drives

I have a ZIF SSD (Super Talent DuraDrive ZT3) installed in my iPod and everything works fine with the latest builds.

The patch of beyondwind is for mSATA drives and should not be needed for ZIF drives.
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: ecereb on March 22, 2016, 07:58:14 AM
I too have the Zheino 256gb zif ssd drive in my ipod 5.5. 

ATA error -11    sometimes   ATA error -32 

GPIO ENABLE:
A: FF  E: FF  I: 40
B: 9F  F: 00  J: 1F
C: 4F  G: 00  K: E0
D: FF  H: 00  L: FF

GPIO INPUT VAL:
A: 6B  E: 21  I: DB
B: F9  F: 86  J: E3
C: F0  G: FF  K: 1F
D: A0  H: FF  L: A8

GP032_VAL:  00004000
GP032_EN:   FE80FEF2
DEV_EN:     C2031164
DEV_EN3:    00000000
DEV_EN2:    0000003F
DEV_INIT1:  00040000
DEV_INIT2:  40000000
ACCESSORY:  939
4066_ISTAT: 295
IAP: 00 00 00 00 00 00 00 00


Thanks

For my review of Rockbox, see: http://esrv.net/Ipod_Conversion.htm
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: dreamlayers on March 24, 2016, 03:15:31 PM
If http://beyondwind.duckdns.org/downloads/rockbox.zip works and the changes in that build are http://beyondwind.duckdns.org/downloads/ipod5g_msata_mod.patch then I believe the important part is http://gerrit.rockbox.org/r/#/c/469/

Basically the PIO timings used by Rockbox are probably too fast, and don't work with all devices. That gerrit change uses PIO timings from the 5G iPod OF, which slows PIO performance, but works with more devices. It shouldn't break anything, and hopefully PIO performance isn't too important because most data is read via DMA.

It may be a good idea to accept that change now, because use of mSATA SSDs is becoming more common.
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: saratoga on March 24, 2016, 03:28:17 PM
If the performance hit is a problem, could you check to see if the stock drive is installed and then change timings?
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: Frankenpod on March 24, 2016, 03:41:07 PM
If the performance hit is a problem, could you check to see if the stock drive is installed and then change timings?

If that isn't possible, could it just be made an option for a user to pick in one of the system menus?  "SSD Mode" on/off or something?

Presumably anyone enough of a tinkerer to change the media will be fine with setting some extra system value somewhere, no?)

(I use sdxc card adaptor myself, which I guess is not 'stock drive' but also doesn't seem to have the same issues as SSD in this respect)
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: dreamlayers on March 24, 2016, 07:52:15 PM
If the performance hit is a problem, could you check to see if the stock drive is installed and then change timings?

One way would be to have a whitelist of drives which we know work with the fast timings.

Alternatively, maybe some of the identity information could be used. There should be a way to see if the drive is an SSD or SATA.
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: ecereb on April 01, 2016, 05:37:59 PM
I did go to beyondwind.duckdns.org/downloads/rockbox.zip and downloaded and installed this version.  The Zheino 256gb zif ssd drive in my ipod 5.5 now works great.  However, there is one problem.

The battery drains to nothing after the ipod has shutdown for an extended period of time, about 3 days.  The battery just slowly discharges.  When I press the center button and it restarts and I play a song, the battery indicator is much lower than when I turned it off. 

Could it be that the SSD is drawing current? 

The ipod video 5.5g was upgraded from a 240gb hd and it did not draw down the battery.  In fact, I could leave it off for months at a time with little to no drain on the battery. 
Title: Re: iPod Video 5.5g ata error -11 with SSD
Post by: rbhawaii on April 25, 2016, 05:46:50 AM
ecereb (SteveS) - try the new 3.13 with ssd patched build from here

http://forums.rockbox.org/index.php/topic,51250.0.html

maybe it will help.