Bug 51221 - udisks respond 'Cannot find device with major:minor 8:1: No such device'
Summary: udisks respond 'Cannot find device with major:minor 8:1: No such device'
Status: RESOLVED NOTOURBUG
Alias: None
Product: udisks
Classification: Unclassified
Component: operations (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-18 23:47 UTC by Vadim
Modified: 2012-06-20 12:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
File contains necessary recommended includes for udisks bugs information (116.46 KB, text/plain)
2012-06-20 03:54 UTC, Vadim
Details

Description Vadim 2012-06-18 23:47:45 UTC
udisks respond 'Cannot find device with major:minor 8:1: No such device' to "--mount" or "show-info" request for "/dev/sda1" hard disk partition or any HD partitions and removable devices. Also "udisksctl info -b /dev/sda1" respond 'Error looking up object for device /dev/sda1', but /dev/sd* block devices are present and 'sudo mount /dev/sda1 /mnt/hdpart' excuted successfully.
Comment 1 David Zeuthen (not reading bugmail) 2012-06-19 06:46:41 UTC
Interesting. Please attach the information requested on this page

http://www.freedesktop.org/wiki/Software/udisks
Comment 2 Vadim 2012-06-20 03:54:07 UTC
Created attachment 63258 [details]
File contains necessary recommended includes for udisks bugs information
Comment 3 David Zeuthen (not reading bugmail) 2012-06-20 04:01:17 UTC
(In reply to comment #2)
> Created attachment 63258 [details]
> File contains necessary recommended includes for udisks bugs information

So, there's this

 /org/freedesktop/UDisks2/block_devices/sda1:
   org.freedesktop.UDisks2.Block:
 [...]
     IdLabel:                    
     IdType:                     
     IdUUID:                     
     IdUsage:                    
     IdVersion:                  

and this

 N: sda1
 [...]
 E: ID_FS_TYPE=reiserfs
 E: ID_FS_USAGE=filesystem
 E: ID_FS_UUID=622b091e-48c6-4798-8947-1c7331c9abc4
 E: ID_FS_UUID_ENC=622b091e-48c6-4798-8947-1c7331c9abc4
 E: ID_FS_VERSION=3.6

that is inconsistent. My guess is that the the udev db was empty when udisksd was started and then you restarted udev.

Does restarting udisksd work?
Comment 4 Vadim 2012-06-20 04:08:59 UTC
Comment on attachment 63258 [details]
File contains necessary recommended includes for udisks bugs information

$ sudo /usr/lib/udisks2/udisksd -r
14:03:22.891:[1994]:[NOTICE]: udisks daemon version 1.94.0 starting [main.c:146, main()]
14:03:22.900:[1994]:[DEBUG]: Entering main event loop [main.c:171, main()]
14:03:22.921:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.924:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.926:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.928:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda3 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.929:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda4 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.930:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda5 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.932:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda6 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.933:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda7 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.934:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.0/host6/target6:0:0/6:0:0:0/block/sdb [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.936:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.937:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:12.0/usb3/3-1/3-1:1.3/host5/target5:0:0/5:0:0:0/block/sr0 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.938:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.939:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.939:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.940:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda3 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.941:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda4 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.941:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda5 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.942:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda6 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.943:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda7 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.943:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.0/host6/target6:0:0/6:0:0:0/block/sdb [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.944:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.944:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:12.0/usb3/3-1/3-1:1.3/host5/target5:0:0/5:0:0:0/block/sr0 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.945:[1996]:[INFO]: Housekeeping initiated (0 seconds since last housekeeping) [udiskslinuxprovider.c:608, housekeeping_thread_func()]
14:03:22.945:[1996]:[INFO]: Housekeeping complete [udiskslinuxprovider.c:612, housekeeping_thread_func()]
14:03:22.948:[1994]:[DEBUG]: Connected to the system bus [main.c:53, on_bus_acquired()]
14:03:22.952:[1994]:[NOTICE]: Acquired the name org.freedesktop.UDisks2 on the system message bus [main.c:77, on_name_acquired()]
14:03:22.952:[1998]:[INFO]: Entering cleanup thread [udiskscleanup.c:288, udisks_cleanup_thread_func()]
14:03:22.952:[1998]:[INFO]: Cleanup check start [udiskscleanup.c:401, udisks_cleanup_check_in_thread()]
14:03:22.956:[1998]:[INFO]: Cleanup check end [udiskscleanup.c:431, udisks_cleanup_check_in_thread()]

...and still I have:
"$ udisks --show-info /dev/sda1
Cannot find device with major:minor 8:1: No such device"
Comment 5 Vadim 2012-06-20 04:13:01 UTC
Comment on attachment 63258 [details]
File contains necessary recommended includes for udisks bugs information

$ sudo /usr/lib/udisks2/udisksd -r
14:03:22.891:[1994]:[NOTICE]: udisks daemon version 1.94.0 starting [main.c:146, main()]
14:03:22.900:[1994]:[DEBUG]: Entering main event loop [main.c:171, main()]
14:03:22.921:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.924:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.926:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.928:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda3 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.929:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda4 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.930:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda5 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.932:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda6 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.933:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda7 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.934:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.0/host6/target6:0:0/6:0:0:0/block/sdb [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.936:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.937:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:12.0/usb3/3-1/3-1:1.3/host5/target5:0:0/5:0:0:0/block/sr0 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.938:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.939:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.939:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.940:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda3 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.941:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda4 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.941:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda5 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.942:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda6 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.943:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda7 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.943:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.0/host6/target6:0:0/6:0:0:0/block/sdb [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.944:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.944:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:12.0/usb3/3-1/3-1:1.3/host5/target5:0:0/5:0:0:0/block/sr0 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.945:[1996]:[INFO]: Housekeeping initiated (0 seconds since last housekeeping) [udiskslinuxprovider.c:608, housekeeping_thread_func()]
14:03:22.945:[1996]:[INFO]: Housekeeping complete [udiskslinuxprovider.c:612, housekeeping_thread_func()]
14:03:22.948:[1994]:[DEBUG]: Connected to the system bus [main.c:53, on_bus_acquired()]
14:03:22.952:[1994]:[NOTICE]: Acquired the name org.freedesktop.UDisks2 on the system message bus [main.c:77, on_name_acquired()]
14:03:22.952:[1998]:[INFO]: Entering cleanup thread [udiskscleanup.c:288, udisks_cleanup_thread_func()]
14:03:22.952:[1998]:[INFO]: Cleanup check start [udiskscleanup.c:401, udisks_cleanup_check_in_thread()]
14:03:22.956:[1998]:[INFO]: Cleanup check end [udiskscleanup.c:431, udisks_cleanup_check_in_thread()]

...and still I have:
"$ udisks --show-info /dev/sda1
Cannot find device with major:minor 8:1: No such device"
Comment 6 David Zeuthen (not reading bugmail) 2012-06-20 04:22:22 UTC
OK, the GLib-CRITICAL is probably why it's failing. Let's figure out why. Try running (as root)

 # G_DEBUG=fatal-criticals gdb --args /usr/lib/udisks2/udisksd --replace

and then type run and when the debugger breaks, type 'bt' and paste that into this bug report.

Before doing this, please also install the debug packages for your distro (if applicable).
Comment 7 Vadim 2012-06-20 04:45:48 UTC
Comment on attachment 63258 [details]
File contains necessary recommended includes for udisks bugs information

$ sudo /usr/lib/udisks2/udisksd -r
14:03:22.891:[1994]:[NOTICE]: udisks daemon version 1.94.0 starting [main.c:146, main()]
14:03:22.900:[1994]:[DEBUG]: Entering main event loop [main.c:171, main()]
14:03:22.921:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.924:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.926:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.928:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda3 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.929:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda4 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.930:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda5 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.932:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda6 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.933:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda7 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.934:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.0/host6/target6:0:0/6:0:0:0/block/sdb [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.936:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.937:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:12.0/usb3/3-1/3-1:1.3/host5/target5:0:0/5:0:0:0/block/sr0 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.938:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.939:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.939:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.940:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda3 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.941:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda4 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.941:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda5 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.942:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda6 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.943:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda7 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.943:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.0/host6/target6:0:0/6:0:0:0/block/sdb [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.944:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.944:[1994]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:12.0/usb3/3-1/3-1:1.3/host5/target5:0:0/5:0:0:0/block/sr0 [udiskslinuxprovider.c:541, udisks_linux_provider_handle_uevent()]

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

(udisksd:1994): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
14:03:22.945:[1996]:[INFO]: Housekeeping initiated (0 seconds since last housekeeping) [udiskslinuxprovider.c:608, housekeeping_thread_func()]
14:03:22.945:[1996]:[INFO]: Housekeeping complete [udiskslinuxprovider.c:612, housekeeping_thread_func()]
14:03:22.948:[1994]:[DEBUG]: Connected to the system bus [main.c:53, on_bus_acquired()]
14:03:22.952:[1994]:[NOTICE]: Acquired the name org.freedesktop.UDisks2 on the system message bus [main.c:77, on_name_acquired()]
14:03:22.952:[1998]:[INFO]: Entering cleanup thread [udiskscleanup.c:288, udisks_cleanup_thread_func()]
14:03:22.952:[1998]:[INFO]: Cleanup check start [udiskscleanup.c:401, udisks_cleanup_check_in_thread()]
14:03:22.956:[1998]:[INFO]: Cleanup check end [udiskscleanup.c:431, udisks_cleanup_check_in_thread()]

...and still I have:
"$ udisks --show-info /dev/sda1
Cannot find device with major:minor 8:1: No such device"
Comment 8 Vadim 2012-06-20 05:21:11 UTC
(In reply to comment #6)
> OK, the GLib-CRITICAL is probably why it's failing. Let's figure out why. Try
> running (as root)
> 
>  # G_DEBUG=fatal-criticals gdb --args /usr/lib/udisks2/udisksd --replace
> 
> and then type run and when the debugger breaks, type 'bt' and paste that into
> this bug report.
> 
> Before doing this, please also install the debug packages for your distro (if
> applicable).

(gdb) bt
#0  0xb7cf50a9 in g_logv () from /usr/lib/libglib-2.0.so.0
#1  0xb7cf51d3 in g_log () from /usr/lib/libglib-2.0.so.0
#2  0xb7cf521d in g_return_if_fail_warning () from /usr/lib/libglib-2.0.so.0
#3  0xb7d0c55a in g_str_has_prefix () from /usr/lib/libglib-2.0.so.0
#4  0x08059f51 in ?? ()
#5  0x08054ee4 in ?? ()
#6  0x08054b2a in ?? ()
#7  0x080559fe in ?? ()
#8  0x08055c04 in ?? ()
#9  0xb7db4102 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#10 0xb7db44aa in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#11 0xb7db46f0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#12 0x080556bf in ?? ()
#13 0x080538b0 in ?? ()
#14 0x08053a74 in ?? ()
#15 0x0805410d in ?? ()
#16 0x080531ee in ?? ()
#17 0x0805181d in ?? ()
#18 0xb7db4102 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#19 0xb7db44aa in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#20 0xb7db46f0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#21 0x08051b5d in ?? ()
#22 0x0805119f in ?? ()
---Type <return> to continue, or q <return> to quit---
#23 0xb7eb6e64 in ?? () from /usr/lib/libgio-2.0.so.0
#24 0xb7e54f95 in g_simple_async_result_complete ()
   from /usr/lib/libgio-2.0.so.0
#25 0xb7e550bb in ?? () from /usr/lib/libgio-2.0.so.0
#26 0xb7ceb230 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb7ced753 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb7cedaf0 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0xb7cedf4b in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#30 0x08050e7b in ?? ()
#31 0xb7b043d5 in __libc_start_main () from /lib/libc.so.6
#32 0x08050fc5 in ?? ()
(gdb)
Comment 9 David Zeuthen (not reading bugmail) 2012-06-20 06:36:20 UTC
(In reply to comment #8)
> (In reply to comment #6)
> > OK, the GLib-CRITICAL is probably why it's failing. Let's figure out why. Try
> > running (as root)
> > 
> >  # G_DEBUG=fatal-criticals gdb --args /usr/lib/udisks2/udisksd --replace
> > 
> > and then type run and when the debugger breaks, type 'bt' and paste that into
> > this bug report.
> > 
> > Before doing this, please also install the debug packages for your distro (if
> > applicable).
> 
> (gdb) bt
> #0  0xb7cf50a9 in g_logv () from /usr/lib/libglib-2.0.so.0
> #1  0xb7cf51d3 in g_log () from /usr/lib/libglib-2.0.so.0
> #2  0xb7cf521d in g_return_if_fail_warning () from /usr/lib/libglib-2.0.so.0
> #3  0xb7d0c55a in g_str_has_prefix () from /usr/lib/libglib-2.0.so.0
> #4  0x08059f51 in ?? ()
> #5  0x08054ee4 in ?? ()
> #6  0x08054b2a in ?? ()
> #7  0x080559fe in ?? ()
> #8  0x08055c04 in ?? ()

Sorry but this backtrace is useless. Please install the debuginfo packages for udisks from your distro and try again.
Comment 10 Vadim 2012-06-20 10:24:48 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > (In reply to comment #6)
> > > OK, the GLib-CRITICAL is probably why it's failing. Let's figure out why. Try
> > > running (as root)
> > > 
> > >  # G_DEBUG=fatal-criticals gdb --args /usr/lib/udisks2/udisksd --replace
> > > 
> > > and then type run and when the debugger breaks, type 'bt' and paste that into
> > > this bug report.
> > > 
> > > Before doing this, please also install the debug packages for your distro (if
> > > applicable).
> > 
> > (gdb) bt
> > #0  0xb7cf50a9 in g_logv () from /usr/lib/libglib-2.0.so.0
> > #1  0xb7cf51d3 in g_log () from /usr/lib/libglib-2.0.so.0
> > #2  0xb7cf521d in g_return_if_fail_warning () from /usr/lib/libglib-2.0.so.0
> > #3  0xb7d0c55a in g_str_has_prefix () from /usr/lib/libglib-2.0.so.0
> > #4  0x08059f51 in ?? ()
> > #5  0x08054ee4 in ?? ()
> > #6  0x08054b2a in ?? ()
> > #7  0x080559fe in ?? ()
> > #8  0x08055c04 in ?? ()
> 
> Sorry but this backtrace is useless. Please install the debuginfo packages for
> udisks from your distro and try again.

Hmm...Archlinux distro haven`t this package.. Are anywhere sources?
Comment 11 David Zeuthen (not reading bugmail) 2012-06-20 11:26:38 UTC
(In reply to comment #10)
> Hmm...Archlinux distro haven`t this package.. Are anywhere sources?

https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces
Comment 12 Vadim 2012-06-20 11:45:00 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > (In reply to comment #6)
> > > OK, the GLib-CRITICAL is probably why it's failing. Let's figure out why. Try
> > > running (as root)
> > > 
> > >  # G_DEBUG=fatal-criticals gdb --args /usr/lib/udisks2/udisksd --replace
> > > 
> > > and then type run and when the debugger breaks, type 'bt' and paste that into
> > > this bug report.
> > > 
> > > Before doing this, please also install the debug packages for your distro (if
> > > applicable).
> > 
> > (gdb) bt
> > #0  0xb7cf50a9 in g_logv () from /usr/lib/libglib-2.0.so.0
> > #1  0xb7cf51d3 in g_log () from /usr/lib/libglib-2.0.so.0
> > #2  0xb7cf521d in g_return_if_fail_warning () from /usr/lib/libglib-2.0.so.0
> > #3  0xb7d0c55a in g_str_has_prefix () from /usr/lib/libglib-2.0.so.0
> > #4  0x08059f51 in ?? ()
> > #5  0x08054ee4 in ?? ()
> > #6  0x08054b2a in ?? ()
> > #7  0x080559fe in ?? ()
> > #8  0x08055c04 in ?? ()
> 
> Sorry but this backtrace is useless. Please install the debuginfo packages for
> udisks from your distro and try again.

(gdb) bt
#0  0xb7cf90a9 in g_logv () from /usr/lib/libglib-2.0.so.0
#1  0xb7cf91d3 in g_log () from /usr/lib/libglib-2.0.so.0
#2  0xb7cf921d in g_return_if_fail_warning () from /usr/lib/libglib-2.0.so.0
#3  0xb7d1055a in g_str_has_prefix () from /usr/lib/libglib-2.0.so.0
#4  0x08059ed1 in udisks_linux_block_update (block=0xb6803a50, 
    object=object@entry=0xb6803a00) at udiskslinuxblock.c:708
#5  0x08054d0b in block_device_update (object=object@entry=0xb6803a00, 
    uevent_action=uevent_action@entry=0x8073f2b "add", _iface=0xb6803a50)
    at udiskslinuxblockobject.c:409
#6  0x080546c0 in update_iface (object=object@entry=0xb6803a00, 
    uevent_action=uevent_action@entry=0x8073f2b "add", has_func=has_func@entry=
    0x8054422 <block_device_check>, connect_func=connect_func@entry=
    0x8054428 <block_device_connect>, update_func=update_func@entry=
    0x8054cd7 <block_device_update>, skeleton_type=134970064, 
    _interface_pointer=_interface_pointer@entry=0xb6803a20)
    at udiskslinuxblockobject.c:383
#7  0x0805551a in udisks_linux_block_object_uevent (object=object@entry=
    0xb6803a00, action=action@entry=0x8073f2b "add", device=device@entry=0x0)
    at udiskslinuxblockobject.c:738
#8  0x0805571a in udisks_linux_block_object_constructed (_object=0xb6803a00)
    at udiskslinuxblockobject.c:219
#9  0xb7db8102 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#10 0xb7db84aa in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#11 0xb7db86f0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#12 0x080551f2 in udisks_linux_block_object_new (daemon=daemon@entry=
    0x80a3d20, device=device@entry=0x80a7050) at udiskslinuxblockobject.c:291
#13 0x08053577 in handle_block_uevent_for_block (provider=provider@entry=
    0xb6803960, action=action@entry=0x8073f2b "add", device=device@entry=
    0x80a7050) at udiskslinuxprovider.c:479
#14 0x080536c7 in handle_block_uevent (device=0x80a7050, action=
    0x8073f2b "add", provider=0xb6803960) at udiskslinuxprovider.c:518
#15 udisks_linux_provider_handle_uevent (provider=provider@entry=0xb6803960, 
    action=action@entry=0x8073f2b "add", device=0x80a7050)
    at udiskslinuxprovider.c:546
#16 0x08053ce5 in udisks_linux_provider_start (_provider=0xb6803960)
    at udiskslinuxprovider.c:243
#17 0x08052ec0 in udisks_provider_start (provider=0xb6803960)
    at udisksprovider.c:184
#18 0x08051740 in udisks_daemon_constructed (object=0x80a3d20)
    at udisksdaemon.c:236
#19 0xb7db8102 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#20 0xb7db84aa in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#21 0xb7db86f0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#22 0x08051948 in udisks_daemon_new (connection=connection@entry=0x80a7800)
    at udisksdaemon.c:319
#23 0x08050d1e in on_bus_acquired (connection=0x80a7800, name=
---Type <return> to continue, or q <return> to quit---
    0x80a44e0 "org.freedesktop.UDisks2", user_data=0x0) at main.c:52
#24 0xb7ebae64 in ?? () from /usr/lib/libgio-2.0.so.0
#25 0xb7e58f95 in g_simple_async_result_complete ()
   from /usr/lib/libgio-2.0.so.0
#26 0xb7e590bb in ?? () from /usr/lib/libgio-2.0.so.0
#27 0xb7cef230 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0xb7cf1753 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb7cf1af0 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0xb7cf1f4b in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#31 0x08050fc4 in main (argc=1, argv=0xbffffd04) at main.c:173
(gdb)
Comment 13 David Zeuthen (not reading bugmail) 2012-06-20 11:53:20 UTC
What version is this? 1.94.0?
Comment 14 Vadim 2012-06-20 11:54:47 UTC
(In reply to comment #13)
> What version is this? 1.94.0?

Yes.
Comment 15 David Zeuthen (not reading bugmail) 2012-06-20 12:01:50 UTC
> #4  0x08059ed1 in udisks_linux_block_update (block=0xb6803a50, 
>    object=object@entry=0xb6803a00) at udiskslinuxblock.c:708

This line is:

http://cgit.freedesktop.org/udisks/tree/src/udiskslinuxblock.c?id=1.94.0#n708

e.g.

  if (g_str_has_prefix (device_file, "/dev/dm-"))

where earlier

  device_file = g_udev_device_get_device_file (device);

So... based on this and comment 3, it looks like there is something wrong with your udev/systemd installation since there are no properties (comment 3) and the device file is not set (from backtrace in comment 12). Curiously the udev tools get it right, though. I don't know how to help you with this, suggest to talk to your distribution vendor about it since udev/systemd is pretty low-level stuff that some OSes like to tweak. Good luck!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.