LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-15-2010, 03:28 PM   #1
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Rep: Reputation: 53
data stick not mounted


Since working with Linux I've never had a problem accessing my data stick, but now all of a sudden I get this pop-up error message whenever I plug it in or try to open it via my file manager:

Quote:
Failed to mount "16G Removable Volume".

Rejected send message, 1 matched rules; type="method_call", sender=":1.81" (uid=1165 pid=4087 comm="exo-mount -n -h /org/freedesktop/Hal/devices/volum") interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=3003 comm="/usr/sbin/hald --daemon=yes ")).
fstab:

Quote:
sh-3.1$ cat /etc/fstab
/dev/hda5 / ext3 defaults 1 1
/dev/hda2 /mnt/windowspartition ntfs-3g umask=077 1 1
/dev/hda7 /home ext3 defaults 1 1
/dev/hda8 /mnt/sharedpartition ntfs-3g umask=077 1 1
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
mtab:

Quote:
h-3.1$ cat /etc/mtab
/dev/root / ext4 rw,barrier=1,data=ordered 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/hda7 /home ext3 rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
df -h:

Quote:
sh-3.1$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 8.3G 4.7G 3.3G 60% /
/dev/hda7 44G 220M 42G 1% /home
tmpfs 502M 0 502M 0% /dev/shm
sh-3.1$
As always, help will be appreciated.
 
Old 07-15-2010, 03:50 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What does 'dmesg' have to say when you insert the stick?



Cheers,
Tink
 
Old 07-15-2010, 04:27 PM   #3
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
There are 648 lines. Can I post that much here?
 
Old 07-15-2010, 04:32 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You could attach a file, or you could just copy & paste stuff that happens
just after the insertion of the stick, maybe the last 20 lines of output.



Cheers,
Tink
 
Old 07-15-2010, 04:37 PM   #5
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
Starting at line 600:

Code:
600	sd 7:0:0:0: Attached scsi generic sg0 type 0
   601	usb-storage: device scan complete
   602	usb 1-6: new high speed USB device using ehci_hcd and address 9
   603	usb 1-6: New USB device found, idVendor=154b, idProduct=6545
   604	usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
   605	usb 1-6: Product: USB 2.0 FD
   606	usb 1-6: Manufacturer: PNY
   607	usb 1-6: SerialNumber: 1100920A47D24BF8
   608	usb 1-6: configuration #1 chosen from 1 choice
   609	scsi8 : SCSI emulation for USB Mass Storage devices
   610	usb-storage: device found at 9
   611	usb-storage: waiting for device to settle before scanning
   612	scsi 8:0:0:0: Direct-Access     PNY      USB 2.0 FD       8.02 PQ: 0 ANSI: 0 CCS
   613	sd 8:0:0:0: [sdb] 31301631 512-byte hardware sectors: (16.0 GB/14.9 GiB)
   614	sd 8:0:0:0: [sdb] Write Protect is off
   615	sd 8:0:0:0: [sdb] Mode Sense: 45 00 00 08
   616	sd 8:0:0:0: [sdb] Assuming drive cache: write through
   617	sd 8:0:0:0: [sdb] 31301631 512-byte hardware sectors: (16.0 GB/14.9 GiB)
   618	sd 8:0:0:0: [sdb] Write Protect is off
   619	sd 8:0:0:0: [sdb] Mode Sense: 45 00 00 08
   620	sd 8:0:0:0: [sdb] Assuming drive cache: write through
   621	 sdb: sdb1
   622	sd 8:0:0:0: [sdb] Attached SCSI removable disk
   623	sd 8:0:0:0: Attached scsi generic sg1 type 0
   624	usb-storage: device scan complete
   625	usb 1-6: USB disconnect, address 9
   626	usb 1-6: new high speed USB device using ehci_hcd and address 10
   627	usb 1-6: New USB device found, idVendor=154b, idProduct=6545
   628	usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
   629	usb 1-6: Product: USB 2.0 FD
   630	usb 1-6: Manufacturer: PNY
   631	usb 1-6: SerialNumber: 1100920A47D24BF8
   632	usb 1-6: configuration #1 chosen from 1 choice
   633	scsi9 : SCSI emulation for USB Mass Storage devices
   634	usb-storage: device found at 10
   635	usb-storage: waiting for device to settle before scanning
   636	scsi 9:0:0:0: Direct-Access     PNY      USB 2.0 FD       8.02 PQ: 0 ANSI: 0 CCS
   637	sd 9:0:0:0: [sdb] 31301631 512-byte hardware sectors: (16.0 GB/14.9 GiB)
   638	sd 9:0:0:0: [sdb] Write Protect is off
   639	sd 9:0:0:0: [sdb] Mode Sense: 45 00 00 08
   640	sd 9:0:0:0: [sdb] Assuming drive cache: write through
   641	sd 9:0:0:0: [sdb] 31301631 512-byte hardware sectors: (16.0 GB/14.9 GiB)
   642	sd 9:0:0:0: [sdb] Write Protect is off
   643	sd 9:0:0:0: [sdb] Mode Sense: 45 00 00 08
   644	sd 9:0:0:0: [sdb] Assuming drive cache: write through
   645	 sdb: sdb1
   646	sd 9:0:0:0: [sdb] Attached SCSI removable disk
   647	sd 9:0:0:0: Attached scsi generic sg1 type 0
   648	usb-storage: device scan complete
