From owner-freebsd-xen@freebsd.org Fri May 18 13:13:46 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 52204EF4C06 for ; Fri, 18 May 2018 13:13:46 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-lf0-x243.google.com (mail-lf0-x243.google.com [IPv6:2a00:1450:4010:c07::243]) (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 A4CF77531A; Fri, 18 May 2018 13:13:45 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-lf0-x243.google.com with SMTP id w202-v6so13856193lff.12; Fri, 18 May 2018 06:13:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4bm5JFRn4bP5YT8Stdty++5C14C5Wo4+q5L6k4f09Ow=; b=KMsfvo4mtTB9TOY8JoHurgwVMMNIxM8Ku6HKgi//eVhXH5s2QvjZMLNNgQmIVFXPeD HlFk50B4AK+DxcHo0do0RXKNh5mfvuFdGBQibM3ymoKonLfM2RjpkOt/cVVld+VLYc/6 fjY8h5ByARw/kaKMfL6BJi5k7Dd46Br74f3d6xeslgYRBj9aePfbzj0fT8WRw6b9szhI Bh9hRkICNlq+4leMpuy+J3EGUcCet9oL/aKELHyRgN5B7wx8XSnoEkBowpeB0bUVxqdY U28BPVXZe9jHBh8wwoI8Cf2pC2fvKRgrsddbznG5vNyVTQ84Nm9q2HMwLjb7pMnV1mQx 1ugA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:mime-version:subject:from:in-reply-to :date:cc:content-transfer-encoding:message-id:references:to; bh=4bm5JFRn4bP5YT8Stdty++5C14C5Wo4+q5L6k4f09Ow=; b=XyHfR64FxKKGnDzVOXbYX2PtEwoJAknSB3sbrXGaTh59Tk9NDRsh+qkUkefLqEU32m 9pnVWUBFEHWhaiZt3A/zxbVwx8CWe0E18pSDhbX1ipolq4W4g8rDZZXpEMXof/A9B8Z8 cMdBZ51mXw56AToPXcIUUel2ciXr7OmEVg+GyivKPTClkhCfhNMQOOrtAcpPQgvEh0b8 lxuYgHlp7Ifn+nWlgsx4Ak46K1xjSSXpLztgArsUhUrk1wNRcpbWMgww3OtNouyC4FpY RjpjCUKf7hwjLFQgCEYod56a34QVX8p/OlMAgNsMzcOhOFnu5zmN9KXJzOyTxJ9lVrcy a+xw== X-Gm-Message-State: ALKqPwcVWmWJODMzsW+71gMbKOIf4/fhcFjQqlOmTynzFBYGC1BSq9an KqHvWLZYnRGyZuICljIJdlMwKVad X-Google-Smtp-Source: AB8JxZpWJlpQ9uj3Mo5gAf6Tyvkm/1yq0P4a3y2siDf4lWGZb2888H44uzVnmbn3xlnbWE1rC91qxA== X-Received: by 2002:a19:1760:: with SMTP id n93-v6mr18565486lfi.113.1526649224029; Fri, 18 May 2018 06:13:44 -0700 (PDT) Received: from [10.112.76.68] (apn-31-0-47-101.dynamic.gprs.plus.pl. [31.0.47.101]) by smtp.gmail.com with ESMTPSA id l24-v6sm1266738ljg.19.2018.05.18.06.13.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 06:13:43 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: Xen kernel fails to boot, d0v1 triple fault looks like the cuplrit From: =?utf-8?Q?Edward_Tomasz_Napiera=C5=82a?= X-Mailer: iPhone Mail (15E302) In-Reply-To: Date: Fri, 18 May 2018 14:13:40 +0100 Cc: FreeBSD-Xen , Akshay Jaggi Content-Transfer-Encoding: quoted-printable Message-Id: <8B64FF6E-78C5-4803-ACE0-D569EA5FDAB2@FreeBSD.org> References: To: Pratyush Yadav 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:13:46 -0000 > On 18 May 2018, at 12:59, Pratyush Yadav wrote: >=20 > Hi, >=20 > So I have been trying to get Xen to boot on my laptop. It is getting > stuck with the following error messages: >=20 > (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 t= o 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 a= md64 > 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 Stepping= =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: 000000000000000= 1 > (XEN) rdx: 0000000000003078 rsi: ffffffff81b992f8 rdi: fffffe0003bb607= 8 > (XEN) rbp: fffffe00009ffff0 rsp: fffffe00009fffa0 r8: 00000000ffffffff= > (XEN) r15: 0000000000000400 cr0: 0000000000000011 cr4: 000000000000002= 0 > (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 >=20 > 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 thre= e months ago) and see if it persist. Another thing to do (in parallel) is t= o file a PR (http://bugs.freebsd.org).