LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-08-2008, 06:54 PM   #1
Vermilion Sparrow
LQ Newbie
 
Registered: Jun 2008
Distribution: Slackware 12.1, Zenwalk 5
Posts: 11

Rep: Reputation: 0
iPod won't remount unless I reboot


I have an iPod Shuffle that I manage through Amarok. I can mount the device and transfer just fine, and the disconnect is successful, but even after manually unmounting the device, the next time I connect it, it will not mount. The automount hangs, and if I cancel it and try to mount it manually, I get the message "mount: special device /dev/sda does not exist"; however, it does seem to be charging even so.

So, how do I get my iPod to remount without rebooting every time?
 
Old 06-08-2008, 07:06 PM   #2
Vermilion Sparrow
LQ Newbie
 
Registered: Jun 2008
Distribution: Slackware 12.1, Zenwalk 5
Posts: 11

Original Poster
Rep: Reputation: 0
Update: I just rebooted without the iPod plugged in, and it also will not mount if it is not already plugged in at boot time.
 
Old 06-08-2008, 08:07 PM   #3
C-Sniper
Member
 
Registered: Dec 2006
Distribution: Slackware
Posts: 507

Rep: Reputation: 33
do you have access to it through the plugdev group (/etc/groups)
 
Old 06-08-2008, 09:52 PM   #4
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,138

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
As C-Sniper said fire-up a text editor and take a look at /etc/group.

For example:

# nano /etc/group

Add your regular user to the following groups: plugdev, audio, video, cdrom, and floppy

Ctrl+o (save)
Ctrl+x (exit nano)
 
Old 06-08-2008, 10:25 PM   #5
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.0
Posts: 2,242

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614
Quote:
Originally Posted by hitest
For example:

# nano /etc/group

Add your regular user to the following groups: plugdev, audio, video, cdrom, and floppy

Ctrl+o (save)
Ctrl+x (exit nano)
Or, if you don't want to manually edit /etc/group, you can just do the following as root:
Code:
# gpasswd -a username plugdev
# gpasswd -a username cdrom
# gpasswd -a username audio
# gpasswd -a username video
# gpasswd -a username floppy
Or just add your user to those secondary groups when you create the user using `adduser` instead of `useradd`. In 12.1 it even suggests pressing the UP arrow to see the recommended groups.
 
Old 06-09-2008, 12:01 AM   #6
Vermilion Sparrow
LQ Newbie
 
Registered: Jun 2008
Distribution: Slackware 12.1, Zenwalk 5
Posts: 11

Original Poster
Rep: Reputation: 0
Okay, I did that (the only group I wasn't already in was plugdev) and the automount still hung. When I canceled it, then tried to mount it manually, I got the message that it was already mounted and a cat /etc/mtab showed it in there. Then I tried to look at /media in Konqueror and that crashed X completely.

Rebooted for good measure, and... same thing.

Code:
bash-3.1# mount -t vfat /dev/sda /media/ipod
mount: /dev/sda already mounted or /media/ipod busy
mount: according to mtab, /dev/sda is already mounted on /media/ipod
bash-3.1# cat /etc/mtab
/dev/hda1 / ext3 rw 0 0
proc /proc proc rw 0 0 
sysfs /sys sysfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/hda2 /hd ext3 rw 0 0
/dev/hda3 /home ext3 rw 0 0
/dev/hdd1 /ntfs fuseblk rw,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/sda /media/ipod vfat rw,noexec,nosuid,nodev 0 0
It does show that it's mounted, but it's not accessible through X (it just now occurred to me to try to browse it in Terminal, and Terminal doesn't have a problem).

I don't know if this makes any difference, but I can mount and unmount as much as I want, and as long as I don't physically remove the iPod from its cradle, and it was plugged in when I booted, KDE doesn't have any problem. The problem occurs after I've removed the iPod (or it wasn't plugged in at boot) and want to plug it back in to charge/resync. At that time, if I try to access the iPod from within X, KDE goes down in flames.

Last edited by Vermilion Sparrow; 06-09-2008 at 12:05 AM.
 
Old 06-09-2008, 01:39 AM   #7
Vermilion Sparrow
LQ Newbie
 
Registered: Jun 2008
Distribution: Slackware 12.1, Zenwalk 5
Posts: 11

Original Poster
Rep: Reputation: 0
Clarification: Obviously, it is actually re-mounting. However, Konqueror either won't open at all, or crashes when I try to open it (taking the rest of KDE with it), and Amarok crashes when I try to detect the iPod. I can see the iPod's contents just fine in a terminal emulator, or in Thunar... and in gtkpod, for that matter, but I don't like gtkpod, and would prefer not to have to use a special app just for syncing (I didn't like iTunes either, and only ever used it for syncing).
 
Old 06-09-2008, 09:38 AM   #8
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,138

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
Just to clarify things. Is this behaviour happening in Slackware 12.1 or Zenwalk 5? Both? Very interesting.
 
Old 06-10-2008, 06:03 PM   #9
Vermilion Sparrow
LQ Newbie
 
Registered: Jun 2008
Distribution: Slackware 12.1, Zenwalk 5
Posts: 11

Original Poster
Rep: Reputation: 0
Slackware 12.1. I haven't tried it in Zenwalk because there's no music on that machine. Also, it's running Xfce rather than KDE, and I think it's probably KDE that's causing the problem here.

I'll try it though, and see what happens.
 
Old 06-11-2008, 08:33 PM   #10
Vermilion Sparrow
LQ Newbie
 
Registered: Jun 2008
Distribution: Slackware 12.1, Zenwalk 5
Posts: 11

Original Poster
Rep: Reputation: 0
Confirmed. No problem at all unmounting and remounting the iPod in Zenwalk 5 with Xfce.
 
Old 06-11-2008, 10:51 PM   #11
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,138

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
How does your ipod work with XFce in Slackware 12.1? Same as KDE? Does it crash with XFce on Slackware 12.1?

Last edited by hitest; 06-11-2008 at 11:11 PM.
 
Old 06-15-2008, 01:53 PM   #12
Vermilion Sparrow
LQ Newbie
 
Registered: Jun 2008
Distribution: Slackware 12.1, Zenwalk 5
Posts: 11

Original Poster
Rep: Reputation: 0
Xfce doesn't seem to have any problems even in Slackware 12.1. I can unmount, unplug, and plug back in, and it automounts normally and doesn't seem to cause any problems. It's just KDE.
 
Old 06-15-2008, 02:10 PM   #13
Vermilion Sparrow
LQ Newbie
 
Registered: Jun 2008
Distribution: Slackware 12.1, Zenwalk 5
Posts: 11

Original Poster
Rep: Reputation: 0
No, wait. I just tested it again after actually using Amarok and it does the same thing in Xfce (automount hangs, Amarok crashes). So maybe it's Amarok causing all the problems.

Which is a shame, really, as it's the closest thing I've found to having all the features I like.
 
  


Reply

Tags
amarok, ipod, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
remount RAID drive after reboot with mdadm ufmale Linux - Software 1 11-15-2007 08:13 PM
perm mount LAN ntfs share, have to remount on reboot daTerminehtor Linux - Newbie 8 07-12-2007 03:30 AM
Can I remount '/' partition without a reboot? benr77 Linux - General 8 08-22-2006 01:26 AM
Can't remount USB device unless I reboot servnov Linux - Newbie 5 10-29-2005 01:11 PM
How do I remount a network SMB share (on reboot) requiring a username & password BuckRogers01 Linux - Networking 1 07-09-2005 11:53 AM


All times are GMT -5. The time now is 07:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration