Delay involving udevadm [Solved]

Technical issues/questions of an intermediate or advanced nature.
Johnny Blue
White ninja
White ninja
Posts: 6
Joined: 12 Jun 2016, 18:58
Distribution: Porteus 3.1 LXQT
Location: UK

Delay involving udevadm [Solved]

Post#1 by Johnny Blue » 07 Jul 2016, 09:52

Haven't had any success with my previous post (about Trojita not sending emails) but maybe I'll get more responses with my other Porteus problem:

Whenever I start up Porteus, it gets to this line:

Triggering udev events: /sbin/udevadm trigger --action=add

then stalls for about 30 seconds, then loads normally.

I have searched online, and found that with other users this udevadm issue has prevented Porteus starting at all, but that is not my problem, as it eventually does start up OK.

I have tried renaming the udevadm file, and Porteus did not like it, and just renaming it back again did not work: my Porteus was completely broken and I had to re-install.

I have lived with this issue for some time, as it's only a minor inconvenience, but it'd be good if there was a solution...
Last edited by Johnny Blue on 08 Jul 2016, 09:31, edited 1 time in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Delay involving udevadm

Post#2 by fanthom » 07 Jul 2016, 10:25

Hello Johnny Blue,

Perhaps you cuold edit /etc/rc.d/rc.S and change from:

Code: Select all

/sbin/udevadm settle --timeout=120
to:

Code: Select all

/sbin/udevadm settle --timeout=3
You must have persistence enabled or use rootcopy for modified rc.S.
Please add [Solved] to your thread title if the solution was found.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Delay involving udevadm

Post#3 by Bogomips » 07 Jul 2016, 14:08

^^^ Cinnamon rc4 Boot from HD :good:

Edit

Without edit 12 seconds; with edit, did not get to time it, as start of pause not discernible.

Edit used:

Code: Select all

sed -i '/settle/s/120/3/'  /etc/rc.d/rc.S
Last edited by Bogomips on 07 Jul 2016, 18:19, edited 2 times in total.
Reason: Timing
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Johnny Blue
White ninja
White ninja
Posts: 6
Joined: 12 Jun 2016, 18:58
Distribution: Porteus 3.1 LXQT
Location: UK

Re: Delay involving udevadm

Post#4 by Johnny Blue » 08 Jul 2016, 09:30

Thanks, fanthom, that's fixed it! Brilliant, total boot time now much faster!

Post Reply