log stdout and stderr of stage 1 to dmesg