FS#2828 - udev/hotplug doesn't handle removable devices when hotplugged

Attached to Project: Arch Linux
Opened by Jan de Groot (JGC) - Monday, 13 June 2005, 17:49 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

For newer kernels, hotplug events don't reach hal in the correct order anymore. Newer kernels should have /sbin/udevsend as hotplug multiplexer in /proc/sys/kernel/hotplug.

Adding this code to /etc/start_udev puts /sbin/udevsend in the correct entry in /proc. This code should be located after udev has been started:

case "$(uname -r)" in
2.6.[0-9]|2.6.[0-9][!0-9]*) ;;
*) echo "/sbin/udevsend" > /proc/sys/kernel/hotplug ;;
esac

This makes sure older kernels that don't suffer this problem, but suffer from having udevstart as hotplug multiplexer, to use the old behaviour.
This task depends upon

Closed by  Judd Vinet (judd)
Monday, 13 June 2005, 18:00 GMT
Reason for closing:  Fixed

Loading...