Hi all, I need to install Gobohide tool in my Fedora core 11 system and i download the software from http://www.gobolinux.org and extracted.Then i navigated to the GoboHide/bin directory and executed the ./gobohide -h command.The output is: * [root@localhost bin]# ls go gobohide [root@localhost bin]# ./gobohide -h go ioctl: Inappropriate ioctl for device [root@localhost bin]#
*Then i noticed that i need to patch Linux kernel.So how to patch linux kernel.And from which directory i have to patch Linux kernel.And this command is right or wrong
patch -i /path/to/gobohide.patch -p1
if i excecuted this command i get the output as:
[root@localhost bin]# patch -i /home/user/Download/Linux/2.6.29.1-r1/01-gobohide.patch -p1
patching file fs/gobohide.c can't find file to patch at input line 404 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nurp linux-2.6.29.1.orig/fs/ioctl.c linux-2.6.29.1/fs/ioctl.c
|--- linux-2.6.29.1.orig/fs/ioctl.c 2009-04-02 17:55:27.000000000 -0300 |+++ linux-2.6.29.1/fs/ioctl.c 2009-04-26 12:21:56.000000000 -0300 -------------------------- File to patch: Skip this patch? [y] y Skipping patch.
2 out of 2 hunks ignored can't find file to patch at input line 434 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nurp linux-2.6.29.1.orig/fs/Kconfig linux-2.6.29.1/fs/Kconfig
|--- linux-2.6.29.1.orig/fs/Kconfig 2009-04-02 17:55:27.000000000 -0300 |+++ linux-2.6.29.1/fs/Kconfig 2009-04-26 12:30:17.000000000 -0300 -------------------------- File to patch:
kernel version of linux: 2.6.29.4-167.fc11.i686.PAE
On Sat, Mar 6, 2010 at 12:13 PM, rajkumar vbalakrishnasamy rajkumar.lynx@gmail.com wrote:
Hi all, I need to install Gobohide tool in my Fedora core 11 system and i download the software from http://www.gobolinux.org and extracted.Then i navigated to the GoboHide/bin directory and executed the ./gobohide -h command.The output is:
[root@localhost bin]# ls go gobohide [root@localhost bin]# ./gobohide -h go ioctl: Inappropriate ioctl for device [root@localhost bin]#
Then i noticed that i need to patch Linux kernel.So how to patch linux kernel.And from which directory i have to patch Linux kernel.And this command is right or wrong
patch -i /path/to/gobohide.patch -p1
if i excecuted this command i get the output as:
[root@localhost bin]# patch -i /home/user/Download/Linux/2.6.29.1-r1/01-gobohide.patch -p1
This is clearly incorrect, you seem to be in the bin directory, you should be in the same directory as the sources. Could you try after going to the kernel source directory and trying the same command?
Balbir
which is the kernel source directory is it /usr/src/Fc11/2.6.29.4-167.fc11.i686.PAE/kernel or what?
On Sat, Mar 6, 2010 at 12:25 PM, Balbir Singh bsingharora@gmail.com wrote:
On Sat, Mar 6, 2010 at 12:13 PM, rajkumar vbalakrishnasamy rajkumar.lynx@gmail.com wrote:
Hi all, I need to install Gobohide tool in my Fedora core 11 system and i download the software from http://www.gobolinux.org and extracted.Then i navigated to the GoboHide/bin directory and executed the ./gobohide -h command.The output is:
[root@localhost bin]# ls go gobohide [root@localhost bin]# ./gobohide -h go ioctl: Inappropriate ioctl for device [root@localhost bin]#
Then i noticed that i need to patch Linux kernel.So how to patch linux kernel.And from which directory i have to patch Linux kernel.And this command is right or wrong
patch -i /path/to/gobohide.patch -p1
if i excecuted this command i get the output as:
[root@localhost bin]# patch -i /home/user/Download/Linux/2.6.29.1-r1/01-gobohide.patch -p1
This is clearly incorrect, you seem to be in the bin directory, you should be in the same directory as the sources. Could you try after going to the kernel source directory and trying the same command?
Balbir _______________________________________________ FSUG-Bangalore mailing list FSUG-Bangalore@mm.gnu.org.in http://mm.gnu.org.in/cgi-bin/mailman/listinfo/fsug-bangalore
On Sat, Mar 6, 2010 at 1:59 PM, rajkumar vbalakrishnasamy rajkumar.lynx@gmail.com wrote:
which is the kernel source directory is it /usr/src/Fc11/2.6.29.4-167.fc11.i686.PAE/kernel or what?
You should know it depending on how the sources are installed. Typically it should also be in /lib/modules/`uname -r`/source
Balbir