xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* XCP: pygrub missing ext4 support.
@ 2010-06-19 16:00 David Markey
  2010-06-19 16:07 ` Pasi Kärkkäinen
  0 siblings, 1 reply; 11+ messages in thread
From: David Markey @ 2010-06-19 16:00 UTC (permalink / raw)
  To: Xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 949 bytes --]

XCP pygrub should have ext4 support.

It currently doesn't because the libfsimage ext2fs-lib module is linked
against libext2fs, which doesnt have ext4 support in XCP.

Instead, XCP should use the ext2fs module that comes with libfsimage, which
has ext4 support.

Most new releases of distributions has it as their default filesystem.
Most notably, Ubuntu 10.04

An easy way for the build to use ext2fs instead of ext2fs-lib, is to not
have ext2fs/ext2fs.h present.

Alternatively this patch hard codes it.


(From 4.0)
--- a/tools/libfsimage/Makefile 2010-06-19 16:52:04.231221516 +0100
+++ b/tools/libfsimage/Makefile 2010-06-19 16:52:08.803250922 +0100
@@ -1,8 +1,7 @@
 XEN_ROOT = ../..
 include $(XEN_ROOT)/tools/Rules.mk

-SUBDIRS-y = common ufs reiserfs iso9660 fat zfs
-SUBDIRS-y += $(shell env CC="$(CC)" ./check-libext2fs)
+SUBDIRS-y = common ufs reiserfs iso9660 fat zfs ext2fs

 .PHONY: all clean install
 all clean install: %: subdirs-%

[-- Attachment #1.2: Type: text/html, Size: 1400 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: XCP: pygrub missing ext4 support.
  2010-06-19 16:00 XCP: pygrub missing ext4 support David Markey
@ 2010-06-19 16:07 ` Pasi Kärkkäinen
  2010-06-21  9:59   ` Michal Novotny
  0 siblings, 1 reply; 11+ messages in thread
From: Pasi Kärkkäinen @ 2010-06-19 16:07 UTC (permalink / raw)
  To: David Markey; +Cc: Xen-devel

On Sat, Jun 19, 2010 at 05:00:57PM +0100, David Markey wrote:
>    XCP pygrub should have ext4 support.
>    It currently doesn't because the libfsimage ext2fs-lib module is linked
>    against libext2fs, which doesnt have ext4 support in XCP.
>    Instead, XCP should use the ext2fs module that comes with libfsimage,
>    which has ext4 support.
>    Most new releases of distributions has it as their default filesystem.
>    Most notably, Ubuntu 10.04
>

Also Fedora 12, Fedora 13, upcoming Debian 6.0 ("Squeeze") and RHEL6.

-- Pasi

>    An easy way for the build to use ext2fs instead of ext2fs-lib, is to not
>    have ext2fs/ext2fs.h present.
>    Alternatively this patch hard codes it.
>    (From 4.0)
>    --- a/tools/libfsimage/Makefile         2010-06-19 16:52:04.231221516
>    +0100
>    +++ b/tools/libfsimage/Makefile         2010-06-19 16:52:08.803250922
>    +0100
>    @@ -1,8 +1,7 @@
>     XEN_ROOT = ../..
>     include $(XEN_ROOT)/tools/Rules.mk
> 
>    -SUBDIRS-y = common ufs reiserfs iso9660 fat zfs
>    -SUBDIRS-y += $(shell env CC="$(CC)" ./check-libext2fs)
>    +SUBDIRS-y = common ufs reiserfs iso9660 fat zfs ext2fs
> 
>     .PHONY: all clean install
>     all clean install: %: subdirs-%

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: XCP: pygrub missing ext4 support.
  2010-06-19 16:07 ` Pasi Kärkkäinen
@ 2010-06-21  9:59   ` Michal Novotny
  2010-06-21 11:26     ` David Markey
  0 siblings, 1 reply; 11+ messages in thread
From: Michal Novotny @ 2010-06-21  9:59 UTC (permalink / raw)
  To: xen-devel, Pasi Kärkkäinen

On 06/19/2010 06:07 PM, Pasi Kärkkäinen wrote:
> On Sat, Jun 19, 2010 at 05:00:57PM +0100, David Markey wrote:
>    
>>     XCP pygrub should have ext4 support.
>>     It currently doesn't because the libfsimage ext2fs-lib module is linked
>>     against libext2fs, which doesnt have ext4 support in XCP.
>>     Instead, XCP should use the ext2fs module that comes with libfsimage,
>>     which has ext4 support.
>>     Most new releases of distributions has it as their default filesystem.
>>     Most notably, Ubuntu 10.04
>>
>>      
> Also Fedora 12, Fedora 13, upcoming Debian 6.0 ("Squeeze") and RHEL6.
>
> -- Pasi
>    

Well, this is not the Xen issue here. We're having this fixed in RHEL-5 
by simply reinstalling the e2fsprogs package to the latest one, although 
in case of RHEL-5 it's been renamed to e4fsprogs. The simplest thing you 
can do about this is to reinstall the e2fsprogs package on the host 
machine and it will be working fine - at least it was when I did test it 
on RHEL-5 some time ago.

Simply put, reinstalling the e2fsprogs to the latest version will do the 
job and allow ext4 functionality to pygrub.

Michal

>    
>>     An easy way for the build to use ext2fs instead of ext2fs-lib, is to not
>>     have ext2fs/ext2fs.h present.
>>     Alternatively this patch hard codes it.
>>     (From 4.0)
>>     --- a/tools/libfsimage/Makefile         2010-06-19 16:52:04.231221516
>>     +0100
>>     +++ b/tools/libfsimage/Makefile         2010-06-19 16:52:08.803250922
>>     +0100
>>     @@ -1,8 +1,7 @@
>>      XEN_ROOT = ../..
>>      include $(XEN_ROOT)/tools/Rules.mk
>>
>>     -SUBDIRS-y = common ufs reiserfs iso9660 fat zfs
>>     -SUBDIRS-y += $(shell env CC="$(CC)" ./check-libext2fs)
>>     +SUBDIRS-y = common ufs reiserfs iso9660 fat zfs ext2fs
>>
>>      .PHONY: all clean install
>>      all clean install: %: subdirs-%
>>      
>    
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>>      
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>    


