refresh patches against Debian's 3.0~b6-1
[live-boot-grml.git] / debian / patches / 33_retry_phram.patch
1 commit d4619b77a669c70ae68d5da34de7655ffef80e04
2 Author: Michael Prokop <mika@grml.org>
3 Date:   Mon Jul 11 12:42:24 2011 +0200
4
5     Try loading phram module twice to fix loading issue.
6     
7     phram doesn't work on first modprobe, when loading once again it seems
8     to work. So let's try it this way.
9
10 --- a/scripts/boot/9990-main.sh
11 +++ b/scripts/boot/9990-main.sh
12 @@ -1576,6 +1576,7 @@
13                                 then
14                                         # We found a memdisk, set up phram
15                                         modprobe phram phram=memdisk,${MEMDISK}
16 +                                       modprobe phram phram=memdisk,${MEMDISK}
17  
18                                         # Load mtdblock, the memdisk will be /dev/mtdblock0
19                                         modprobe mtdblock