Skip to contentSkip to conversation

How to dump xen0 kernel output to a serial console?

DISCUSSION Lily Huang 1 participant 3 messages Jun 30, 2006

lore
Share & tools
lore

Lily Huang

author
#0 lore raw

Hello,

I am running into xen0 crash. Every time xen0 crashes, it will dump some error messages. Unfortunately, before I can read the details, the system already restarted. Is there anyway to dump the error message to a different serial console?

How to debug xen0? I mean, xen0, not xen itself.

Please give me some ideas or direct me to the right place to read the documentation.

Many thanks!

lily

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#1 lore raw

Below is my grub setting:

--------------------------------------------------------------------------
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 #terminal --timeout=5 serial console

title Xen-unstable / XenLinux 2.6

       root (hd0,0)
       kernel /boot/xen.gz dom0_mem=512000 console=vga com1=115200,8n1

sync_console
module /boot/vmlinuz-2.6-xen0 root=/dev/hda1 ro console=tty0
console=ttyS0
--------------------------------------------------------------------------
If I enable the "terminal --timeout=5 serial console", I can see the grub interface from the console, but after I chose the boot option, I didn't further console dump out.

What's wrong with my setting? Help! Please!

lily

Quoted 8 lines · Lily Huang

Hello,

I am running into xen0 crash. Every time xen0 crashes, it will dump some error messages. Unfortunately, before I can read the details, the system already restarted. Is there anyway to dump the error message to a different serial console?

Quoted 9 lines

How to debug xen0? I mean, xen0, not xen itself.

Please give me some ideas or direct me to the right place to read the documentation.

Many thanks!

lily

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#2 lore raw

BTW: I used minicom to read the console output. Can the problem be related to minicom? It did display grub output though.

lily

Quoted 19 lines · Lily Huang

Below is my grub setting:

--------------------------------------------------------------------------
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 #terminal --timeout=5 serial console

title Xen-unstable / XenLinux 2.6

        root (hd0,0)
        kernel /boot/xen.gz dom0_mem=512000 console=vga com1=115200,8n1

sync_console
module /boot/vmlinuz-2.6-xen0 root=/dev/hda1 ro console=tty0
console=ttyS0
--------------------------------------------------------------------------

If I enable the "terminal --timeout=5 serial console", I can see the grub interface from the console, but after I chose the boot option, I didn't further console dump out.

Quoted 27 lines

What's wrong with my setting? Help! Please!

lily

Quoted 17 lines · Lily Huang

Hello,

I am running into xen0 crash. Every time xen0 crashes, it will dump some error messages. Unfortunately, before I can read the details, the system already restarted. Is there anyway to dump the error message to a different serial console?

How to debug xen0? I mean, xen0, not xen itself.

Please give me some ideas or direct me to the right place to read the documentation.

Many thanks!

lily

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel