Storage probing problem

S.Çağlar Onur caglar at pardus.org.tr
Wed Sep 27 03:23:45 PDT 2006


Hi;

For some of our users partitions are not probed by hal, so KDE can't find 
these and mount/unmount etc. are not working properly with hal-0.5.8.1 on 
Pardus. A sample bug report info reported to us is followed. 

I can't find why these partitions are seems parentless and ignored. Any idea 
or suggestion?

# fdisk -l

Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        1275    10241406    7  HPFS/NTFS
/dev/hda2            1276        7295    48355650    f  W95 Ext'd (LBA)
/dev/hda5   *        1276        2295     8193118+  83  Linux
/dev/hda6            2296        2422     1020096   82  Linux swap / Solaris
/dev/hda7            2423        3442     8193118+  83  Linux
/dev/hda8            3443        4172     5863693+  83  Linux
/dev/hda9            4173        7295    25085466   83  Linux


12:58:25.991 [I] hald.c:118: Started addon hald-addon-storage for 
udi /org/freedesktop/Hal/devices/storage_serial_Y34E302152
12:58:25.991 [I] hotplug.c:174: /sys/block/hda is a block device (subsystem)
12:58:25.992 [I] blockdev.c:637: block_add: sysfs_path=/sys/block/hda 
dev=/dev/hda is_part=0, parent=0x080a4580
12:58:25.992 [I] blockdev.c:951: parent_bus is ide
12:58:25.993 [I] blockdev.c:467: Probing storage device /dev/hda
Run started hald-probe-storage (10000) (0)
!  full path is '/usr/libexec/hald-probe-storage', program_dir 
is '/usr/libexec'
[4267]: 12:58:25.998 [D] probe-storage.c:153: Doing probe-storage for /dev/hda 
(bus ide) (drive_type disk) (udi=/org/freedesktop/Hal/devices/temp/103) 
(--only-check-for-fs==0)
[4267]: 12:58:26.006 [D] probe-storage.c:365: Checking for file system 
on /dev/hda
[4267]: 12:58:26.006 [D] probe-storage.c:371: Doing open ("/dev/hda", 
O_RDONLY)
[4267]: 12:58:26.007 [D] probe-storage.c:379: Returned from open(2)
[4267]: 12:58:26.007 [D] probe-storage.c:395: look for existing partitions for 
hda
[4267]: 12:58:26.007 [D] probe-storage.c:405: partition hda9 found, skip 
probing for filesystem
[4267]: 12:58:26.007 [I] partutil.c:431: No MSDOS_MAGIC found
[4267]: 12:58:26.007 [I] partutil.c:858: MSDOS partition table detected
Warning: Error while wite r->input () to stdin_v.
/usr/libexec/hald-probe-storage exited
12:58:26.008 [I] hald_dbus.c:3968: Client to local_server was disconnected
12:58:26.009 [I] hald_dbus.c:4005: unregistered
12:58:26.009 [I] hald_dbus.c:4017: 4226: Got a connection
12:58:26.009 [I] hald_dbus.c:4018: dbus_connection_get_is_connected = 1
12:58:26.009 [I] hald_dbus.c:4017: 4226: Got a connection
12:58:26.010 [I] hald_dbus.c:4018: dbus_connection_get_is_connected = 1
12:58:26.010 [I] blockdev.c:352: entering; exit_type=2, return_code=0
12:58:26.010 [I] hotplug.c:174: /sys/block/hda/hda9 is a block device 
(subsystem)
12:58:26.011 [E] util.c:170: Cannot open '/sys/block/hda/hda9/range'
12:58:26.011 [I] blockdev.c:637: block_add: sysfs_path=/sys/block/hda/hda9 
dev=/dev/hda9 is_part=1, parent=0x00000000
12:58:26.011 [I] blockdev.c:739: Ignoring hotplug event - no parent
12:58:26.013 [W] blockdev.c:1151: Not adding device object
12:58:26.013 [I] hotplug.c:174: /sys/block/hda/hda8 is a block device 
(subsystem)
12:58:26.013 [E] util.c:170: Cannot open '/sys/block/hda/hda8/range'
12:58:26.014 [I] blockdev.c:637: block_add: sysfs_path=/sys/block/hda/hda8 
dev=/dev/hda8 is_part=1, parent=0x00000000
12:58:26.014 [I] blockdev.c:739: Ignoring hotplug event - no parent
12:58:26.014 [W] blockdev.c:1151: Not adding device object
12:58:26.015 [I] hotplug.c:174: /sys/block/hda/hda7 is a block device 
(subsystem)
12:58:26.015 [E] util.c:170: Cannot open '/sys/block/hda/hda7/range'
12:58:26.015 [I] blockdev.c:637: block_add: sysfs_path=/sys/block/hda/hda7 
dev=/dev/hda7 is_part=1, parent=0x00000000
12:58:26.016 [I] blockdev.c:739: Ignoring hotplug event - no parent
12:58:26.016 [W] blockdev.c:1151: Not adding device object
12:58:26.016 [I] hotplug.c:174: /sys/block/hda/hda6 is a block device 
(subsystem)
12:58:26.017 [E] util.c:170: Cannot open '/sys/block/hda/hda6/range'
12:58:26.017 [I] blockdev.c:637: block_add: sysfs_path=/sys/block/hda/hda6 
dev=/dev/hda6 is_part=1, parent=0x00000000
12:58:26.017 [I] blockdev.c:739: Ignoring hotplug event - no parent
12:58:26.017 [W] blockdev.c:1151: Not adding device object
12:58:26.018 [I] hotplug.c:174: /sys/block/hda/hda5 is a block device 
(subsystem)
12:58:26.018 [E] util.c:170: Cannot open '/sys/block/hda/hda5/range'
12:58:26.019 [I] blockdev.c:637: block_add: sysfs_path=/sys/block/hda/hda5 
dev=/dev/hda5 is_part=1, parent=0x00000000
12:58:26.019 [I] blockdev.c:739: Ignoring hotplug event - no parent
12:58:26.019 [W] blockdev.c:1151: Not adding device object
12:58:26.021 [I] hotplug.c:174: /sys/block/hda/hda2 is a block device 
(subsystem)
12:58:26.021 [E] util.c:170: Cannot open '/sys/block/hda/hda2/range'
12:58:26.021 [I] blockdev.c:637: block_add: sysfs_path=/sys/block/hda/hda2 
dev=/dev/hda2 is_part=1, parent=0x00000000
12:58:26.022 [I] blockdev.c:739: Ignoring hotplug event - no parent
12:58:26.022 [W] blockdev.c:1151: Not adding device object
12:58:26.022 [I] hotplug.c:174: /sys/block/hda/hda1 is a block device 
(subsystem)
12:58:26.023 [E] util.c:170: Cannot open '/sys/block/hda/hda1/range'
12:58:26.023 [I] blockdev.c:637: block_add: sysfs_path=/sys/block/hda/hda1 
dev=/dev/hda1 is_part=1, parent=0x00000000
12:58:26.023 [I] blockdev.c:739: Ignoring hotplug event - no parent
12:58:26.024 [W] blockdev.c:1151: Not adding device object


Cheers
-- 
S.Çağlar Onur <caglar at pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060927/46f37d20/attachment-0001.pgp


More information about the hal mailing list