From owner-freebsd-virtualization@FreeBSD.ORG Wed Jan 22 05:41:02 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F2B891D for ; Wed, 22 Jan 2014 05:41:02 +0000 (UTC) Received: from mail-pd0-x233.google.com (mail-pd0-x233.google.com [IPv6:2607:f8b0:400e:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1C604106A for ; Wed, 22 Jan 2014 05:41:02 +0000 (UTC) Received: by mail-pd0-f179.google.com with SMTP id q10so7091900pdj.24 for ; Tue, 21 Jan 2014 21:41:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dokukino.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=asBKg1b7kPHYg6ARO2VWpW4bCt23NI2DggHiIm58GEY=; b=mJ9eERESJbK/CD+YKAWWHVOMDm0KnArgzYT9ffZPMBB7uaMtLr4fftdEKxwTqB2iWd br6WI+lCvVYRhxays3dHtVpZFLHRuGSyKbHFzO3BnNhAhoC/JjV7gA2Fc3RCbtniOBoD iuG+2r/FKpkExdKbKAA9HueLKq1IJ+91FME7Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=asBKg1b7kPHYg6ARO2VWpW4bCt23NI2DggHiIm58GEY=; b=KxR4LBEj5zfds43bzEe/HPXWw8rGzl9H8r8I3aHCdpJZ+qLolDUcor/6SEGL1ruVg7 LjONcwue4YRdEFInyvoo6Q9qlbULZY5ns+0k+wcO1G1QtOQzA2Lldyi8mlerWuOx09rA IerEkC1MHuJKQ/jPmSe21998b5ImdtAO6jatv1Dtf8PBO5eUMg8CsZIWQspNZOmwpDUz ZgDj0GAoB7HU3YglDpgGaIxrWYb7OxVHuBxBNqBl4O3VGKShYUlFvHj/99clVRp69SyF pUAF7+rqouyZnUYiSID+xS4TMnfTJ3TLQwx8/Oolr3o6mX2MZtQkCsl5B//yDoIGkePd hfdg== X-Gm-Message-State: ALoCoQlR8UzIVMHTnen7y/nckDeRL42xzcqcz4fLi9eBP87OGU15MjIWrLmz7Z4h1YiZyNU5eqRG X-Received: by 10.67.4.169 with SMTP id cf9mr29205790pad.45.1390369261791; Tue, 21 Jan 2014 21:41:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.36.38 with HTTP; Tue, 21 Jan 2014 21:40:21 -0800 (PST) In-Reply-To: References: From: Takuya ASADA Date: Wed, 22 Jan 2014 14:40:21 +0900 Message-ID: Subject: Re: Linux on BHyVe in 10.0-RELEASE To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 22 Jan 2014 05:41:02 -0000 Append results using bhyyve-scripts. * CentOS 6.5 with bhyve-scripts Dies at same place: Unknown WRMSR code 391, val 2000000f, cpu 0 * Ubuntu 13.10 with bhyve-scripts Dies at same place: (initramfs) Anyway I'll test with ahci-cd, which is point-outed by Peter. * Debian 7.3 with bhyve-scripts Able to install, bootup! But serial console sometimes outputs "AT+GCAP" or something, looks like AT command? Maybe I mis-configured Debian during installation? * OpenBSD 5.4 with bhyve-scripts Hangs at virtio0 initialization: scsibus0 at vioblk0: 2 targets sd0 at scsibus0 targ 0 lun 0: SCSI3 0/direct fixed sd0: 10240MB, 512 bytes/sector, 20971520 sectors virtio0: couldn't map interrupt So, only Debian had worked on my environment for now. 2014/1/22 Takuya ASADA > Hi, > > I want to know which Linux distribution is supported on BHyVe > (+grub2-bhyve) in 10.0-RELEASE. > I tried to these distributions, but I haven't succeeded to install any > choice. > On these tests, I used modified vmrun.sh script for all test, source code > is here: > https://gist.github.com/syuu1228/8552418 > > * Fedora 20 > Fedora 20 has disk image for VM, I just tried to boot it from the image: > > ./linuxrun.sh -d Fedora-x86_64-20-20131211.1-sda.raw fedora > > grub> linux (hd1,msdos1)/boot/vmlinuz-3.11.10-301.fc20.x86_64 > grub> initrd (hd1,msdos1)/boot/initramfs-3.11.10-301.fc20.x86_64.img > grub> boot > > but bhyve dies by unhandled rdmsr: > [ 1.676041] device-mapper: uevent: version 1.0.3 > [ 1.676556] device-mapper: ioctl: 4.25.0-ioctl (2013-06-26) > initialised: dm-devel@redhat.com > vm exit rdmsr 0xe8, cpu 0 > > * CentOS 6.5 > Tried to install with following commands but no luck: > > ./linuxrun.sh centos > > grub> linux (hd0)/isolinux/vmlinuz > grub> initrd (hd0)/isolinux/initrd.img > grub> boot > > Got following error: > > NET: Registered protocol family 1 > Trying to unpack rootfs image as initramfs... > Freeing initrd memory: 32610k freed > Unknown WRMSR code 391, val 2000000f, cpu 0 > > * Ubuntu 13.10 > Almost boot-up but couldn't mount cdrom. > > ./linuxrun.sh -d ubuntu.img -I ubuntu-13.10-desktop-amd64.iso ubuntu > > grub> linux (hd0)/casper/vmlinuz.efi > grub> initrd (hd0)/casper/initrd.lz > grub> boot > > Got following error, maybe it can prevents by passing root= argument? > > [ 6.380384] Btrfs loaded > Scanning for Btrfs filesystems > done. > mount: can't read '/etc/fstab': No such file or directory > Begin: Running /scripts/local-bottom ... done. > done. > Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev > failed: No such file or directory > done. > mount: mounting /sys on /root/sys failed: No such file or directory > mount: mounting /proc on /root/proc failed: No such file or directory > Target filesystem doesn't have requested /sbin/init. > No init found. Try passing init= bootarg. > > BusyBox v1.20.2 (Ubuntu 1:1.20.0-8.1ubuntu1) built-in shell (ash) > Enter 'help' for a list of built-in commands. > > (initramfs) > > > Any suggestions? >