root@bluegospel:~#
 
Old 07-15-2010, 04:56 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
That actually looks quite promising ... did you make any changes/updates
to parts of the system that have to do with udev and/or hal?

For now, try mounting the device manually; become root, and try
(assuming that you're the first user on the system and that zip0
currently isn't in use by other devices):
Code:
mount -t auto /dev/sdb1 /media/zip0 -o umask=000,uid=1000


Cheers,
Tink
 
Old 07-15-2010, 05:14 PM   #7
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
How do I make sure that I'm not the first user on the system and that zip0 isn't currently in use by other devices? Or is that entirely unnecessary?
 
Old 07-15-2010, 05:31 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
According to your mtab above it's not mounted. And to find out
whether you're Mr. 1000 just type id<enter>

By defaul the first user created on Slack will be
UID 1000 .... hence my uid=1000 in the mount line
above ...
 
Old 07-15-2010, 05:41 PM   #9
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
Okay, thanks again Tink. I can access my data stick. But I'm not quite sure why it failed in the first place, or whether it will mount when I restart.
 
Old 07-15-2010, 05:54 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by bluegospel View Post
Okay, thanks again Tink. I can access my data stick. But I'm not quite sure why it failed in the first place, or whether it will mount when I restart.
It most likely won't. Looking at your output above I
wonder (again) whether you made any system changes
lately ...
Quote:
Failed to mount "16G Removable Volume".

Rejected send message, 1 matched rules; type="method_call", sender=":1.81" (uid=1165 pid=4087 comm="exo-mount -n -h /org/freedesktop/Hal/devices/volum") interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=3003 comm="/usr/sbin/hald --daemon=yes ")).
Now - I have no idea what desktop you're using, and whether
or not your system uses English, but I'd expect an "e" at
the end of the word "volum" in red above. Not that I use
hal myself - my USB devices all get mounted manually at
all times, with fstab entries and named symlinks created
by UDEV for me under /dev, so they always end up in the
same mountpoint.


Cheers,
Tink
 
Old 07-15-2010, 06:27 PM   #11
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
Nope. (AFAIK) I haven't made any system changes lately. I actually have no idea what freedesktop or hal is. Is it possible my visiting nephews being booted to Windows might have downloaded something that could affect Linux?

Thanks for your help.
 
Old 07-15-2010, 06:36 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by bluegospel View Post
Nope. (AFAIK) I haven't made any system changes lately. I actually have no idea what freedesktop or hal is. Is it possible my visiting nephews being booted to Windows might have downloaded something that could affect Linux?

Thanks for your help.
Highly unlikely in that kind of form; they'd have to install
some device driver to access Linux' file-systems from Windows
to make that kind of modification. If anything (trivially
possible) they could format the "unknown partition".


What desktop environment/window manager *are* you using?


Cheers,
Tink
 
Old 07-15-2010, 06:41 PM   #13
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
XFCE, which comes with slackware.
 
Old 07-15-2010, 06:52 PM   #14
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Does this thread shed any light
on your problem?

Or this one here at LQ?



Cheers,
Tink

Last edited by Tinkster; 07-15-2010 at 06:54 PM.
 
Old 07-20-2010, 12:48 PM   #15
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
Quote:
Does (this thread-->)http://bbs.archlinux.org/viewtopic.php?pid=660951 shed any light on your problem?
I wanted to return to this link but now it's inactive. Is there any recourse I can take to retrieve it?

Otherwise, could someone point me in the direction to a decent tutorial on hostnames & domain names, including setting up your server in this regard? I recall three tools of some sort, through this link (I think), but haven't the vaguest idea what they were.

Last edited by bluegospel; 07-20-2010 at 01:35 PM.
 
  


Reply



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
Lost data on USB Memory Stick mallangong Linux - Hardware 1 03-08-2008 04:39 PM
USB data stick problem wootletootle Slackware 4 11-12-2006 02:05 AM
Problem installing USB Data Stick djsunny Linux - Hardware 8 04-10-2006 07:42 AM
usb stick gets auto-mounted pranavchoudhary Linux - Newbie 12 02-25-2006 05:31 PM
making a mounted memory stick rw newusermike Linux - Newbie 1 08-14-2005 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:02 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration