You are not logged in.
Pages: 1
Hi,
I have installed bootchart and added the line init=/sbin/bootchartd at the end of the kernel line in grub. When I reboot I get the following error:
/sbin/bootchartd: line 69: cannot redirect standart input from /dev/null no such file or directory
I have checked /var/log for bootchart but it is not there, so what do I do wrong?
Last edited by hudson (2007-08-19 11:56:40)
Offline
Anyone got an idea?
Offline
I think I've experienced that error to, but it didn't affect the result of bootchart for me.
Do you get a kernel panic? if not, and the system starts like it should, then (hopefully) all you need to do is to run bootchart-render which will give you an image in you working directory.
Offline
I get that one during the module loading part, but it doesn't seem to make a difference, everything starts just fine.
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
Well, after the boot-up part I run bootchart-render and it say that it can not find any file. So, I check my processes and I find several of bootchartd's are running for some reason. It also made me start thinking, maybut bootchartd don't know when to stop..since I'm using xdm as a display manager...hmm..:/
Last edited by hudson (2007-08-20 18:36:34)
Offline
Odd, it works just fine here even though I get that error (which is probably just redirecting some output), both the OS and bootchart-render.
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
I will do some reading on bootchart since I think it does'nt know when to stop..
Offline
I found this in http://www.bootchart.org/docs.html
The logger will try to detect the end of the boot process by looking for specific processes.
For example, when in runlevel 5 (multi-user graphical mode), it will look for gdmgreeter, kdm_greet, etc.
As soon as one of these processes is found running, the logger will stop collecting data, package the log files
and store them to /var/log/bootchart.tgz.
Which agree with my assumtion that it might not know when to stop if xdm is used.
I also found this which might be useful
Alternative init processes
--------------------------
Alternative init processes (e.g. initng) may be specified using the
bootchart_init kernel command line option, e.g.:
init=/sbin/bootchartd bootchart_init=/sbin/initng
In this case, bootchartd will execute /sbin/initng instead of the default
/sbin/init.
I will also try to get a profile of the system in general, by running
$ /sbin/bootchartd start; sleep 5; /sbin/bootchartd stop
Last edited by hudson (2007-08-21 07:37:46)
Offline
okey, my tought were not correct...it still dont work, maybe if I would be able to change the order at boot up would make a difference...
Offline
When installing bootchart it says:
Bootchart usage :
make sure to append init=/sbin/bootchartd to your
kernel parameters (it is recommended that you
create another entry specifically for bootchart
logging).
Run bootchart-render to render your bootchart
So I just make a copy of the current entry for Arch in my grub menu but add that line? Also where do i run bootchart-render from?
ARCH64 | XMonad | Configs | myAURpkgs | ArchWiki Contribs | Screenies
Offline
Okay I have the same problem now, no bootchart generated until i manually stop it after logging in. Maybe we need to modify line 120:
local exit_proc="gdmgreeter gdm-binary kdm_greet kdm"
To include our login manager, im using slim with xfce.
ARCH64 | XMonad | Configs | myAURpkgs | ArchWiki Contribs | Screenies
Offline
Okay I have the same problem now, no bootchart generated until i manually stop it after logging in. Maybe we need to modify line 120:
local exit_proc="gdmgreeter gdm-binary kdm_greet kdm"
To include our login manager, im using slim with xfce.
You got it. Add slim in there and it should work.
Offline
ST.x wrote:Okay I have the same problem now, no bootchart generated until i manually stop it after logging in. Maybe we need to modify line 120:
local exit_proc="gdmgreeter gdm-binary kdm_greet kdm"
To include our login manager, im using slim with xfce.
You got it. Add slim in there and it should work.
okay that works for me. I get 21s
ARCH64 | XMonad | Configs | myAURpkgs | ArchWiki Contribs | Screenies
Offline
Pages: 1