-- 
Michal Novotny<minovotn@redhat.com>, RHCE
Virtualization Team (xen userspace), Red Hat

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: XCP: pygrub missing ext4 support.
  2010-06-21  9:59   ` Michal Novotny
@ 2010-06-21 11:26     ` David Markey
  2010-06-21 11:29       ` Michal Novotny
  0 siblings, 1 reply; 11+ messages in thread
From: David Markey @ 2010-06-21 11:26 UTC (permalink / raw)
  To: Michal Novotny; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2780 bytes --]

Well, which ever way we do it, either using the built in libfsimage ext4
support, or upgrading e2fsprogs, we should choose one?


On 21 June 2010 10:59, Michal Novotny <minovotn@redhat.com> wrote:

> On 06/19/2010 06:07 PM, Pasi Kärkkäinen wrote:
>
>> On Sat, Jun 19, 2010 at 05:00:57PM +0100, David Markey wrote:
>>
>>
>>>    XCP pygrub should have ext4 support.
>>>    It currently doesn't because the libfsimage ext2fs-lib module is
>>> linked
>>>    against libext2fs, which doesnt have ext4 support in XCP.
>>>    Instead, XCP should use the ext2fs module that comes with libfsimage,
>>>    which has ext4 support.
>>>    Most new releases of distributions has it as their default filesystem.
>>>    Most notably, Ubuntu 10.04
>>>
>>>
>>>
>> Also Fedora 12, Fedora 13, upcoming Debian 6.0 ("Squeeze") and RHEL6.
>>
>> -- Pasi
>>
>>
>
> Well, this is not the Xen issue here. We're having this fixed in RHEL-5 by
> simply reinstalling the e2fsprogs package to the latest one, although in
> case of RHEL-5 it's been renamed to e4fsprogs. The simplest thing you can do
> about this is to reinstall the e2fsprogs package on the host machine and it
> will be working fine - at least it was when I did test it on RHEL-5 some
> time ago.
>
> Simply put, reinstalling the e2fsprogs to the latest version will do the
> job and allow ext4 functionality to pygrub.
>
> Michal
>
>
>
>>
>>>    An easy way for the build to use ext2fs instead of ext2fs-lib, is to
>>> not
>>>    have ext2fs/ext2fs.h present.
>>>    Alternatively this patch hard codes it.
>>>    (From 4.0)
>>>    --- a/tools/libfsimage/Makefile         2010-06-19 16:52:04.231221516
>>>    +0100
>>>    +++ b/tools/libfsimage/Makefile         2010-06-19 16:52:08.803250922
>>>    +0100
>>>    @@ -1,8 +1,7 @@
>>>     XEN_ROOT = ../..
>>>     include $(XEN_ROOT)/tools/Rules.mk
>>>
>>>    -SUBDIRS-y = common ufs reiserfs iso9660 fat zfs
>>>    -SUBDIRS-y += $(shell env CC="$(CC)" ./check-libext2fs)
>>>    +SUBDIRS-y = common ufs reiserfs iso9660 fat zfs ext2fs
>>>
>>>     .PHONY: all clean install
>>>     all clean install: %: subdirs-%
>>>
>>>
>>
>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>>>
>>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>>
>>
>
>
> --
> Michal Novotny<minovotn@redhat.com>, RHCE
> Virtualization Team (xen userspace), Red Hat
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>

[-- Attachment #1.2: Type: text/html, Size: 4281 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: XCP: pygrub missing ext4 support.
  2010-06-21 11:26     ` David Markey
@ 2010-06-21 11:29       ` Michal Novotny
  2010-06-21 11:38         ` David Markey
  0 siblings, 1 reply; 11+ messages in thread
From: Michal Novotny @ 2010-06-21 11:29 UTC (permalink / raw)
  To: xen-devel, David Markey

On 06/21/2010 01:26 PM, David Markey wrote:
> Well, which ever way we do it, either using the built in libfsimage 
> ext4 support, or upgrading e2fsprogs, we should choose one?
>
>

Well, when using libfsimage *non-e2fsprogs* implementation the ext4 
support have to be added manually but when using e2fsprogs 
implementation (i.e. the version linked with e2fsprogs) I recommend 
upgrading your version of e2fsprogs to the newest/upstream version.

Michal

> On 21 June 2010 10:59, Michal Novotny <minovotn@redhat.com 
> <mailto:minovotn@redhat.com>> wrote:
>
>     On 06/19/2010 06:07 PM, Pasi Kärkkäinen wrote:
>
>         On Sat, Jun 19, 2010 at 05:00:57PM +0100, David Markey wrote:
>
>                XCP pygrub should have ext4 support.
>                It currently doesn't because the libfsimage ext2fs-lib
>             module is linked
>                against libext2fs, which doesnt have ext4 support in XCP.
>                Instead, XCP should use the ext2fs module that comes
>             with libfsimage,
>                which has ext4 support.
>                Most new releases of distributions has it as their
>             default filesystem.
>                Most notably, Ubuntu 10.04
>
>
>         Also Fedora 12, Fedora 13, upcoming Debian 6.0 ("Squeeze") and
>         RHEL6.
>
>         -- Pasi
>
>
>     Well, this is not the Xen issue here. We're having this fixed in
>     RHEL-5 by simply reinstalling the e2fsprogs package to the latest
>     one, although in case of RHEL-5 it's been renamed to e4fsprogs.
>     The simplest thing you can do about this is to reinstall the
>     e2fsprogs package on the host machine and it will be working fine
>     - at least it was when I did test it on RHEL-5 some time ago.
>
>     Simply put, reinstalling the e2fsprogs to the latest version will
>     do the job and allow ext4 functionality to pygrub.
>
>     Michal
>
>
>
>                An easy way for the build to use ext2fs instead of
>             ext2fs-lib, is to not
>                have ext2fs/ext2fs.h present.
>                Alternatively this patch hard codes it.
>                (From 4.0)
>                --- a/tools/libfsimage/Makefile         2010-06-19
>             16:52:04.231221516
>                +0100
>                +++ b/tools/libfsimage/Makefile         2010-06-19
>             16:52:08.803250922
>                +0100
>                @@ -1,8 +1,7 @@
>                 XEN_ROOT = ../..
>                 include $(XEN_ROOT)/tools/Rules.mk
>
>                -SUBDIRS-y = common ufs reiserfs iso9660 fat zfs
>                -SUBDIRS-y += $(shell env CC="$(CC)" ./check-libext2fs)
>                +SUBDIRS-y = common ufs reiserfs iso9660 fat zfs ext2fs
>
>                 .PHONY: all clean install
>                 all clean install: %: subdirs-%
>
>
>             _______________________________________________
>             Xen-devel mailing list
>             Xen-devel@lists.xensource.com
>             <mailto:Xen-devel@lists.xensource.com>
>             http://lists.xensource.com/xen-devel
>
>
>         _______________________________________________
>         Xen-devel mailing list
>         Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>
>         http://lists.xensource.com/xen-devel
>
>
>
>     -- 
>     Michal Novotny<minovotn@redhat.com <mailto:minovotn@redhat.com>>, RHCE
>     Virtualization Team (xen userspace), Red Hat
>
>
>
>     _______________________________________________
>     Xen-devel mailing list
>     Xen-devel@lists.xensource.com <mailto:Xen-devel@lists.xensource.com>
>     http://lists.xensource.com/xen-devel
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>    


