View previous topic :: View next topic |
Author |
Message |
alienjon Veteran


Joined: 09 Feb 2005 Posts: 1726
|
Posted: Wed Feb 15, 2006 1:09 am Post subject: Music on my mp3 player |
|
|
I've got an mp3 player which I have used on Gentoo before without a problem, but some stuff has happened recently and now it isn't working up to par.
First the problems. I plug in the player and it is read just fine. I can move files over ok but I notice that the filenames get changed (shortened) I also cannot copy files with long names or special characters (mainly whitespace). I also noticed that I cannot remove directories from my player. It claims something like: "Trash does not support the create directory protocol". Plugging in the mp3 player has been all automatic and, up until now, unplugging it has been the same. I simply copy the files over and unplug it and I'm all set. Now I need to unmount the player manually (as root) for the files to remain on the player at all.
Things that have happened recently. I had that dbug issue that had been going around for a while but I was able to update it and it fixed the problem. In the process of figuring out what I had to do to fix it, however, I ended up unmerging and remerging both pmount and ivman. Ivman is still setup to run at runtime (I don't think pmount needs to be added). I have also upgraded my kernel to 2.6.15-r1 (and subsequently setup the kernel from scratch).
Does any of this sound like something that could be causing my woes? |
|
Back to top |
|
 |
JeliJami Veteran


Joined: 17 Jan 2006 Posts: 1086 Location: Belgium
|
Posted: Wed Feb 15, 2006 7:21 am Post subject: Re: Music on my mp3 player |
|
|
alienjon wrote: | I plug in the player and it is read just fine. I can move files over ok but I notice that the filenames get changed (shortened) I also cannot copy files with long names or special characters (mainly whitespace). |
This sounds like a filesystem mismatch.
It worked before, prob because your player was mounted with a 32-bit fat fs (vfat), while it is mounting it now with fat16.
what is the output of the command?
Quote: | I also noticed that I cannot remove directories from my player. It claims something like: "Trash does not support the create directory protocol". Plugging in the mp3 player has been all automatic and, up until now, unplugging it has been the same. I simply copy the files over and unplug it and I'm all set. Now I need to unmount the player manually (as root) for the files to remain on the player at all.
Things that have happened recently. I had that dbug issue that had been going around for a while but I was able to update it and it fixed the problem. In the process of figuring out what I had to do to fix it, however, I ended up unmerging and remerging both pmount and ivman. Ivman is still setup to run at runtime (I don't think pmount needs to be added). I have also upgraded my kernel to 2.6.15-r1 (and subsequently setup the kernel from scratch).
Does any of this sound like something that could be causing my woes? |
- no, pmount is called by ivman (i think)
- if ivman starts automatically at boot, it runs as root, hence mounts as root; this could give problems with access on the player
- unmounting should work, though _________________ Unanswered Post Initiative | Search | FAQ
Former username: davjel |
|
Back to top |
|
 |
alienjon Veteran


Joined: 09 Feb 2005 Posts: 1726
|
Posted: Wed Feb 15, 2006 10:01 pm Post subject: |
|
|
Well I'm not positive but I think that the mp3 is ntfs. I'm probably wrong in that assumption but mount gave me the following:
Code: |
/dev/sdb1 on /mnt/usbstickb type msdos (rw,noexec,nosuid,nodev,user=ivman)
|
I always seem to forget to check dmesg. After plugging it in I checked and came up with this:
Code: |
usb 1-2.1: new full speed USB device using ehci_hcd and address 42
usb 1-2.1: device descriptor read/64, error -32
usb 1-2.1: device descriptor read/64, error -32
usb 1-2.1: new high speed USB device using ehci_hcd and address 44
scsi13 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 44
usb-storage: waiting for device to settle before scanning
Vendor: SAMSUNG Model: YP-T7 Rev: 0100
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sdb: 2002944 512-byte hdwr sectors (1026 MB)
sdb: Write Protect is off
sdb: Mode Sense: 23 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 2002944 512-byte hdwr sectors (1026 MB)
sdb: Write Protect is off
sdb: Mode Sense: 23 00 00 00
sdb: assuming drive cache: write through
sdb: sdb1
sd 13:0:0:0: Attached scsi removable disk sdb
sd 13:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete
|
|
|
Back to top |
|
 |
FcukThisGame l33t


Joined: 20 Apr 2005 Posts: 776 Location: /lost+found
|
Posted: Thu Feb 16, 2006 12:52 am Post subject: |
|
|
I've never seen an mp3 player that runs anything other than fat32, exceptions being the Mac version iPod and possibly one of those high-capacity Creative players.
I'd assume it's fat32. All mp3 players I've ever had have all been fat32. _________________ Sysadmin by trade, geek by choice
DESKTOP:
i7-3770K|8800GTS-512|32GB|1x256GB SSD|4x1TB|HD/BDROM|1920x1200+1680x1050
Win8 Pro w/ Hyper-V|Server 2012 VM|Ubuntu VM|Gentoo VM
TABLET: Samsung Ativ 700t
i5-3317U|4GB|128GB SSD|1920x1080 Touch
Win8 |
|
Back to top |
|
 |
alienjon Veteran


Joined: 09 Feb 2005 Posts: 1726
|
Posted: Thu Feb 16, 2006 1:52 am Post subject: |
|
|
Well, considering that dmesg labeled it as "msdos" I think it would be fat32 (or some fat filesystem). I do have ntfs enabled in my kernel (and it should be working correctly as well) so I don't know if that is the problem. |
|
Back to top |
|
 |
luisfelipe Guru

Joined: 09 Apr 2005 Posts: 377
|
Posted: Thu Feb 16, 2006 3:12 am Post subject: |
|
|
For sure it isn't ntfs (or otherwise you wouldn't even be able to write stuff there without using beta stuff from the kernel).
It most likely is fat32, and you're mounting it as fat16 (which would explain for the weird names and stuff).
The only mp3s that I've seen that don't run on fat are the ipods  |
|
Back to top |
|
 |
alienjon Veteran


Joined: 09 Feb 2005 Posts: 1726
|
Posted: Thu Feb 16, 2006 2:09 pm Post subject: |
|
|
Hmm. Is there any way to check the filesystem for certain (if not then I'll switch over to windows and see if it'll tell me)? In the past I have not had a problem with filenames and such on the player so I wonder what happened. |
|
Back to top |
|
 |
alienjon Veteran


Joined: 09 Feb 2005 Posts: 1726
|
Posted: Thu Feb 16, 2006 2:17 pm Post subject: |
|
|
I had goofed around with my fstab a little while back but I hadn't touched the usb entries other than changing the name of the directory it mounted to. In my fstab I had (and think always have had) my USB entries labeled as 'auto'. I manually forced it to recognize the drive as vfat and now the filenames seem to copy over correctly. I still have to manually unmount the device, though, for the files to stay on the drive. I can't just unplug it. Any ideas there? |
|
Back to top |
|
 |
luisfelipe Guru

Joined: 09 Apr 2005 Posts: 377
|
Posted: Thu Feb 16, 2006 2:45 pm Post subject: |
|
|
You should always unmount it before unplugging it. Period.
If you reaaaaally want to, you can mess around with the mount options (such as sync and stuff)
so that it really copies files straight when you tell it to. But I don't think that that is recommended. |
|
Back to top |
|
 |
alienjon Veteran


Joined: 09 Feb 2005 Posts: 1726
|
Posted: Thu Feb 16, 2006 3:13 pm Post subject: |
|
|
Grr. I was hoping to get the auto unmount working. How do I go about doing direct copies? And if I read up on it and it really doesn't look good, I should just have to add my user to the ivman group, right?
(in that if I have to go about unmounting it anyway, I really don't want to bother sudoing into root all the time) |
|
Back to top |
|
 |
luisfelipe Guru

Joined: 09 Apr 2005 Posts: 377
|
Posted: Fri Feb 17, 2006 2:04 am Post subject: |
|
|
You don't need to sudo to unmount something. Just add 'user' to the options on the fstab entry,
and any regular user can mount and unmount it. |
|
Back to top |
|
 |
alienjon Veteran


Joined: 09 Feb 2005 Posts: 1726
|
Posted: Fri Feb 17, 2006 1:47 pm Post subject: |
|
|
I'm afraid not. I already have that flag enabled. I get a message telling me that only ivman can mount and unmount the device. I know that for ntfs filesystems you can specify a mask/umask value. Is there something similar to that for vfat? (I'll check the man pages on this as well when I have the time) |
|
Back to top |
|
 |
|