xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* How to debug the minios in xen ?
@ 2012-03-13  6:16 马磊
  2012-03-14 13:27 ` Daniel Kiper
  0 siblings, 1 reply; 4+ messages in thread
From: 马磊 @ 2012-03-13  6:16 UTC (permalink / raw)
  To: xen-devel


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

Hi,
    The minios source code is in extra/minios. After compiling, I got a
file called mini-os.gz, then I succeed to start a domainU by setting the
kernerl to be mini-os.gz in config file 'minios.conf' as follow:
# Kernel image file.
kernel = "/home/test/minios.gz"

    The command 'xm list' show:
Name                                        ID   Mem VCPUs      State
Time(s)
Domain-0                                     0  1220     2     r-----
 11527.3
minios-120                                   5   256     1     --p---
1110.5

    I got the gdbserver-xen later and run 'gdbserver-xen
127.0.0.1:9999--attach 5'(5 is the domid). Next, run 'gdb
/path/to/minios/exefile', and
then 'bt' in gdb, but no stack info.
    thanks in advance for your help.

bruce

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

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

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

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

end of thread, other threads:[~2012-04-20 18:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-13  6:16 How to debug the minios in xen ? 马磊
2012-03-14 13:27 ` Daniel Kiper
2012-04-19 15:53   ` 马磊
2012-04-20 18:08     ` Daniel Kiper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).