The officially official Devuan Forum!

You are not logged in.

#1 2022-06-21 20:05:40

deepforest
Member
Registered: 2020-03-24
Posts: 354  

how on Devuan analyze boot time?

?


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#2 2022-06-22 04:40:16

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: how on Devuan analyze boot time?

!


Brianna Ghey — Rest In Power

Offline

#3 2022-06-22 20:12:44

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: how on Devuan analyze boot time?

?!

Last edited by deepforest (2022-06-22 20:13:40)


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#4 2022-06-23 19:30:57

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: how on Devuan analyze boot time?

bootlogd or bootchart? never really bothered with that tbh.
there's also systemd-bootchart, not sure if it's dependent on systemd, if not, maybe it can be used in devuan too.

Offline

#5 2022-06-26 16:23:59

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: how on Devuan analyze boot time?

xinomilo wrote:

bootlogd or bootchart? n

thx, how to use them?


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#6 2022-06-26 17:31:10

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: how on Devuan analyze boot time?

Links to the .debs are in my exclamation mark (see fsmithred's post just above mine for bootlogd), along with an explanation of how to get bootchart working in chimaera.


Brianna Ghey — Rest In Power

Offline

#7 2022-06-26 18:27:44

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: how on Devuan analyze boot time?

And where is your exclamation mark?

Last edited by deepforest (2022-06-26 18:28:28)


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#8 2022-06-26 18:29:57

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: how on Devuan analyze boot time?

root@devuan:/etc# apt install bootchart
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package bootchart
root@devuan:/etc# 

-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#9 2022-06-26 18:49:44

golinux
Administrator
Registered: 2016-11-25
Posts: 3,340  

Re: how on Devuan analyze boot time?

deepforest wrote:

And where is your exclamation mark?

https://dev1galaxy.org/viewtopic.php?pid=36356#p36356

Online

#10 2022-06-26 19:01:39

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: how on Devuan analyze boot time?

freeartist@devuan:~/Downloads/bootchart$ ./pybootchartgui.py
bash: ./pybootchartgui.py: /usr/bin/python: bad interpreter: No such file or directory
freeartist@devuan:~/Downloads/bootchart$ 

-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#11 2022-06-26 19:07:02

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: how on Devuan analyze boot time?

freeartist@devuan:/usr/bin$ sudo ln -fs python3 python
freeartist@devuan:/usr/bin$ 
freeartist@devuan:~/Downloads/bootchart$ ./pybootchartgui.py
/home/freeartist/Downloads/bootchart/pybootchartgui/parsing.py:101: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if pid is 0:
/home/freeartist/Downloads/bootchart/pybootchartgui/draw.py:511: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if (OPTIONS.show_pid or OPTIONS.show_all) and ipid is not 0:
/home/freeartist/Downloads/bootchart/pybootchartgui/draw.py:609: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if i is not 0:
No path given, trying /var/log/bootchart.tgz
warning: path '/var/log/bootchart.tgz' does not exist, ignoring.
Parse error: empty state: '/var/log/bootchart.tgz' does not contain a valid bootchart
freeartist@devuan:~/Downloads/bootchart$ 

-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#12 2022-06-26 19:36:56

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: how on Devuan analyze boot time?

root@devuan:/home/freeartist/Downloads# dpkg -i bootchart2_0.14.4-3+b1_amd64.deb 
Selecting previously unselected package bootchart2.
(Reading database ... 461869 files and directories currently installed.)
Preparing to unpack bootchart2_0.14.4-3+b1_amd64.deb ...
Unpacking bootchart2 (0.14.4-3+b1) ...
Setting up bootchart2 (0.14.4-3+b1) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: stop runlevel arguments (6 0) do not match bootchart-done Default-Stop values (none)
Processing triggers for man-db (2.10.2-1) ...
root@devuan:/home/freeartist/Downloads# 
freeartist@devuan:/var/log$ 
freeartist@devuan:~/Downloads$ bootchart2
bash: bootchart2: command not found
freeartist@devuan:~/Downloads$ 

Last edited by deepforest (2022-06-26 19:37:26)


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#13 2022-06-27 17:20:26

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: how on Devuan analyze boot time?

deepforest wrote:
bash: ./pybootchartgui.py: /usr/bin/python: bad interpreter: No such file or directory
deepforest wrote:
freeartist@devuan:/usr/bin$ sudo ln -fs python3 python

It would have been *much* better to change the shebang in pybootchartgui.py instead of mangling your system. Remove that symlink.

deepforest wrote:
No path given, trying /var/log/bootchart.tgz
warning: path '/var/log/bootchart.tgz' does not exist, ignoring.

So I presume you didn't boot with the required initcall_debug printk.time=y init=/sbin/bootchartd kernel parameters then?

This is like pulling teeth... roll

Last edited by Head_on_a_Stick (2022-06-27 17:21:14)


Brianna Ghey — Rest In Power

Offline

#14 2022-06-29 10:49:46

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: how on Devuan analyze boot time?

I see now
/var/log/bootchart.tgz
but

freeartist@devuan:~/Downloads/bootchart$ ./pybootchartgui.py
bash: ./pybootchartgui.py: /usr/bin/python: bad interpreter: No such file or directory
freeartist@devuan:~/Downloads/bootchart$
freeartist@devuan:/var/log$ bootchart /var/log/bootchart.tgz
bash: bootchart: command not found
freeartist@devuan:/var/log$ bootchart2 /var/log/bootchart.tgz
bash: bootchart2: command not found
freeartist@devuan:/var/log$ 

Last edited by deepforest (2022-06-29 10:55:08)


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#15 2022-06-29 10:53:01

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: how on Devuan analyze boot time?

sed -i 's|#!/usr/bin/python|&3|' pybootchartgui.py
./pybootchartgui.py

EDIT: monkey patching ftw! big_smile

Last edited by Head_on_a_Stick (2022-06-29 10:54:33)


Brianna Ghey — Rest In Power

Offline

#16 2022-06-29 10:58:55

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: how on Devuan analyze boot time?

Head_on_a_Stick wrote:
sed -i 's|#!/usr/bin/python|&3|' pybootchartgui.py
./pybootchartgui.py

EDIT: monkey patching ftw! big_smile

Wow! Thanks! Its magic! What is trick?

https://i.imgur.com/ynv1HKU.png

ps understood python>python3 in pybootchartgui.py

Last edited by deepforest (2022-06-29 11:02:47)


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#17 2022-06-29 11:02:38

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: how on Devuan analyze boot time?

Glad you got it working.

Last edited by Head_on_a_Stick (2022-06-30 15:03:37)


Brianna Ghey — Rest In Power

Offline

#18 2022-06-29 11:03:51

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: how on Devuan analyze boot time?

Thanks! And how analyze that? I see hdd is bottleneck?


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#19 2022-06-29 11:05:30

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: how on Devuan analyze boot time?

Looks like eudev takes forever. Do you have many devices connected?

You could try udev instead but that's from the systemd crowd so people might throw rotten fruit at you.


Brianna Ghey — Rest In Power

Offline

#20 2022-06-29 11:14:06

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: how on Devuan analyze boot time?

Yes, thx. i see long udevd.

Looks like eudev takes forever. Do you have many devices connected?

usb mouse and usb hub, 2 sata hdd, nothing else

You could try udev instead but that's from the systemd crowd so people might throw rotten fruit at you.

Noo, i am here because sysvinit


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#21 2022-06-30 06:14:59

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: how on Devuan analyze boot time?

try removing devices one by one (i'd start with usb hub) and rebooting. see if/what device makes a difference.
if not, check boot messages... is "Waiting for /dev to be fully populated" step that is taking too long? (cause there are lots of eudev/init script issues around that one iirc.)

Offline

#22 2022-06-30 15:05:20

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: how on Devuan analyze boot time?

Also perhaps check with a live ISO that boots with systemd to see how udev handles the devices.

Is there actually much delay when starting the desktop? It could be that the eudev stuff is done in the background after a working desktop is reached. I've seen that before with systemd-analyze output.

Last edited by Head_on_a_Stick (2022-06-30 15:05:33)


Brianna Ghey — Rest In Power

Offline

#23 2022-07-04 23:20:38

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: how on Devuan analyze boot time?

Head_on_a_Stick wrote:

Also perhaps check with a live ISO that boots with systemd to see how udev handles the devices.

Is there actually much delay when starting the desktop? It could be that the eudev stuff is done in the background after a working desktop is reached. I've seen that before with systemd-analyze output.

Ok, i will look exactly. I have at dual boot Arch and Fedora, all systems booting about same time.


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#24 2022-07-05 08:57:57

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: how on Devuan analyze boot time?

@Head_on_a_Stick

Hello) Here svg logs from Arch and Fedora36

https://svgshare.com/i/irR.svg
https://svgshare.com/i/iqo.svg


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

Board footer