bootchart not working

Bug #1066950 reported by Matt Fischer
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bootchart
New
Undecided
Unassigned
ubuntu-nexus7
Fix Released
Medium
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)
summary: - stock bootchart not working, bootchart2 also not working
+ bootchart not working, bootchart2 also not working
description: updated
Matt Fischer (mfisch)
Changed in newark:
assignee: nobody → Matt Fischer (mfisch)
Matt Fischer (mfisch)
Changed in newark:
assignee: Matt Fischer (mfisch) → nobody
assignee: nobody → Chris Wayne (cwayne18)
Revision history for this message
Chris Wayne (cwayne) wrote : Re: bootchart not working, bootchart2 also not working

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 ]

to

    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

Revision history for this message
Chris Wayne (cwayne) wrote :
Revision history for this message
Chris Wayne (cwayne) wrote :
Changed in newark:
status: New → In Progress
Revision history for this message
Chris Wayne (cwayne) 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
Revision history for this message
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
Revision history for this message
Chris Wayne (cwayne) wrote :

Verified fixed.

Note bootchart is not in the build by default

tags: added: cqa-verified
Revision history for this message
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)
Changed in ubuntu-nexus7:
status: New → Fix Released
importance: Undecided → Medium
assignee: nobody → Chris Wayne (cwayne18)
Revision history for this message
Chris Wayne (cwayne) wrote :
Revision history for this message
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?

Revision history for this message
Chris Wayne (cwayne) wrote :

Adam,

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.