Click to See Complete Forum and Search --> : [SOLVED] ipod doesnt eject
crow2icedearth
09-24-2006, 10:36 PM
Sometimes my ipod won't eject when i give it the command
eject /mnt/ipod
it complains telling me there is no device mounted on /mnt/ipod , but indeed it is mounted there. IT doesn't always happend but sometimes its does and i have no idea why it does it.
I use amarok to sync up my ipod and tranfer files. i mount the ipod before i connect to it in amarok. I have ipod support compiled into amarok so it finds it correctly .
soulestream
09-24-2006, 11:25 PM
maybe use lsof to see if a process has a hold of it.
Soule
Icarus
09-25-2006, 10:18 AM
"no device mounted" usually means it's not mounted, unlike "device is busy" which means its...busy ;)
I can't say what's going on, when you try to unmount and get that error, check df and/or mount to make sure it's not mounted. My guess is that Amarok uses a more direct access or handles the mounting itself in the background.
When I plug in my ipod an icon will appear on my desktop (KDE). I right click and chose mount, then after I'm done using it, I right click and select safely remove. I used to just use mount and umount, but this way is more graceful.
crow2icedearth
09-25-2006, 09:38 PM
umount and mount is not the correct command for ipods. the eject command is suppose to be used to safly umount it. the problem i have is it tells me no such device is present when indeed its still mountd . but df command shows it not mounted..... then if i try to mount it tells me no /dev/sda2 is present. sda2 is my ipod device . sda1 is a usb hadrive that is mounted
My son is having similar problems. I haven't started troubleshooting yet, however, in our case I suspect that a tightvnc display is trying to auto mount it. Could this be a possibility for you? Push comes to shove, I have him reboot the computer to force it to release the ipod. (honestly.....I HATE that thing lol)
crow2icedearth
10-08-2006, 11:02 PM
i still am having problems with ipod doing this and its a pain and the *** to reboot to safly disconnect it..
crow2icedearth
10-08-2006, 11:46 PM
this is the msg i get when it wont eject
eject /ipod
eject: unable to open `/dev/sdb2'
then if i look at using fdisk it doesnt even show up as a device. the device was mounted at the location fine.....
there must be a reason for this . if i try to umount the ipod the same error accures. i was told to use the eject command for ipod because it disconnects i
glasdave
10-09-2006, 12:12 AM
I was just doing some upgrades to my amarok, and under the script manager, for one called usb_device_amarokscript which seems to address whats happening to you guys. Go to the scripts manager,bring it up, scroll thru the list,click on the script, and it will tell all the things, and there is a lot, to cover usb/media players HTH
crow2icedearth
10-09-2006, 12:43 AM
called usb_device_amarokscript
it doesnt matter if i am using amarok or not......... the problem is the device just hangs up. not the mediaplayer i use..... i mount it using the terminal
then if i eject a few minutes later i get the error. it has nothing to do with amarok
crow2icedearth
10-09-2006, 12:45 AM
was just doing some upgrades to my amarok, and under the script manager, for one called usb_device_amarokscript which seems to address whats happening to you guys. Go to the scripts manager,bring it up, scroll thru the list,click on the script, and it will tell all the things, and there is a lot, to cover usb/media players HTH
there isno script manager option in amarok 1.4 ?
crow2icedearth
10-09-2006, 12:45 AM
i found it never mind last reply
crow2icedearth
10-09-2006, 01:03 AM
script is useful but it doesnt address the problem. it must be a bug with the kernel. i cant figure out why it mounts sometimes fine and other times it wont mount or eject.
Sepero
10-09-2006, 04:12 AM
Truly interesting problem you have here, and you don't appear to be alone.
http://www.mail-archive.com/linux-usb-devel@lists.sourceforge.net/msg45702.html
In my search I could find very few people with the same problem. The problem appears to be that ipod is requesting an eject (instead of simply a umount), but eject is made for removable media(cdrom's).
The proposed solutions appeared to be this:
1. umount, then remove all usb modules.
or-
2. Simply umount the device and disconnect it.
crow2icedearth
10-09-2006, 02:17 PM
the umount command is not uesd for ipod........ you need to issue the eject so it tells the ipod its ok to disconnect.........
crow2icedearth
10-09-2006, 02:18 PM
its unsafe to use the umount command then disconnect the ipod........the eject command sends a signal to ipod then the ipod says its ok to disconnect.
je_fro
10-10-2006, 03:19 PM
sda2 is my ipod device . sda1 is a usb hadrive that is mounted
That's really odd...in my experience sda and sdb are separate devices...and sda1, sda2 are partitions within that device.
What if you just do
eject sda
or
eject sdb
?
crow2icedearth
10-14-2006, 11:39 PM
sda2 is my ipod device . sda1 is a usb hadrive that is mounted
yes thats a typo , sorry about that. my ipod is sdb and my usb hardrive is sda.
illl try to eject it just by using the device sdb. the media is mounted on sdb2 , because sdb1 is just a boot sector on the ipod. Je_Fo ill let you know if it works. the reason i need to use eject command over umount is becuase the eject command makes the ipod safe to disconnect where the umount command doesn't.
crow2icedearth
10-15-2006, 01:10 AM
PROBLEM SOLVED !!! for all ppl having same problem i was do this. dont mount it at a terminal or eject it at a terminal. I have amarok do it all for me . when i did that the problem solved. even if it is connnect for a long time you will be able to eject it :) .
Sepero
10-15-2006, 02:58 AM
So cool! I wish there were a place where you could virtually "shout it from the roof tops".
I hate the fact that when I figure something out, it's trapped in these forums, and somebody that needs that info _might_ find it someday. There should to be a place where people can post stuff like this so others can easily find it. Call it something like, "Linux Answers".