bootchart not working

Bug #1066950 reported by Matt Fischer on 2012-10-15
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Chris Wayne

Bug Description

This is a placeholder bug for the work mfisch is doing (going to do) to fix bootchart and make it work "out of the box". Once I get back to this, I'll post more details on what's wrong and how I plan to fix it.

Matt Fischer (mfisch) on 2012-10-15
summary: - stock bootchart not working, bootchart2 also not working
+ bootchart not working, bootchart2 also not working
description: updated
Matt Fischer (mfisch) on 2012-10-15
Changed in newark:
assignee: nobody → Matt Fischer (mfisch)
Matt Fischer (mfisch) on 2012-10-18
Changed in newark:
assignee: Matt Fischer (mfisch) → nobody
assignee: nobody → Chris Wayne (cwayne18)

So I was able to eventually get bootchart to create a png and a tar for me. What I had to do was edit line 33 of /etc/init/bootchart.conf. I changed it from:

    if [ -d /dev/.bootchart ]


    if [ -d /dev/.bootchart/log ]

As /lib/bootchart/gather was failing, because /dev/.bootchart/log didn't exist for some reason. I don't know if there's an easier way to let users do this, but I'll continue investigating. In the meantime, I'll upload some bootchart info

Chris Wayne (cwayne18) wrote :
Chris Wayne (cwayne18) wrote :
Changed in newark:
status: New → In Progress
Chris Wayne (cwayne18) wrote :

bootchart (0.90.2-8ubuntu1newark1) quantal; urgency=low

  * Checking for /dev/.bootstrap/log instead of just /dev/.bootstrap (LP: #1066950)

 -- Chris Wayne <email address hidden> Thu, 18 Oct 2012 16:46:50 -0400

Changed in newark:
status: In Progress → Fix Committed
Matt Fischer (mfisch) wrote :

FIx will be in 1018-3 or later builds.

summary: - bootchart not working, bootchart2 also not working
+ bootchart not working
description: updated
Chris Wayne (cwayne18) wrote :

Verified fixed.

Note bootchart is not in the build by default

tags: added: cqa-verified
Alex Chiang (achiang) wrote :

We should ensure we get a proper upstream fix for this in R.

information type: Proprietary → Public
no longer affects: newark
Matt Fischer (mfisch) on 2012-11-05
Changed in ubuntu-nexus7:
status: New → Fix Released
importance: Undecided → Medium
assignee: nobody → Chris Wayne (cwayne18)
Chris Wayne (cwayne18) wrote :
Adam Conrad (adconrad) wrote :

I'm not sure this patch makes much sense. If the initramfs script is failing to create the directory, it's also going to fail to produce logs in the directory, after all, and perhaps one should hunt down why this is...

Also, in looking at the bootchart initramfs script, it's going to fail on armhf, since it's not copying the armhf linker into the chroot jail. Were these tests on armel or armhf?

Chris Wayne (cwayne18) wrote :


The initramfs script is failing altogether, as it is an armhf device. This upstart job seems to only run if that initramfs script doesn't run, and it fails to create the correct log dir without this patch.

tags: added: nexus7
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers