From owner-freebsd-xen@FreeBSD.ORG Thu Aug 2 17:41:38 2012 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3654106570B for ; Thu, 2 Aug 2012 17:41:38 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1-b.corp.bf1.yahoo.com (mrout1-b.corp.bf1.yahoo.com [98.139.253.104]) by mx1.freebsd.org (Postfix) with ESMTP id 76D088FC1E for ; Thu, 2 Aug 2012 17:41:38 +0000 (UTC) Received: from [IPv6:::1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout1-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q72HeL38001373; Thu, 2 Aug 2012 10:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1343929223; bh=WG82deOJeU/xz0IJiRVp6SFBMni0rCTE+8xte46iqmM=; h=Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date: Message-ID:Mime-Version:Content-Transfer-Encoding; b=q5WkvwjJngMcA+TzYLfrW11UJNo3jIyxuqpbFr5OfCcv+kNbYeRR+glP1n6QI6dLL bPWIcOUvm12naCo0hmQcu5QgJHG5BMSagGiK9YNfUJfdk1lalm5vCsGXsXmV3T8IpY oJRZlzVS8+4GCl/dyIDi/4P6TyKg8AbqkrLk3eXg= From: Sean Bruno To: Wei Xu In-Reply-To: References: <1343844148.5229.1.camel@powernoodle.corp.yahoo.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 02 Aug 2012 10:40:21 -0700 Message-ID: <1343929221.2573.5.camel@powernoodle.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Milter-Version: master.31+4-gbc07cd5+ X-CLX-ID: 929222005 Cc: "freebsd-xen@freebsd.org" Subject: Re: Compiling error for amd64 on FreeBSD9.0 with XENHVM when include xen console driver. X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 02 Aug 2012 17:41:38 -0000 I run a linux Dom0 (64bit RHEL 5) currently for testing purposes in the freebsd cluster. We have 32bit (PV) and 64bit (HVM) instances running there. How are you installing FreeBSD on your Dom0? Are you starting with HVM support and the ISO image and then converting to PV support? Sean On Thu, 2012-08-02 at 02:36 -0700, Wei Xu wrote: > Sean, > Thanks for your comments. > > Current I'm trying to investigate if I can porting the Console Driver > to Solaris. > > I know the uart emulated by QEMU, but it's not my purpose to use it, I > just want to try the console driver with Hypervisor itself, Must it > bundle with PV? Does XENHVM make sense too? > > I am not familiar with how the console driver works by comparing to > Qemu serial, so I'll be really appreciated if you can give some words > about that, thanks. > > To verify it, I installed a new 32 bit i386 FreeBSD guest domain and > compiled the kernel with XEN support, that means already included the > console driver, but after I installed the new kernel, system can't > boot up after loaded the kernel, both the Xen and the Dom0 are 64 bit, > so i guess maybe it can't work for 64bit Hypervisor and Dom0, I wonder > how can I verify the console driver? > > Regards, > Wei > > > On Thu, Aug 2, 2012 at 2:02 AM, Sean Bruno > wrote: > On Tue, 2012-07-31 at 22:32 -0700, Wei Xu wrote: > > Hi All, > > I'm trying to compile new kernel with Xen Console driver on > AMD 64 > > platform, it's not included by default, > > I got compile error like this , I checked the code and i386 > has the > > pc_ipi_to_irq but amd64 doesn't, > > look like it hasn't been experience with amd64, is there > anyone know > > whether it can work? thanks. > > > > > Since there's no PV support for amd64 yet. I don't think you > need the > console driver. QEMU will emulate the uart(4) device for you > and > freebsd will use the device as its serial console. > > >From the dom0, you would run "xm console ". Is this > what you > mean to do? > > Sean > >