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

[BUG REPORT] soft_reset (kexec/kdump) does not work with mainline xen


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Dongli Zhang <dongli.zhang@xxxxxxxxxx>
  • Date: Thu, 24 Feb 2022 22:27:40 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=S2pQkbyG0tdJ+ARls95XNZJNZL1V2A/Z3kyE48Us1EU=; b=HsCAfAeIPB0DfOROlR6adP03hNQSvLKYX3j5VGF8QCeKhe1t54LhFV1q9BcMdjRheIRf2uCXwU5Z7sWUzF9BrJv/h7Sb0vnLc7zkcTuyf7xKEp32eM8VQ8OpWZZcvv9wR6Mq52zxHpTWFS3qKadjygH9B7LuLa3jSYJJvYWvYpl4lylw/8Iv3eOAMFvRJJW8nmLKX5LgIxENzh/yAlPkrqd1eYWLLK80DtJN1KQfcsujUYSfPjy8LQe7vHt0bPwD+AITUSTtfYWBGTy+Vllyy1nUFoUOpv10K0f+yJUPO6wTNnYeJPxD6JLhPpWVww6Q7Iz7vCCE+JAWHadHEBPeIA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iBKeBfkTQxWMyp4h8DT4sxMdfIZsOH1GogJNzsEcW9CocwGtILT3r5Wa9a5REBftYcnIQXNbZPFME8iYge5MOiUZcrsCpb69P7ZMe75KT4h+J31iW0SaSALCEFi0Ry8bhtaM30TKYwHxZs7GxZdNJla8WHkyv36A9OGZaWElyHUBR0HungdKoJSa3B4sALQ3H+mX3Ol3T0eAZgbFZ55o9+Zd1/r3Pk12bafRRPUV8TG+968my2+z5RUTzC8g0EbOJh/DV68rDp/OprDBjRT8RaKwWhtv188PjpYqY901D9y1M4Zex11ViF1bcly8sA86AEIkwxLwXbjNgaxKROuOlA==
  • Cc: lkml <linux-kernel@xxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 24 Feb 2022 22:27:55 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Suggested_attachment_session_id: e4ef5105-6856-7ae0-2fc5-8e279b317d5e
  • Thread-index: AQHYKc2TmfaW7HQJX0Cd51obFMzfDg==
  • Thread-topic: [BUG REPORT] soft_reset (kexec/kdump) does not work with mainline xen

Hello,

This is to report that the soft_reset (kexec/kdump) has not been working for me
since long time ago.

I have tested again with the most recent mainline xen and the most recent
mainline kernel.

While it works with my old xen version, it does not work with mainline xen.


This is the log of my HVM guest.

Waiting for domain test-vm (domid 1) to die [pid 1265]
Domain 1 has shut down, reason code 5 0x5
Action for shutdown reason code 5 is soft-reset
Done. Rebooting now
xc: error: Failed to set d1's policy (err leaf 0xffffffff, subleaf 0xffffffff, 
msr 0xffffffff) (17 = File exists): Internal error
libxl: error: libxl_cpuid.c:490:libxl__cpuid_legacy: Domain 1:Failed to apply 
CPUID policy: File exists
libxl: error: libxl_create.c:1613:domcreate_rebuild_done: Domain 1:cannot 
(re-)build domain: -3
libxl: error: libxl_xshelp.c:201:libxl__xs_read_mandatory: xenstore read 
failed: `/libxl/1/type': No such file or directory
libxl: warning: libxl_dom.c:51:libxl__domain_type: unable to get domain type 
for domid=1, assuming HVM


Neither of below works.

# kexec -l /boot/vmlinuz-5.17.0-rc4xen-00054-gf71077a4d84b-dirty 
--initrd=/boot/initrd.img-5.17.0-rc4xen-00054-gf71077a4d84b-dirty 
--reuse-cmdline
# kexec -e

or

# taskset -c 0 echo c > /proc/sysrq-trigger


Thank you very much!

Dongli Zhang


 


Rackspace

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