Page 1 of 2

[solved] bootchart issues

Posted: 20. May 2012, 19:40
by Tim CowChip

Code: Select all

chris[~]$ java -jar /usr/bin/bootchart.jar
bash: java: command not found
chris[~]$ su
Password: 
root[chris]# twapake -s
bootchart-0.9-noarch-1rl
jre-6u25-x86_64-1
?

Re: bash: java: command not found

Posted: 20. May 2012, 19:54
by Tim CowChip

Code: Select all

chris[~]$ export PATH="/usr/lib64/java/bin/:$PATH"
fixed it

Re: bootchart issues

Posted: 20. May 2012, 20:44
by Tim CowChip

Code: Select all

/var/log/bootchart.tgz not found
mv: cannot stat `/home/chris/bootchart.png': No such file or directory

The process is now complete and an image file has
been placed in your home directory.  Please open
/home/chris/bootchart-2012-05-20_13:32:48.png
with the image viewer of your choice to view.
You may now close this window.
Reading the Arch wiki for bootchart https://wiki.archlinux.org/index.php/Bootchart I see that this issue is related to bootchartd not being able to detect when the booting process was finished.

The Arch wiki fix is to edit /sbin/bootchartd so that it knows which exit process to wait for.

I am running Salix-MATE with gdm as the display manager, so this part of bootchartd seems fine to me.

Code: Select all

# The processes we have to wait for
	local exit_proc="gdmgreeter gdm-binary"
Has anyone been able to sucessfully use this app with MATE?

Re: bootchart issues

Posted: 20. May 2012, 22:04
by Tim CowChip
I am reading at http://slackbuilds.org/repository/13.37 ... bootchart/
After installation, to run bootchartd;
a) if you run a huge kernel or custom kernel without initrd:
append the following boot option:
init=/sbin/bootchartd

I am using the huge kernel without initrd and was wondering where to append boot options.

Code: Select all

# Linux bootable partition config begins
image = /boot/vmlinuz-huge-2.6.37.6 
root = /dev/disk/by-uuid/5ee98a2d-5011-4044-a692-4124c23d005d
label = Salix
read-only
# Linux bootable partition config ends
#
# Linux bootable partition config begins
image = /media/disk/boot/vmlinuz-linux
root = /dev/disk/by-uuid/67f35b73-ec67-4c02-b748-f1da89338b6a
label = Archbang
initrd = /media/disk/boot/initramfs-linux-fallback.img
read-only
# Linux bootable partition config ends

Re: bootchart issues

Posted: 20. May 2012, 22:35
by Shador
Through a global or local append or addappend statement. For more information have a look at man lilo.conf. Finally don't forget to run lilo -Cv.

Re: bootchart issues

Posted: 20. May 2012, 22:52
by Tim CowChip
Like this?

Code: Select all

# Start LILO global section
# Append any additional kernel parameters:
append = "vt.default_utf8=1 "
append ="/sbin/bootchartd"
boot = /dev/sda
lba32
compact

Re: bootchart issues

Posted: 20. May 2012, 22:55
by Shador
No, like this:

Code: Select all

addappend="init=/sbin/bootchartd"
Then put that somewhere in the Salix entry i.e. after the image option and before the next image option.

Re: bootchart issues

Posted: 20. May 2012, 23:01
by Tim CowChip
Thanks Shador. I had gotten a duplicate append entry error when I ran lilo -Cv

Re: bootchart issues

Posted: 21. May 2012, 01:49
by Tim CowChip
Image

I still couldn't get bootchart to work, so I tried using Grub. I like Lilo, but it hasn't been updated in over a year and grub is easier for me to configure.

Re: bootchart issues

Posted: 21. May 2012, 10:22
by laprjns
bootchart works with lilo here

Code: Select all

# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda3
  append = "init=/sbin/bootchartd"
  label = Linux
  read-only
# Linux bootable partition config ends
http://imageshack.us/photo/my-images/40 ... 55739.png/