From owner-freebsd-xen@freebsd.org Fri May 18 11:59:48 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 C4E69EF2C2C for ; Fri, 18 May 2018 11:59:48 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 3F6EE72C07; Fri, 18 May 2018 11:59:48 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id o78-v6so14769801wmg.0; Fri, 18 May 2018 04:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=Fld5mHDZmwTn/Wop6Ghrd89YUSyXooPt9vHJtHlAiC8=; b=AJtQU6oFyiX4XoTMsLymqzybiPC5IPR7SIhTCmBWIuBRuLw/gdlSi8wLJpawDD+1M+ vD5LBgUlXMvzcD+gt4iGQ4S7IdE2o6iUzZdtHTRWaiKalz0Ape4i7IhOGQMPppsjDdPD NTCIiBOkC67DugzConurIXxM3pQgOp5U5YdNqXD9Wcg2DZ3QV4Tfmq8FCgy72Zv1xXTC aX9HPJzXahKvDoGVMTrfc95Mp1v4VPSc46N91ojm+FDvrkZ2KUjlkOFc0RoOGqXtW2Xy /8cFzGYZBDZHe+xSFJKiS+uFuyuILBtd+sSLMOKEafNimcIPv2ilcLDNI+3Yeyrh3NNK BJFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=Fld5mHDZmwTn/Wop6Ghrd89YUSyXooPt9vHJtHlAiC8=; b=OrZftPx2E4IHWYnYqPzAHTRbHZJNVws6XzHoZAxXMYSdGIgqrMeKSyNVGWa8ckNVcG pnUHMo2GEBr/9UCqF01OjU6Oj4A92BH7JxOMllS6Jwh8ONZkB+4g8voJYiq7I4yVHZay C9UWqJWxxIYZfCjAkKuo3EV8ei1MxaNhQKKDtNQ0nf0ECmEdfGmVNFO2dxwFkx4a89Em rituZ3NZQTDYNXQ4VSiz1mFW7u94i01Jwo9DDvuSmmHSeiFH2YW36NV+e5xJGfSnov4L LvCQwS7AUlukJwwfrZ/YKkkwE5zyo52LakdXOI6YeSiKj79q+kz4y+suDsq3iuOCXC38 8gtg== X-Gm-Message-State: ALKqPwfR8Z1u+4fCfjxaWUbujw8IcT7mfV7tdvjh39HgCWBqo1ut4FyV JJelULWoSGrPliv/keQyl6EzqZuH1uGFmfo4EDW7Kg== X-Google-Smtp-Source: AB8JxZovT9FBOnSssIbYYVqgvM466oAOxVldTj8YWWPGgQDUhQyyKWAY0h4YFO7YY5xrLQirl107uHDgTefVWBXMPis= X-Received: by 2002:a50:f5cd:: with SMTP id x13-v6mr11356163edm.132.1526644786784; Fri, 18 May 2018 04:59:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.170.33 with HTTP; Fri, 18 May 2018 04:59:06 -0700 (PDT) From: Pratyush Yadav Date: Fri, 18 May 2018 17:29:06 +0530 Message-ID: Subject: Xen kernel fails to boot, d0v1 triple fault looks like the cuplrit To: FreeBSD-Xen Cc: Edward Napierala , Akshay Jaggi Content-Type: text/plain; charset="UTF-8" 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: Fri, 18 May 2018 11:59:49 -0000 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/GENERIC 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="GenuineIntel" Id=0x306c3 Family=0x6 Model=0x3c Stepping=3 Features=0x17c1cbf5 Features2=0xf6f83203 AMD Features=0x20101800NX,LM> AMD Features2=0x21< Structured Extended Features=0x2329 Hypervisor: Origin = "XenVMMXenVMM" real memory = 9991770112 (9528 MB) avail memory = 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=n 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=fffffe00009fffa0: (XEN) Fault while accessing guest memory. (XEN) Hardware Dom0 halted: halting machine Any idea why this is happening and how can I fix this? Thanks, Pratyush Yadav