All of lore.kernel.org
 help / color / mirror / Atom feed
* debug console display problem
@ 2008-09-06 11:50 杜雨阳
  2008-09-06 16:20 ` Christopher Head
  0 siblings, 1 reply; 3+ messages in thread
From: 杜雨阳 @ 2008-09-06 11:50 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 408 bytes --]

Dear Xen developers,
 
My very first guest kernel is:

void start_kernel(start_info_t * start_info)
{
        HYPERVISOR_console_io(CONSOLEIO_write,12,"Hello World\n");
        while(1);
}

My Xen hypervisor is the latest xen-3.3.0, however, I never get the message: Hello World.

How can I get this? Please give me complete setup.

Crave for your help.

Shawn

2008-09-06 



杜雨阳 

[-- Attachment #1.2: Type: text/html, Size: 1428 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: debug console display problem
  2008-09-06 11:50 debug console display problem 杜雨阳
@ 2008-09-06 16:20 ` Christopher Head
  2008-09-06 16:34   ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Head @ 2008-09-06 16:20 UTC (permalink / raw)
  To: 杜雨阳, xen-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Provide these command-line options:

loglvl=all guest_loglvl=all console_to_ring

in your bootloader to the Xen hypervisor. The message will then appear
in xm dmesg.

Chris

杜雨阳 wrote:
| Dear Xen developers,
|
| My very first guest kernel is:
|
| void start_kernel(start_info_t * start_info)
| {
|         HYPERVISOR_console_io(CONSOLEIO_write,12,"Hello World\n");
|         while(1);
| }
|
| My Xen hypervisor is the latest xen-3.3.0, however, I never get the
| message: Hello World.
|
| How can I get this? Please give me complete setup.
|
| Crave for your help.
|
| Shawn
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: GnuPT 2.7.2
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjCrcYACgkQiD2svb/jCb70lACffodUe0+AC94Qgi1kAVwJFVFC
AWIAn0jEwNtFJnz/E/wJNM5QEhQ00r93
=8U+h
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: debug console display problem
  2008-09-06 16:20 ` Christopher Head
@ 2008-09-06 16:34   ` Keir Fraser
  0 siblings, 0 replies; 3+ messages in thread
From: Keir Fraser @ 2008-09-06 16:34 UTC (permalink / raw)
  To: Christopher Head, 杜雨阳 , xen-devel

Also you need a debug build (debug=y make) of Xen. Guests (anything other
than dom0) are supposed to talk to xenconsoled in dom0, but a debug build
makes allowances for guest OS development.

 -- Keir

On 6/9/08 17:20, "Christopher Head" <chead@cs.ubc.ca> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Provide these command-line options:
> 
> loglvl=all guest_loglvl=all console_to_ring
> 
> in your bootloader to the Xen hypervisor. The message will then appear
> in xm dmesg.
> 
> Chris
> 
> 杜雨阳 wrote:
> | Dear Xen developers,
> |
> | My very first guest kernel is:
> |
> | void start_kernel(start_info_t * start_info)
> | {
> |         HYPERVISOR_console_io(CONSOLEIO_write,12,"Hello World\n");
> |         while(1);
> | }
> |
> | My Xen hypervisor is the latest xen-3.3.0, however, I never get the
> | message: Hello World.
> |
> | How can I get this? Please give me complete setup.
> |
> | Crave for your help.
> |
> | Shawn
> |
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: GnuPT 2.7.2
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkjCrcYACgkQiD2svb/jCb70lACffodUe0+AC94Qgi1kAVwJFVFC
> AWIAn0jEwNtFJnz/E/wJNM5QEhQ00r93
> =8U+h
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-06 16:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-06 11:50 debug console display problem 杜雨阳
2008-09-06 16:20 ` Christopher Head
2008-09-06 16:34   ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.