[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] How to debug the minios in xen ?

On Tue, Mar 13, 2012 at 02:16:26PM +0800, ?????? wrote:
> 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
> 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.

Hmmm... I think that you forgot to connect to gdbserver-xen.
Run following command from gdb: target remote :9999
and do not forget compile mini-os with symbols.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.