-- 
Michal Novotny<minovotn@redhat.com>, RHCE
Virtualization Team (xen userspace), Red Hat

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: XCP: pygrub missing ext4 support.
  2010-06-21 11:29       ` Michal Novotny
@ 2010-06-21 11:38         ` David Markey
  2010-06-21 11:48           ` Michal Novotny
  0 siblings, 1 reply; 11+ messages in thread
From: David Markey @ 2010-06-21 11:38 UTC (permalink / raw)
  To: Michal Novotny; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 4275 bytes --]

The *non-e2fsprogs* implementation,
i.e. tools/libfsimage/ext2fs/fsys_ext2fs.c has ext4 support already.


On 21 June 2010 12:29, Michal Novotny <minovotn@redhat.com> wrote:

> On 06/21/2010 01:26 PM, David Markey wrote:
>
>> Well, which ever way we do it, either using the built in libfsimage ext4
>> support, or upgrading e2fsprogs, we should choose one?
>>
>>
>>
> Well, when using libfsimage *non-e2fsprogs* implementation the ext4 support
> have to be added manually but when using e2fsprogs implementation (i.e. the
> version linked with e2fsprogs) I recommend upgrading your version of
> e2fsprogs to the newest/upstream version.
>
> Michal
>
>  On 21 June 2010 10:59, Michal Novotny <minovotn@redhat.com <mailto:
>> minovotn@redhat.com>> wrote:
>>
>>    On 06/19/2010 06:07 PM, Pasi Kärkkäinen wrote:
>>
>>        On Sat, Jun 19, 2010 at 05:00:57PM +0100, David Markey wrote:
>>
>>               XCP pygrub should have ext4 support.
>>               It currently doesn't because the libfsimage ext2fs-lib
>>            module is linked
>>               against libext2fs, which doesnt have ext4 support in XCP.
>>               Instead, XCP should use the ext2fs module that comes
>>            with libfsimage,
>>               which has ext4 support.
>>               Most new releases of distributions has it as their
>>            default filesystem.
>>               Most notably, Ubuntu 10.04
>>
>>
>>        Also Fedora 12, Fedora 13, upcoming Debian 6.0 ("Squeeze") and
>>        RHEL6.
>>
>>        -- Pasi
>>
>>
>>    Well, this is not the Xen issue here. We're having this fixed in
>>    RHEL-5 by simply reinstalling the e2fsprogs package to the latest
>>    one, although in case of RHEL-5 it's been renamed to e4fsprogs.
>>    The simplest thing you can do about this is to reinstall the
>>    e2fsprogs package on the host machine and it will be working fine
>>    - at least it was when I did test it on RHEL-5 some time ago.
>>
>>    Simply put, reinstalling the e2fsprogs to the latest version will
>>    do the job and allow ext4 functionality to pygrub.
>>
>>    Michal
>>
>>
>>
>>               An easy way for the build to use ext2fs instead of
>>            ext2fs-lib, is to not
>>               have ext2fs/ext2fs.h present.
>>               Alternatively this patch hard codes it.
>>               (From 4.0)
>>               --- a/tools/libfsimage/Makefile         2010-06-19
>>            16:52:04.231221516
>>               +0100
>>               +++ b/tools/libfsimage/Makefile         2010-06-19
>>            16:52:08.803250922
>>               +0100
>>               @@ -1,8 +1,7 @@
>>                XEN_ROOT = ../..
>>                include $(XEN_ROOT)/tools/Rules.mk
>>
>>               -SUBDIRS-y = common ufs reiserfs iso9660 fat zfs
>>               -SUBDIRS-y += $(shell env CC="$(CC)" ./check-libext2fs)
>>               +SUBDIRS-y = common ufs reiserfs iso9660 fat zfs ext2fs
>>
>>                .PHONY: all clean install
>>                all clean install: %: subdirs-%
>>
>>
>>            _______________________________________________
>>            Xen-devel mailing list
>>            Xen-devel@lists.xensource.com
>>            <mailto:Xen-devel@lists.xensource.com>
>>
>>            http://lists.xensource.com/xen-devel
>>
>>
>>        _______________________________________________
>>        Xen-devel mailing list
>>        Xen-devel@lists.xensource.com
>>        <mailto:Xen-devel@lists.xensource.com>
>>
>>        http://lists.xensource.com/xen-devel
>>
>>
>>
>>    --     Michal Novotny<minovotn@redhat.com <mailto:minovotn@redhat.com>>,
>> RHCE
>>
>>    Virtualization Team (xen userspace), Red Hat
>>
>>
>>
>>    _______________________________________________
>>    Xen-devel mailing list
>>    Xen-devel@lists.xensource.com <mailto:Xen-devel@lists.xensource.com>
>>
>>    http://lists.xensource.com/xen-devel
>>
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>>
>>
>
>
> --
> Michal Novotny<minovotn@redhat.com>, RHCE
> Virtualization Team (xen userspace), Red Hat
>
>

[-- Attachment #1.2: Type: text/html, Size: 6229 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: XCP: pygrub missing ext4 support.
  2010-06-21 11:38         ` David Markey
@ 2010-06-21 11:48           ` Michal Novotny
  2010-06-21 11:55             ` David Markey
  0 siblings, 1 reply; 11+ messages in thread
From: Michal Novotny @ 2010-06-21 11:48 UTC (permalink / raw)
  To: admin; +Cc: xen-devel

On 06/21/2010 01:38 PM, David Markey wrote:
> The *non-e2fsprogs* implementation, 
> i.e. tools/libfsimage/ext2fs/fsys_ext2fs.c has ext4 support already.

Oh, ok, provided the fact that e2fsprogs implementation is being just 
simply linked to the e2fsprogs library upgrading the package to the 
newest/upstream package is the simplest thing you could do.

Michal

