Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481408 - kde-base/kdelibs-4.10.5-r1 fails to mount removable device with error: property "DeviceNumber" does not exist
Summary: kde-base/kdelibs-4.10.5-r1 fails to mount removable device with error: proper...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-17 05:03 UTC by Marco Clocchiatti
Modified: 2013-11-03 14:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
udev rules (80-udisks2.rules,1.42 KB, text/plain)
2013-08-20 13:22 UTC, Marco Clocchiatti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Clocchiatti 2013-08-17 05:03:12 UTC
mounting a removable with kde native system tool device I have this error in .xsession error:

kded(2114)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
"/org/freedesktop/UDisks2/drives/Generic_USB2_2e0_CRW_20100201396000000" : property "DeviceNumber" does not exist
"/org/freedesktop/UDisks2/drives/Generic_USB2_2e0_CRW_20100201396000000" : property "Device" does not exist

typing by hands the direct udiskctl command, instead, the device is correctly mounted:

cloc3@dell ~ $ udisksctl mount -b /dev/sdc1
==== AUTHENTICATING FOR org.freedesktop.udisks2.filesystem-mount ===
[Invalid UTF-8]
Authenticating as: root
Password:
==== AUTHENTICATION COMPLETE ===
Mounted /dev/sdc1 at /run/media/cloc3/disk.

Reproducible: Always




