From owner-freebsd-xen@FreeBSD.ORG Thu Jun 11 22:14:53 2009 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DBA9106566C for ; Thu, 11 Jun 2009 22:14:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 140CE8FC1A for ; Thu, 11 Jun 2009 22:14:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so990320qwe.7 for ; Thu, 11 Jun 2009 15:14:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=5FSJNU6asg2/bwYAC/oD7y7YSbgBgzLtssjmw3mhX7A=; b=fUwOaBP7a7ZMUh/zWi6j4j+uxjoC0i4q2azeOwpQC+vuTOHgT/UzRcSmWblhx37Pg7 rRcOLg5y78oxQsIV2u07INPuAo4c5XSwldzLS0xI1ar5bDqYFhGqSpXzzg7ygXD4ZKN3 R5RJQBkN6UaBhgsPWyCFUveLwhenJzum9Cr+8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=AznZKivHXwk6WkSDlDzXzgTHXsNbfmdWJV05afo8OQXSj/MLJnngYSpiK91MDpSUh1 eOpxSZBVoAQ17BF9ErBeuT820yxAc++T8bL9IOGqWAByuEDAbcnLJ3H+892oKzwNOSfe K6S+GFAXzJQcq7JwHlAOdwYqoUyKm0Feds3DY= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.80.21 with SMTP id r21mr641286qck.80.1244758492370; Thu, 11 Jun 2009 15:14:52 -0700 (PDT) In-Reply-To: <1a5985cf0906111052s7fc129ceje3869cf52504a9e4@mail.gmail.com> References: <1a5985cf0906111052s7fc129ceje3869cf52504a9e4@mail.gmail.com> Date: Fri, 12 Jun 2009 06:14:50 +0800 X-Google-Sender-Auth: 2da2a097271ca6d0 Message-ID: From: Adrian Chadd To: marco di sano Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: freebsd error 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, 11 Jun 2009 22:14:53 -0000 G'day, 2009/6/12 marco di sano : > bootloader =3D '/usr/lib/xen-3.0.3-1/bin/pygrub' I haven't tried it under 3.0.3. > disk =3D > ['phy:/dev/VolGroup00/FreeBsdRoot,sda3,w','phy:/dev/VolGroup00/FreeBsdSwa= p,sda3,w'] It tries extracting a config and kernel image from the first disk, just FYI= . > =A0File "/usr/lib/xen-3.0.3-1/bin/pygrub", line 338, in read_config > =A0 =A0raise RuntimeError, "Unable to read filesystem" pygrub uses a bunch of C library things in a filesystem library to read the file(s) from the disk image. It also reads the partition table via magic byte offsets and direct reads from python code. It is all a bit evil :) I'm not sure whether 3.0.3 came with the pygrub modules to read UFS. It doesn't do this from kernel space - it does this in 100% userland code. It may be possible to backport the UFS module for pygrub if needed. > Someone can tell me the correct way to use the frebsd image and boot it? > Is there something to change in my configuration file? You may need to extract the kernel image + command line options and boot the kernel using the non-pygrub method. Sorry. adrian