>
>
> On 21 June 2010 12:29, Michal Novotny <minovotn@redhat.com 
> <mailto:minovotn@redhat.com>> wrote:
>
>     On 06/21/2010 01:26 PM, David Markey wrote:
>
>         Well, which ever way we do it, either using the built in
>         libfsimage ext4 support, or upgrading e2fsprogs, we should
>         choose one?
>
>
>
>     Well, when using libfsimage *non-e2fsprogs* implementation the
>     ext4 support have to be added manually but when using e2fsprogs
>     implementation (i.e. the version linked with e2fsprogs) I
>     recommend upgrading your version of e2fsprogs to the
>     newest/upstream version.
>
>     Michal
>
>         On 21 June 2010 10:59, Michal Novotny <minovotn@redhat.com
>         <mailto:minovotn@redhat.com> <mailto:minovotn@redhat.com
>         <mailto:minovotn@redhat.com>>> wrote:
>
>            On 06/19/2010 06:07 PM, Pasi Kärkkäinen wrote:
>
>                On Sat, Jun 19, 2010 at 05:00:57PM +0100, David Markey
>         wrote:
>
>                       XCP pygrub should have ext4 support.
>                       It currently doesn't because the libfsimage
>         ext2fs-lib
>                    module is linked
>                       against libext2fs, which doesnt have ext4
>         support in XCP.
>                       Instead, XCP should use the ext2fs module that comes
>                    with libfsimage,
>                       which has ext4 support.
>                       Most new releases of distributions has it as their
>                    default filesystem.
>                       Most notably, Ubuntu 10.04
>
>
>                Also Fedora 12, Fedora 13, upcoming Debian 6.0
>         ("Squeeze") and
>                RHEL6.
>
>                -- Pasi
>
>
>            Well, this is not the Xen issue here. We're having this
>         fixed in
>            RHEL-5 by simply reinstalling the e2fsprogs package to the
>         latest
>            one, although in case of RHEL-5 it's been renamed to e4fsprogs.
>            The simplest thing you can do about this is to reinstall the
>            e2fsprogs package on the host machine and it will be
>         working fine
>            - at least it was when I did test it on RHEL-5 some time ago.
>
>            Simply put, reinstalling the e2fsprogs to the latest
>         version will
>            do the job and allow ext4 functionality to pygrub.
>
>            Michal
>
>
>
>                       An easy way for the build to use ext2fs instead of
>                    ext2fs-lib, is to not
>                       have ext2fs/ext2fs.h present.
>                       Alternatively this patch hard codes it.
>                       (From 4.0)
>                       --- a/tools/libfsimage/Makefile         2010-06-19
>                    16:52:04.231221516
>                       +0100
>                       +++ b/tools/libfsimage/Makefile         2010-06-19
>                    16:52:08.803250922
>                       +0100
>                       @@ -1,8 +1,7 @@
>                        XEN_ROOT = ../..
>                        include $(XEN_ROOT)/tools/Rules.mk
>
>                       -SUBDIRS-y = common ufs reiserfs iso9660 fat zfs
>                       -SUBDIRS-y += $(shell env CC="$(CC)"
>         ./check-libext2fs)
>                       +SUBDIRS-y = common ufs reiserfs iso9660 fat zfs
>         ext2fs
>
>                        .PHONY: all clean install
>                        all clean install: %: subdirs-%
>
>
>                    _______________________________________________
>                    Xen-devel mailing list
>         Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>
>         <mailto:Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>>
>
>         http://lists.xensource.com/xen-devel
>
>
>                _______________________________________________
>                Xen-devel mailing list
>         Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>
>         <mailto:Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>>
>
>         http://lists.xensource.com/xen-devel
>
>
>
>            --     Michal Novotny<minovotn@redhat.com
>         <mailto:minovotn@redhat.com> <mailto:minovotn@redhat.com
>         <mailto:minovotn@redhat.com>>>, RHCE
>
>            Virtualization Team (xen userspace), Red Hat
>
>
>
>            _______________________________________________
>            Xen-devel mailing list
>         Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>
>         <mailto:Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>>
>
>         http://lists.xensource.com/xen-devel
>
>
>
>         _______________________________________________
>         Xen-devel mailing list
>         Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>
>         http://lists.xensource.com/xen-devel
>
>
>
>     -- 
>     Michal Novotny<minovotn@redhat.com <mailto:minovotn@redhat.com>>, RHCE
>     Virtualization Team (xen userspace), Red Hat
>
>


-- 
Michal Novotny<minovotn@redhat.com>, RHCE
Virtualization Team (xen userspace), Red Hat

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: XCP: pygrub missing ext4 support.
  2010-06-21 11:48           ` Michal Novotny
@ 2010-06-21 11:55             ` David Markey
  2010-06-21 11:58               ` Michal Novotny
  0 siblings, 1 reply; 11+ messages in thread
From: David Markey @ 2010-06-21 11:55 UTC (permalink / raw)
  To: xen-devel; +Cc: Michal Novotny


[-- Attachment #1.1: Type: text/plain, Size: 5982 bytes --]

Well whichever way we go, could we get some movement before XCP 0.5 final?

On 21 June 2010 12:48, Michal Novotny <minovotn@redhat.com> wrote:

> On 06/21/2010 01:38 PM, David Markey wrote:
>
>> The *non-e2fsprogs* implementation, i.e.
>> tools/libfsimage/ext2fs/fsys_ext2fs.c has ext4 support already.
>>
>
> Oh, ok, provided the fact that e2fsprogs implementation is being just
> simply linked to the e2fsprogs library upgrading the package to the
> newest/upstream package is the simplest thing you could do.
>
> Michal
>
>
>>
>> On 21 June 2010 12:29, Michal Novotny <minovotn@redhat.com <mailto:
>> minovotn@redhat.com>> wrote:
>>
>>    On 06/21/2010 01:26 PM, David Markey wrote:
>>
>>        Well, which ever way we do it, either using the built in
>>        libfsimage ext4 support, or upgrading e2fsprogs, we should
>>        choose one?
>>
>>
>>
>>    Well, when using libfsimage *non-e2fsprogs* implementation the
>>    ext4 support have to be added manually but when using e2fsprogs
>>    implementation (i.e. the version linked with e2fsprogs) I
>>    recommend upgrading your version of e2fsprogs to the
>>    newest/upstream version.
>>
>>    Michal
>>
>>        On 21 June 2010 10:59, Michal Novotny <minovotn@redhat.com
>>        <mailto:minovotn@redhat.com> <mailto:minovotn@redhat.com
>>
>>        <mailto:minovotn@redhat.com>>> wrote:
>>
>>           On 06/19/2010 06:07 PM, Pasi Kärkkäinen wrote:
>>
>>               On Sat, Jun 19, 2010 at 05:00:57PM +0100, David Markey
>>        wrote:
>>
>>                      XCP pygrub should have ext4 support.
>>                      It currently doesn't because the libfsimage
>>        ext2fs-lib
>>                   module is linked
>>                      against libext2fs, which doesnt have ext4
>>        support in XCP.
>>                      Instead, XCP should use the ext2fs module that comes
>>                   with libfsimage,
>>                      which has ext4 support.
>>                      Most new releases of distributions has it as their
>>                   default filesystem.
>>                      Most notably, Ubuntu 10.04
>>
>>
>>               Also Fedora 12, Fedora 13, upcoming Debian 6.0
>>        ("Squeeze") and
>>               RHEL6.
>>
>>               -- Pasi
>>
>>
>>           Well, this is not the Xen issue here. We're having this
>>        fixed in
>>           RHEL-5 by simply reinstalling the e2fsprogs package to the
>>        latest
>>           one, although in case of RHEL-5 it's been renamed to e4fsprogs.
>>           The simplest thing you can do about this is to reinstall the
>>           e2fsprogs package on the host machine and it will be
>>        working fine
>>           - at least it was when I did test it on RHEL-5 some time ago.
>>
>>           Simply put, reinstalling the e2fsprogs to the latest
>>        version will
>>           do the job and allow ext4 functionality to pygrub.
>>
>>           Michal
>>
>>
>>
>>                      An easy way for the build to use ext2fs instead of
>>                   ext2fs-lib, is to not
>>                      have ext2fs/ext2fs.h present.
>>                      Alternatively this patch hard codes it.
>>                      (From 4.0)
>>                      --- a/tools/libfsimage/Makefile         2010-06-19
>>                   16:52:04.231221516
>>                      +0100
>>                      +++ b/tools/libfsimage/Makefile         2010-06-19
>>                   16:52:08.803250922
>>                      +0100
>>                      @@ -1,8 +1,7 @@
>>                       XEN_ROOT = ../..
>>                       include $(XEN_ROOT)/tools/Rules.mk
>>
>>                      -SUBDIRS-y = common ufs reiserfs iso9660 fat zfs
>>                      -SUBDIRS-y += $(shell env CC="$(CC)"
>>        ./check-libext2fs)
>>                      +SUBDIRS-y = common ufs reiserfs iso9660 fat zfs
>>        ext2fs
>>
>>                       .PHONY: all clean install
>>                       all clean install: %: subdirs-%
>>
>>
>>                   _______________________________________________
>>                   Xen-devel mailing list
>>        Xen-devel@lists.xensource.com
>>        <mailto:Xen-devel@lists.xensource.com>
>>        <mailto:Xen-devel@lists.xensource.com
>>        <mailto:Xen-devel@lists.xensource.com>>
>>
>>        http://lists.xensource.com/xen-devel
>>
>>
>>               _______________________________________________
>>               Xen-devel mailing list
>>        Xen-devel@lists.xensource.com
>>        <mailto:Xen-devel@lists.xensource.com>
>>        <mailto:Xen-devel@lists.xensource.com
>>        <mailto:Xen-devel@lists.xensource.com>>
>>
>>        http://lists.xensource.com/xen-devel
>>
>>
>>
>>           --     Michal Novotny<minovotn@redhat.com
>>        <mailto:minovotn@redhat.com> <mailto:minovotn@redhat.com
>>
>>        <mailto:minovotn@redhat.com>>>, RHCE
>>
>>           Virtualization Team (xen userspace), Red Hat
>>
>>
>>
>>           _______________________________________________
>>           Xen-devel mailing list
>>        Xen-devel@lists.xensource.com
>>        <mailto:Xen-devel@lists.xensource.com>
>>        <mailto:Xen-devel@lists.xensource.com
>>        <mailto:Xen-devel@lists.xensource.com>>
>>
>>        http://lists.xensource.com/xen-devel
>>
>>
>>
>>        _______________________________________________
>>        Xen-devel mailing list
>>        Xen-devel@lists.xensource.com
>>        <mailto:Xen-devel@lists.xensource.com>
>>        http://lists.xensource.com/xen-devel
>>
>>
>>
>>    --     Michal Novotny<minovotn@redhat.com <mailto:minovotn@redhat.com>>,
>> RHCE
>>    Virtualization Team (xen userspace), Red Hat
>>
>>
>>
>
> --
> Michal Novotny<minovotn@redhat.com>, RHCE
> Virtualization Team (xen userspace), Red Hat
>
>

[-- Attachment #1.2: Type: text/html, Size: 9052 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: XCP: pygrub missing ext4 support.
  2010-06-21 11:55             ` David Markey
