[solved] bootchart issues

You have a problem with Salix? Post here and we'll do what we can to help.

[solved] bootchart issues

Postby Tim CowChip » 20. May 2012, 19:40

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.
ImageImageImage
User avatar
Tim CowChip
 
Posts: 273
Joined: 27. May 2011, 03:35
Location: in a van down by the river

Re: bash: java: command not found

Postby Tim CowChip » 20. May 2012, 19:54

Code: Select all
chris[~]$ export PATH="/usr/lib64/java/bin/:$PATH"

fixed it
ImageImageImage
User avatar
Tim CowChip
 
Posts: 273
Joined: 27. May 2011, 03:35
Location: in a van down by the river

Re: bootchart issues

Postby Tim CowChip » 20. May 2012, 20:44

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?
ImageImageImage
User avatar
Tim CowChip
 
Posts: 273
Joined: 27. May 2011, 03:35
Location: in a van down by the river

Re: bootchart issues

Postby Tim CowChip » 20. May 2012, 22:04

I am reading at http://slackbuilds.org/repository/13.37/system/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
ImageImageImage
User avatar
Tim CowChip
 
Posts: 273
Joined: 27. May 2011, 03:35
Location: in a van down by the river

Re: bootchart issues

Postby Shador » 20. May 2012, 22:35

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

Re: bootchart issues

Postby Tim CowChip » 20. May 2012, 22:52

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.
ImageImageImage
User avatar
Tim CowChip
 
Posts: 273
Joined: 27. May 2011, 03:35
Location: in a van down by the river

Re: bootchart issues

Postby Shador » 20. May 2012, 22:55

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

Re: bootchart issues

Postby Tim CowChip » 20. May 2012, 23:01

Thanks Shador. I had gotten a duplicate append entry error when I ran lilo -Cv
ImageImageImage
User avatar
Tim CowChip
 
Posts: 273
Joined: 27. May 2011, 03:35
Location: in a van down by the river

Re: bootchart issues

Postby Tim CowChip » 21. May 2012, 01:49

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.
ImageImageImage
User avatar
Tim CowChip
 
Posts: 273
Joined: 27. May 2011, 03:35
Location: in a van down by the river

Re: bootchart issues

Postby laprjns » 21. May 2012, 10:22

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

Next

Return to Problems