Solved

install new kernel with new patch

Posted on 2004-10-14
5
246 Views
Last Modified: 2010-04-20
when i am installing the patch then ask me file to patch ? Which filename should I specify ?

Rajkumar
0
Comment
Question by:rajkumarbatra
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 3

Expert Comment

by:TRobertson
ID: 12307417
It is probally patching one of the source files.  Open the patch file up in a text editior and you should see the filename within the patch script.
0
 
LVL 2

Expert Comment

by:Sunjith
ID: 12311377
Try:
--------
patch -p1 < /path/to/patch_file
--------

Most probably, it should find and patch the files properly.
0
 
LVL 4

Accepted Solution

by:
EinarTh earned 50 total points
ID: 12317433
If you get asked which file to patch while you are running patch, that means you are in the wrong directory when you issue the command. Check the patchfile (it's just a text file) and see what files it's trying to modify, and then make your current working directory so that the paths in the patch files make sense. For example, if the patch file is trying to modify the file 'linux/drivers/usb/net/usbnet.c' then your working directory should be /usr/src/ (and that directory should contain the 'linux' directory.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question