HAL doesn't recognize my disks

Davide Ferrari vide80 at gmail.com
Mon Feb 21 09:12:05 PST 2005


Alle 17:48, lunedì 21 febbraio 2005, hai scritto:

>  - are you using a udev recent enough (udev-037 or so)

udev 045

>  - do you have the device symlinks in /sys/block/hdX

yes, everything is there for hd*

> and so forth. Also see this page
>
>  http://freedesktop.org/wiki/Software_2fHalTraces

Ok, this is the verbose output I get from HAL when launched from consolle, 
it's the part about fstab reading, can you get something out of it? I'm an 
HAL expert...

17:58:10.478 [I] callout.c:318: Invoking /etc/hal/device.d/50-fstab-sync.hal
3240: ###################################
3240: fstab-sync entering; add udi=/org/freedesktop/Hal/devices/computer
3240: Acquiring advisory lock on /etc/fstab
3240: Lock acquired
17:58:10.482 [I] callout.c:330: Child pid 3240 for 50-fstab-sync.hal
3240: mount_root='/media'
3240: use_managed=1
3240: managed primary='managed'
3240: managed secondary='kudzu'
3240: using temporary file '/etc/.fstab.hal.L'
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='/dev/hda1',mnt='/' should be removed
3240: is_generated=0, is_mounted=1
3240: Seeing if line for dev='/dev/hda2',mnt='none' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='/dev/hda3',mnt='/home' should be removed
3240: is_generated=0, is_mounted=1
3240: Seeing if line for dev='/dev/hdb5',mnt='/mnt/dati' should be removed
3240: is_generated=0, is_mounted=1
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='/dev/dvdrw',mnt='/mnt/master' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='/dev/dvd',mnt='/mnt/dvd' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='none',mnt='/proc' should be removed
3240: is_generated=0, is_mounted=1
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Seeing if line for dev='none',mnt='/dev/shm' should be removed
3240: is_generated=0, is_mounted=1
3240: Seeing if line for dev='(null)',mnt='(null)' should be removed
3240: is_generated=0, is_mounted=0
3240: Releasing advisory lock on /etc/fstab
3240: Lock released
3240: fstab-sync exiting; add udi=/org/freedesktop/Hal/devices/computer
3240: ###################################


and then it outputs this

18:07:52.983 [I] hald.c:81: Added device to GDL; 
udi=/org/freedesktop/Hal/devices/ide_0_0
18:07:52.983 [I] linux/osspec.c:795: handling /sys/block/hda block
18:07:52.989 [E] linux/common.c:744: /usr/bin/udevinfo returned 62208 
for /block/hda
18:07:52.991 [I] linux/osspec.c:795: handling /sys/block/hda/hda3 block
18:07:52.995 [E] linux/common.c:744: /usr/bin/udevinfo returned 62208 
for /block/hda/hda3
18:07:52.996 [I] linux/osspec.c:795: handling /sys/block/hda/hda2 block
18:07:53.000 [E] linux/common.c:744: /usr/bin/udevinfo returned 62208 
for /block/hda/hda2
18:07:53.001 [I] linux/osspec.c:795: handling /sys/block/hda/hda1 block
18:07:53.005 [E] linux/common.c:744: /usr/bin/udevinfo returned 62208 
for /block/hda/hda1
18:07:53.006 [I] linux/osspec.c:795: 
handling /sys/devices/pci0000:00/0000:00:08.0 pci
18:07:53.008 [I] device_info.c:1160: scan_fdi_files: Processing file 
'6in1-card-reader.fdi'
18:07:53.009 [I] device_info.c:1160: scan_fdi_files: Processing file 
'ide-drives.fdi'
18:07:53.009 [I] device_info.c:1160: scan_fdi_files: Processing file 
'jetflash-mp3-player.fdi'
18:07:53.010 [I] device_info.c:1160: scan_fdi_files: Processing file 
'lexar-media-cf-reader.fdi'
18:07:53.010 [I] device_info.c:1160: scan_fdi_files: Processing file 
'lucent-pcmcia-wireless.fdi'
18:07:53.010 [I] device_info.c:1160: scan_fdi_files: Processing file 
'sony_dsc.fdi'
18:07:53.010 [I] device_info.c:1160: scan_fdi_files: Processing file 
'usb-zip-drives.fdi'
18:07:53.011 [I] device_info.c:1160: scan_fdi_files: Processing file 
'storage-policy.fdi'
18:07:53.011 [I] callout.c:318: Invoking /etc/hal/device.d/50-fstab-sync.hal
18:07:53.014 [I] callout.c:330: Child pid 5251 for 50-fstab-sync.hal
18:07:53.028 [I] callout.c:193: Callouts done 
for /org/freedesktop/Hal/devices/ide_0_0
18:07:53.028 [I] callout.c:173: Child pid 5251 terminated
18:07:53.029 [I] callout.c:318: 
Invoking /etc/hal/device.d/40-hal-hotplug-map.hal
18:07:53.030 [I] callout.c:330: Child pid 5252 for 40-hal-hotplug-map.hal
18:07:53.030 [I] callout.c:173: Child pid 5252 terminated
18:07:53.031 [I] hald.c:81: Added device to GDL; udi=/org/freed


it seems that something is happening there but...
are there changes to be done in fstab?

-- 
Davide Ferrari
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list