Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Ipod Classic 5G, Rockbox and Tarkan CF->SD adapter problems
« previous next »
  • Print
Pages: [1]

Author Topic: Ipod Classic 5G, Rockbox and Tarkan CF->SD adapter problems  (Read 3864 times)

Offline nrq

  • Member
  • *
  • Posts: 3
Ipod Classic 5G, Rockbox and Tarkan CF->SD adapter problems
« on: September 18, 2015, 09:24:32 AM »
Hello,

I have a modded Ipod Classic 5G with Tarkan CF to SD adapter, which I can't get to reliably work as USB device with Rockbox.

So far I have tried transferring files to it on a 2014 13.3" Macbook Pro running OSX Yosemite and on a Zotac ZBox running Debian Stretch. Every time after a couple of seconds the device gets "disconnected", I can't read or write to the filesystem anymore, but on the display Rockbox still says it's connected. When I remove the USB cable Rockbox displays an error message and I have to reboot the device.

The Ipod itself works fine when I connect the original OS to iTunes on the Mac, there are no disconnection issues there, so I assume this might be a problem on the Rockbox side. I already switched off USB HID, played with power off/sleep settings to no avail and also reinstalled a couple of times.

Here comes a bit of speculation: would it be possible that the charging/connected as USB device routine works flaky when there's a CF/SD card adapter connected instead of a HDD, due to the difference in power consumption?

Thanks in advance for any help.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Ipod Classic 5G, Rockbox and Tarkan CF->SD adapter problems
« Reply #1 on: September 19, 2015, 04:25:48 PM »
Does it work ok with files you transfer in the Apple firmware but play in rockbox?

My random guess would be some combination of:

1)  USB driver bug triggered by different disk hardware
2)  ATA driver bug triggered by different disk hardware
3)  Adapter expecting that some subset of the ATA commands would be used, or rockbox expecting that some subset of ata commands will not be used

Logged

Offline nrq

  • Member
  • *
  • Posts: 3
Re: Ipod Classic 5G, Rockbox and Tarkan CF->SD adapter problems
« Reply #2 on: September 20, 2015, 01:07:26 PM »
Quote from: saratoga on September 19, 2015, 04:25:48 PM
Does it work ok with files you transfer in the Apple firmware but play in rockbox?

My random guess would be some combination of:

1)  USB driver bug triggered by different disk hardware
2)  ATA driver bug triggered by different disk hardware
3)  Adapter expecting that some subset of the ATA commands would be used, or rockbox expecting that some subset of ata commands will not be used
Yes, original firmware works fine with iTunes, only Rockbox has problems transferring.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Ipod Classic 5G, Rockbox and Tarkan CF->SD adapter problems
« Reply #3 on: September 20, 2015, 02:49:17 PM »
Yes you said that above, but I was asking about playing in rockbox.  Basically, trying to narrow it down to only #1 or #2/3 in the above list.
Logged

Offline nrq

  • Member
  • *
  • Posts: 3
Re: Ipod Classic 5G, Rockbox and Tarkan CF->SD adapter problems
« Reply #4 on: September 21, 2015, 01:36:42 AM »
Oh, sorry, I managed to conveniently miss that last bit. No, actually I haven't tried that yet, but going to do that this evening.
Logged

Offline ravital

  • Member
  • *
  • Posts: 14
Re: Ipod Classic 5G, Rockbox and Tarkan CF->SD adapter problems
« Reply #5 on: November 04, 2015, 09:16:03 PM »
I can confirm I have the same problem with the same hardware.

iPod Video 5.5, Tarkan adapter, 120GB flash card installed.

Yes, the tracks play just fine under the Rockbox OS (3.13). I get around the loading problem by booting the iPod into the Apple OS. I never use iTunes, just straight copy from PC to iPod under Win7 or Linux, no issues.
Logged

Offline drguell

  • Member
  • *
  • Posts: 1
Re: Ipod Classic 5G, Rockbox and Tarkan CF->SD adapter problems
« Reply #6 on: April 29, 2016, 05:02:54 AM »
Hi, everyone!

I have the same problem with rockbox ce90c04-160404 version in my 5.5 iPod Video with Tarkan SD kit.

I'm in a linux box trying to rsync (or copy) files to iPod when it disconnect suddently :(

In my dmesg kernel log i can't view:

Code: [Select]
[ 8299.458378] blk_update_request: I/O error, dev sdb, sector 195732
[ 8448.132311] usb 3-2.3: reset high-speed USB device number 5 using xhci_hcd
[ 8453.212057] usb 3-2.3: can't restore configuration #1 (error=-110)
[ 8453.212954] usb 3-2.3: USB disconnect, device number 5
[ 8453.292006] sd 7:0:0:0: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
[ 8453.292010] sd 7:0:0:0: [sdb] tag#0 CDB: opcode=0x2a 2a 00 00 c8 ba 01 00 00 3c 00
[ 8453.292011] blk_update_request: I/O error, dev sdb, sector 52619268
[ 8453.292969] sd 7:0:0:0: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
[ 8453.292971] sd 7:0:0:0: [sdb] tag#0 CDB: opcode=0x2a 2a 00 00 c8 ba 3d 00 00 3c 00
[ 8453.292973] blk_update_request: I/O error, dev sdb, sector 52619508
[ 8453.405375] usb 3-2.3: new high-speed USB device number 6 using xhci_hcd

and the trace:

