Solved

install new kernel with new patch

Posted on 2004-10-14
5
243 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
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

856 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