From owner-freebsd-xen@freebsd.org Sat Apr 1 15:49:32 2017 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 550F7D29E4E for ; Sat, 1 Apr 2017 15:49:32 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (m.saper.info [IPv6:2a01:4f8:a0:7383::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "saper.info", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CE429FA0 for ; Sat, 1 Apr 2017 15:49:31 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (saper@m.saper.info [IPv6:2a01:4f8:a0:7383::]) by m.saper.info (8.15.2/8.15.2) with ESMTPS id v31FnTmu067302 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 1 Apr 2017 15:49:29 GMT (envelope-from saper@saper.info) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=saper.info; s=Sep2014; t=1491061769; bh=iFyR+br0Q4pjM+v/5PSOvwkqhM0eq8y1u1N6QQcrCRw=; h=Date:From:To:Subject:In-Reply-To:References; b=nVNWMl3JMJNjOgAaGnnY2EaK/I/oVNcxgqxGTnBrUg5M/RDp4JL2cncbZLl4GJ/q7 8mvYBJ4B3ltgYbT4SlRmwGkjZmfUpbPu56ks4mgX7dg+y/6vG45WZIwdLP4KyzQ364 vY7UPLKzV+qEIl/qWW5lXLyCZBPZe0QaeVzXFj6M= Received: from localhost (saper@localhost) by m.saper.info (8.15.2/8.15.2/Submit) with ESMTP id v31FnTJX067299 for ; Sat, 1 Apr 2017 15:49:29 GMT (envelope-from saper@saper.info) X-Authentication-Warning: m.saper.info: saper owned process doing -bs Date: Sat, 1 Apr 2017 15:49:29 +0000 From: Marcin Cieslak To: freebsd-xen@freebsd.org Subject: Re: UEFI trouble with OVMF under Xen - nothing boots In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.23 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, 01 Apr 2017 15:49:32 -0000 On Sat, 1 Apr 2017, Marcin Cieslak wrote: > This is a follow up to the UEFI Windows boot problems > reported after 4.7 got imported: > > https://lists.freebsd.org/pipermail/freebsd-xen/2016-June/002745.html > > I am using FreeBSD 12.0-CURRENT #6 r314708: Mon Mar 6 13:09:31 UTC 2017 root@o.saper.info:/usr/obj/usr/src/sys/GENERIC amd64 as dom0 > > In the 4.5 times I could install and boot Windows 2016 Technical Preview 5 without > major problems. In fact, I started using this as my default Windows > environment - it was working very well and very fast. A follow up to this: I have tried a pure qemu installed from packages: qemu-system-x86_64 \ -bios /usr/local/share/ovmf/ovmf.bin \ -no-shutdown \ -nodefaults -no-user-config \ -name Windows2016Pure -vnc 127.0.0.1:0,to=99 \ -display none -device VGA,vgamem_mb=16 \ -boot order=c \ -usb -usbdevice tablet -smp 2,maxcpus=2 \ -device rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5d:0d:48 \ -netdev type=tap,id=net0,ifname=tap0,script=no,downscript=no \ -machine pc -m 4080 \ -drive file=/dev/zvol/zroot/windows0,if=ide,index=0,media=disk,format=raw,cache=writeback and the boot process goes easily past the OVMF and continues booting, only to fail "Inaccessible boot device" Windows message much later (probably because I was using XenPV drivers there). Marcin