The following patch adds cramfs support to domU kernels so cramfs based ramdisks can be used for initrds. Signed-off-by: Sean Dague <sean@dague.net> Diffstat output: xenU_defconfig_x86_32 | 2 +- xenU_defconfig_x86_64 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -r 38c7c25b3cb9 linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32 --- a/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32 Tue Aug 9 13:53:15 2005 +++ b/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32 Tue Aug 9 22:43:16 2005 @@ -415,7 +415,7 @@ # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_EFS_FS is not set -# CONFIG_CRAMFS is not set +CONFIG_CRAMFS=y # CONFIG_VXFS_FS is not set # CONFIG_HPFS_FS is not set # CONFIG_QNX4FS_FS is not set diff -r 38c7c25b3cb9 linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_64 --- a/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_64 Tue Aug 9 13:53:15 2005 +++ b/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_64 Tue Aug 9 22:43:16 2005 @@ -748,7 +748,7 @@ # CONFIG_BEFS_DEBUG is not set CONFIG_BFS_FS=m CONFIG_EFS_FS=m -CONFIG_CRAMFS=m +CONFIG_CRAMFS=y CONFIG_VXFS_FS=m # CONFIG_HPFS_FS is not set CONFIG_QNX4FS_FS=m -Sean -- __________________________________________________________________ Sean Dague Mid-Hudson Valley sean at dague dot net Linux Users Group http://dague.net http://mhvlug.org There is no silver bullet. Plus, werewolves make better neighbors than zombies, and they tend to keep the vampire population down. __________________________________________________________________ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Anthony Liguori
2005-Aug-10 03:34 UTC
Re: [Xen-devel] [PATCH] add cramfs support to domU kernels
Sean Dague wrote:>The following patch adds cramfs support to domU kernels so cramfs based >ramdisks can be used for initrds. > >This is very useful for supporting an automated test system that uses initrds (like the console testsuite). Thanks Sean! Regards, Anthony Liguori>Signed-off-by: Sean Dague <sean@dague.net> > >Diffstat output: > xenU_defconfig_x86_32 | 2 +- > xenU_defconfig_x86_64 | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff -r 38c7c25b3cb9 linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32 >--- a/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32 Tue Aug 9 13:53:15 2005 >+++ b/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32 Tue Aug 9 22:43:16 2005 >@@ -415,7 +415,7 @@ > # CONFIG_BEFS_FS is not set > # CONFIG_BFS_FS is not set > # CONFIG_EFS_FS is not set >-# CONFIG_CRAMFS is not set >+CONFIG_CRAMFS=y > # CONFIG_VXFS_FS is not set > # CONFIG_HPFS_FS is not set > # CONFIG_QNX4FS_FS is not set >diff -r 38c7c25b3cb9 linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_64 >--- a/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_64 Tue Aug 9 13:53:15 2005 >+++ b/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_64 Tue Aug 9 22:43:16 2005 >@@ -748,7 +748,7 @@ > # CONFIG_BEFS_DEBUG is not set > CONFIG_BFS_FS=m > CONFIG_EFS_FS=m >-CONFIG_CRAMFS=m >+CONFIG_CRAMFS=y > CONFIG_VXFS_FS=m > # CONFIG_HPFS_FS is not set > CONFIG_QNX4FS_FS=m > > > -Sean > > > >------------------------------------------------------------------------ > >_______________________________________________ >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
Mark Williamson
2005-Aug-10 03:36 UTC
Re: [Xen-devel] [PATCH] add cramfs support to domU kernels
> >The following patch adds cramfs support to domU kernels so cramfs based > >ramdisks can be used for initrds. > > This is very useful for supporting an automated test system that uses > initrds (like the console testsuite). Thanks Sean!To clarify further - you don''t need to be root to make a cramfs initrd because you don''t need to loopback mount anything. This makes it rather more convenient for developers who don''t have root on their machines. Cheers, Mark> Regards, > > Anthony Liguori > > >Signed-off-by: Sean Dague <sean@dague.net> > > > >Diffstat output: > > xenU_defconfig_x86_32 | 2 +- > > xenU_defconfig_x86_64 | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > > >diff -r 38c7c25b3cb9 > > linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32 --- > > a/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32 Tue Aug 9 > > 13:53:15 2005 +++ > > b/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32 Tue Aug 9 > > 22:43:16 2005 @@ -415,7 +415,7 @@ > > # CONFIG_BEFS_FS is not set > > # CONFIG_BFS_FS is not set > > # CONFIG_EFS_FS is not set > >-# CONFIG_CRAMFS is not set > >+CONFIG_CRAMFS=y > > # CONFIG_VXFS_FS is not set > > # CONFIG_HPFS_FS is not set > > # CONFIG_QNX4FS_FS is not set > >diff -r 38c7c25b3cb9 > > linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_64 --- > > a/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_64 Tue Aug 9 > > 13:53:15 2005 +++ > > b/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_64 Tue Aug 9 > > 22:43:16 2005 @@ -748,7 +748,7 @@ > > # CONFIG_BEFS_DEBUG is not set > > CONFIG_BFS_FS=m > > CONFIG_EFS_FS=m > >-CONFIG_CRAMFS=m > >+CONFIG_CRAMFS=y > > CONFIG_VXFS_FS=m > > # CONFIG_HPFS_FS is not set > > CONFIG_QNX4FS_FS=m > > > > > > -Sean > > > > > > > >------------------------------------------------------------------------ > > > >_______________________________________________ > >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_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
This reminds me a side problem I experienced.
x235:/tmp/xen-unstable.hg/linux-2.6-xen-sparse/arch/xen/configs # grep
CONFIG_REISERFS_FS=y *
xen0_defconfig_x86_32:CONFIG_REISERFS_FS=y
xen0_defconfig_x86_64:CONFIG_REISERFS_FS=y
xenU_defconfig_x86_32:CONFIG_REISERFS_FS=y
x235:/tmp/xen-unstable.hg/linux-2.6-xen-sparse/arch/xen/configs # grep
REISERFS xenU_defconfig_x86_64
CONFIG_REISERFS_FS=m
REISERFS has been turned on by default on all the config files except the
one for xenU on x86_64. Any particular reason for not turning it on for
xenU on x86_64? This sometimes causes problems when booting domU with
REISERFS as domU root fs. I have to build an initrd for it.
Thanks,
Li
Mark Williamson
<mark.williamson@
cl.cam.ac.uk> To
Sent by: xen-devel@lists.xensource.com
xen-devel-bounces cc
@lists.xensource. Sean Dague <sean@dague.net>
com Subject
Re: [Xen-devel] [PATCH] add cramfs
support to domU kernels
08/09/2005 10:36
PM
> >The following patch adds cramfs support to domU kernels so cramfs based
> >ramdisks can be used for initrds.
>
> This is very useful for supporting an automated test system that uses
> initrds (like the console testsuite). Thanks Sean!
To clarify further - you don''t need to be root to make a cramfs initrd
because
you don''t need to loopback mount anything. This makes it rather more
convenient for developers who don''t have root on their machines.
Cheers,
Mark
> Regards,
>
> Anthony Liguori
>
> >Signed-off-by: Sean Dague <sean@dague.net>
> >
> >Diffstat output:
> > xenU_defconfig_x86_32 | 2 +-
> > xenU_defconfig_x86_64 | 2 +-
> > 2 files changed, 2 insertions(+), 2 deletions(-)
> >
> >diff -r 38c7c25b3cb9
> > linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32 ---
> > a/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32
Tue Aug 9> > 13:53:15 2005 +++
> > b/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32
Tue Aug 9> > 22:43:16 2005 @@ -415,7 +415,7 @@
> > # CONFIG_BEFS_FS is not set
> > # CONFIG_BFS_FS is not set
> > # CONFIG_EFS_FS is not set
> >-# CONFIG_CRAMFS is not set
> >+CONFIG_CRAMFS=y
> > # CONFIG_VXFS_FS is not set
> > # CONFIG_HPFS_FS is not set
> > # CONFIG_QNX4FS_FS is not set
> >diff -r 38c7c25b3cb9
> > linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_64 ---
> > a/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_64
Tue Aug 9> > 13:53:15 2005 +++
> > b/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_64
Tue Aug 9> > 22:43:16 2005 @@ -748,7 +748,7 @@
> > # CONFIG_BEFS_DEBUG is not set
> > CONFIG_BFS_FS=m
> > CONFIG_EFS_FS=m
> >-CONFIG_CRAMFS=m
> >+CONFIG_CRAMFS=y
> > CONFIG_VXFS_FS=m
> > # CONFIG_HPFS_FS is not set
> > CONFIG_QNX4FS_FS=m
> >
> >
> > -Sean
> >
> >
> >
>
>------------------------------------------------------------------------
> >
> >_______________________________________________
> >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
_______________________________________________
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