@ 2010-06-21 11:58               ` Michal Novotny
  2010-06-21 12:44                 ` Pasi Kärkkäinen
  0 siblings, 1 reply; 11+ messages in thread
From: Michal Novotny @ 2010-06-21 11:58 UTC (permalink / raw)
  To: admin; +Cc: xen-devel

David, this is totally xen independent thing. This is based on the 
operating system's version of e2fsprogs installed and provided if there 
are systems having e2fsprogs version *with* the ext4 support it will be 
working fine for them.

Michal

On 06/21/2010 01:55 PM, David Markey wrote:
> Well whichever way we go, could we get some movement before XCP 0.5 final?
>
> On 21 June 2010 12:48, Michal Novotny <minovotn@redhat.com 
> <mailto:minovotn@redhat.com>> wrote:
>
>     On 06/21/2010 01:38 PM, David Markey wrote:
>
>         The *non-e2fsprogs* implementation, i.e.
>         tools/libfsimage/ext2fs/fsys_ext2fs.c has ext4 support already.
>
>
>     Oh, ok, provided the fact that e2fsprogs implementation is being
>     just simply linked to the e2fsprogs library upgrading the package
>     to the newest/upstream package is the simplest thing you could do.
>
>     Michal
>
>
>
>         On 21 June 2010 12:29, Michal Novotny <minovotn@redhat.com
>         <mailto:minovotn@redhat.com> <mailto:minovotn@redhat.com
>         <mailto:minovotn@redhat.com>>> wrote:
>
>            On 06/21/2010 01:26 PM, David Markey wrote:
>
>                Well, which ever way we do it, either using the built in
>                libfsimage ext4 support, or upgrading e2fsprogs, we should
>                choose one?
>
>
>
>            Well, when using libfsimage *non-e2fsprogs* implementation the
>            ext4 support have to be added manually but when using e2fsprogs
>            implementation (i.e. the version linked with e2fsprogs) I
>            recommend upgrading your version of e2fsprogs to the
>            newest/upstream version.
>
>            Michal
>
>                On 21 June 2010 10:59, Michal Novotny
>         <minovotn@redhat.com <mailto:minovotn@redhat.com>
>         <mailto:minovotn@redhat.com <mailto:minovotn@redhat.com>>
>         <mailto:minovotn@redhat.com <mailto:minovotn@redhat.com>
>
>         <mailto:minovotn@redhat.com <mailto:minovotn@redhat.com>>>> wrote:
>
>                   On 06/19/2010 06:07 PM, Pasi Kärkkäinen wrote:
>
>                       On Sat, Jun 19, 2010 at 05:00:57PM +0100, David
>         Markey
>                wrote:
>
>                              XCP pygrub should have ext4 support.
>                              It currently doesn't because the libfsimage
>                ext2fs-lib
>                           module is linked
>                              against libext2fs, which doesnt have ext4
>                support in XCP.
>                              Instead, XCP should use the ext2fs module
>         that comes
>                           with libfsimage,
>                              which has ext4 support.
>                              Most new releases of distributions has it
>         as their
>                           default filesystem.
>                              Most notably, Ubuntu 10.04
>
>
>                       Also Fedora 12, Fedora 13, upcoming Debian 6.0
>                ("Squeeze") and
>                       RHEL6.
>
>                       -- Pasi
>
>
>                   Well, this is not the Xen issue here. We're having this
>                fixed in
>                   RHEL-5 by simply reinstalling the e2fsprogs package
>         to the
>                latest
>                   one, although in case of RHEL-5 it's been renamed to
>         e4fsprogs.
>                   The simplest thing you can do about this is to
>         reinstall the
>                   e2fsprogs package on the host machine and it will be
>                working fine
>                   - at least it was when I did test it on RHEL-5 some
>         time ago.
>
>                   Simply put, reinstalling the e2fsprogs to the latest
>                version will
>                   do the job and allow ext4 functionality to pygrub.
>
>                   Michal
>
>
>
>                              An easy way for the build to use ext2fs
>         instead of
>                           ext2fs-lib, is to not
>                              have ext2fs/ext2fs.h present.
>                              Alternatively this patch hard codes it.
>                              (From 4.0)
>                              --- a/tools/libfsimage/Makefile        
>         2010-06-19
>                           16:52:04.231221516
>                              +0100
>                              +++ b/tools/libfsimage/Makefile        
>         2010-06-19
>                           16:52:08.803250922
>                              +0100
>                              @@ -1,8 +1,7 @@
>                               XEN_ROOT = ../..
>                               include $(XEN_ROOT)/tools/Rules.mk
>
>                              -SUBDIRS-y = common ufs reiserfs iso9660
>         fat zfs
>                              -SUBDIRS-y += $(shell env CC="$(CC)"
>                ./check-libext2fs)
>                              +SUBDIRS-y = common ufs reiserfs iso9660
>         fat zfs
>                ext2fs
>
>                               .PHONY: all clean install
>                               all clean install: %: subdirs-%
>
>
>                           _______________________________________________
>                           Xen-devel mailing list
>         Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>
>         <mailto:Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>>
>         <mailto:Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>
>         <mailto:Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>>>
>
>         http://lists.xensource.com/xen-devel
>
>
>                       _______________________________________________
>                       Xen-devel mailing list
>         Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>
>         <mailto:Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>>
>         <mailto:Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>
>         <mailto:Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>>>
>
>         http://lists.xensource.com/xen-devel
>
>
>
>                   --     Michal Novotny<minovotn@redhat.com
>         <mailto:minovotn@redhat.com>
>         <mailto:minovotn@redhat.com <mailto:minovotn@redhat.com>>
>         <mailto:minovotn@redhat.com <mailto:minovotn@redhat.com>
>
>         <mailto:minovotn@redhat.com <mailto:minovotn@redhat.com>>>>, RHCE
>
>                   Virtualization Team (xen userspace), Red Hat
>
>
>
>                   _______________________________________________
>                   Xen-devel mailing list
>         Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>
>         <mailto:Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>>
>         <mailto:Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>
>         <mailto:Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>>>
>
>         http://lists.xensource.com/xen-devel
>
>
>
>                _______________________________________________
>                Xen-devel mailing list
>         Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>
>         <mailto:Xen-devel@lists.xensource.com
>         <mailto:Xen-devel@lists.xensource.com>>
>         http://lists.xensource.com/xen-devel
>
>
>
>            --     Michal Novotny<minovotn@redhat.com
>         <mailto:minovotn@redhat.com> <mailto:minovotn@redhat.com
>         <mailto:minovotn@redhat.com>>>, RHCE
>            Virtualization Team (xen userspace), Red Hat
>
>
>
>
>     -- 
>     Michal Novotny<minovotn@redhat.com <mailto:minovotn@redhat.com>>, RHCE
>     Virtualization Team (xen userspace), Red Hat
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>    


