Problem while automounting the usb devices through hal daemon

Deepak Katagade deepak.ckm at gmail.com
Mon Nov 13 21:24:10 PST 2006


Hi all,
   I am using montavista linux 2.6.10 for my arm board.The kernel
doesn't contain the hal daemon and also dbus utilities so i cross
compiled the hal-0.4.7 and dbus-0.22 and installed it.when I plugged
the usb stick the following messages are coming .

***************************** messages
*************************************************


19:04:53.653 [I] hald.c:394: hal 0.4.7
19:04:53.662 [I] hald.c:398: Will not daemonize
19:04:53.732 [I] linux/osspec.c:219: Mountpoint for sysfs is /sys
19:04:53.738 [W] linux/common.c:861: Error opening sysfs directory at
/sys/bus/pci/drivers

19:04:54.347 [I] linux/osspec.c:1544:
******************************************19:04:54.352 [I]
linux/osspec.c:1545: **** hotplug_counter is now 1
19:04:54.356 [I] linux/osspec.c:1546:
******************************************19:04:54.386 [I
19:04:54.386 [I] device_info.c:1160: scan_fdi_files: Processing file
'6in1-card-reader.fdi'
19:04:54.396 [I] device_info.c:1160: scan_fdi_files: Processing file
'ide-drives.fdi'
19:04:54.406 [I] device_info.c:1160: scan_fdi_files: Processing file
'jetflash-mp3-player.fdi'
19:04:54.416 [I] device_info.c:1160: scan_fdi_files: Processing file
'lexar-media-cf-reader.fdi'
19:04:54.424 [I] device_info.c:1160: scan_fdi_files: Processing file
'lucent-pcmcia-wireless.fdi'
19:04:54.434 [I] device_info.c:1160: scan_fdi_files: Processing file
'sony_dsc.fdi'


04:54.486 [I] device_info.c:1163: *** Matched file
/usr/local/share/hal/fdi/90defaultpolicy/storage-policy.fdi
19:04:54.585 [I] callout.c:318: Invoking
/usr/local/etc/hal/device.d/50-fstab-sync.hal
19:04:54.664 [I] callout.c:330: Child pid 793 for 50-fstab-sync.hal
793: ###################################
793: fstab-sync entering; add udi=/org/freedesktop/Hal/devices/computer
793: Acquiring advisory lock on /etc/fstab
793: Lock acquired
793: mount_root='/media'
793: use_managed=1
793: managed primary='managed'
793: managed secondary='kudzu'
793: using temporary file '/etc/.fstab.hal.N'
793: Seeing if line for dev='/proc',mnt='/proc' should be removed

3: fstab-sync exiting; add udi=/org/freedesktop/Hal/devices/computer
793: ###################################

19:04:55.041 [I] callout.c:173: Child pid 793 terminated
19:04:55.044 [I] hald.c:81: Added device to GDL;
udi=/org/freedesktop/Hal/devices/computer
19:04:55.048 [I] hald.c:528: Device probing completed
19:04:55.049 [I] linux/osspec.c:1557:
==========================================19:04:55.055 [I]
linux/osspec.c:1558: ==== hotplug_counter is now 0
19:04:55.056 [I] linux/osspec.c:1559:
==========================================19:04:55.058 [I]
callout.c:193: Callouts done for /org/freedesktop/Hal/devices/computer

*********************************End of the
Messages********************************8***

In the above messages an error message is coming telling that
19:04:53.738 [W] linux/common.c:861: Error opening sysfs directory at
/sys/bus/pci/drivers.
In our arm board we are not using any pcibus and our usb
hostcontroller is not connected to any pci bus.we are trying to
automount the usbmassstorage devices or any other usb related devices.

Please can anybody help me on this.

thanks and regards
deepak


More information about the hal mailing list