X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Fpatches%2F33_retry_phram.patch;fp=debian%2Fpatches%2F33_retry_phram.patch;h=3ec0bc19fae60288e9f0647f77d292a38f4c62e7;hb=1e61d64290a53d71985f34b0a592092777284c74;hp=0000000000000000000000000000000000000000;hpb=447c0d1349b4c96c9161f837990cd9c98f7c5ced;p=live-boot-grml.git diff --git a/debian/patches/33_retry_phram.patch b/debian/patches/33_retry_phram.patch new file mode 100644 index 0000000..3ec0bc1 --- /dev/null +++ b/debian/patches/33_retry_phram.patch @@ -0,0 +1,21 @@ +commit d4619b77a669c70ae68d5da34de7655ffef80e04 +Author: Michael Prokop +Date: Mon Jul 11 12:42:24 2011 +0200 + + Try loading phram module twice to fix loading issue. + + phram doesn't work on first modprobe, when loading once again it seems + to work. So let's try it this way. + +diff --git a/scripts/live b/scripts/live +index 23d0bbc..e5d3186 100755 +--- a/scripts/live ++++ b/scripts/live +@@ -1840,6 +1840,7 @@ mountroot () + then + # We found a memdisk, set up phram + modprobe phram phram=memdisk,${MEMDISK} ++ modprobe phram phram=memdisk,${MEMDISK} + + # Load mtdblock, the memdisk will be /dev/mtdblock0 + modprobe mtdblock