change this line
/vmlinuz-2.6.9-22.EL ro root=LABEL=/1 rhgb quiet
in grub to this line
kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/1 rhgb quiet video=vesafb:ywrap,mtrr vga=0×318
Buy me a beerchange this line
/vmlinuz-2.6.9-22.EL ro root=LABEL=/1 rhgb quiet
in grub to this line
kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/1 rhgb quiet video=vesafb:ywrap,mtrr vga=0×318
Buy me a beerStop grub and press “a” to add new kernel parameter.
add SELINUX=0 and
reboot.
This will solve read-only filesystem, permission denied,
failed to map segment from shared object errors.
Buy me a beer#include
current->state = TASK_INTERRUPTIBLE;
#if LINUX_VERSION_CODE >= 0x02017F
schedule_timeout(20 * HZ / 1000);
#else
current->timeout = jiffies + 20 * HZ / 1000; // 20 ms
schedule();
#endif
Creating a Patch File: diff -Naur olddir newdir > new-patch-file
- or -
diff -Naur oldfile newfile >new-patch-file
Using the Patch Command: patch -p0 patch -p1
Which one of the above patch commands you use depends on your current working directory.
Other Methods for calling the patch command – using standard input of patch: cat new-patch | patch -p0