-- 
Michal Novotny<minovotn@redhat.com>, RHCE
Virtualization Team (xen userspace), Red Hat

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: XCP: pygrub missing ext4 support.
  2010-06-21 11:58               ` Michal Novotny
@ 2010-06-21 12:44                 ` Pasi Kärkkäinen
  2010-06-21 13:02                   ` Michal Novotny
  0 siblings, 1 reply; 11+ messages in thread
From: Pasi Kärkkäinen @ 2010-06-21 12:44 UTC (permalink / raw)
  To: Michal Novotny; +Cc: admin, xen-devel

On Mon, Jun 21, 2010 at 01:58:35PM +0200, Michal Novotny wrote:
> David, this is totally xen independent thing. This is based on the  
> operating system's version of e2fsprogs installed and provided if there  
> are systems having e2fsprogs version *with* the ext4 support it will be  
> working fine for them.
>

Michal: Remember we're talking about XCP (Xen Cloud Platform) here,
not "traditional" Xen installations.. 

So it just needs to be decided in which way to solve it in XCP.

-- Pasi

> Michal
>
> On 06/21/2010 01:55 PM, David Markey wrote:
>> Well whichever way we go, could we get some movement before XCP 0.5 final?
>>
>> On 21 June 2010 12:48, Michal Novotny <minovotn@redhat.com  
>> <mailto:minovotn@redhat.com>> wrote:
>>
>>     On 06/21/2010 01:38 PM, David Markey wrote:
>>
>>         The *non-e2fsprogs* implementation, i.e.
>>         tools/libfsimage/ext2fs/fsys_ext2fs.c has ext4 support already.
>>
>>
>>     Oh, ok, provided the fact that e2fsprogs implementation is being
>>     just simply linked to the e2fsprogs library upgrading the package
>>     to the newest/upstream package is the simplest thing you could do.
>>
>>     Michal
>>
>>
>>
>>         On 21 June 2010 12:29, Michal Novotny <minovotn@redhat.com
>>         <mailto:minovotn@redhat.com> <mailto:minovotn@redhat.com
>>         <mailto:minovotn@redhat.com>>> wrote:
>>
>>            On 06/21/2010 01:26 PM, David Markey wrote:
>>
>>                Well, which ever way we do it, either using the built in
>>                libfsimage ext4 support, or upgrading e2fsprogs, we should
>>                choose one?
>>
>>
>>
>>            Well, when using libfsimage *non-e2fsprogs* implementation the
>>            ext4 support have to be added manually but when using e2fsprogs
>>            implementation (i.e. the version linked with e2fsprogs) I
>>            recommend upgrading your version of e2fsprogs to the
>>            newest/upstream version.
>>
>>            Michal
>>
>>                On 21 June 2010 10:59, Michal Novotny
>>         <minovotn@redhat.com <mailto:minovotn@redhat.com>
>>         <mailto:minovotn@redhat.com <mailto:minovotn@redhat.com>>
>>         <mailto:minovotn@redhat.com <mailto:minovotn@redhat.com>
>>
>>         <mailto:minovotn@redhat.com <mailto:minovotn@redhat.com>>>> wrote:
>>
>>                   On 06/19/2010 06:07 PM, Pasi Kärkkäinen wrote:
>>
>>                       On Sat, Jun 19, 2010 at 05:00:57PM +0100, David
>>         Markey
>>                wrote:
>>
>>                              XCP pygrub should have ext4 support.
>>                              It currently doesn't because the libfsimage
>>                ext2fs-lib
>>                           module is linked
>>                              against libext2fs, which doesnt have ext4
>>                support in XCP.
>>                              Instead, XCP should use the ext2fs module
>>         that comes
>>                           with libfsimage,
>>                              which has ext4 support.
>>                              Most new releases of distributions has it
>>         as their
>>                           default filesystem.
>>                              Most notably, Ubuntu 10.04
>>
>>
>>                       Also Fedora 12, Fedora 13, upcoming Debian 6.0
>>                ("Squeeze") and
>>                       RHEL6.
>>
>>                       -- Pasi
>>
>>
>>                   Well, this is not the Xen issue here. We're having this
>>                fixed in
>>                   RHEL-5 by simply reinstalling the e2fsprogs package
>>         to the
>>                latest
>>                   one, although in case of RHEL-5 it's been renamed to
>>         e4fsprogs.
>>                   The simplest thing you can do about this is to
>>         reinstall the
>>                   e2fsprogs package on the host machine and it will be
>>                working fine
>>                   - at least it was when I did test it on RHEL-5 some
>>         time ago.
>>
>>                   Simply put, reinstalling the e2fsprogs to the latest
>>                version will
>>                   do the job and allow ext4 functionality to pygrub.
>>
>>                   Michal
>>
>>
>>
>>                              An easy way for the build to use ext2fs
>>         instead of
>>                           ext2fs-lib, is to not
>>                              have ext2fs/ext2fs.h present.
>>                              Alternatively this patch hard codes it.
>>                              (From 4.0)
>>                              --- a/tools/libfsimage/Makefile            
>>     2010-06-19
>>                           16:52:04.231221516
>>                              +0100
>>                              +++ b/tools/libfsimage/Makefile            
>>     2010-06-19
>>                           16:52:08.803250922
>>                              +0100
>>                              @@ -1,8 +1,7 @@
>>                               XEN_ROOT = ../..
>>                               include $(XEN_ROOT)/tools/Rules.mk
>>
>>                              -SUBDIRS-y = common ufs reiserfs iso9660
>>         fat zfs
>>                              -SUBDIRS-y += $(shell env CC="$(CC)"
>>                ./check-libext2fs)
>>                              +SUBDIRS-y = common ufs reiserfs iso9660
>>         fat zfs
>>                ext2fs
>>
>>                               .PHONY: all clean install
>>                               all clean install: %: subdirs-%
>>
>>
>>                           _______________________________________________
>>                           Xen-devel mailing list
>>         Xen-devel@lists.xensource.com
>>         <mailto:Xen-devel@lists.xensource.com>
>>         <mailto:Xen-devel@lists.xensource.com
>>         <mailto:Xen-devel@lists.xensource.com>>
>>         <mailto:Xen-devel@lists.xensource.com
>>         <mailto:Xen-devel@lists.xensource.com>
>>         <mailto:Xen-devel@lists.xensource.com
>>         <mailto:Xen-devel@lists.xensource.com>>>
>>
>>         http://lists.xensource.com/xen-devel
>>
>>
>>                       _______________________________________________
>>                       Xen-devel mailing list
>>         Xen-devel@lists.xensource.com
>>         <mailto:Xen-devel@lists.xensource.com>
>>         <mailto:Xen-devel@lists.xensource.com
>>         <mailto:Xen-devel@lists.xensource.com>>
>>         <mailto:Xen-devel@lists.xensource.com
>>         <mailto:Xen-devel@lists.xensource.com>
>>         <mailto:Xen-devel@lists.xensource.com
>>         <mailto:Xen-devel@lists.xensource.com>>>
>>
>>         http://lists.xensource.com/xen-devel
>>
>>
>>
>>                   --     Michal Novotny<minovotn@redhat.com
>>         <mailto:minovotn@redhat.com>
>>         <mailto:minovotn@redhat.com <mailto:minovotn@redhat.com>>
>>         <mailto:minovotn@redhat.com <mailto:minovotn@redhat.com>
>>
>>         <mailto:minovotn@redhat.com <mailto:minovotn@redhat.com>>>>, RHCE
>>
>>                   Virtualization Team (xen userspace), Red Hat
>>
>>
>>
>>                   _______________________________________________
>>                   Xen-devel mailing list
>>         Xen-devel@lists.xensource.com
>>         <mailto:Xen-devel@lists.xensource.com>
>>         <mailto:Xen-devel@lists.xensource.com
>>         <mailto:Xen-devel@lists.xensource.com>>
>>         <mailto:Xen-devel@lists.xensource.com
>>         <mailto:Xen-devel@lists.xensource.com>
>>         <mailto:Xen-devel@lists.xensource.com
>>         <mailto:Xen-devel@lists.xensource.com>>>
>>
>>         http://lists.xensource.com/xen-devel
>>
>>
>>
>>                _______________________________________________
>>                Xen-devel mailing list
>>         Xen-devel@lists.xensource.com
>>         <mailto:Xen-devel@lists.xensource.com>
>>         <mailto:Xen-devel@lists.xensource.com
>>         <mailto:Xen-devel@lists.xensource.com>>
>>         http://lists.xensource.com/xen-devel
>>
>>
>>
>>            --     Michal Novotny<minovotn@redhat.com
>>         <mailto:minovotn@redhat.com> <mailto:minovotn@redhat.com
>>         <mailto:minovotn@redhat.com>>>, RHCE
>>            Virtualization Team (xen userspace), Red Hat
>>
>>
>>
>>
>>     --     Michal Novotny<minovotn@redhat.com 
>> <mailto:minovotn@redhat.com>>, RHCE
>>     Virtualization Team (xen userspace), Red Hat
>>
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>>    
>
>
> -- 
> Michal Novotny<minovotn@redhat.com>, RHCE
> Virtualization Team (xen userspace), Red Hat
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: XCP: pygrub missing ext4 support.
  2010-06-21 12:44                 ` Pasi Kärkkäinen
