Support and General Use > Hardware

Panic When Making USB Data Connection With 5th Gen Video iPod

(1/3) > >>

iPodVT:
I have been getting very frequent Panic crashes with one particular 5th Gen Video iPod (MA002LL/A) when I connect it via USB to my MacBook Pro running macOS 10.13.6 - it's been happening about 80% of the time.  This iPod has a standard 30GB HD with zero Reallocs and zero Pending.  It had a very recent dev build on it but just now I updated to today's dev build and it's still happening.  So I tried a bunch of other 5/5.5/7 Gens and here's what happened (including the case described above):

Crashers:
5th Gen (MA002LL/A) with 30GB HD (0 Reallocs, 0 Pending) running dev build from 22/12/20
5th Gen (MA002LL/A) with 30GB HD (0 Reallocs, 0 Pending) running dev build from 22/12/04
5th Gen (MA147LL/A) with 60GB HD (0 Reallocs, 0 Pending) running dev build from 22/12/15
5.5 Gen (MA446LL/A) with 30GB HD (0 Reallocs, 0 Pending) running dev build from 22/11/23
5.5 Gen (MA450LL/A) with 80GB HD (0 Reallocs, 0 Pending) running dev build from 22/11/15

Non Crashers:
5.5 Gen (MA446LL/A) with iFlash-Solo, 128GB microSD running dev build from 22/12/16
5.5 Gen (MA444LL/A) with iFlash-Solo, 128GB microSD running dev build from 22/12/16
7th Gen Classic with 160GB HD running dev build from 22/12/15
7th Gen Classic with 160GB HD running dev build from 22/12/15

This seems to suggest that the crashing condition is limited to 5 and 5.5 Gens with HDs.  Here is the display from one of the crashes:

 *PANIC*
 null ctrl req
pc:0007b324
sp:000e2dc0
    A: 00065d44
bt end

Of course, as soon as I tried one more time to get a Panic screen to transcribe, all of the crashers stopped crashing, until finally the original crasher crashed again, and then some of the others did too.

I hope this is helpful/useful.

amachronic:
This is probably due to changes I made to the USB stack a while back (over a year now, actually). A bit odd that it's only rearing its head now.

Does this happen only with Mac?

iPodVT:
Funny - I just realized that I don't think I've ever connected an iPod to Windows while running Rockbox - only while running the Apple firmware in order to reformat the iPod for Windows and/or to install/update Rockbox.  Those are pretty much the only things I do in Windows (and the only reason I have a Windows machine).

In any case, I tried the first mentioned iPod five times with Windows 10 and it never crashed.  Then I tried it five times with a MacBook Air running macOS 10.15.7 Catalina and it never crashed.  Then I tried it several times with my main computer (2012 MacBook Pro running macOS 10.13.6 High Sierra) and it crashed about 50% of the time.

Later today/tonight I can try other iPods with the Windows and Catalina machines, or conduct other tests if you'd like - just let me know.

Thanks.

iPodVT:
I should also mention that I have been experiencing the panic crashes off and on for quite a while - months at least - but they had been too infrequent and unpredictable, and I was too inexperienced with Rockbox to post a meaningful report.  And I typically only connect while running Rockbox (rather than the Apple firmare) if I am just doing very small scale file transfers or checking the content of things like config files.

amachronic:
Well, one "solution" might be to just remove the check that produces that error message, although I don't really like the idea. The old USB stack didn't have this check, so it's possible the error was happening sometimes under the old USB stack, but didn't cause any issues (or just caused different issues). In case you'd like to try, this build has the error disabled. It's not really a proper fix, but it might allow you to get a connection going.

In the long term the iPod 5g's USB driver will need to be modernized to take advantage of the better control request handling available in the updated USB stack. Right now it's running using a compatibility layer which is intended to mimic the behavior of the old USB stack... it's not very robust.

Navigation

[0] Message Index

[#] Next page

Go to full version