VMPlayer does not flush all outputs to serial port
Posted
by
eddyxu
on Ask Ubuntu
See other posts from Ask Ubuntu
or by eddyxu
Published on 2012-10-01T21:18:58Z
Indexed on
2012/10/01
21:51 UTC
Read the original article
Hit count: 250
I am debugging a Linux kernel in the VMPlayer on Ubuntu 12.04 configured a serial port to a file to see the debug information. However, each time when the kernel panics, only the backtrace stack were printed out instead of all the booting messages. This does not happend on VMPlayer Fusion.
My .vmx file:
serial1.present = "TRUE"
serial1.fileType = "file"
serial1.fileName = "~/tmp/serial.out"
serial1.startConnected = "TRUE"
msg.serial.file.open = "Replace"
serial1.yieldOnMsrRead = "TRUE"
My /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="find_preseed=/preseed.cfg noprompt console=tty0 console=ttyS1,115200n8"
How could I flush every message to both tty0 and ttyS1?
© Ask Ubuntu or respective owner