@ 2010-06-21 13:02                   ` Michal Novotny
  0 siblings, 0 replies; 11+ messages in thread
From: Michal Novotny @ 2010-06-21 13:02 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: admin, xen-devel

On 06/21/2010 02:44 PM, Pasi Kärkkäinen wrote:
> On Mon, Jun 21, 2010 at 01:58:35PM +0200, Michal Novotny wrote:
>    
>> David, this is totally xen independent thing. This is based on the
>> operating system's version of e2fsprogs installed and provided if there
>> are systems having e2fsprogs version *with* the ext4 support it will be
>> working fine for them.
>>
>>      
> Michal: Remember we're talking about XCP (Xen Cloud Platform) here,
> not "traditional" Xen installations..
>
> So it just needs to be decided in which way to solve it in XCP.
>
> -- Pasi
>
>    

Oh, sorry Pasi, I didn't know that. If this is about XCP (which I am 
completely unfamiliar with) it's fine. Just note that it the e2fsprogs 
on the host machine does matter so maybe having the newest e2fsprogs in 
the XCP should work fine.

Michal

>> Michal
>>
>> On 06/21/2010 01:55 PM, David Markey wrote:
>>      
>>> Well whichever way we go, could we get some movement before XCP 0.5 final?
>>>
>>> On 21 June 2010 12:48, Michal Novotny<minovotn@redhat.com
>>> <mailto:minovotn@redhat.com>>  wrote:
>>>
>>>      On 06/21/2010 01:38 PM, David Markey wrote:
>>>
>>>          The *non-e2fsprogs* implementation, i.e.
>>>          tools/libfsimage/ext2fs/fsys_ext2fs.c has ext4 support already.
>>>
>>>
>>>      Oh, ok, provided the fact that e2fsprogs implementation is being
>>>      just simply linked to the e2fsprogs library upgrading the package
>>>      to the newest/upstream package is the simplest thing you could do.
>>>
>>>      Michal
>>>
>>>
>>>
>>>          On 21 June 2010 12:29, Michal Novotny<minovotn@redhat.com
>>>          <mailto:minovotn@redhat.com>  <mailto:minovotn@redhat.com
>>>          <mailto:minovotn@redhat.com>>>  wrote:
>>>
>>>             On 06/21/2010 01:26 PM, David Markey wrote:
>>>
>>>                 Well, which ever way we do it, either using the built in
>>>                 libfsimage ext4 support, or upgrading e2fsprogs, we should
>>>                 choose one?
>>>
>>>
>>>
>>>             Well, when using libfsimage *non-e2fsprogs* implementation the
>>>             ext4 support have to be added manually but when using e2fsprogs
>>>             implementation (i.e. the version linked with e2fsprogs) I
>>>             recommend upgrading your version of e2fsprogs to the
>>>             newest/upstream version.
>>>
>>>             Michal
>>>
>>>                 On 21 June 2010 10:59, Michal Novotny
>>>          <minovotn@redhat.com<mailto:minovotn@redhat.com>
>>>          <mailto:minovotn@redhat.com<mailto:minovotn@redhat.com>>
>>>          <mailto:minovotn@redhat.com<mailto:minovotn@redhat.com>
>>>
>>>          <mailto:minovotn@redhat.com<mailto:minovotn@redhat.com>>>>  wrote:
>>>
>>>                    On 06/19/2010 06:07 PM, Pasi Kärkkäinen wrote:
>>>
>>>                        On Sat, Jun 19, 2010 at 05:00:57PM +0100, David
>>>          Markey
>>>                 wrote:
>>>
>>>                               XCP pygrub should have ext4 support.
>>>                               It currently doesn't because the libfsimage
>>>                 ext2fs-lib
>>>                            module is linked
>>>                               against libext2fs, which doesnt have ext4
>>>                 support in XCP.
>>>                               Instead, XCP should use the ext2fs module
>>>          that comes
>>>                            with libfsimage,
>>>                               which has ext4 support.
>>>                               Most new releases of distributions has it
>>>          as their
>>>                            default filesystem.
>>>                               Most notably, Ubuntu 10.04
>>>
>>>
>>>                        Also Fedora 12, Fedora 13, upcoming Debian 6.0
>>>                 ("Squeeze") and
>>>                        RHEL6.
>>>
>>>                        -- Pasi
>>>
>>>
>>>                    Well, this is not the Xen issue here. We're having this
>>>                 fixed in
>>>                    RHEL-5 by simply reinstalling the e2fsprogs package
>>>          to the
>>>                 latest
>>>                    one, although in case of RHEL-5 it's been renamed to
>>>          e4fsprogs.
>>>                    The simplest thing you can do about this is to
>>>          reinstall the
>>>                    e2fsprogs package on the host machine and it will be
>>>                 working fine
>>>                    - at least it was when I did test it on RHEL-5 some
>>>          time ago.
>>>
>>>                    Simply put, reinstalling the e2fsprogs to the latest
>>>                 version will
>>>                    do the job and allow ext4 functionality to pygrub.
>>>
>>>                    Michal
>>>
>>>
>>>
>>>                               An easy way for the build to use ext2fs
>>>          instead of
>>>                            ext2fs-lib, is to not
>>>                               have ext2fs/ext2fs.h present.
>>>                               Alternatively this patch hard codes it.
>>>                               (From 4.0)
>>>                               --- a/tools/libfsimage/Makefile
>>>      2010-06-19
>>>                            16:52:04.231221516
>>>                               +0100
>>>                               +++ b/tools/libfsimage/Makefile
>>>      2010-06-19
>>>                            16:52:08.803250922
>>>                               +0100
>>>                               @@ -1,8 +1,7 @@
>>>                                XEN_ROOT = ../..
>>>                                include $(XEN_ROOT)/tools/Rules.mk
>>>
>>>                               -SUBDIRS-y = common ufs reiserfs iso9660
>>>          fat zfs
>>>                               -SUBDIRS-y += $(shell env CC="$(CC)"
>>>                 ./check-libext2fs)
>>>                               +SUBDIRS-y = common ufs reiserfs iso9660
>>>          fat zfs
>>>                 ext2fs
>>>
>>>                                .PHONY: all clean install
>>>                                all clean install: %: subdirs-%
>>>
>>>
>>>                            _______________________________________________
>>>                            Xen-devel mailing list
>>>          Xen-devel@lists.xensource.com
>>>          <mailto:Xen-devel@lists.xensource.com>
>>>          <mailto:Xen-devel@lists.xensource.com
>>>          <mailto:Xen-devel@lists.xensource.com>>
>>>          <mailto:Xen-devel@lists.xensource.com
>>>          <mailto:Xen-devel@lists.xensource.com>
>>>          <mailto:Xen-devel@lists.xensource.com
>>>          <mailto:Xen-devel@lists.xensource.com>>>
>>>
>>>          http://lists.xensource.com/xen-devel
>>>
>>>
>>>                        _______________________________________________
>>>                        Xen-devel mailing list
>>>          Xen-devel@lists.xensource.com
>>>          <mailto:Xen-devel@lists.xensource.com>
>>>          <mailto:Xen-devel@lists.xensource.com
>>>          <mailto:Xen-devel@lists.xensource.com>>
>>>          <mailto:Xen-devel@lists.xensource.com
>>>          <mailto:Xen-devel@lists.xensource.com>
>>>          <mailto:Xen-devel@lists.xensource.com
>>>          <mailto:Xen-devel@lists.xensource.com>>>
>>>
>>>          http://lists.xensource.com/xen-devel
>>>
>>>
>>>
>>>                    --     Michal Novotny<minovotn@redhat.com
>>>          <mailto:minovotn@redhat.com>
>>>          <mailto:minovotn@redhat.com<mailto:minovotn@redhat.com>>
>>>          <mailto:minovotn@redhat.com<mailto:minovotn@redhat.com>
>>>
>>>          <mailto:minovotn@redhat.com<mailto:minovotn@redhat.com>>>>, RHCE
>>>
>>>                    Virtualization Team (xen userspace), Red Hat
>>>
>>>
>>>
>>>                    _______________________________________________
>>>                    Xen-devel mailing list
>>>          Xen-devel@lists.xensource.com
>>>          <mailto:Xen-devel@lists.xensource.com>
>>>          <mailto:Xen-devel@lists.xensource.com
>>>          <mailto:Xen-devel@lists.xensource.com>>
>>>          <mailto:Xen-devel@lists.xensource.com
>>>          <mailto:Xen-devel@lists.xensource.com>
>>>          <mailto:Xen-devel@lists.xensource.com
>>>          <mailto:Xen-devel@lists.xensource.com>>>
>>>
>>>          http://lists.xensource.com/xen-devel
>>>
>>>
>>>
>>>                 _______________________________________________
>>>                 Xen-devel mailing list
>>>          Xen-devel@lists.xensource.com
>>>          <mailto:Xen-devel@lists.xensource.com>
>>>          <mailto:Xen-devel@lists.xensource.com
>>>          <mailto:Xen-devel@lists.xensource.com>>
>>>          http://lists.xensource.com/xen-devel
>>>
>>>
>>>
>>>             --     Michal Novotny<minovotn@redhat.com
>>>          <mailto:minovotn@redhat.com>  <mailto:minovotn@redhat.com
>>>          <mailto:minovotn@redhat.com>>>, RHCE
>>>             Virtualization Team (xen userspace), Red Hat
>>>
>>>
>>>
>>>
>>>      --     Michal Novotny<minovotn@redhat.com
>>> <mailto:minovotn@redhat.com>>, RHCE
>>>      Virtualization Team (xen userspace), Red Hat
>>>
>>>
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>>>
>>>        
>>
>> -- 
>> Michal Novotny<minovotn@redhat.com>, RHCE
>> Virtualization Team (xen userspace), Red Hat
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>>      


-- 
Michal Novotny<minovotn@redhat.com>, RHCE
Virtualization Team (xen userspace), Red Hat

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-06-21 13:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-19 16:00 XCP: pygrub missing ext4 support David Markey
2010-06-19 16:07 ` Pasi Kärkkäinen
2010-06-21  9:59   ` Michal Novotny
2010-06-21 11:26     ` David Markey
2010-06-21 11:29       ` Michal Novotny
2010-06-21 11:38         ` David Markey
2010-06-21 11:48           ` Michal Novotny
2010-06-21 11:55             ` David Markey
2010-06-21 11:58               ` Michal Novotny
2010-06-21 12:44                 ` Pasi Kärkkäinen
2010-06-21 13:02                   ` Michal Novotny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).