Skip to contentSkip to conversation

Problems with running xentrace

DISCUSSION Karthik Jayaraman 3 participants 4 messages Apr 7, 2005 – Apr 8, 2005

lore
Share & tools
lore
#3 lore raw
In reply to Karthik Jayaraman

Try doing a make clean before your make trace=y install. The makefile doesn't allow make to identify what files need rebuilding when you add trace, debug, etc. to the rebuild, so you really do need to rebuild from scratch.

Cheers,
Mark

Quoted 39 lines · Karthik Jayaraman
Quoted 2 lines · Bin Ren

I suspect you are running an unstable xen with *stale* userspace 'xentrace'.

I am using only the stable version of Xen(2.0.5), and I compiled in the following way:

make trace=y install

Is there any other way this problem could have occured?

Quoted 20 lines

On Apr 8, 2005 8:26 AM, Karthik Jayaraman <[email protected]>

Quoted 17 lines · wrote:

Hi,
I wanted to use the xentrace tool. So I did the build with "trace=y"
option. However when I used xentrace, I got the following error:
"Failure to get trace buffer pointer from Xen"

I also tried printing a message from setup.c, where "init_trace_bufs"
was called. But the message was not printed.

I would appreciate any help in this regard.

Thank you,
Karthik

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

Thanks,
Karthik

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

#0 lore raw

Hi,
I wanted to use the xentrace tool. So I did the build with "trace=y" option. However when I used xentrace, I got the following error:
*"Failure* *to* *get* *trace* *buffer* *pointer* *from* *Xen"

*I also tried printing a message from setup.c, where "init_trace_bufs" was called. But the message was not printed.

I would appreciate any help in this regard.

Thank you,
Karthik

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

#1 lore raw

Are you using xen-unstable or testing? As for xen-unstable, there were big changes to xentrace a few days ago, both inside Xen and userspace tools. I suspect you are running an unstable xen with *stale* userspace 'xentrace'. Please make sure you have rebuilt 'tools' as well.

Cheers,
Bin

Quoted 20 lines · Karthik Jayaraman

Hi,
I wanted to use the xentrace tool. So I did the build with "trace=y"
option. However when I used xentrace, I got the following error:
"Failure to get trace buffer pointer from Xen"

I also tried printing a message from setup.c, where "init_trace_bufs" was
called. But the message was not printed.

I would appreciate any help in this regard.

Thank you,
Karthik

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

#2 lore raw
Quoted 2 lines · Bin Ren

I suspect you are running an unstable xen with *stale* userspace 'xentrace'.

I am using only the stable version of Xen(2.0.5), and I compiled in the following way:

make trace=y install

Is there any other way this problem could have occured?

Quoted 15 lines
Quoted 13 lines · Karthik Jayaraman

Hi,
I wanted to use the xentrace tool. So I did the build with "trace=y"
option. However when I used xentrace, I got the following error:
"Failure to get trace buffer pointer from Xen"

I also tried printing a message from setup.c, where "init_trace_bufs" was
called. But the message was not printed.

I would appreciate any help in this regard.

Thank you,
Karthik

Quoted 8 lines
Quoted 7 lines

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

Thanks,
Karthik