From owner-freebsd-xen@freebsd.org Fri May 18 13:25: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 E87BCEA8022 for ; Fri, 18 May 2018 13:25:47 +0000 (UTC) (envelope-from akshay1994.leo@gmail.com) Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) (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 48C7375A79; Fri, 18 May 2018 13:25:47 +0000 (UTC) (envelope-from akshay1994.leo@gmail.com) Received: by mail-lf0-f43.google.com with SMTP id t129-v6so13963352lff.3; Fri, 18 May 2018 06:25:47 -0700 (PDT) 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=/k9Xaah6z74hjBscB1PI62YLjSsnsJilx3YwETcdv3U=; b=GdH3htVFSGZg1RCNqblZtlhWbN50Kn+wmqBKHVIvWvMM6Ozz5ZFekVgWGMG27M5E8d S9QmE9K9Bj5q1EuhnnIn3TgHy2edPF+x6kyuB+HnDlmY6RdbHSJ4Y3ZO/q+eFtKID7Y1 NyeJ+bhcJND1QTlFR313QoOfnVmEvn5tNT73nxuxYZXnDUs0o51fUJBlG/6pcjJlM8s7 XWNm3IeNH6hSpKp0goODrEom4VCZ/Llv1fZlFwcbQB8owrBNyyGECo6TwY3H6gCRBJ+4 zh80MQWyZKYaILMpr8qRom7FRUA99hcqUvCiHMvVDhjDvMOhYigFAqMYrEfDX/ZUNero Yjgg== X-Gm-Message-State: ALKqPwfhLZ416OtRHDH3O0ypIcIxYvfz2fdJ3eA4WXkc3nEjrTIAKbFo U/oKeRA7Kpu4DIYj1PDgtvFI+OxM X-Google-Smtp-Source: AB8JxZqC+GEPc7UkveKTMRYGv8gXGDtYld2TWLJ15t1RBZz71DCVHZuGX3A9Qs6+WXYh4jBOn7cbVA== X-Received: by 2002:a2e:92ca:: with SMTP id k10-v6mr5674272ljh.1.1526649939912; Fri, 18 May 2018 06:25:39 -0700 (PDT) Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com. [209.85.215.48]) by smtp.gmail.com with ESMTPSA id q68-v6sm1858971lfq.58.2018.05.18.06.25.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 06:25:39 -0700 (PDT) Received: by mail-lf0-f48.google.com with SMTP id h197-v6so13927399lfg.11; Fri, 18 May 2018 06:25:39 -0700 (PDT) X-Received: by 2002:a2e:c41:: with SMTP id o1-v6mr5759004ljd.87.1526649939475; Fri, 18 May 2018 06:25:39 -0700 (PDT) MIME-Version: 1.0 References: <8B64FF6E-78C5-4803-ACE0-D569EA5FDAB2@FreeBSD.org> In-Reply-To: <8B64FF6E-78C5-4803-ACE0-D569EA5FDAB2@FreeBSD.org> From: Akshay Jaggi Date: Fri, 18 May 2018 14:25:29 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Xen kernel fails to boot, d0v1 triple fault looks like the cuplrit To: Edward Napierala Cc: Pratyush Yadav , FreeBSD-Xen 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: Fri, 18 May 2018 13:25:48 -0000 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 using a hard drive partition? Also, there was an option to enable verbose logging. 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 inpu= t > 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/GENERI= C > 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 CP= U) > > Origin=3D"GenuineIntel" Id=3D0x306c3 Family=3D0x6 Model=3D0x3c Stepp= ing=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 t= hree > months ago) and see if it persist. Another thing to do (in parallel) is = to > file a PR (http://bugs.freebsd.org). > >