Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2015 11:11:15 +0200
From:      =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= <roger.pau@citrix.com>
To:        "Eggert, Lars" <lars@netapp.com>
Cc:        Roman Bogorodskiy <novel@FreeBSD.org>, "freebsd-xen@freebsd.org" <freebsd-xen@freebsd.org>
Subject:   Re: Xen dom0 crash
Message-ID:  <562756B3.7050804@citrix.com>
In-Reply-To: <7501F178-400B-43F8-9FBC-69F566A7BD11@netapp.com>
References:  <7CB114B9-B666-4764-86B6-B94F07973389@netapp.com> <5559EB2E.6080609@citrix.com> <20150522161117.GA59488@kloomba> <555F58DC.2040807@citrix.com> <46625CAE-750E-4ECE-8B39-DF8EDDFA912F@netapp.com> <55642229.9020106@citrix.com> <E8FB00CE-C65F-4A54-973D-4962C4463FE6@netapp.com> <5627417A.20304@citrix.com> <A1220AC9-230A-4ECE-86BD-FA042A571735@netapp.com> <56275284.1070108@citrix.com> <7501F178-400B-43F8-9FBC-69F566A7BD11@netapp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El 21/10/15 a les 11.02, Eggert, Lars ha escrit:
> On 2015-10-21, at 10:53, Roger Pau Monné <roger.pau@citrix.com> wrote:
>> hw.pci.mcfg=0
> 
> Thanks! That gets me a bit further, but it now crashes with:
> 
> ...
> SMP: AP CPU #7 Launched!
> SMP: AP CPU #14 Launched!
> SMP: AP CPU #11 Launched!
> SMP: AP CPU #21 Launched!
> SMP: AP CPU #30 Launched!
> SMP: AP CPU #4 Launched!
> SMP: AP CPU #20 Launched!
> panic: xen_pv_lapic_enable_pmc: not available in Xen PV port.
> cpuid = 0
> KDB: stack backtrace:
> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffffff81fd5990
> vpanic() at vpanic+0x182/frame 0xffffffff81fd5a10
> panic() at panic+0x43/frame 0xffffffff81fd5a70
> xen_pv_lapic_enable_pmc() at xen_pv_lapic_enable_pmc+0x19/frame 0xffffffff81fd5a80
> pmc_md_initialize() at pmc_md_initialize+0x3c/frame 0xffffffff81fd5aa0
> load() at load+0x41e/frame 0xffffffff81fd5af0
> syscall_module_handler() at syscall_module_handler+0x290/frame 0xffffffff81fd5b20
> module_register_init() at module_register_init+0xfb/frame 0xffffffff81fd5b50
> mi_startup() at mi_startup+0x108/frame 0xffffffff81fd5b70
> xen_start() at xen_start+0x1f
> KDB: enter: panic
> [ thread pid 0 tid 100000 ]
> Stopped at      kdb_enter+0x3b: movq    $0,kdb_why
> db>

Hello,

Are you loading hwpmc by default? Performance monitor counters are not
yet implemented in the FreeBSD PVH port, so you should not load hwpmc. I
have to look at providing an error message here rather than panicking.

Roger.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?562756B3.7050804>