You mentioned that the Linux kernel you selected is v2.2, but you have to be more specific (e.g., the latest Linux v2.2 kernel is 2.2.20).
If you open and inspect the patch file (something like 'kernel_patch-2.2'), from line #5 you'll see something like:
... blah blah ...This means that the Linux kernel version 2.2.18 that can be patched by this patch file. Please make sure that this is the Linux kernel you have downloaded.
VERSION = 2
PATCHLEVEL = 2
SUBLEVEL = 18
... blah blah ...
The patch command should be invoked from the directory containing the Linux kernel v2.2.18 source tree (e.g., in /usr/src/linux-2.2.18). Finally, along with this, the patch level (defined by the 'strip' prefix -- "p") should be "1" (e.g., patch -p1 ).
My recommendtionis: Dispense with the Linux kernel v2.2.x and go for the main event -- Linux kernel version 2.4.4. In fact, RTLinux v3.1 is ready to patch Linux kernel versions 2.2.19, 2.4.0-test1, and 2.4.4.
This should bring you success! This is soooooo cool! Have
a nice day!
Ajit pal singh wrote:
hi all !!,
iam new to lionux world,mplease help me!!!!!Iam tryin to insatll RTlinux v3.0 on my redhat system ,
i downloaded a clean kernel v2.2 and the corresponding patch was available
in the RTlinux tar file itself.but when i apply the pactch i get the message
->"Hunk#1 failed at 122
1 out of 1 hunk failed---- saving to include/linux/major.h.rej"
after taht makemenuconfig is not running if i ignore this
please solve my prob, i would be really gratefull.
rtl_________________________________________________________
For Rs. 2,000,000 worth of Aptech scholarships click below
http://clients.rediff.com/clients/aptechsch/index.htm----- End of forwarded message from owner-rtl@fsmlabs.com -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/
--
Steven Chung
| Email: steven_chung@radixtek.com
Radix
Technologies, Inc. |
Tel: 650-944-1215
329 North Bernardo Avenue
| Fax: 650-944-1222
Mountain View, California
94043 | Cell: 408-431-1435
begin:vcard n:Chung;Steven tel;cell:408-431-1435 tel;fax:650-944-1222 tel;work:650-944-1215 x-mozilla-html:FALSE url:http://www.radixtek.com/ org:Radix Technologies adr:;;329 North Bernardo Avenue;Mountain View;California;94043;USA version:2.1 email;internet:steven_chung@radixtek.com title:Sr. Software Systems Engineer x-mozilla-cpt:;6656 fn:Steven Chung end:vcard