Riccardo, I added /etc/initramfs-tools/hooks/bootchart2 as per #603656, and ran update-initramfs -ukall.
With init=/sbin/bootchartd, the system boots normally.
When I add rdinit=/sbin/bootchartd,
it hangs at the kernel message "switched to clocksource tsc".
The keyboard isn't working so I can't investigate further.
I'm PXE booting a wheezy image using live-initramfs-tools 3.0.1-1 and
bootchart2 0.14.4-3.
root@spoon:~# cat /srv/tftp/pxelinux.cfg/01-00-e0-4c-a6-1a-a9
PROMPT 0
NOESCAPE 1
LABEL linux
IPAPPEND 2
KERNEL images/tvserver-twb/vmlinuz
APPEND initrd=images/tvserver-twb/initrd.img boot=live noprompt noeject
netboot=nfs nfsroot=/srv/netboot/images live-media-path=tvserver-twb break
single init=/sbin/bootchartd rdinit=/sbin/bootchartd
root@spoon:~# file /srv/tftp/images/tvserver-twb/vmlinuz
/srv/tftp/images/tvserver-twb/vmlinuz: Linux kernel x86 boot executable
bzImage, version 3.12-0.bpo.1-amd64 (debian-kern, RO-rootFS, swap_dev 0x2,
Normal VGA
root@spoon:~# xzcat /srv/tftp/images/tvserver-twb/initrd.img | cpio -t |
grep -e bash -e bootchart
sbin/bootchartd
lib/bootchart
lib/bootchart/tmpfs
lib/bootchart/bootchart-collector
113363 blocks
etc/bootchartd.conf
bin/bash
And suggestions about what to try next?
signature.asc
Description: Digital signature