Code: [Select]
[ 8453.425913] ------------[ cut here ]------------
[ 8453.425918] WARNING: CPU: 3 PID: 12473 at fs/fs-writeback.c:2110 __mark_inode_dirty+0x2e8/0x3e0()
[ 8453.425919] bdi-block not registered
[ 8453.425921] Modules linked in: nls_iso8859_1 nls_cp437 vfat fat uas usb_storage tun fuse uvcvideo btusb videobuf2_vmalloc videobuf2_memops btrtl videobuf2_v4l2 videobuf2_core btbcm btintel videodev bluetooth media intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp joydev kvm_intel mousedev kvm irqbypass arc4 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw dell_wmi sparse_keymap dell_laptop gf128mul iwldvm mac80211 iwlwifi cfg80211 snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support glue_helper dcdbas ablk_helper snd_hda_codec_idt snd_hda_codec_generic ppdev dell_smm_hwmon thermal cryptd wmi pcspkr psmouse i915 evdev input_leds mac_hid drm_kms_helper serio_raw drm snd_hda_intel i2c_i801 battery lpc_ich mei_me e1000e intel_gtt snd_hda_codec tpm_tis dell_rbtn
[ 8453.425974]  parport_pc dell_smo8800 parport syscopyarea snd_hda_core tpm fjes snd_hwdep sysfillrect snd_pcm rfkill snd_timer snd ptp ac video button mei pps_core shpchp processor soundcore sysimgblt fb_sys_fops i2c_algo_bit sch_fq_codel vboxnetflt(O) vboxnetadp(O) pci_stub nfsd vboxpci(O) auth_rpcgss oid_registry nfs_acl vboxdrv(O) nfs lockd grace sunrpc fscache ip_tables x_tables ext4 crc16 mbcache jbd2 sr_mod cdrom sd_mod hid_generic usbhid hid atkbd libps2 ahci libahci sdhci_pci sdhci libata led_class scsi_mod mmc_core xhci_pci ehci_pci xhci_hcd ehci_hcd usbcore usb_common i8042 serio
[ 8453.426024] CPU: 3 PID: 12473 Comm: rsync Tainted: G        W  O    4.5.1-1-ARCH #1
[ 8453.426026] Hardware name: Dell Inc. Latitude E6330/0YRP01, BIOS A10 05/20/2013
[ 8453.426028]  0000000000000286 0000000040025748 ffff88012550f7d0 ffffffff812dae11
[ 8453.426032]  ffff88012550f818 ffffffff81738b5f ffff88012550f808 ffffffff81078e52
[ 8453.426036]  0000000000000001 ffff880052ddc348 ffff880127c701e0 0000000000000000
[ 8453.426039] Call Trace:
[ 8453.426045]  [<ffffffff812dae11>] dump_stack+0x63/0x82
[ 8453.426050]  [<ffffffff81078e52>] warn_slowpath_common+0x82/0xc0
[ 8453.426054]  [<ffffffff81078eec>] warn_slowpath_fmt+0x5c/0x80
[ 8453.426060]  [<ffffffff81216979>] ? locked_inode_to_wb_and_lock_list+0x69/0x170
[ 8453.426063]  [<ffffffff8121aff8>] __mark_inode_dirty+0x2e8/0x3e0
[ 8453.426069]  [<ffffffffa0c3bd88>] fat_alloc_clusters+0x4b8/0x530 [fat]
[ 8453.426076]  [<ffffffff812ab7f6>] ? submit_bio+0x76/0x170
[ 8453.426081]  [<ffffffffa0c39c90>] fat_add_new_entries+0xa0/0x2f0 [fat]
[ 8453.426086]  [<ffffffff812e0d92>] ? ___ratelimit+0xa2/0xf0
[ 8453.426091]  [<ffffffffa0c37821>] ? fat__get_entry+0x81/0x230 [fat]
[ 8453.426096]  [<ffffffffa0c3a334>] fat_add_entries+0x454/0x5a0 [fat]
[ 8453.426102]  [<ffffffffa0c4f26f>] vfat_add_entry+0xabf/0xef0 [vfat]
[ 8453.426107]  [<ffffffffa0c4fbfc>] vfat_create+0x6c/0x130 [vfat]
[ 8453.426112]  [<ffffffff811f8451>] ? __inode_permission+0x41/0xb0
[ 8453.426116]  [<ffffffff811fb5a0>] vfs_create+0xa0/0xe0
[ 8453.426120]  [<ffffffff811fc553>] path_openat+0xf73/0x1080
[ 8453.426124]  [<ffffffffa0c38e75>] ? fat_search_long+0x115/0x3e0 [fat]
[ 8453.426128]  [<ffffffff811f7b85>] ? terminate_walk+0x95/0x100
[ 8453.426133]  [<ffffffff811fcd70>] ? filename_parentat+0xe0/0x150
[ 8453.426137]  [<ffffffff811fd9f1>] do_filp_open+0x91/0x100
[ 8453.426141]  [<ffffffff811f84d4>] ? inode_permission+0x14/0x50
[ 8453.426146]  [<ffffffff8120a8d7>] ? __alloc_fd+0xc7/0x190
[ 8453.426150]  [<ffffffff811ec95f>] do_sys_open+0x13f/0x210
[ 8453.426154]  [<ffffffff811eca4e>] SyS_open+0x1e/0x20
[ 8453.426158]  [<ffffffff815ad6ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
[ 8453.426160] ---[ end trace 5891647c5d4fcf39 ]---
[ 8454.988423] ------------[ cut here ]------------

I don't know it this can give some information of the problem. In disk mode (original firmware) i can't reproduce the problem.... it's curios

I tried to check and repair FS with no positive results:
Code: [Select]
# fsck.vfat -nVv /dev/sdb2 
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Ipod Classic 5G, Rockbox and Tarkan CF->SD adapter problems
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.082 seconds with 14 queries.