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] PV-GRUB - Does not read partition-less disk

To: Bastian Blank <bastian@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] PV-GRUB - Does not read partition-less disk
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Date: Fri, 12 Sep 2008 21:38:36 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Marco Sinhoreli <msinhore@xxxxxxxxx>
Delivery-date: Fri, 12 Sep 2008 12:39:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080912191636.GA18956@xxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, Bastian Blank <bastian@xxxxxxxxxxxx>, Marco Sinhoreli <msinhore@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
References: <20080911231038.GA5780@xxxxxxxxxxxxxxxxxxxxxxx> <20fe3cf60809111838q370a0b66pa848ea46eaef3798@xxxxxxxxxxxxxx> <20080912062457.GA20977@xxxxxxxxxxxxxxxxxxxxxxx> <20fe3cf60809120501n29e4fc49y6f2a6075bccb8a30@xxxxxxxxxxxxxx> <20080912130652.GA4180@xxxxxxxxxxxxxxxxxxxxxxx> <20fe3cf60809120729j41c648fep56e618c0d1838d28@xxxxxxxxxxxxxx> <20080912144210.GA8234@xxxxxxxxxxxxxxxxxxxxxxx> <20fe3cf60809120801kdfde723hcc1b1392aa16370a@xxxxxxxxxxxxxx> <20080912191636.GA18956@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
Bastian Blank, le Fri 12 Sep 2008 21:16:36 +0200, a écrit :
> Anyway, I found it. It is buried in the filesystem modules of grub in
> the mount hook.

Cool, I currently don't have much time to spend on these :)

> It checks for
> | ((current_drive & 0x80) || (current_slice != 0))
> |    && (current_slice != PC_SLICE_TYPE_EXT2FS)
> |    && (current_slice != PC_SLICE_TYPE_LINUX_RAID)
> |    && (! IS_PC_SLICE_TYPE_BSD_WITH_FS (current_slice, FS_EXT2FS))
> |    && (! IS_PC_SLICE_TYPE_BSD_WITH_FS (current_slice, FS_OTHER))
> 
> Which reads as:
> - If device is a harddisk,
> - or it is a slice with none matching type,
> then abort.
> 
> It simply refuses to find filesystems on the whole disk. If I remove the
> current_disk check it is able to find the filesystem.

Uh, so that's an upstream bug, isn't it?

Samuel

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