[Cbe-oss-dev] ps3_defconfig lacks loop block device

Julio M. Merino Vidal jmerino at ac.upc.edu
Tue Mar 27 00:37:33 EST 2007


Hi,

This morning I fetched the ps3-linux sources after a clean reinstall  
of the Linux system in the PS3 we have, rebuilt them and booted the  
resulting kernel.  All of this was done using the ps3_defconfig  
file.  Now, I've just noticed that the system lacks support for the  
loop block device, which is rather inconvenient.

Is it there any reason for that?  All other default kernels (except  
maple_defconfig) have it enabled, so it just seems a tiny mistake.   
If it is, could the attached patch be applied?  Thanks.

Signed-off-by: Julio M. Merino Vidal <jmerino at ac.upc.edu>

diff --git a/arch/powerpc/configs/maple_defconfig b/arch/powerpc/ 
configs/maple_defconfig
index de97f2f..dc2dece 100644
--- a/arch/powerpc/configs/maple_defconfig
+++ b/arch/powerpc/configs/maple_defconfig
@@ -350,7 +350,7 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
-# CONFIG_BLK_DEV_LOOP is not set
+CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not set
diff --git a/arch/powerpc/configs/ps3_defconfig b/arch/powerpc/ 
configs/ps3_defconfig
index 74f657f..a5b4f14 100644
--- a/arch/powerpc/configs/ps3_defconfig
+++ b/arch/powerpc/configs/ps3_defconfig
@@ -397,7 +397,7 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
-# CONFIG_BLK_DEV_LOOP is not set
+CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_UB is not set
CONFIG_BLK_DEV_RAM=y

-- 
Julio M. Merino Vidal <jmerino at ac.upc.edu>





More information about the cbe-oss-dev mailing list