I confirm the bug, it happens on two of my computers, i have downgraded udev 
to 0.81 and no bug.

the only thing i can notice from udev's log is the difference on how 
'/usr/lib/hal/hal.hotplug' is called when a usb disk is plugged

0.81
>---->
udevd[8449]: udev_event_run: seq 1819 forked, pid [8456], 'add' 'usb', 0 
seconds old
Jan 31 22:44:53 localhost udevd-event[8456]: wait_for_sysfs: file 
'/sys/devices/pci0000:00/0000:00:02.1/usb2/2-6/bus' appeared after 0 loops
Jan 31 22:44:53 localhost udevd-event[8456]: run_program: 
'/usr/lib/hal/hal.hotplug' 'usb'
Jan 31 22:44:53 localhost udevd-event[8456]: run_program: 
'/usr/lib/hal/hal.hotplug' returned with status 0
Jan 31 22:44:53 localhost udevd-event[8456]: pass_env_to_socket: passed -1 
bytes to socket '/org/kernel/udev/monitor',
Jan 31 22:44:53 localhost udevd-event[8456]: run_program: 'udev_run_hotplugd' 
'usb'
Jan 31 22:44:53 localhost udevd-event[8456]: run_program: 
'/lib/udev/udev_run_hotplugd' returned with status 0
Jan 31 22:44:53 localhost udevd-event[8456]: run_program: 'udev_run_devd' 
'usb'
Jan 31 22:44:53 localhost udevd-event[8456]: run_program: 
'/lib/udev/udev_run_devd' returned with status 0
Jan 31 22:44:53 localhost udevd-event[8456]: udev_event_run: seq 1819 finished
...
...
<----<

0.83
>---->
udevd[8270]: udev_event_run: seq 1803 forked, pid [8277], 'add' 'usb', 0 
seconds old
Jan 31 22:43:34 localhost udevd-event[8277]: wait_for_sysfs: file 
'/sys/devices/pci0000:00/0000:00:02.1/usb2/2-6/bus' appeared after 0 loops
Jan 31 22:43:34 localhost udevd-event[8277]: run_program: 
'/usr/lib/hal/hal.hotplug'
Jan 31 22:43:34 localhost udevd-event[8277]: run_program: 
'/usr/lib/hal/hal.hotplug' returned with status 1
Jan 31 22:43:34 localhost udevd-event[8277]: pass_env_to_socket: passed -1 
bytes to socket '/org/kernel/udev/monitor',
Jan 31 22:43:34 localhost udevd-event[8277]: run_program: 'udev_run_hotplugd 
usb'
Jan 31 22:43:34 localhost udevd-event[8277]: run_program: 
'/lib/udev/udev_run_hotplugd' returned with status 0
Jan 31 22:43:34 localhost udevd-event[8277]: run_program: 'udev_run_devd usb'
Jan 31 22:43:34 localhost udevd-event[8277]: run_program: 
'/lib/udev/udev_run_devd' returned with status 0
Jan 31 22:43:34 localhost udevd-event[8277]: udev_event_run: seq 1803 finished
...
...
<----<

every call to /usr/lib/hal/hal.hotplug is done with an argument in 0.81 
(either usb, scsi, block) and with no argument in 0.83, which gives a return 
code of 1 instead of 0 when an argument is given.

btw the call to the '/etc/udev/scripts/device-removable.sh' script seems to 
work with the two versions of udev i tested
>-->
udevd-event[8329]: run_program: '/etc/udev/scripts/device-removable.sh sdb 
'usb ieee1394''
udevd-event[8329]: run_program: 
'/etc/udev/scripts/device-removable.sh' (stdout) '1'
udevd-event[8329]: run_program: '/etc/udev/scripts/device-removable.sh' 
returned with status 0
<--<

--
Richard.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to