openSUSE Forums > Install/Boot/Login » USB mount problem

Go Back   openSUSE Forums > Install/Boot/Login
Forums FAQ Members List Search Today's Posts Mark Forums Read


Install/Boot/Login Questions about installation, login, boot issues, partitioning, file systems, software that runs at boot (GRUB, LILO, boot scripts)

Reply
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 23-Jun-2009, 10:38
SpottedOwl's Avatar
Puzzled Penguin
 
Join Date: Feb 2009
Posts: 12
SpottedOwl hasn't been rated much yet
Angry USB mount problem

All,

I have broken *something*, and would like help to fix it -- I was trying to set a particular mount point for my USB drive (via Nautilus, I believe) and made the mistake of putting a full path name so that now I get Cannot mount volue alert reporting that
G_DIR_SEPARATOR is the problem.

I get this error as soon as I plug in the device and don't seem to be able to find where to 'undo' this. Help?

I can mount it manually, but as root, and dmesg doesn't report anything amiss. I can't find anything in my fstab that should be resonible (pasted below).

I have searched, but the posts don't specifically tell me how to undo it (and I have too many fires to spend the rest of the day hunting, so your patience and help is GREATLY appreciated).

spottedowl
Reply With Quote
  #2 (permalink)  
Old 23-Jun-2009, 12:45
SpottedOwl's Avatar
Puzzled Penguin
 
Join Date: Feb 2009
Posts: 12
SpottedOwl hasn't been rated much yet
Unhappy Re: USB mount problem

I thought the emoticon was a red faced embarrassed one, but it looks more angry. While I am frustrated, I didn't mean it to look like that.

I also said that I would paste in my fstab which I didn't -- so here:

/dev/disk/by-id/ata-SAMSUNG_HD160JJP_S0DFJ1HL827407-part1 swap swap defaults 0 0
/dev/disk/by-id/ata-SAMSUNG_HD160JJP_S0DFJ1HL827407-part2 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/ata-SAMSUNG_HD160JJP_S0DFJ1HL827407-part3 /home ext3 acl,user_xattr 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
Reply With Quote
  #3 (permalink)  
Old 23-Jun-2009, 13:30
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,926
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: USB mount problem

Such external usb devices are not mounted in fstab, so forget looking there.
These devices should auto mount in /media

It's not helpful that you can't really remember what you were doing.

What location were you trying to make a permanent mount to? Were you following a guide or just winging it?
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #4 (permalink)  
Old 23-Jun-2009, 13:51
SpottedOwl's Avatar
Puzzled Penguin
 
Join Date: Feb 2009
Posts: 12
SpottedOwl hasn't been rated much yet
Default Re: USB mount problem

Thanks for the reply. (I know that my detail was somewhat lacking.

As for what I was doing (winging it) -- I am using the USB to xfer a application from the PC to an embedded device running linux. I grew weary using Nautilus to have the USB mounted so that I could find it, and was hunting through Nautilus to find out where it was really mounted. I found /media/kingston and wanted to make that 'permanent' and there was an entry via Nautilus (I'm 90% sure) that allowed me to specify a place to mount it. I stupidly put a slash in the name (e.g., /media/USB) and now it is hosed. Everytime I plug in the USB device, it complains about the G_DIR_SEPARATOR error.

I (would like to) believe that there is config file somewhere that I can edit to remove the damage that I have done -- is there? where?

Thanks to all -- I really appreciate it. I was / am rather frustrated and angry with myself over pilot error, but would really appreciate any help to revert the damage.

Thanks!

-spottedowl
Reply With Quote
  #5 (permalink)  
Old 23-Jun-2009, 13:56
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,926
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: USB mount problem

Without the device plugged in what do you see in /media ?
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #6 (permalink)  
Old 23-Jun-2009, 14:17
SpottedOwl's Avatar
Puzzled Penguin
 
Join Date: Feb 2009
Posts: 12
SpottedOwl hasn't been rated much yet
Default Re: USB mount problem

I see .hal-mtab .hal-mtab-lock KINGSTON KINGSTON_

the device I was trying to mount had previously displayed (in Nautilus) as "RCA"
The .hal* files are empty (0 bytes).

thanks for your help.
Reply With Quote
  #7 (permalink)  
Old 23-Jun-2009, 14:24
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,926
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: USB mount problem

Open a terminal:

Code:
cat /etc/mtab
post here
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #8 (permalink)  
Old 23-Jun-2009, 14:28
SpottedOwl's Avatar
Puzzled Penguin
 
Join Date: Feb 2009
Posts: 12
SpottedOwl hasn't been rated much yet
Default Re: USB mount problem

cat /etc/mtab yields:

/dev/sda2 / ext3 rw,acl,user_xattr 0 0
/proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
debugfs /sys/kernel/debug debugfs rw 0 0
udev /dev tmpfs rw 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
/dev/sda3 /home ext3 rw,acl,user_xattr 0 0
securityfs /sys/kernel/security securityfs rw 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
nfsd /proc/fs/nfsd nfsd rw 0 0
gvfs-fuse-daemon /home/rz/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=rz 0 0
Reply With Quote
  #9 (permalink)  
Old 23-Jun-2009, 14:44
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,926
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: USB mount problem

All I get is: .hal-mtab-lock

su terminal:

cd /media

Code:
mv .filename .filename_old
do that to both files (filename = eg: .hal-mtab-lock)

becomes : .hal-mtab-lock_old

I'm not sure this will sort it, but we can always reverse the rename
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #10 (permalink)  
Old 23-Jun-2009, 14:57
SpottedOwl's Avatar
Puzzled Penguin
 
Join Date: Feb 2009
Posts: 12
SpottedOwl hasn't been rated much yet
Default Re: USB mount problem

no observable effect.
I rebooted, the files were gone (even the *_old versions).
I inserted the USB device, got the error message and the .hal-mtab-lock file returned. deleting that file and re-inserting the device resulted in same error G_DIR_SEP...

Thanks for your help and patience!
Reply With Quote
Reply
Page 1 of 2 1 2

Bookmarks

Tags
g_dir_separator, oops, pilot error, usb


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2