All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add cramfs support to domU kernels
@ 2005-08-10  2:46 Sean Dague
  2005-08-10  3:34 ` Anthony Liguori
  0 siblings, 1 reply; 4+ messages in thread
From: Sean Dague @ 2005-08-10  2:46 UTC (permalink / raw)
  To: xen-devel


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

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.
__________________________________________________________________

[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 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] 4+ messages in thread

* Re: [PATCH] add cramfs support to domU kernels
  2005-08-10  2:46 [PATCH] add cramfs support to domU kernels Sean Dague
@ 2005-08-10  3:34 ` Anthony Liguori
  2005-08-10  3:36   ` Mark Williamson
  0 siblings, 1 reply; 4+ messages in thread
From: Anthony Liguori @ 2005-08-10  3:34 UTC (permalink / raw)
  To: Sean Dague; +Cc: xen-devel

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
>  
>

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

* Re: [PATCH] add cramfs support to domU kernels
  2005-08-10  3:34 ` Anthony Liguori
@ 2005-08-10  3:36   ` Mark Williamson
  2005-08-10 17:27     ` Li Ge
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Williamson @ 2005-08-10  3:36 UTC (permalink / raw)
  To: xen-devel; +Cc: Sean Dague

> >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

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

* Re: [PATCH] add cramfs support to domU kernels
  2005-08-10  3:36   ` Mark Williamson
@ 2005-08-10 17:27     ` Li Ge
  0 siblings, 0 replies; 4+ messages in thread
From: Li Ge @ 2005-08-10 17:27 UTC (permalink / raw)
  To: Mark Williamson; +Cc: xen-devel, Sean Dague, xen-devel-bounces


[-- Attachment #1.1.1: Type: text/plain, Size: 4290 bytes --]






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

[-- Attachment #1.1.2: Type: text/html, Size: 6475 bytes --]

[-- Attachment #1.2: graycol.gif --]
[-- Type: image/gif, Size: 105 bytes --]

[-- Attachment #1.3: pic05473.gif --]
[-- Type: image/gif, Size: 1255 bytes --]

[-- Attachment #1.4: ecblank.gif --]
[-- Type: image/gif, Size: 45 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] 4+ messages in thread

end of thread, other threads:[~2005-08-10 17:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-10  2:46 [PATCH] add cramfs support to domU kernels Sean Dague
2005-08-10  3:34 ` Anthony Liguori
2005-08-10  3:36   ` Mark Williamson
2005-08-10 17:27     ` Li Ge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.