Oct 25 01:37:46 rider scsi.agent[30983]: how to add device type= at /devices/pci0000:00/0000:00:07.2/usb1/1-2/1-2:1.0/host7/7:0:0:0 ??


I don't know anything about this.  You could try asking the people in
charge of hotplugging support.

It's basically user mode seeing a race between creation of a device and population of its attributes in sysfs. Some of the hotplug agents will wait a bit until a given attribute arrives; scsi.agent does not.

The race happens because the kernel starts the user mode notification
(hotplug event) when the device is created, but doesn't allow the
attributes (which the event handlers rely on) to be created until
later.  The races have been visible ever since sysfs started to be
used in the hotplug scripts.

Fixing such things would require delaying reports of hotplug events.
Either a two phase creation model (IMO unlikely) or a richer one
which creates devices and their attributes at the same time (more
reasonable, but surely not for 2.6.0 kernels).

- Dave




------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to