All of lore.kernel.org
 help / color / mirror / Atom feed
* Modify udev
@ 2013-06-16 11:45 Jack
  2013-06-17  5:04 ` ChenQi
  0 siblings, 1 reply; 7+ messages in thread
From: Jack @ 2013-06-16 11:45 UTC (permalink / raw)
  To: yocto

Hi,

In my imageو starting udev take a long time about 6 seconds whereas the time
is so important for me. Therefore, I decide to remove udev from
task-core-boot but I get a problem in mounting SATA drive. So, I add udev to
task-core-boot. In addition to mount SATA drive by udev some other packages
like libusb, pciutils,... will install. I want only to mount SATA drive by
udev. How can I modify udev that it only install hdd drive ?

Thanks.  



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Modify udev
  2013-06-16 11:45 Modify udev Jack
@ 2013-06-17  5:04 ` ChenQi
  2013-06-17  5:19   ` jack
  0 siblings, 1 reply; 7+ messages in thread
From: ChenQi @ 2013-06-17  5:04 UTC (permalink / raw)
  To: yocto

On 06/16/2013 07:45 PM, Jack wrote:
> Hi,
>
> In my imageو starting udev take a long time about 6 seconds whereas the time
If the performance is important, what about using udev-cache to speed up 
the boot process?

Cheers,
Chen Qi
> is so important for me. Therefore, I decide to remove udev from
> task-core-boot but I get a problem in mounting SATA drive. So, I add udev to
> task-core-boot. In addition to mount SATA drive by udev some other packages
> like libusb, pciutils,... will install. I want only to mount SATA drive by
> udev. How can I modify udev that it only install hdd drive ?
>
> Thanks.
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Modify udev
  2013-06-17  5:04 ` ChenQi
@ 2013-06-17  5:19   ` jack
  2013-06-17  5:26     ` ChenQi
  0 siblings, 1 reply; 7+ messages in thread
From: jack @ 2013-06-17  5:19 UTC (permalink / raw)
  To: yocto

ChenQi <Qi.Chen@...> writes:

> 
> On 06/16/2013 07:45 PM, Jack wrote:
> > Hi,
> >
> > In my imageو starting udev take a long time about 6 seconds whereas the time
> If the performance is important, what about using udev-cache to speed up 
> the boot process?
> 

How should I use udev-cache ?







^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Modify udev
  2013-06-17  5:19   ` jack
@ 2013-06-17  5:26     ` ChenQi
  2013-06-17  9:10       ` Jack
  0 siblings, 1 reply; 7+ messages in thread
From: ChenQi @ 2013-06-17  5:26 UTC (permalink / raw)
  To: yocto

On 06/17/2013 01:19 PM, jack wrote:
> ChenQi <Qi.Chen@...> writes:
>
>> On 06/16/2013 07:45 PM, Jack wrote:
>>> Hi,
>>>
>>> In my imageو starting udev take a long time about 6 seconds whereas the time
>> If the performance is important, what about using udev-cache to speed up
>> the boot process?
>>
> How should I use udev-cache ?
>
To add udev-cache to your image, add the following line to your local.conf.
IMAGE_INSTALL_append += "udev-cache"
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Modify udev
  2013-06-17  5:26     ` ChenQi
@ 2013-06-17  9:10       ` Jack
  2013-06-17 11:00         ` ChenQi
  0 siblings, 1 reply; 7+ messages in thread
From: Jack @ 2013-06-17  9:10 UTC (permalink / raw)
  To: yocto

ChenQi <Qi.Chen@...> writes:

> 
> On 06/17/2013 01:19 PM, jack wrote:
> > ChenQi <Qi.Chen <at> ...> writes:
> >
> >> On 06/16/2013 07:45 PM, Jack wrote:
> >>> Hi,
> >>>
> >>> In my imageو starting udev take a long time about 6 seconds whereas
the time
> >> If the performance is important, what about using udev-cache to speed up
> >> the boot process?
> >>
> > How should I use udev-cache ?
> >
> To add udev-cache to your image, add the following line to your local.conf.
> IMAGE_INSTALL_append += "udev-cache"

I add this line to my local.conf but starting udev take about 6 seconds in
boot process yet. What solution do you propose ?







^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Modify udev
  2013-06-17  9:10       ` Jack
@ 2013-06-17 11:00         ` ChenQi
  2013-06-18 10:36           ` Jack
  0 siblings, 1 reply; 7+ messages in thread
From: ChenQi @ 2013-06-17 11:00 UTC (permalink / raw)
  To: yocto

On 06/17/2013 05:10 PM, Jack wrote:
> ChenQi <Qi.Chen@...> writes:
>
>> On 06/17/2013 01:19 PM, jack wrote:
>>> ChenQi <Qi.Chen <at> ...> writes:
>>>
>>>> On 06/16/2013 07:45 PM, Jack wrote:
>>>>> Hi,
>>>>>
>>>>> In my imageو starting udev take a long time about 6 seconds whereas
> the time
>>>> If the performance is important, what about using udev-cache to speed up
>>>> the boot process?
>>>>
>>> How should I use udev-cache ?
>>>
>> To add udev-cache to your image, add the following line to your local.conf.
>> IMAGE_INSTALL_append += "udev-cache"
> I add this line to my local.conf but starting udev take about 6 seconds in
> boot process yet. What solution do you propose ?
>
I've just filed a bug for the udev-cache.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4738

The patch is still under review. If you want to use it now, please visit 
the following link and take the patch.
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ChenQi/udev-cache-fix

I've made some simple tests myself. With udev-cache enabled, the udev 
takes less than 1s to start (not the first boot).

//Chen Qi
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Modify udev
  2013-06-17 11:00         ` ChenQi
@ 2013-06-18 10:36           ` Jack
  0 siblings, 0 replies; 7+ messages in thread
From: Jack @ 2013-06-18 10:36 UTC (permalink / raw)
  To: yocto

Thanks a lot ChenQi for your comments.






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-18 10:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-16 11:45 Modify udev Jack
2013-06-17  5:04 ` ChenQi
2013-06-17  5:19   ` jack
2013-06-17  5:26     ` ChenQi
2013-06-17  9:10       ` Jack
2013-06-17 11:00         ` ChenQi
2013-06-18 10:36           ` Jack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.