You are not logged in.

#1 2008-05-27 08:58:28

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Bootchart issue

well.. I installed bootchart and added it to a grub entry

# (0) Arch Linux
title  Arch Linux Bootchart
root   (hd0,2)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/c4d38c37-4350-4b70-94e0-baf9af2f2cab ro  init=/sbin/bootchartd
initrd /boot/kernel26.img

rebooted and I get this error:

/sbin/bootchart line 124 :[ :3
5: integer expression expected

does this happens only to me?
thanks for the help

Offline

#2 2008-05-27 13:36:35

Dr Small
Member
From: Behind a Terminal
Registered: 2008-03-02
Posts: 59
Website

Re: Bootchart issue

I am not getting that error, but bootchart never builds the file in /var/log for me.
I am in the same boat as you, as bootchart does not work for me either.

I made a thread about it at Ubuntu Forums:
http://ubuntuforums.org/showthread.php? … ost5051007

Any help regarding this issue would be most appreciated.

Dr Small

Offline

#3 2008-05-27 14:03:37

patogen
Member
Registered: 2008-05-11
Posts: 86

Re: Bootchart issue

Well, it's easy to fix (I just remembered) how to do it, change:

kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/c4d38c37-4350-4b70-94e0-baf9af2f2cab ro  init=/sbin/bootchartd

to

kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/c4d38c37-4350-4b70-94e0-baf9af2f2cab ro 3 init=/sbin/bootchartd

If your run-level is 3 that is (standard in Arch). If you need another run-level change that, this fixes it (for me at least).


We met up with the aliens and guess what? They have no word for fluffy!

Offline

#4 2008-05-27 19:37:33

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: Bootchart issue

Thanks for the replies smile
@patogen
I already have

id:3:initdefault:

on /etc/inittab..
I tested your suggestion anyway but it results in the same issue...
@everybody
I looked at line 124 in /sbin/bootchart and I think the error is in the check

    if [ "$runlevel" -eq "2" -o "$runlevel" -eq "3" -o "$early_login" = "yes" ]; then
        exit_proc="mingetty agetty rungetty getty"
    fi

is it possible that is a missing dependence?

 pacman -Ss getty
community/fbgetty 0.1.698-1
    fbgetty is a console getty like mingetty, which supports framebuffers
community/fgetty 0.6-2
    A mingetty stripped of the printfs
community/qingy 0.9.6-2
    Qingy is a DirectFB getty replacement.

Offline

#5 2008-05-27 21:09:07

Dr Small
Member
From: Behind a Terminal
Registered: 2008-03-02
Posts: 59
Website

Re: Bootchart issue

I tried those dependencies, and it didn't help the problem.
Also, adding ro 3 to GRUB did not help either. It just showed me the error. sad

Offline

#6 2008-05-27 21:51:59

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: Bootchart issue

iirc this happens to me too but it still works fine.  Is bootchart not working?

Last edited by Gauvenator (2008-05-27 21:53:04)

Offline

#7 2008-05-28 00:23:27

Dr Small
Member
From: Behind a Terminal
Registered: 2008-03-02
Posts: 59
Website

Re: Bootchart issue

I finally got bootchart to work by editing line 120 of /sbin/bootchartd and adding 'xdm' to the end of it. It was waiting for my Login manager to load, so it could end and save my bootchart, but since it was looking for GDM and KDM sorts, it never completed successfully or created my bootchart.

I am getting the error at bootup, too, but it does not seem to be affecting anything.

Dr Small

Offline

#8 2008-05-28 07:56:39

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: Bootchart issue

very good fine Dr Small, it works like a charm big_smile
Just a note if some openbox/other_wm_only without XDM/GDM/KDM/SLIM user have the same problem..
(I followed the wiki http://wiki.archlinux.org/index.php/Aut … on_startup (using the C program) )
To get it to work I modified /sbin/bootchart line 120 in:

local exit_proc="gdmgreeter gdm-binary kdm_greet kdm openbox"

I hope this help someone with the same problem..
Thank you Dr Small smile
Bye

Offline

#9 2008-09-12 22:06:35

jarda-wien
Member
Registered: 2008-03-13
Posts: 104

Re: Bootchart issue

see http://bbs.archlinux.org/viewtopic.php? … 12#p419412 for the /sbin/bootchartd: line 124: [: 3
5: integer expression expected issue

Offline

#10 2008-10-09 01:57:57

scooterpd
Member
Registered: 2008-09-01
Posts: 29

Re: Bootchart issue

_Marco_ wrote:

I hope this help someone with the same problem..

it sure did.  thank you

Offline

#11 2008-11-11 05:37:39

TheBiNz
Member
Registered: 2008-11-11
Posts: 5

Re: Bootchart issue

so how would i get into work with xfce4? i have tried adding 'startxfce4' to line 120 but nothing.

mind you i autologin with the following in my inittab: x:5:once:/bin/su phil -l -c "/bin/bash --login -c startxfce4 >/dev/null 2>/dev/null"

[phil@arch ~]$ bootchart-render
/var/log/bootchart.tgz not found

Offline

#12 2009-02-23 06:42:56

PrimoTurbo
Member
Registered: 2008-06-26
Posts: 109
Website

Re: Bootchart issue

Adding openbox to /sbin/bootchart worked for me thanks smile

Offline

#13 2009-04-10 23:49:18

mehall
Member
Registered: 2009-04-01
Posts: 27
Website

Re: Bootchart issue

_Marco_ wrote:

very good fine Dr Small, it works like a charm big_smile
Just a note if some openbox/other_wm_only without XDM/GDM/KDM/SLIM user have the same problem..
(I followed the wiki http://wiki.archlinux.org/index.php/Aut … on_startup (using the C program) )
To get it to work I modified /sbin/bootchart line 120 in:

local exit_proc="gdmgreeter gdm-binary kdm_greet kdm openbox"

I hope this help someone with the same problem..
Thank you Dr Small smile
Bye

is there any way to do this without having someone log in automatically? I'd rather avoid that hmm

Offline

Board footer

Powered by FluxBB