From owner-freebsd-virtualization@freebsd.org Tue Dec 5 06:33:21 2017 Return-Path: Delivered-To: freebsd-virtualization@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 68E48DF7AE6 for ; Tue, 5 Dec 2017 06:33:21 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from frv190.fwdcdn.com (frv190.fwdcdn.com [212.42.77.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2BF686D092 for ; Tue, 5 Dec 2017 06:33:20 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from [10.10.80.12] (helo=frv196.fwdcdn.com) by frv190.fwdcdn.com with esmtp ID 1eM6QJ-0007sN-Jm for freebsd-virtualization@freebsd.org; Tue, 05 Dec 2017 08:09:43 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-Id:Cc:To:Subject:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=aPppDFp1OTjZrwvdKKNKc5o89XWCpp9ryVeu6I7s0Qs=; b=D5uCSTELSh7k4C6ULX7TJmHiZy lYFxW3B1l/T7jjIkfdc81wLucLHUV4OudfCPouynP0gVwSYmWFGrIEsxSrydAYDHZYmhNzEPxaht8 QjgdKNh8b8ktE/qYeL0QmyevaGunGcJRpRICWFwiVnwTs+2JsRjd29ZVhThvOlAAgXuk=; Received: from [10.10.10.52] (helo=frv52.fwdcdn.com) by frv196.fwdcdn.com with smtp ID 1eM6QB-0006HD-QB for freebsd-virtualization@freebsd.org; Tue, 05 Dec 2017 08:09:35 +0200 Date: Tue, 05 Dec 2017 08:09:35 +0200 From: wishmaster Subject: Re[2]: Bhyve. Unable install Windows 7/Server 2008R2 To: Harry Schmalzbauer Cc: freebsd-virtualization@freebsd.org X-Mailer: mail.ukr.net 5.0 Message-Id: <1512453994.512842252.ka8bgpu8@frv52.fwdcdn.com> In-Reply-To: <5A254C3C.3030809@omnilan.de> References: <1512390476.593482033.ytqgxtgt@frv52.fwdcdn.com> <5A254C3C.3030809@omnilan.de> X-Reply-Action: reply Received: from artemrts@ukr.net by frv52.fwdcdn.com; Tue, 05 Dec 2017 08:09:35 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2017 06:33:21 -0000 Hi, as I said the problem is still here even without ahci-hd device. Below the command: bhyve -c 2 -s 0,hostbridge -s 3,ahci-hd,/dev/zvol/my_zroot/VM/img/win7/disk0 -s 4,ahci-cd,/VM/distro/win7.iso -s 10,virtio-net,tap0 -l bootrom,/VM/distro/BHYVE_UEFI_20160526.fd -m 4G -H -w -s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait -s 31,lpc windows7 And device: root@XXX: zfs get all my_zroot/VM/img/win7/disk0 NAME PROPERTY VALUE SOURCE my_zroot/VM/img/win7/disk0 type volume - my_zroot/VM/img/win7/disk0 creation Нд лист. 12 15:22 2017 - my_zroot/VM/img/win7/disk0 used 21,3G - my_zroot/VM/img/win7/disk0 available 652G - my_zroot/VM/img/win7/disk0 referenced 442M - my_zroot/VM/img/win7/disk0 compressratio 1.00x - my_zroot/VM/img/win7/disk0 reservation none default my_zroot/VM/img/win7/disk0 volsize 20G local my_zroot/VM/img/win7/disk0 volblocksize 4K - my_zroot/VM/img/win7/disk0 checksum on default my_zroot/VM/img/win7/disk0 compression off local my_zroot/VM/img/win7/disk0 readonly off default my_zroot/VM/img/win7/disk0 copies 1 default my_zroot/VM/img/win7/disk0 refreservation 21,3G local my_zroot/VM/img/win7/disk0 primarycache all default my_zroot/VM/img/win7/disk0 secondarycache all default my_zroot/VM/img/win7/disk0 usedbysnapshots 0 - my_zroot/VM/img/win7/disk0 usedbydataset 442M - my_zroot/VM/img/win7/disk0 usedbychildren 0 - my_zroot/VM/img/win7/disk0 usedbyrefreservation 20,8G - my_zroot/VM/img/win7/disk0 logbias latency default my_zroot/VM/img/win7/disk0 dedup off default my_zroot/VM/img/win7/disk0 mlslabel - my_zroot/VM/img/win7/disk0 sync standard default my_zroot/VM/img/win7/disk0 refcompressratio 1.00x - my_zroot/VM/img/win7/disk0 written 442M - my_zroot/VM/img/win7/disk0 logicalused 438M - my_zroot/VM/img/win7/disk0 logicalreferenced 438M - my_zroot/VM/img/win7/disk0 volmode dev local my_zroot/VM/img/win7/disk0 snapshot_limit none default my_zroot/VM/img/win7/disk0 snapshot_count none default my_zroot/VM/img/win7/disk0 redundant_metadata all default --- Original message --- From: "Harry Schmalzbauer" Date: 4 December 2017, 15:23:13 > Bezüglich wishmaster's Nachricht vom 04.12.2017 13:32 (localtime): > > Hi, > > > > guys, what happened with bhyve after 11.1-RELEASE. I am unable install neither Windows 7 nor Windows Server 2008R2. > > I have attempted with HDD as raw file, ZFS dev - without success. > > > > root@XXX: uname -a > > FreeBSD XXX 11.1-STABLE FreeBSD 11.1-STABLE #0 r325503: Tue Nov 7 13:38:44 EET 2017 wishmaster@XXX:/usr/obj/usr/src/sys/MY amd64 > > Since you don't tell us what error you get from the guest setup program, > I can only guess that you are using a ZFS volume with a block size of 8k > (default). > My next guess is that you use BHYVE_UEFI.fd for bootrom. > The latter can't boot from 8k drives, > Make sure you define something like this: > -s 3,virtio-blk,/dev/zvol/hostPool/bhyveVOL/sys/guest1,sectorsize=512/4096 > > If that power guess didn't hit, you need to provide some details (boot > method at very first along with some kind of error description). > > -harry > >