[solved] bootchart issues

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

[solved] bootchart issues

Post 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
?
Last edited by Tim CowChip on 20. May 2012, 20:33, edited 1 time in total.
ImageImage
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: bash: java: command not found

Post by Tim CowChip »

Code: Select all

chris[~]$ export PATH="/usr/lib64/java/bin/:$PATH"
fixed it
ImageImage
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: bootchart issues

Post 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?
ImageImage
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: bootchart issues

Post 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
ImageImage
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: bootchart issues

Post 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.
Image
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: bootchart issues

Post 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
Last edited by Tim CowChip on 20. May 2012, 22:59, edited 2 times in total.
ImageImage
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: bootchart issues

Post 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.
Image
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: bootchart issues

Post by Tim CowChip »

Thanks Shador. I had gotten a duplicate append entry error when I ran lilo -Cv
ImageImage
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: bootchart issues

Post 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.
ImageImage
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: bootchart issues

Post 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/
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
Post Reply