cloc3@dell ~ $ emerge --info
Portage 2.1.12.2 (default/linux/amd64/13.0, gcc-4.8.0, glibc-2.15-r3, 3.10.5-aufs-dell64 x86_64)
=================================================================
System uname: Linux-3.10.5-aufs-dell64-x86_64-Intel-R-_Core-TM-_i7-3537U_CPU_@_2.00GHz-with-gentoo-2.2
KiB Mem:     8035192 total,   6067192 free
KiB Swap:    8981504 total,   8981504 free
Timestamp of tree: Sun, 11 Aug 2013 22:30:01 +0000
ld ld di GNU (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5, 3.2.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3, 4.8.0
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo wiidea cloc3Ovl backbone localPortage aeskulap
Installed sets: @moduli
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=generic -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=generic -fomit-frame-pointer -pipe"
DISTDIR="/var/gentoo-var/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://mirrors.ludost.net/gentoo/ http://gentoo.mneisen.org/"
LANG="it_IT"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j11 -s"
PKGDIR="/var/gentoo-var/dellPkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp/ramtmp/.dell"
PORTDIR="/var/gentoo-var/portage"
PORTDIR_OVERLAY="/var/lib/layman/wiidea /var/lib/layman/cloc3Ovl /var/lib/layman/backbone /usr/local/portage /var/lib/layman/portage-aeskulap"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amd64 amrnb amrwb ao aotuv apache2 apng asf asyncns audiofile avi bash-completion berkdb bitmap-fonts bittorrent bjam bluetooth bogofilter branding browserplugin bzip2 bzlib cairo caps cdda cddb cdparanoia cdr chm chroot cli clutter conntrack coverage cpdflib cpudetection cracklib crypt cscope cspell cups cupsddk curl cxx dba dbus dconf dga dirac directfb divx djvu dlloader dmi dmx dri dv dvb dvd dvdr dvdread dvx4linux ebook eds emf enca encode epiphany esd exif expat fam fame fbcon ffmpeg flac flash fontconfig foomaticdb fortran fpx ftp g3dvl gcj gconf gd gdbm ggi ggvorbis gif gimp gles gles1 gles2 gmedia gmp gnome gphoto2 gps graphviz gs gsm gtk gtk3 gtkhtml hal hscolour htmlhandbook ibus iconv icu idn ieee1394 imagemagick imap imlib inkjar innodb inotify introspection iptc ipv6 jabber jack java javascript jbig jpeg jpeg2k kde keymap kipi ladspa lame lapack lcms ldap lensfun libass libcaca libkms libnotify libsamplerate libwww libxml2 live lm_sensors lzma lzo mad md5sum memlimit mikmod mime mjpeg mmap mmx mmxext mng modplug modules motif mozilla mp3 mpeg mplayer mssql mudflap multilib multimedia musepack musicbrainz mysql mythtv nautilus ncurses netlink network networkmanager newspr nls npp nptl nptlonly nsplugin ntlm nuv ocr ogg openexr opengl openmp oss pam pam_timestamp pango pascal pcmcia pcre pdf perl phonon php plotutils png policykit portaudio posix postscript ppds prison pulseaudio pvr pwdb python qalculate qt qt3support qt4 quicktime raop rar readline real remoteosd rle rtc rtmp rtsp samba sasl scanner schroedinger sdl semantic-desktop sendto session slang smp sndfile snmp sox speex spell sqlite sse sse2 sse3 ssl ssse3 stream svg sysfs system-sqlite systemd taglib tcl tcltk tcmalloc tcpd tetex tftp tga theora threads thumbnail tidy tiff tk tokenizer tools trace tracker tslib twolame type1-fonts udev unicode urandom usb userlocales utempter utils v4l v4l2 vaapi vala vamp vcd vcdinfo vcdx vdpau vdr vim-pager vim-syntax vnc vorbis vpx wavpack wayland webkit webp wifi win32codecs wmf wmp x264 xanim xattr xcb xcomposite xine xinerama xinetd xml xml2 xmlreader xmltv xmlwriter xmms xmp xnest xorg xosd xpm xslt xv xvid xvmc zlib zoran zvbi" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vidix vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev void synaptics tslib" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver scripting-javascript wiki-publisher" LINGUAS="it en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Marco Clocchiatti 2013-08-17 05:07:23 UTC
cloc3@dell ~ $ udisksctl info -b /dev/sdc1
/org/freedesktop/UDisks2/block_devices/sdc1:
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/sdc1
    DeviceNumber:               2081
    Drive:                      '/org/freedesktop/UDisks2/drives/Generic_USB2_2e0_CRW_20100201396000000'
    HintAuto:                   true
    HintIconName:
    HintIgnore:                 false
    HintName:
    HintPartitionable:          true
    HintSymbolicIconName:
    HintSystem:                 false
    Id:
    IdLabel:
    IdType:                     vfat
    IdUUID:
    IdUsage:                    filesystem
    IdVersion:                  FAT16
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/sdc1
    ReadOnly:                   false
    Size:                       128400896
    Symlinks:                   /dev/disk/by-id/usb-Generic_USB2.0-CRW_20100201396000000-part1
                                /dev/disk/by-path/pci-0000:00:1a.0-usb-0:1.3:1.0-scsi-0:0:0:0-part1
  org.freedesktop.UDisks2.Filesystem:
    MountPoints:
  org.freedesktop.UDisks2.Partition:
    Flags:              0
    IsContained:        false
    IsContainer:        false
    Name:
    Number:             1
    Offset:             49664
    Size:               128400896
    Table:              '/org/freedesktop/UDisks2/block_devices/sdc'
    Type:               0x06
Comment 2 Marco Clocchiatti 2013-08-20 13:22:05 UTC
Created attachment 356486 [details]
udev rules

these udev rules solved the problem for me.

instead, /lib64/udev/rules.d/80-udisks2.rules is not working for me.
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2013-11-03 13:42:50 UTC
(In reply to Marco Clocchiatti from comment #2)
> Created attachment 356486 [details]
> udev rules
> 
> these udev rules solved the problem for me.
> 
> instead, /lib64/udev/rules.d/80-udisks2.rules is not working for me.

These rules are provided by sys-fs/udisks, so adding package maintainer for more info.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-11-03 14:22:26 UTC
(In reply to Johannes Huber from comment #3)
> (In reply to Marco Clocchiatti from comment #2)
> > Created attachment 356486 [details]
> > udev rules
> > 
> > these udev rules solved the problem for me.
> > 
> > instead, /lib64/udev/rules.d/80-udisks2.rules is not working for me.
> 
> These rules are provided by sys-fs/udisks, so adding package maintainer for
> more info.

He just said plain UDisks2 (from commandline, using `udisksctl`) works fine in Comment #0 and the problem only manifests itself in KDE
I'm not familiar with KDE nor I'm going to install one just to test this bug, sorry
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2013-11-03 14:28:36 UTC
Just by googling around 'property Device does not exist' or 'property DeviceNumber does not exist' reveal them all to be user specific configuration problems, like eg. https://bugs.kde.org/show_bug.cgi?id=315065
Some have had improper device-mapper config files, some have had .iso "dd"ed to the disk and then emptied and using it without properly formatting it, and so forth
Anyways, KDE forums or such is propably more proper place than the gentoo bugzilla...
Comment 6 Johannes Huber (RETIRED) gentoo-dev 2013-11-03 14:32:38 UTC
Closing then.