[Bug 606373] Re: cloud-init output does not get to console when booted with pv-grub and ramdisk
Scott Moser
smoser at canonical.com
Tue Sep 14 21:14:24 UTC 2010
I'm attaching an init wrapper for debugging purposes. I placed this script in /sbin/init, and moved upstart to /sbin/init.real.
Then, rebooted.
The console shows (snipped):
Loading, please wait...
[ 0.373808] udev[61]: starting version 162
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[ 0.534353] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:
(null)
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
Tue Sep 14 21:03:16 UTC 2010: hi world 191 ()
21:03:16 up 0 min, 0 users, load average: 0.00, 0.00, 0.00
total 0
lr-x------ 1 root root 64 Sep 14 21:03 0 -> /dev/null
lrwx------ 1 root root 64 Sep 14 21:03 1 -> /dev/console
lrwx------ 1 root root 64 Sep 14 21:03 2 -> /dev/console
mountall: Disconnected from Plymouth
191 reports i=3
191 reports i=4
191 reports i=5
Note, that 'i=3' this is missing output for 'i=0', 1, and 2;
For 3 seconds, this process was writing data to /dev/console that was getting lost.
echo "wrote to ${out} after $i"
(note, the above console came from a boot before I added redirections of /dev/console for
echo "$i, could not write to ${out}"
and
echo "wrote to ${out} after $i"
So, those messages would not have appeared.
** Attachment added: "init wrapper for debugging"
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/606373/+attachment/1585361/+files/init-wrapper.txt
--
cloud-init output does not get to console when booted with pv-grub and ramdisk
https://bugs.launchpad.net/bugs/606373
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list