From owner-freebsd-xen@freebsd.org Fri Aug 31 17:44:04 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 B1758FD1F65 for ; Fri, 31 Aug 2018 17:44:04 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 338937DAAB for ; Fri, 31 Aug 2018 17:44:04 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: by mail-ed1-x530.google.com with SMTP id z27-v6so9605687edb.10 for ; Fri, 31 Aug 2018 10:44:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b9WUKnXV+e5KY7izMmnApLel0S+MEKRDaL5X7pZrNJA=; b=hp2/VnlWr6QhYsE2Z0VrZe7njun8PVv45QZvRzFMM+tDj9pDjRi357yt1WE8LXWU3T NtMstlpGXimrVa+YpEOOLN92tvmKRcBOnbXeYwHN7b701CcVtth/PtCRjtQWUP9AI1mB xgrK5gsjLVqGE7LUSbNNU9WjYro91Wq1+y2p9IAVvPXD73jQu8vPm4LXVkFHH9Rr+R+n jYt8lg2+uO3wraesZ9/Fod7H4m7BnaDHb/CBN9wssX6dLrW4Xybfe9xtC6oFxNvPkAL7 j2oiC/6yTo2vhTo11SYHmquiX9230plv9Z6sm9Yf+8jegf2AKg6sNwtD2Lhp17oDW8ZO cRnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b9WUKnXV+e5KY7izMmnApLel0S+MEKRDaL5X7pZrNJA=; b=IRlth3DflO+cxHgvJQBW9OsSOdOeSYNpOd3h4keQ2Q99VzfWuEW9gMY5Ha4H1T/8xL xqX1LyRImLFl4CuEO53PLsl5PEfW1tUvSEmxQ5O3F+gh2vP68/5Wctx7hkqo7jzGFiho xiELZ4efBmvZaiZzLv3svt1XQSIAJnAxue6NFsUqljokQhi7c3tYgDKbbmJIon+rzlL9 iuSsWbKNnez//HCYzto4c5QFQln/XSl4YG6aJyeYmEp7btg1WPiFM4EAKAf2mR42RC7q +95Y6qtDxhgPdTUPF9U0kuliNmaf7yWeOIWhfdz91g31Pibd6/OElfiooBC4ZDJuHqcJ SmsQ== X-Gm-Message-State: APzg51BsFdaE8TPFlnKE28Y6zTgxqM/RZHu7fG2KtkoLUWeCef1mH9P9 wosMOwklwjroR8LHj/jPK3w9s/UMmeYfsFEs6hnk2w== X-Google-Smtp-Source: ANB0VdbiH40vuM8/YAhqOiQ7eqQTCNO9bOmmTWPTrrLuAdJ+8WWbpYIlJC7UahMGpqhtuAshtudHxR42ycmBanVwRKc= X-Received: by 2002:a50:94c4:: with SMTP id t4-v6mr18706115eda.306.1535737443110; Fri, 31 Aug 2018 10:44:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Pratyush Yadav Date: Fri, 31 Aug 2018 23:13:26 +0530 Message-ID: Subject: Re: Freebsd xen host dom0 To: Steven Friedrich Cc: FreeBSD-Xen Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.27 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, 31 Aug 2018 17:44:04 -0000 On Fri, Aug 31, 2018 at 10:33 PM Steven Friedrich wrote: > On Fri, Aug 31, 2018 at 10:36 AM Pratyush Yadav wrote: >> >> On Fri, Aug 31, 2018 at 7:56 PM Steven Friedrich >> wrote: >> > >> > I have a new HP Slimline Desktop 290-p0014 which features an Intel i7-8700 >> > and no com ports. >> > I am hoping to create a FreeBSD xen host to explore various FreeBSD and >> > Linux distros. >> > I was following along with chapter 21.8 FreeBSD as a Xen -Host. >> > I am using handbook rev 52113 modified on 2018-08-12 08:50:20 by eadler. >> > I did a fresh install of FreeBSD 11.2, pkg install xen and when I rebooted >> > it claimed: >> > don't know how to load module '/boot/xen' >> > don't know how to load module '/boot/xen' >> > (odd that it repeated that) >> > can't load 'kernel' >> > >> > I can boot and turn off booting the xen kernel and FreeBSD comes up fine. >> > I used file /boot/xen and it reveals xen is a ELF 32-bit LSB executable, >> > Intel 80386 version 1 (SYSV), statically linked, stripped >> > What am I doing wrong? >> > I have previous FreeBSD experience, but it was long ago. I may have >> > forgotten more than I knew 8o) >> >> Are you booting in UEFI mode? If yes, then FreeBSD does not yet >> support booting the Xen kernel in UEFI mode. Try booting it in legacy >> mode. > > Thanks. I reinstalled using MBR and it boots the xen kernel, but my router doesn't show it in the list of attached devices. > Do I have to build a xen freebsd kernel? > I get /boot/xen data=...... > /boot/kernel/kernel size ..... > /boot/entropy size... > The second line where it mentions kernel, is that the GENERIC kernel installed when I originally installed 11.2? I'm afraid I can't be of much help here. As far as I know, it should be the GENERIC kernel. So no, I don't think you don't need to build any kernel. But I don't know why your router is not showing up. AFAICT, if it shows when booting without Xen, it should also show with Xen. Maybe the more experienced people in the list can help. PS: Make sure you cc the mailing list when replying. That way, other people who might have answers to your questions can see the entire conversation. -- Regards, Pratyush Yadav