[PATCH] Remove ext4 support from the packaging defconfig

W.Kenworthy billk at iinet.net.au
Mon Apr 20 04:39:54 CEST 2009


I raised a bug some time ago to get reiserfs3 turned on in the kernel -
specifically to handle tangogps map files which ext2/3 dons not do well
(space and performance issues).

Its obviously not thought important enough - is there any likely hood of
it ever happening?

BillK



On Sun, 2009-04-19 at 21:26 -0500, Mike (mwester) wrote:
> The attached patch removes ext4 support from the packaging defconfig for
> the gta02.  Ext4 is already not present in the gta02 micro defconfig,
> and is also not present in the gta01 defconfig; this change will leave
> it present in the gta02 moredrivers defconfig.
> 
> In addition to keeping the kernel somewhat smaller, this change
> sidesteps a bug[1] in the early 2.6.29-rc<n> kernels where an ext2
> rootfs partition is erroneously mounted as ext4 by the kernel, causing
> boot failures on the gta02.
> 
> (Signed-off-by and description are in the attachment - my mailer ruins
> whitespace, so I can't really send it inline - sorry!)
> 
> -Mike (mwester)
> 
> [1] http://patchwork.kernel.org/patch/9381
> plain text document attachment
> (remove-ext4-from-gta02_packaging_defconfig.patch)
> remove-ext4-from-gta02_packaging_defconfig.patch
> 
> Removes ext4 support from the packaging defconfig; there is little
> value in having this built into the kernel, and a bug in the current
> 2.6.29-rc3 kernel results in the kernel attempting to mount an ext2
> rootfs as ext4, which fails.
> 
> Signed-off-by: Mike Westerhof <mwester at dls.net>
> 
> diff --git a/arch/arm/configs/gta02_packaging_defconfig b/arch/arm/configs/gta02_packaging_defconfig
> index 5f9aa93..29da627 100644
> --- a/arch/arm/configs/gta02_packaging_defconfig
> +++ b/arch/arm/configs/gta02_packaging_defconfig
> @@ -1803,16 +1803,9 @@ CONFIG_EXT2_FS=y
>  # CONFIG_EXT2_FS_XIP is not set
>  CONFIG_EXT3_FS=y
>  # CONFIG_EXT3_FS_XATTR is not set
> -CONFIG_EXT4_FS=y
> -CONFIG_EXT4DEV_COMPAT=y
> -CONFIG_EXT4_FS_XATTR=y
> -# CONFIG_EXT4_FS_POSIX_ACL is not set
> -CONFIG_EXT4_FS_SECURITY=y
> +# CONFIG_EXT4_FS is not set
>  CONFIG_JBD=y
>  # CONFIG_JBD_DEBUG is not set
> -CONFIG_JBD2=y
> -# CONFIG_JBD2_DEBUG is not set
> -CONFIG_FS_MBCACHE=y
>  # CONFIG_REISERFS_FS is not set
>  # CONFIG_JFS_FS is not set
>  CONFIG_FS_POSIX_ACL=y




More information about the openmoko-kernel mailing list