Announcement

Collapse
No announcement yet.

Unable to mount devices using device notifier

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unable to mount devices using device notifier

    I had joined the IRC chat system last night and was talking to yofel about this issue.

    Currently, when I plug a device into my box, the Device Notifier comes up informing me that a new drive has been added. However, when I attempt to mount the drive as a normal user I get this:
    http://imgur.com/D6Rpi

    However, if I run kdesudo dolphin from the command line, I can mount the device fine.

    Current fstab: http://paste.ubuntu.com/922721/
    Dmesg when plugging the drive in: http://pastebin.com/xp5vHvVn
    udisks --monitor : http://pastebin.com/4LaiRWVJ
    User groups: http://pastebin.com/hTYFVzZB

    yofel suggested that I run kdebugdialog and see what the results were:
    Code:
    Object::disconnect: No such slot QObject::dataUpdated(QString,Plasma::DataEngine::Data)                                                                                                                                                      
    Object::disconnect:  (sender name:   '/org/freedesktop/UDisks/devices/sdf3')                                                                                                                                                                 
    krunner(2955)/kio (KDirListerCache) KDirListerCache::listDir: Entry already in use: KUrl("trash:/")                                                                                                                                          
    krunner(2955)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x2097310)  url= KUrl("trash:/")                                                                                                                             
    [/usr/bin/nepomukservicestub] nepomukstorage(2964) Nepomuk::RemovableMediaCache::slotSolidDeviceRemoved: "/org/freedesktop/UDisks/devices/sdf3"                                                                                              
    [/usr/bin/nepomukservicestub] nepomukfilewatch(3506) Nepomuk::RemovableMediaCache::slotSolidDeviceRemoved: "/org/freedesktop/UDisks/devices/sdf3"                                                                                            
    kmix(3004) KMixWindow::unplugged: Unplugged: udi= "/org/freedesktop/UDisks/devices/sdf3"                                                                                                                                                     
    kmix(3004) KMixWindow::unplugged: Unplugged: udi= "/org/freedesktop/UDisks/devices/sdf2"                                                                                                                                                     
    kmix(3004) KMixWindow::unplugged: Unplugged: udi= "/org/freedesktop/UDisks/devices/sdf1"                                                                                                                                                     
    [/usr/bin/nepomukservicestub] nepomukstorage(2964) Nepomuk::RemovableMediaCache::slotSolidDeviceRemoved: Found removable storage volume for Nepomuk undocking: "/org/freedesktop/UDisks/devices/sdf3"                                        
    plasma-desktop(2754)/kio (KDirListerCache) KDirListerCache::listDir: Entry already in use: KUrl("trash:/")                                                                                                                                   
    Object::disconnect: No such slot QObject::dataUpdated(QString,Plasma::DataEngine::Data)                                                                                                                                                      
    Object::disconnect:  (sender name:   '/org/freedesktop/UDisks/devices/sdf1')                                                                                                                                                                 
    krunner(2955)/kio (KDirListerCache) KDirListerCache::listDir: Entry already in use: KUrl("trash:/")                                                                                                                                          
    krunner(2955)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x20586f0)  url= KUrl("trash:/")                                                                                                                             
    kmix(3004) KMixWindow::unplugged: Unplugged: udi= "/org/freedesktop/UDisks/devices/sdf"                                                                                                                                                      
    plasma-desktop(2754)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x1cbb0c0)  url= KUrl("trash:/")                                                                                                                      
    plasma-desktop(2754)/kio (KDirListerCache) KDirListerCache::listDir: Entry already in use: KUrl("trash:/")                                                                                                                                   
    plasma-desktop(2754)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x1a834e0)  url= KUrl("trash:/")                                                                                                                      
    [/usr/bin/nepomukservicestub] nepomukfilewatch(3506) Nepomuk::RemovableMediaCache::slotSolidDeviceRemoved: Found removable storage volume for Nepomuk undocking: "/org/freedesktop/UDisks/devices/sdf3"                                      
    [/usr/bin/nepomukservicestub] nepomukstorage(2964) Nepomuk::RemovableMediaCache::slotSolidDeviceRemoved: "/org/freedesktop/UDisks/devices/sdf2"                                                                                              
    [/usr/bin/nepomukservicestub] nepomukfilewatch(3506) Nepomuk::RemovableMediaCache::slotSolidDeviceRemoved: "/org/freedesktop/UDisks/devices/sdf2"                                                                                            
    [/usr/bin/nepomukservicestub] nepomukfilewatch(3506) Nepomuk::RemovableMediaCache::slotSolidDeviceRemoved: "/org/freedesktop/UDisks/devices/sdf1"                                                                                            
    [/usr/bin/nepomukservicestub] nepomukstorage(2964) Nepomuk::RemovableMediaCache::slotSolidDeviceRemoved: "/org/freedesktop/UDisks/devices/sdf1"                                                                                              
    [/usr/bin/nepomukservicestub] nepomukfilewatch(3506) Nepomuk::RemovableMediaCache::slotSolidDeviceRemoved: Found removable storage volume for Nepomuk undocking: "/org/freedesktop/UDisks/devices/sdf1"                                      
    [/usr/bin/nepomukservicestub] nepomukstorage(2964) Nepomuk::RemovableMediaCache::slotSolidDeviceRemoved: Found removable storage volume for Nepomuk undocking: "/org/freedesktop/UDisks/devices/sdf1"                                        
    [/usr/bin/nepomukservicestub] nepomukfilewatch(3506) Nepomuk::RemovableMediaCache::slotSolidDeviceRemoved: "/org/freedesktop/UDisks/devices/sdf"                                                                                             
    [/usr/bin/nepomukservicestub] nepomukstorage(2964) Nepomuk::RemovableMediaCache::slotSolidDeviceRemoved: "/org/freedesktop/UDisks/devices/sdf"                                                                                               
    [/usr/bin/nepomukservicestub] nepomukstorage(2964) Nepomuk::RemovableMediaCache::slotSolidDeviceAdded: "/org/freedesktop/UDisks/devices/sdf"                                                                                                 
    [/usr/bin/nepomukservicestub] nepomukfilewatch(3506) Nepomuk::RemovableMediaCache::slotSolidDeviceAdded: "/org/freedesktop/UDisks/devices/sdf"                                                                                               
    kded(2518)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:                                                                                                                                                                       
    [/usr/bin/nepomukservicestub] nepomukstorage(2964) Nepomuk::RemovableMediaCache::slotSolidDeviceAdded: "/org/freedesktop/UDisks/devices/sdf3"                                                                                                
    [/usr/bin/nepomukservicestub] nepomukfilewatch(3506) Nepomuk::RemovableMediaCache::slotSolidDeviceAdded: "/org/freedesktop/UDisks/devices/sdf3"
    kded(2518) AutomounterSettings::setDeviceLastSeenMounted: Marking "/org/freedesktop/UDisks/devices/sdf3" as lastSeenMounted: false
    kded(2518) DeviceAutomounter::automountDevice: Saving as "Data"
    kded(2518) AutomounterSettings::shouldAutomountDevice: Processing "/org/freedesktop/UDisks/devices/sdf3"
    kded(2518) AutomounterSettings::shouldAutomountDevice: type: 1
    kded(2518) AutomounterSettings::shouldAutomountDevice: typeCondition: true
    kded(2518) AutomounterSettings::shouldAutomountDevice: automountKnownDevices: true
    kded(2518) AutomounterSettings::shouldAutomountDevice: deviceIsKnown: false
    kded(2518) AutomounterSettings::shouldAutomountDevice: AutomountEnabled: false
    kded(2518) AutomounterSettings::shouldAutomountDevice: Automount: false
    kded(2518) AutomounterSettings::shouldAutomountDevice: LastSeenMounted: false
    kded(2518) AutomounterSettings::shouldAutomountDevice: ShouldAutomount: false
    kded(2518)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
    [/usr/bin/nepomukservicestub] nepomukstorage(2964) Nepomuk::RemovableMediaCache::createCacheEntry: Usable "/org/freedesktop/UDisks/devices/sdf3"
    plasma-desktop(2754)/plasma Notifier::DeviceNotifier::deviceAdded: DeviceNotifier:: source added "/org/freedesktop/UDisks/devices/sdf3"
    plasma-desktop(2754)/plasma Notifier::DeviceItem::setLeftAction: setting to 0
    kded(2518) AutomounterSettings::setDeviceLastSeenMounted: Marking "/org/freedesktop/UDisks/devices/sdf1" as lastSeenMounted: false
    [/usr/bin/nepomukservicestub] nepomukfilewatch(3506) Nepomuk::RemovableMediaCache::createCacheEntry: Usable "/org/freedesktop/UDisks/devices/sdf3"
    kded(2518) DeviceAutomounter::automountDevice: Saving as "Optware"
    kded(2518) AutomounterSettings::shouldAutomountDevice: Processing "/org/freedesktop/UDisks/devices/sdf1"
    kded(2518) AutomounterSettings::shouldAutomountDevice: type: 1
    kded(2518) AutomounterSettings::shouldAutomountDevice: typeCondition: true
    kded(2518) AutomounterSettings::shouldAutomountDevice: automountKnownDevices: true
    kded(2518) AutomounterSettings::shouldAutomountDevice: deviceIsKnown: true
    kded(2518) AutomounterSettings::shouldAutomountDevice: AutomountEnabled: false
    kded(2518) AutomounterSettings::shouldAutomountDevice: Automount: false
    kded(2518) AutomounterSettings::shouldAutomountDevice: LastSeenMounted: false
    kded(2518) AutomounterSettings::shouldAutomountDevice: ShouldAutomount: false
    kded(2518)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
    [/usr/bin/nepomukservicestub] nepomukstorage(2964) Nepomuk::RemovableMediaCache::slotSolidDeviceAdded: "/org/freedesktop/UDisks/devices/sdf1"
    krunner(2955)/kio (KDirListerCache) KDirListerCache::listDir: Entry already in use: KUrl("trash:/")
    krunner(2955)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x1fb6dd0)  url= KUrl("trash:/")
    kded(2518)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
    [/usr/bin/nepomukservicestub] nepomukfilewatch(3506) Nepomuk::RemovableMediaCache::slotSolidDeviceAdded: "/org/freedesktop/UDisks/devices/sdf1"
    [/usr/bin/nepomukservicestub] nepomukstorage(2964) Nepomuk::RemovableMediaCache::createCacheEntry: Usable "/org/freedesktop/UDisks/devices/sdf1"
    [/usr/bin/nepomukservicestub] nepomukfilewatch(3506) Nepomuk::RemovableMediaCache::createCacheEntry: Usable "/org/freedesktop/UDisks/devices/sdf1"
    [/usr/bin/nepomukservicestub] nepomukstorage(2964) Nepomuk::RemovableMediaCache::slotSolidDeviceAdded: "/org/freedesktop/UDisks/devices/sdf2"
    [/usr/bin/nepomukservicestub] nepomukfilewatch(3506) Nepomuk::RemovableMediaCache::slotSolidDeviceAdded: "/org/freedesktop/UDisks/devices/sdf2"
    krunner(2955)/kio (KDirListerCache) KDirListerCache::listDir: Entry already in use: KUrl("trash:/")
    krunner(2955)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x1ea3010)  url= KUrl("trash:/")
    plasma-desktop(2754)/plasma Notifier::DeviceItem::setLeftAction: setting to 1
    plasma-desktop(2754)/kio (KDirListerCache) KDirListerCache::listDir: Entry already in use: KUrl("trash:/")
    plasma-desktop(2754)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x1c72c40)  url= KUrl("trash:/")
    kwin(2703)/kdecore (KStartupInfo) KStartupInfo::Private::check_startup_internal: check_startup
    kwin(2703)/kdecore (KStartupInfo) KStartupInfo::Private::check_startup_internal: ignore
    kwin(2703) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 18446744071998815007
    kwin(2703) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 35651753 ;WMCLASS: "plasma-desktop" : "plasma-desktop" ;Caption: "plasma-desktop" ' : 18446744071998815007
    kwin(2703) KWin::Workspace::allowClientActivation: Activation, compared: 'ID: 35651753 ;WMCLASS: "plasma-desktop" : "plasma-desktop" ;Caption: "plasma-desktop" ' : 18446744071998815007 : 2584261332 : false
    kwin(2703) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
    kwin(2703) KWin::Workspace::updateClientArea: Done.
    knotify(2752) KNotify::event: 21  ref= 0
    kwin(2703) KWin::Workspace::allowClientActivation: Activation, compared: 'ID: 35651753 ;WMCLASS: "plasma-desktop" : "plasma-desktop" ;Caption: "plasma-desktop" ' : 18446744071998815007 : 2584261332 : false
    plasma-desktop(2754)/plasma Notifier::DeviceNotifier::deviceAdded: DeviceNotifier:: source added "/org/freedesktop/UDisks/devices/sdf1"
    plasma-desktop(2754)/plasma Notifier::DeviceItem::setLeftAction: setting to 0
    kwin(2703) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
    kwin(2703) KWin::Workspace::updateClientArea: Done.
    knotify(2752) KNotify::event: 22  ref= 0
    plasma-desktop(2754)/plasma Notifier::DeviceItem::setLeftAction: setting to 1
    plasma-desktop(2754)/kio (KDirListerCache) KDirListerCache::listDir: Entry already in use: KUrl("trash:/")
    plasma-desktop(2754)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x1f652c0)  url= KUrl("trash:/")
    kwin(2703)/kdecore (KStartupInfo) KStartupInfo::Private::check_startup_internal: check_startup
    kwin(2703)/kdecore (KStartupInfo) KStartupInfo::Private::check_startup_internal: ignore
    kwin(2703) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 18446744071998815007
    kwin(2703) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 35651753 ;WMCLASS: "plasma-desktop" : "plasma-desktop" ;Caption: "plasma-desktop" ' : 18446744071998815007
    kwin(2703) KWin::Workspace::allowClientActivation: Activation, compared: 'ID: 35651753 ;WMCLASS: "plasma-desktop" : "plasma-desktop" ;Caption: "plasma-desktop" ' : 18446744071998815007 : 2584261332 : false
    kwin(2703) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
    kwin(2703) KWin::Workspace::updateClientArea: Done.
    knotify(2752) KNotify::event: 23  ref= 0
    kwin(2703)/kdecore (KStartupInfo) KStartupInfo::Private::check_startup_internal: check_startup
    kwin(2703)/kdecore (KStartupInfo) KStartupInfo::Private::check_startup_internal: ignore
    plasma-desktop(2754)/KSharedDataCache KSharedDataCache::insert: Overwriting existing old cached entry due to collision.
    plasma-desktop(2754)/KSharedDataCache KSharedDataCache::insert: Overwriting existing old cached entry due to collision.
    knotify(2752) KNotify::event: 24  ref= 0
    Permissions for /media
    Code:
    andrew@server:/$ ls -l
    total 101
    drwxr-xr-x   2 root root  4096 2012-03-17 11:25 bin
    drwxr-xr-x   4 root root  1024 2012-04-04 23:11 boot
    drwxr-xr-x   2 root root  4096 2012-02-25 21:21 cdrom
    drwxr-xr-x  15 root root  4600 2012-04-10 10:18 dev
    drwxr-xr-x 149 root root 12288 2012-04-10 10:32 etc
    drwxr-xr-x   8 root root  4096 2012-04-06 21:32 home
    lrwxrwxrwx   1 root root    33 2012-04-04 23:10 initrd.img -> /boot/initrd.img-3.0.0-17-generic
    lrwxrwxrwx   1 root root    33 2012-02-26 00:24 initrd.img.old -> /boot/initrd.img-3.0.0-16-generic                     
    drwxr-xr-x  24 root root  4096 2012-04-01 14:49 lib
    drwxr-xr-x   4 root root 12288 2012-03-09 23:13 lib32
    drwxr-xr-x   2 root root  4096 2012-03-09 23:13 lib64
    drwx------   2 root root 16384 2012-02-25 21:14 lost+found
    drwxr-xr-x   5 root root  4096 2012-04-10 10:32 media
    drwxr-xr-x   3 root root  4096 2012-04-04 22:47 mnt
    drwxr-xr-x   3 root root  4096 2012-02-25 21:44 opt
    dr-xr-xr-x 260 root root     0 2012-04-09 22:26 proc
    drwx------  21 root root  4096 2012-04-09 21:59 root
    drwxr-xr-x  29 root root   980 2012-04-09 22:28 run
    drwxr-xr-x   2 root root  4096 2012-04-01 14:49 sbin
    drwxr-xr-x   2 root root  4096 2011-06-21 14:45 selinux
    drwxr-xr-x   6 root root  4096 2012-03-04 18:39 srv
    drwxr-xr-x  13 root root     0 2012-04-09 22:26 sys
    drwxrwxrwt  27 root root  4096 2012-04-10 10:39 tmp
    drwxr-xr-x  12 root root  4096 2012-02-25 21:46 usr
    drwxr-xr-x  15 root root  4096 2012-04-09 22:25 var
    lrwxrwxrwx   1 root root    29 2012-04-04 23:10 vmlinuz -> boot/vmlinuz-3.0.0-17-generic
    lrwxrwxrwx   1 root root    29 2012-02-26 00:24 vmlinuz.old -> boot/vmlinuz-3.0.0-16-generic
    andrew@server:/$ cd /media
    andrew@server:/media$ ls -l
    total 12
    drwxr-xr-x 19 root root 4096 2012-01-06 16:43 Optware
    drwxr-xr-x  4 root root 4096 2012-01-06 16:46 temp
    drwxr-xr-x  2 root root 4096 2012-04-09 21:19 test
    andrew@server:/media$
    The drive itself does mount if I manually mount it using the mount command, and the file system is intact as I can browse it when it its mounted. However, I can't mount it when I am a normal user and NOT root.

    Any help would be appreciated so I can use the Device Notifier (or Dolphin) to mount a USB Device so that I can browse it again.
Working...
X