Rockbox Technical Forums

Support and General Use => Hardware => Topic started by: ceratophyllum on March 09, 2019, 01:16:25 PM

Title: iPod 4G (A1059) +128GB uSD panic mount: 0 with FAT32
Post by: ceratophyllum on March 09, 2019, 01:16:25 PM
I have an iPod 4G with the el cheapo CF-to-1.8" adapter with a Tarkan CF-to-SD adapter. (The 128GB Sandisk uSD card is in the SD adapter it came with. I got the 128GB uSD from Walmart brand new.)

Rockbox 3.14 installs fine, but any attempt to mount the ipod (in Linux or OS X) causes rockbox to hang for a while and eventually give this "panic mount: 0" error.  Disabling USB HID does not make any difference. Then you have to hold Select+Menu to reboot.

The ipod+adapter+128GB uSD card was originally Mac (HFS+) formatted and worked fine with Apple firmware.  I did not attempt any partition table voodoo, I just let a windows PC "restore" the ipod to FAT32.

The reason I wanted rockbox was so I could have gapless playback, since this old iPod's Apple firmware can't do that. I prefer the look and feel of 4th gen ipods to the so-called "Classic" 5th and 6th. These "Classic" ipods have flimsy battery connectors that break off and, well, are just ugly.

I've used the Tarkan CF-to-SD adapter with uSD cards in Rockbox with iPod mini 2nd gen w/o problems for years.  I guess the el cheapo ($6) CF-to-1.8" thingy is causing some problem with rockbox's FAT32 driver?

Are the Tarkan iFlash gizmos any better?

I am surprised that the cheap adapter works perfectly with HFS+, but not with the much more common FAT32....I've thoroughly tested: I can sync 60GB+ of music (mix of Apple Lossless, AAC, mp3) using itunes and there is no problem. Only been testing for a few days, but playback seems fine.

Title: Re: iPod 4G (A1059) +128GB uSD panic mount: 0 with FAT32
Post by: cereal_killer on March 09, 2019, 01:30:31 PM
The ipod+adapter+128GB uSD card was originally Mac (HFS+) formatted and worked fine with Apple firmware.  I did not attempt any partition table voodoo, I just let a windows PC "restore" the ipod to FAT32.

Dou you mean you restored using iTunes on Windows? This would be the best way to make sure everything is set up fine for Rockbox.

I've used the Tarkan CF-to-SD adapter with uSD cards in Rockbox with iPod mini 2nd gen w/o problems for years.

I had no luck with my iPod mini 2nd gen using the Tarkan iFlash CF-to-SD adapter and a Toshiba 64GB microSDXC card in its adapter. OF worked fine, but Rockbox wouldn't. I also put this adapter in my Cowon Q5W, but it wouldn't work either, but a normal CF card worked.

So I can't help you here, but hope you can get yout iPod to work.
Title: Re: iPod 4G (A1059) +128GB uSD panic mount: 0 with FAT32
Post by: ceratophyllum on March 09, 2019, 02:13:18 PM
Is there any hope rockbox will ever work with HFS+?

FAT32 is not a very robust filesystem even when it works right on my iPod Minis. I listen to a good amount of classical and new age music whose filenames are a pretty hopeless mess: huge filenames, accents, Asian characters, punctuation marks. Of a few thousand files, about 20-30 of them can't be copied to a FAT32 partition at all without renaming. Hundreds of other filenames are (silently, without warning or error) goofed up.

I never had any problem with these files on ext4,  zfs, hfs+. FAT32, however, is showing its age.
Title: Re: iPod 4G (A1059) +128GB uSD panic mount: 0 with FAT32
Post by: saratoga on March 09, 2019, 02:30:23 PM
Is there any hope rockbox will ever work with HFS+?

None whatsoever. 
Title: Re: iPod 4G (A1059) +128GB uSD panic mount: 0 with FAT32
Post by: ceratophyllum on March 09, 2019, 06:26:12 PM
The ipod+adapter+128GB uSD card was originally Mac (HFS+) formatted and worked fine with Apple firmware.  I did not attempt any partition table voodoo, I just let a windows PC "restore" the ipod to FAT32.

Do you mean you restored using iTunes on Windows? This would be the best way to make sure everything is set up fine for Rockbox.


Yes, I restored it on a windows PC before installing rockbox. By "voodoo," I mean the mucking about with partitions described here:


https://www.iflash.xyz/prepare-sdxc-exfat-for-use-with-the-ipod/ (https://www.iflash.xyz/prepare-sdxc-exfat-for-use-with-the-ipod/)

I didn't bother trying this. iTunes was able reformat as FAT32 both of my initially 128GB exfat-formatted SD cards in my iPod Minis (containing Tarkan iFlash CF-to-SD adapters) and they work fine with the current stable rockbox 3.14. Both were originally 4GB iPod Mini (A1051).
Title: Re: iPod 4G (A1059) +128GB uSD panic mount: 0 with FAT32
Post by: chris_s on March 10, 2019, 04:01:30 PM
Are the Tarkan iFlash gizmos any better? 
The iFlash Solo, in my experience, is not compatible with Rockbox on an iPod 4G. This may or may not depend on the specific SD card you use as well – I don't know. You can get it to (barely) work by messing with the timings, but for me it was never even close to reliable.

I've had the best success using compact flash cards. The ones I've used essentially behave the same way as hard drives using Rockbox on an iPod 4G.

One last point: in my experience, you'll eventually run into trouble using Rockbox's DMA on iPod 4Gs regardless of the hardware used, i.e. even using a hard drive, so you may want to disable that to prevent disk corruption in the long run.
Title: Re: iPod 4G (A1059) +128GB uSD panic mount: 0 with FAT32
Post by: ceratophyllum on March 12, 2019, 08:27:08 PM
Quote
One last point: in my experience, you'll eventually run into trouble using Rockbox's DMA on iPod 4Gs regardless of the hardware used, i.e. even using a hard drive, so you may want to disable that to prevent disk corruption in the long run.

I built Rockbox 3.14 without DMA as you recommend but it did not help. Didn't really expect it to help with SD-CF adapters, but thought it was worth a try.

I also tested a Tarkan CF adapter board meant for 5G ipods ("iFlash CF"). (There is yet another adapter to make it fit in a 4G.)  Same result as el cheapo: Apple firmware works, but Rockbox crashes.  Plugging in USB locks up the Rockbox UI and a panic happens a little while later. A tiny wrench? icon appears in the upper right corner. Without USB connected, attempting to browse files also hangs the UI with the little wrench icon in the corner.

Finally, I gave up and put an old Toshiba 20GB drive in. As expected, Rockbox works perfectly.

Too bad big CF cards are getting expensive these days. :(
Title: Re: iPod 4G (A1059) +128GB uSD panic mount: 0 with FAT32
Post by: burkjavier on March 13, 2019, 07:36:34 AM
It's been a number of years now, but the Tarkan CF to SD adapter was a better fit for my iPod 5.5G at the time than one the cheap knock-offs.   Among other things it had a 128GB limit on the file system (the Tarkan does not).

Sometimes it's better to just spend the extra money.  Actually going through this in real time with another device and me being cheap and not sucking it up and buying a full ZIF-based SSD.
Title: Re: iPod 4G (A1059) +128GB uSD panic mount: 0 with FAT32
Post by: chris_s on March 13, 2019, 11:21:50 PM
Quote
One last point: in my experience, you'll eventually run into trouble using Rockbox's DMA on iPod 4Gs regardless of the hardware used, i.e. even using a hard drive, so you may want to disable that to prevent disk corruption in the long run.

I built Rockbox 3.14 without DMA as you recommend but it did not help. Didn't really expect it to help with SD-CF adapters, but thought it was worth a try.

I also tested a Tarkan CF adapter board meant for 5G ipods ("iFlash CF"). (There is yet another adapter to make it fit in a 4G.)  Same result as el cheapo: Apple firmware works, but Rockbox crashes.  Plugging in USB locks up the Rockbox UI and a panic happens a little while later. A tiny wrench? icon appears in the upper right corner. Without USB connected, attempting to browse files also hangs the UI with the little wrench icon in the corner.

Finally, I gave up and put an old Toshiba 20GB drive in. As expected, Rockbox works perfectly.

Too bad big CF cards are getting expensive these days. :(
It's not just the expense, but the pata-based CF cards also don't seem to go above 256GB these days, with no signs of larger capacities arriving anymore. Bit of a shame. :-\