WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Debian kernel doesn't support DomU bit width != Dom0 bit

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Debian kernel doesn't support DomU bit width != Dom0 bit width for PV drivers?
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Fri, 1 Feb 2008 22:30:45 +0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 01 Feb 2008 14:31:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D0131AA23@trantor>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D0131AA23@trantor>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Sat, Feb 02, 2008 at 09:25:27AM +1100, James Harper wrote:
> In trying to figure out why my Xen Windows PV drivers don't work
> properly when the frontend and backend are different bit width modes (eg
> 32, 64), I figured out that the same is true for Linux domains. I tested
> a 32 bit DomU with a 64 bit Dom0, and get a crash almost as soon as the
> blkfront driver is started, and a "(XEN) grant_table.c:264:d0 Bad flags
> (0) or dom (0). (expected dom 0)" message logged in 'xm dmesg'.
> 
> My suspicion then is that the Debian kernel's blkback driver doesn't pay
> attention to the 'protocol' set by the frontend, even though blkfront
> driver included in the Debian kernel does actually set it.

Depends what Xen version their kernel / userspace is based on. IIRC you
need to have at least Xen 3.1.1  to get 32-on-64 working properly - the
compatability 'protocol' stuff didn't make the original 3.1.0 release

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel