Page 1 of 1

Delay involving udevadm [Solved]

Posted: 07 Jul 2016, 09:52
by Johnny Blue
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...

Re: Delay involving udevadm

Posted: 07 Jul 2016, 10:25
by fanthom
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.

Re: Delay involving udevadm

Posted: 07 Jul 2016, 14:08
by Bogomips
^^^ 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

Re: Delay involving udevadm

Posted: 08 Jul 2016, 09:30
by Johnny Blue
Thanks, fanthom, that's fixed it! Brilliant, total boot time now much faster!