Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: torrent99 on February 03, 2011, 05:56:49 PM

Title: Strange Ipod mounting behaviour
Post by: torrent99 on February 03, 2011, 05:56:49 PM
I've been using Rockbox just fine for a couple of years now on my Ipod 4th Gen B&W 20G. Currently with 3.7 (though I've tried 3.7.1)

Recently I've been getting some very strange behaviour. I just can't mount it (I use Ubuntu 10.0.4), any more.

mount /dev/sdc2 /mnt/test

Returns no errors, but "mount" shows it not mounted and an ls /mnt/test shows nothing.

No errors in dmesg. No errors anywhere, just silently failing to mount.

I've tried plugging in in both Apple and Rockbox firmware, no difference.

Really odd.

I've just done a dd of the partition to a file and successfully mounted the image with -o loop, so it's specific to the ipod itself rather than a fault in the FAT partition.

Rockbox is still working fine.

Just tried DISK MODE. No dice.

I just got it to mount.....for 1 second, then it silently dismounted again. No errors anywhere.

Anyone have any ideas please?

Cheers

Steve


Title: Re: Strange Ipod mounting behaviour
Post by: Yotto on February 03, 2011, 06:31:54 PM
in one console:
Code: [Select]
tail /var/log/messagesHit enter a couple times so you know where your mount operation starts.

In another console, mount your iPod. The tail should jump a dozen or so lines and hopefully something will indicate the problem.
I can't help with the output (Not enough general knowledge) but Google some of the results and I bet you'll find something.

<EDIT>

I totally missed your "no errors in dmesg" so maybe this won't work. Still, just because there are no *errors* doesn't mean that the logs don't indicate a problem.
Title: Re: Strange Ipod mounting behaviour
Post by: bluebrother on February 04, 2011, 02:18:01 AM
You're sure the device file is the correct one? Have you tried fdisk -l to get a list of all partitions available on the machine?
Title: Re: Strange Ipod mounting behaviour
Post by: torrent99 on February 04, 2011, 02:21:16 PM
AH! Found it...

It mounted on Windows....so it was a linux problem.

Thing is I have some custom udev rules to detect the ipod, create a specific device file, which is then detected by a waiting custom sync process. [ That means I can sync the ipod in my own special way without pressing a single button]

Thing is they "broke" udev going when they created Lucid... so my udev rules were breaking it somehow. Removing the rules made it work. Now I need to figure out some udev rules that do work...
(http://shallowsky.com/blog/linux/kernel/lucid-udev.html)

Cheers for your help guys!