Fedora Linux Support Community & Resources Center
  #1  
Old 9th December 2011, 02:46 AM
alkobottle Offline
Registered User
 
Join Date: Dec 2011
Posts: 4
linuxchrome
Cannot mount anything - F16 KDE

I'm somewhat new to Fedora (been using Ubuntu for years...) and encountered a strange problem today:
whenever I plug in device (Kindle, Android Phone, USB Key...) I'm only getting the following message when trying to access the device via KDE:
"An error occurred while accessing DEVICENAME, the system responded: The requested operation has failed.: Error creating moint point: Permission denied"
(yeah, I actually does say MOINT point ^^)
The same happens when I try to mount a TrueCrypt Volume.

I can't find anything suspicious in /var/log/messages.
Tried setting the permission of /media to 755, didn't help.

Any suggestions?

[EDIT]:
OK, now I'm really worried...now I can't even create directory as root in /media:
[root@work media]# mkdir test
mkdir: cannot create directory `test': Permission denied
Still, the permissions are set to 755?

Last edited by alkobottle; 9th December 2011 at 02:49 AM.
Reply With Quote
  #2  
Old 9th December 2011, 03:16 AM
VernDog Offline
Registered User
 
Join Date: Aug 2009
Posts: 226
linuxchrome
Re: Cannot mount anything - F16 KDE

From a terminal, does 'dmesg' reveal any further evidence?
Reply With Quote
  #3  
Old 9th December 2011, 03:22 AM
alkobottle Offline
Registered User
 
Join Date: Dec 2011
Posts: 4
linuxchrome
Re: Cannot mount anything - F16 KDE

here's the output of dmesg after connecting my kindle and trying to access it:
Code:
[ 8195.432025] usb 1-3: new high speed USB device number 8 using ehci_hcd
[ 8200.254001] ehci_hcd 0000:00:1a.7: port 3 reset error -110
[ 8200.255817] ehci_hcd 0000:00:1a.7: port 3 reset error -110
[ 8200.257627] ehci_hcd 0000:00:1a.7: port 3 reset error -110
[ 8200.259429] ehci_hcd 0000:00:1a.7: port 3 reset error -110
[ 8200.261229] ehci_hcd 0000:00:1a.7: port 3 reset error -110
[ 8200.262070] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 8200.463041] hub 1-0:1.0: unable to enumerate USB device on port 3
[ 8200.910015] usb 4-1: new full speed USB device number 5 using uhci_hcd
[ 8201.037385] usb 4-1: not running at top speed; connect to a high speed hub
[ 8201.065386] usb 4-1: New USB device found, idVendor=1949, idProduct=0004
[ 8201.065390] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8201.065393] usb 4-1: Product: Amazon Kindle
[ 8201.065396] usb 4-1: Manufacturer: Amazon
[ 8201.065398] usb 4-1: SerialNumber: XXXXXXXXXXXXXXX (<-- censored)
[ 8201.074521] scsi13 : usb-storage 4-1:1.0
[ 8202.079418] scsi 13:0:0:0: Direct-Access     Kindle   Internal Storage 0100 PQ: 0 ANSI: 2
[ 8202.079479] scsi: killing requests for dead queue
[ 8202.079554] scsi: killing requests for dead queue
[ 8202.079622] scsi: killing requests for dead queue
[ 8202.079694] scsi: killing requests for dead queue
[ 8202.079763] scsi: killing requests for dead queue
[ 8202.079831] scsi: killing requests for dead queue
[ 8202.079900] scsi: killing requests for dead queue
[ 8202.079968] scsi: killing requests for dead queue
[ 8202.080995] sd 13:0:0:0: Attached scsi generic sg3 type 0
[ 8202.089408] sd 13:0:0:0: [sdc] 6410688 512-byte logical blocks: (3.28 GB/3.05 GiB)
[ 8202.192407] sd 13:0:0:0: [sdc] Write Protect is off
[ 8202.192411] sd 13:0:0:0: [sdc] Mode Sense: 0f 00 00 00
[ 8202.302406] sd 13:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 8202.551405]  sdc: sdc1
[ 8202.812408] sd 13:0:0:0: [sdc] Attached SCSI removable disk
Reply With Quote
  #4  
Old 9th December 2011, 03:25 AM
fdrake's Avatar
fdrake Offline
Registered User
 
Join Date: Dec 2011
Posts: 47
linuxfirefox
Re: Cannot mount anything - F16 KDE

plug in you devices/usb-disks and post output of:
Code:
sudo fdisk -l
mount
less /etc/fstab
Reply With Quote
  #5  
Old 9th December 2011, 03:29 AM
alkobottle Offline
Registered User
 
Join Date: Dec 2011
Posts: 4
linuxchrome
Re: Cannot mount anything - F16 KDE

fdisk -l:
Code:
fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x14e64884

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2046   409593239   204795597    5  Extended
/dev/sda2   *   409602048   409806847      102400    7  HPFS/NTFS/exFAT
/dev/sda3       409806848   976771071   283482112    7  HPFS/NTFS/exFAT
/dev/sda5            2048     2000895      999424   82  Linux swap / Solaris
/dev/sda6         2008188   409593239   203792526   83  Linux

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders, total 312500000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1   312499999   156249999+  ee  GPT
/dev/sdb2   *           0           0           0    0  Empty

Disk /dev/sdc: 3282 MB, 3282272256 bytes
4 heads, 16 sectors/track, 100167 cylinders, total 6410688 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1              16     6410687     3205336    b  W95 FAT32
mount:
Code:
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel)
devtmpfs on /dev type devtmpfs (rw,nosuid,relatime,seclabel,size=1949804k,nr_inodes=487451,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime,seclabel)
/dev/sda6 on / type ext4 (rw,relatime,seclabel,user_xattr,acl,barrier=1,data=ordered)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,seclabel,mode=755)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=20,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime,seclabel)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel)
tmpfs on /media type tmpfs (rw,nosuid,nodev,noexec,relatime,rootcontext=system_u:object_r:mnt_t:s0,seclabel,mode=755)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
/etc/auto.misc on /misc type autofs (rw,relatime,fd=7,pgrp=982,timeout=300,minproto=5,maxproto=5,indirect)
-hosts on /net type autofs (rw,relatime,fd=13,pgrp=982,timeout=300,minproto=5,maxproto=5,indirect)
/etc/auto.cifs on /media type autofs (rw,relatime,fd=19,pgrp=982,timeout=600,minproto=5,maxproto=5,indirect)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfs-fuse-daemon on /home/username/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
fstab:
Code:
UUID=cb67049e-2c3c-4ffd-99cd-231d73330289 /                       ext4    defaults,user_xattr        1 1
UUID=c91ec1ae-1182-4732-95b8-9bb30c36bfbd swap                    swap    defaults        0 0
thanks for your help!
Reply With Quote
  #6  
Old 9th December 2011, 03:48 AM
fdrake's Avatar
fdrake Offline
Registered User
 
Join Date: Dec 2011
Posts: 47
linuxfirefox
Re: Cannot mount anything - F16 KDE

Quote:
tmpfs on /media type tmpfs (rw,nosuid,nodev,noexec,relatime,rootcontext=syste m_u:object_r:mnt_t:s0,seclabel,mode=755)
the reason why you cannot mount to /media is because is already used by tmpfs: a virtual memory sys use by applications.
in fedora you should try to munt youd disk in the /mnt forlder (i know Ubuntu lets use both /media and /mnt with no distinction)

to mount the disk try
(first install hfs modules)
Code:
sudo yum install hfsutils.i686 hfsplusutils.i686 hfsplus-tools.i686
sudo mkdir /mnt/disk_1
sudo mount -t vfat /dev/sdc1 /mnt/disk_1
sudo mkdir /mnt/disk_2
sudo mount -t hfs /dev/sdb1 /mnt/disk_2
if the last command does not work try:
sudo mount -t hfsplus /dev/sdb1 /mnt/disk_2

if you still have not luck in mounting /dev/sdb1 please post output for:
Code:
sudo parted -l

Last edited by fdrake; 9th December 2011 at 03:53 AM.
Reply With Quote
  #7  
Old 10th December 2011, 06:36 PM
alkobottle Offline
Registered User
 
Join Date: Dec 2011
Posts: 4
linuxchrome
Re: Cannot mount anything - F16 KDE

@fdrake, thanks for all your help!
The sdb disk wasn't the one causing the trouble - my /etc/auto.master was the culprit!

As you guessed, coming from Ubuntu, I used to use fstab to automount my smb shares on my NAS. Following a guide for Fedora 16 I use /media as a starting point for my smb shares.
After correcting the path to /mnt everything works again as it should

Thanks again for pointing me in the right direction!
Reply With Quote
Reply

Tags
f16, kde, mount

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: mount to NFS server '192.168.8.15' failed: RPC Error: Program not registered. laksh Servers & Networking 0 2nd November 2009 02:24 PM
Permission denied error when trying to mount image contained in sshfs mount openSauce Using Fedora 5 8th March 2009 03:14 PM
mount: mount to NFS server '192.168.0.3' failed: System Error: Connection refused. fakie_flip Servers & Networking 0 8th April 2008 08:51 AM
non-root cannot mount user cifs mount point rgladwell Servers & Networking 2 6th August 2006 05:50 PM


Current GMT-time: 04:34 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat