Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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


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 ;;

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