[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
Wed May 6 12:43:46 UTC 2015


> -----Original Message-----
> From: anaconda-patches-bounces at lists.fedorahosted.org [mailto:anaconda-
> patches-bounces at lists.fedorahosted.org] On Behalf Of Chris Lumens
> Sent: Wednesday, April 29, 2015 7:31 PM
> To: anaconda-patches at lists.fedorahosted.org
> Subject: Re: [Patch for Review] Introduce delay for slow USB devices to
> detect OEMDRV on time.
> 
> > --- anaconda-19.31.79/dracut/driver-updates.sh  2015-04-20
> 23:03:45.160081886 +0530
> > +++ anaconda-19.31.79_new/dracut/driver-updates.sh      2015-04-20
> 23:07:38.719101243 +0530
> > @@ -4,6 +4,7 @@
> >
> >  # load all modules
> >  udevadm trigger
> > +sleep 2
> >  udevadm settle
> >
> >  # Look for devices with the OEMDRV label
> 
> Why isn't this udev's problem?
> 
> - Chris
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches


Hi Chris,

No, this can't be done in udev because of below reasons.

If it is implemented in udev,

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.

Please let me know your comments on this.

Regards
Balaji Singh


More information about the anaconda-patches mailing list