xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Failed to enable debug messages in xen 4.13
@ 2021-04-15 13:55 Charles Gonçalves
  2021-04-15 13:58 ` Andrew Cooper
  2021-04-15 14:01 ` Jan Beulich
  0 siblings, 2 replies; 4+ messages in thread
From: Charles Gonçalves @ 2021-04-15 13:55 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 1829 bytes --]

Hello Guys,

I've enabled the log_lvl=all guest_loglvl=all, tried the xl debug-key +,
configured the build with
./configure --enable-debug

Do I miss something?

xl info

                                                      6:15
host                   : xendev
release                : 4.4.0-148-generic
version                : #174~14.04.1-Ubuntu SMP Thu May 9 08:17:37 UTC 2019
machine                : x86_64
nr_cpus                : 16
max_cpu_id             : 15
nr_nodes               : 1
cores_per_socket       : 8
threads_per_core       : 2
cpu_mhz                : 2994.413
hw_caps                :
178bf3ff:f6d8320b:2e500800:244033ff:0000000f:209c01a9:00000000:00000500
virt_caps              : pv hvm hvm_directio pv_directio hap shadow
total_memory           : 32699
free_memory            : 28229
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 13
xen_extra              : .0
xen_version            : 4.13.0
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit2
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Tue Dec 17 14:19:49 2019 +0000 git:a2e84d8-dirty
xen_commandline        : placeholder dom0_mem=2048M,max:2048M log_lvl=all
guest_loglvl=all dom0_max_vcpus=2 dom0_vcpus_pin
cc_compiler            : gcc (Ubuntu 7.5.0-3ubuntu1~14.04.1) 7.5.0
cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Wed Apr 14 05:13:56 WEST 2021
build_id               : 428bb9223a72819e497d6b06a396034ab3b5280d
xend_config_format     : 4





Atenciosamente,
*Charles Ferreira Gonçalves *

[-- Attachment #2: Type: text/html, Size: 2717 bytes --]

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

* Re: Failed to enable debug messages in xen 4.13
  2021-04-15 13:55 Failed to enable debug messages in xen 4.13 Charles Gonçalves
@ 2021-04-15 13:58 ` Andrew Cooper
  2021-04-15 14:01 ` Jan Beulich
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew Cooper @ 2021-04-15 13:58 UTC (permalink / raw)
  To: Charles Gonçalves, xen-devel

On 15/04/2021 14:55, Charles Gonçalves wrote:
> Hello Guys, 
>
> I've enabled the log_lvl=all guest_loglvl=all, tried the xl debug-key
> +, configured the build with 
> ./configure --enable-debug
>
> Do I miss something?

./configure is for the userspace tools.

You want `make -C xen menuconfig` and select CONFIG_DEBUG to build a
debug hypervisor.

~Andrew


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

* Re: Failed to enable debug messages in xen 4.13
  2021-04-15 13:55 Failed to enable debug messages in xen 4.13 Charles Gonçalves
  2021-04-15 13:58 ` Andrew Cooper
@ 2021-04-15 14:01 ` Jan Beulich
  2021-04-15 15:26   ` Charles Gonçalves
  1 sibling, 1 reply; 4+ messages in thread
From: Jan Beulich @ 2021-04-15 14:01 UTC (permalink / raw)
  To: Charles Gonçalves; +Cc: xen-devel

On 15.04.2021 15:55, Charles Gonçalves wrote:
> I've enabled the log_lvl=all guest_loglvl=all,

The first one is mis-spelled and needs to be "loglvl=".

> tried the xl debug-key +,

If this didn't help, did you perhaps not do a debug build of Xen?
Debug messages get completely compiled out of release builds.

> configured the build with
> ./configure --enable-debug

This, in any event, has an effect on the tool stack build only.
The hypervisor build gets configured via kconfig, with the settings
tracked in xen/.config.

Jan


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

* Re: Failed to enable debug messages in xen 4.13
  2021-04-15 14:01 ` Jan Beulich
@ 2021-04-15 15:26   ` Charles Gonçalves
  0 siblings, 0 replies; 4+ messages in thread
From: Charles Gonçalves @ 2021-04-15 15:26 UTC (permalink / raw)
  To: Jan Beulich; +Cc: xen-devel

[-- Attachment #1: Type: text/plain, Size: 901 bytes --]

Thanks, @Jan and  @Andrew


`make -C xen menuconfig` helped a lot ....
And indeed there a typo in the grub line

It's working now!

Thanks for helping with this question!




Atenciosamente,
*Charles Ferreira Gonçalves *




On Thu, Apr 15, 2021 at 3:01 PM Jan Beulich <jbeulich@suse.com> wrote:

> On 15.04.2021 15:55, Charles Gonçalves wrote:
> > I've enabled the log_lvl=all guest_loglvl=all,
>
> The first one is mis-spelled and needs to be "loglvl=".
>
> > tried the xl debug-key +,
>
> If this didn't help, did you perhaps not do a debug build of Xen?
> Debug messages get completely compiled out of release builds.
>
> > configured the build with
> > ./configure --enable-debug
>
> This, in any event, has an effect on the tool stack build only.
> The hypervisor build gets configured via kconfig, with the settings
> tracked in xen/.config.
>
> Jan
>

[-- Attachment #2: Type: text/html, Size: 1607 bytes --]

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

end of thread, other threads:[~2021-04-15 15:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15 13:55 Failed to enable debug messages in xen 4.13 Charles Gonçalves
2021-04-15 13:58 ` Andrew Cooper
2021-04-15 14:01 ` Jan Beulich
2021-04-15 15:26   ` Charles Gonçalves

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).