From owner-freebsd-ports-bugs@freebsd.org Thu Jan 5 16:46:27 2017 Return-Path: Delivered-To: freebsd-ports-bugs@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 DFDD0CA1094 for ; Thu, 5 Jan 2017 16:46:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 B690D125E for ; Thu, 5 Jan 2017 16:46:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v05GkRFC056355 for ; Thu, 5 Jan 2017 16:46:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 215799] sysutils/grub2-bhyve fails to find linux kernel with fresh Centos7/RHEL7 installation Date: Thu, 05 Jan 2017 16:46:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: girgen@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kmoore@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2017 16:46:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215799 Bug ID: 215799 Summary: sysutils/grub2-bhyve fails to find linux kernel with fresh Centos7/RHEL7 installation Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kmoore@FreeBSD.org Reporter: girgen@FreeBSD.org Flags: maintainer-feedback?(kmoore@FreeBSD.org) Assignee: kmoore@FreeBSD.org Hi,=20 Downloaded `CentOS-7-x86_64-Everything-1611.iso`, and also `rhel-server-7.3-x86_64-dvd.iso`, and tried to install on - FreeBSD 11.0-p6 host - grub2-bhyve-0.40_1 from ports After successful installation of the linux host from ISO image, restart the bhyve with GRUB and it fails to read the XFS file system =E2=80=93 [see als= o this forum post (https://forums.freebsd.org/threads/58981/): grub> ls (lvm/cl-root) (lvm/cl-swap) (hd0) (hd0,msdos2) (hd0,msdos1) (host)=20 grub> ls (lvm/cl-root)/ error: not a correct XFS inode. ... grub> ls (hd0,msdos2)/ error: unknown filesystem. grub> ls (hd0,msdos1)/ error: not a correct XFS inode. ... I tried all options for standard partition, btreefs, LVM, etc with the late= st Centos and RHEL7 ISO:s. There is no alternative that works, they all give t= he same problem. $ cat device-cd.map=20 (hd0) /dev/zvol/tank/bhyves/rhel/disk (cd0) /home/girgen/rhel-server-7.3-x86_64-dvd.iso $ cat grub-cd.in=20 linux (cd0)/isolinux/vmlinuz initrd (cd0)/isolinux/initrd.img=20 boot $ cat rhel-cd.sh=20 #! /bin/sh grub-bhyve -m device-cd.map -r cd0 -M 16384 rhel < grub-cd.in=20 bhyve -A -H -P -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,tap0 \ -s 3:0,virtio-blk,/dev/zvol/tank/bhyves/rhel/disk \ -s 4:0,ahci-cd,/home/girgen/rhel-server-7.3-x86_64-dvd.iso \ -l com1,stdio -c 4 -m 16384 rhel bhyvectl --vm=3Drhel --destroy running the script, all is dandy. after installation has finished, restarti= ng grub with `grub-bhyve -m device-cd.map -M 16384 rhel` gives the problems ab= ove. --=20 You are receiving this mail because: You are the assignee for the bug.=