From owner-freebsd-xen@freebsd.org Sat May 19 10:26:49 2018 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21324EF580C for ; Sat, 19 May 2018 10:26:49 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 711D168A78; Sat, 19 May 2018 10:26:48 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id t11-v6so18014620wmt.0; Sat, 19 May 2018 03:26:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aolK66lXLyHfcQqwY9t3SRde8ppwzG1qlHGrsNiMJJg=; b=fjBDQc1PFdnk/s59lXm126GcWEg9YlfLJsV2sJWChyzyGyhmIbh0qvD8a4KtlUfr15 4bWb2cwkAujXOsAw94YOgmSL1/PSeJMXdyuXl3vBoLTYa443/DkBuuU7H5tNfCPFk/p0 5LNyQF1MNV8mWB3QXksd0DZQNDFs7pyW9NFEqJDfSE5v3OpbdUXhRFCb0AyjP/w9zk3P gpdb47cD+IrpepeixltX3zV4zGvmykaZ0BciWyREFfK8oF7Kv9t9sZlTRQy83amIqKyA HaRALZ1k8a/fJx6fOVqD7T2PEscOG5R2E1CjHik4QxG4meI8PicGIWLD09nZQgQeZygy hBZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aolK66lXLyHfcQqwY9t3SRde8ppwzG1qlHGrsNiMJJg=; b=CfnSAxvjKRFZLx8P4vP2GMlx/XdtqaXSi5U+IauMiEfj6Wm9PmkBz1nS2a597xXXn7 /hI6+RREc1Gv3v4XlEQN9fAlbJ22WNQI02mDbSq8nNzY93FimX5ms/azPcdVaNnr3emF yMunb/EZp7RN+J6BVAgsJT4uDLVc/RNrqRc003UpnGR9hzsNO0wCfT2O5UCgJOu+iXZS zwuYr9FLe7Wfsqb+y5hpjUmMtVI1Ku1ucpC38Idj93Zi1N+zM/ROA6hUskZA9kExigzE lOiTHmnn+Sk9cX87RbbLFOOq7nrXBGfT96CbA+H+ZGa6NbAkRfGAdfozK2UGXnL3cfmK p/zA== X-Gm-Message-State: ALKqPweMAnV/c5zEHgkoqOvg9xraL3TrM14dDZHQnLtO/mjHz71zJiAY Fup08/Eocr339Y3mkxmo6jS7Fq/y8+kpvSudoPzhZQ== X-Google-Smtp-Source: AB8JxZpIDCvE+4c491UbZE3watGEJ+iNEAGNkKOx7TEhgiYl2mwVDrjLd/QHJWdOUiGC9ZwYJ3piIyQSImox2kZfsHk= X-Received: by 2002:a50:9953:: with SMTP id l19-v6mr15733118edb.179.1526725607267; Sat, 19 May 2018 03:26:47 -0700 (PDT) MIME-Version: 1.0 References: <8B64FF6E-78C5-4803-ACE0-D569EA5FDAB2@FreeBSD.org> In-Reply-To: From: Pratyush Yadav Date: Sat, 19 May 2018 15:56:35 +0530 Message-ID: Subject: Re: Xen kernel fails to boot, d0v1 triple fault looks like the cuplrit To: Akshay Jaggi Cc: freebsd-xen@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2018 10:26:49 -0000 Hi, On Fri 18 May, 2018, 6:55 PM Akshay Jaggi, wrote: > Looks to me like a configuration error. Worst case, incompatible hardware= . > Iirc, you mentioned Xen and Freebsd were on a USB drive. Can you try usin= g > a hard drive partition? > Also, there was an option to enable verbose logging. > I installed on my HDD, but it makes no difference. Also, I have set log level to all, still the logs are not being saved. Regards, > Akshay > > On Fri 18 May, 2018, 2:13 PM Edward Tomasz Napiera=C5=82a, > wrote: > >> >> > On 18 May 2018, at 12:59, Pratyush Yadav wrote: >> > >> > Hi, >> > >> > So I have been trying to get Xen to boot on my laptop. It is getting >> > stuck with the following error messages: >> > >> > (XEN) Scrubbing free RAM on 1 nodes using 4 CPUs >> > (XEN) [VT-D] DMAR: [DMA Read} Request device [0000:00:1a.0] fault addr >> > 9ce13000. iommu reg - ffff82c000203000 >> > (XEN) [VT-D] DMAR: reason 06 - PTE read access is not set >> > (XEN) ........... done >> > (XEN) initial low memory virq threshold set at 0x200 pages. >> > (XEN) Std. Loglevel: All >> > (XEN) Guest Loglevel: All >> > (XEN) Xen is keeping VGA console >> > (XEN) Boot video device 00:02.0 >> > (XEN) ***Serial input -> DOM0 (type 'CTRL-a' three times to switch >> input to Xen) >> > (XEN) Freed 320 kB init memory >> > FreeBSD PVH running on xen-3.0-x86_64p >> > Copyright (c) 1992-2018 The FreeBSD Project. >> > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, >> > 1994 The regents of the University of California. All rights reserved. >> > FreeBSD is a registered trademark of The FreeBSD Foundation. >> > FreeBSD 12.0-CURRENT #0 r333606: Mon May 14 19:59:08 UTC 2018 >> > root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENER= IC >> amd64 >> > WARNING: WITNESS option enabled, expect reduced performance. >> > VT(vga): text 80x25 >> > CPU: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz (2494.22-MHz K8-class >> CPU) >> > Origin=3D"GenuineIntel" Id=3D0x306c3 Family=3D0x6 Model=3D0x3c Step= ping=3D3 >> > >> Features=3D0x17c1cbf5> > FXSR,SSE,SSE2,HTT> >> > >> Features2=3D0xf6f83203> > POPCNT,AESNI,XSAVE,AVX,F16C,RDRAND,HV> >> > AMD Features=3D0x20101800NX,LM> >> > AMD Features2=3D0x21< >> > Structured Extended >> Features=3D0x2329 >> > Hypervisor: Origin =3D "XenVMMXenVMM" >> > real memory =3D 9991770112 (9528 MB) >> > avail memory =3D 7936724992 (7569 MB) >> > (XEN) d0v1 Triple fault - invoking HVM shutdown action 0 >> > (XEN) *** Dumping Dom0 vcpu#1 state: *** >> > (XEN) ----[ Xen-4.7.2 x86_64 debug=3Dn Not tainted ]---- >> > (XEN) CPU: 1 >> > (XEN) RIP: 0020:[] >> > (XEN) RFLAGS: 0000000000010016 CONTEXT: hvm guest (d0v1) >> > (XEN) rax: 0000000000000000 rbx: ffffffff8201c100 rcx: >> 0000000000000001 >> > (XEN) rdx: 0000000000003078 rsi: ffffffff81b992f8 rdi: >> fffffe0003bb6078 >> > (XEN) rbp: fffffe00009ffff0 rsp: fffffe00009fffa0 r8: >> 00000000ffffffff >> > (XEN) r15: 0000000000000400 cr0: 0000000000000011 cr4: >> 0000000000000020 >> > (XEN) cr3: 00000000035a4000 cr2: 0000000000000ff0 >> > (XEN) ds: 0028 es: 0028 fs: 0028 gs: 0028 ss: 0028 cs: 0020 >> > (XEN) Guest stack trace from rsp=3Dfffffe00009fffa0: >> > (XEN) Fault while accessing guest memory. >> > (XEN) Hardware Dom0 halted: halting machine >> > >> > Any idea why this is happening and how can I fix this? >> >> First thing I=E2=80=99d try is to checkout an earlier version - eg from = three >> months ago) and see if it persist. Another thing to do (in parallel) is= to >> file a PR (http://bugs.freebsd.org). >> >>