[Patch for Review] Introduce delay for slow USB devices to detect OEMDRV on time.

B_B_Singh at DELL.com B_B_Singh at DELL.com
Thu May 7 06:28:51 UTC 2015


> -----Original Message-----
> From: Chris Lumens [mailto:clumens at redhat.com]
> Sent: Wednesday, May 06, 2015 7:45 PM
> To: Singh, B B
> Cc: anaconda-patches at lists.fedorahosted.org
> Subject: Re: [Patch for Review] Introduce delay for slow USB devices to
> detect OEMDRV on time.
> 
> > 1. This would result in delay for all usb devices, which is NOT preferred
> since it impacts the boot time.
> > 2. For each udevadm trigger in anaconda there will be a delay, to avoid this
> we can have delay for OEMDRV only in driver-updatesh.sh.
> 
> I'm not asking for udev to just have an unqualified "sleep 2".  I'm asking why
> the combination of udevadm trigger and then udevadm settle isn't enough.
> Why do we have to sleep?  Why doesn't udev figure this out for us?
> 
> - Chris

Hi Chris,

What I observed is the uevents from kernel is NOT reaching  to udevd on time & due to this the settle also fails to wait because there are no uevents to process in queue.
I have even tried with "udevadm settle ---timeout=120/240/360 "option but this could not help, because it is returning immediately without any wait as queue is empty.

Regards
Balaji Singh



More information about the anaconda-patches mailing list