QEMU and kernel testing
So I have some custom kernels I need to build and such, and QEMU is the preferred method of testing them.
When using QEMU though, there is no scroll back to the "dmesg" output. And obviously I cant grab the dmesg file after. Also, none of the redirection methods, including TCP, telnet, file, or anything actually put this output into a file. So. How do I get ALL of the text output from QEMU into a file to debug? OR, how do you kernel experts debug things like this in QEMU? |
normally, you would ssh into the VM and pipe dmesg into less
|
Quote:
If I compile a new kernel and intramfs and boot them up in QEMU, and the kernel crashes halfway through the bootup,.. how am i supposed to SSH to the instance? I was hoping to find a way to catch all of the kernel text output from start to crash from QEMU. How do kernel/qemu people go about doing that? Because I cannot find the documentation to explain how to do that! |
I thought you meant running the actual build process under QEMU. I'd try to use the qemu-monitor console if I were you:
http://stackoverflow.com/questions/1...-host-terminal |
You could send your boot messages to a serial device and monitor the serial console of qemu on your host.
|
All times are GMT -5. The time now is 03:24 AM. |