Topic: Bootchart in Statler

I just spent some time getting bootchart working in Statler. It's not at all the easy procedure it is under Ubuntu.

First you have to install the bootchart deb. The files for debian are linked from the Bootchart website
http://www.bootchart.org/
(Those files appear under ‘sid’.)

Just install bootchart; ignore bootchart-view unless you’ve already dragged in all the java dependencies.

Next you need to get bootchart invoked during bootup. Unfortunately this involves editing your kernel command line in Grub. At the Grub screen press ‘e’ to edit and add init=/sbin/bootchartd to the end of the line with vmlinuz on it.

When you’re booted and logged in look in /var/log/ - you’ll find a file ‘bootchart.tgz’. It’s not like in Ubuntu where you find all the folders under /var/log/bootchart with the images ready to view - that’s the next part.

If you installed bootchart-view you can just run bootchart -f png

If you didn’t then it’s time to install pybootchartgui - this is a python version of the java program for producing the bootchart images.

Go to the home page on Google Code
http://code.google.com/p/pybootchartgui/
download it and unpack it - I put it in ~/bin/

Open a terminal and run
./pybootchartgui.py /var/log/bootchart.tgz
and you should get a lovely png popping up.

Editing your Grub - in Grub2 it’s more involved than just editing your menu.lst file - and running pybootchartgui on every startup are exercises left to the reader.

Re: Bootchart in Statler

The bootchart packages are also available in unstable.

a.

Re: Bootchart in Statler

alon_h wrote:

The bootchart packages are also available in unstable.

And sid == unstable right?

Re: Bootchart in Statler

Yup. You can download the .deb files from http://packages.debian.org/sid/bootchart if you don't want to add the repo..

a.

Re: Bootchart in Statler

alon_h wrote:

Yup. You can download the .deb files from http://packages.debian.org/sid/bootchart if you don't want to add the repo..

Absolutely.

I think the url:
http://packages.debian.org/sid/bootchart
is an alias of the url:
http://packages.debian.org/unstable/admin/bootchart

... where you come to if you follow the 'Download' link on the bootchart.org website. I really recommend starting with Bootchart's website - it's one of the better-designed websites in the Linux world.

And yes I definitely definitely recommend installing from the deb, not adding a repo.

Re: Bootchart in Statler

Toolz wrote:
alon_h wrote:

The bootchart packages are also available in unstable.

And sid == unstable right?

Ah now I think I understand. You're suggesting adding the unstable repo and then installing bootchart from the repositories?

Re: Bootchart in Statler

Well, yes, my personal preference is usually to install Debian's .debs if available, but it's a personal choice, and apparently doesn't matter here if bootchart's site directs your download there anyway...

a.

Re: Bootchart in Statler

Do we post statler bootcharts here as well?

Yes or no, here's mine anyway....
http://omploader.org/tNGJkcQ

Update:
One second less with concurrent booting enabled....
disabled bluetooth and now less than 17 seconds....

Anyone notices anything else i can do?
It doesn't matter really as it won't make a significant difference anymore. Anyway... it's nice to see what's happening during boot.

Last edited by Tunafish (2010-05-14 11:29:48)

Re: Bootchart in Statler

Might as well! wink

Re: Bootchart in Statler

Have you had any trouble with plymouth and bootchart?

I installed bootchart and it will kill plymouth with the error message:
plymouthd: ply-keyboard.c:384: ply_keyboard_watch_for_input: Assertion 'keyboard != ((void *)0)' failed.

Looking through bug reports and change logs, it appears this is a problem they thought they had fixed in Plymouth 0.8.1 but Statler is using 0.8.3-9.  I found many bug reports like this one: https://bugzilla.redhat.com/show_bug.cgi?id=604927 that never have any follow-up or solutions.

The best detail I found was that the kernel command "init=_______", such as how you start bootchartd will make the function plymouth_should_ignore_show_splash_calls() throw an assert.  There was a patch in the upstream but I do not know the configure options that were used to compile plymouth, so I'm not comfortable patching and updating it manually.  The best reference I found for this would be: http://cgit.freedesktop.org/plymouth/co … 6194d1f38c

Am I alone in having this problem?

Zachary D. Skelton
http://blog.skeltonnetworks.com

Last edited by zbert (2011-01-26 16:51:51)

Re: Bootchart in Statler

I actually have the same problem...I'm running e4rat-preload through the init= parameter, which kills plymouth!! sad

Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1

Re: Bootchart in Statler

reviving the thread, hoorah!
i've used this how-to to get bootchart to work.here is the result: http://roald.exul.nl/media/bootchart.png

2 things i'm wondering now.

1. how do i interpret this chart? what do i look for to make booting faster? (might be able to Google this one though..?)
2. had trouble with plymouth, gdm not starting automatically etc. was thinking of ditching plymouth anyway (more interested in the boot-process than the - quite awesome but still - pulsating #! logo)... you guys think that would make gdm work properly again?
GDM error (i have to type this over as i cannot copy-paste from tty1:

gdm/sbin/start-stop-daemon: unable to chdir() to (unreachable)

and

/etc/init.d/plymouth: 87: /bin/plymouth: not found

Last edited by rhowaldt (2011-11-08 18:40:48)