LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-14-2004, 08:47 AM   #1
elluca
LQ Newbie
 
Registered: Mar 2004
Location: Spain
Distribution: Fedora Core 1
Posts: 7

Rep: Reputation: 0
What should I do with this file?


Hi,

I had to fix my problem with a network card that was not detected during the standard installation process.

I've found a file like sk98lin_2.4.24_patch.gz that I've unpacked and now I have a file sk98lin_2.4.24 without any extension... so what should I do now?

Regards, Luca.
 
Old 03-14-2004, 10:34 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Its appears to be a patch file maybe what seems to be for your kernel. You'll need to patch it and reconfigure/compile your kernel if your trying to add support for a device, etc.
 
Old 03-14-2004, 10:41 AM   #3
elluca
LQ Newbie
 
Registered: Mar 2004
Location: Spain
Distribution: Fedora Core 1
Posts: 7

Original Poster
Rep: Reputation: 0
Thank you for your answer...

...I supposed that I should patch it but my problem it is! I mean I know how to reconfigure and compile a kernel but I don't know what "patch a kernel" means!

 
Old 03-14-2004, 10:59 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
You patch the file to your existing src files, usually will go like this:

cd /usr/src/linux

patch -p0 < <name-of-patch-file>
 
Old 03-14-2004, 11:03 AM   #5
elluca
LQ Newbie
 
Registered: Mar 2004
Location: Spain
Distribution: Fedora Core 1
Posts: 7

Original Poster
Rep: Reputation: 0
Well, I'ev just done it.... and I can see (I believe) lots of errors...

Code:
patching file linux/Documentation/Configure.help
Hunk #1 FAILED at 11700.
Hunk #2 FAILED at 11724.
2 out of 2 hunks FAILED -- saving rejects to file linux/Documentation/Configure.help.rej
patching file linux/Documentation/networking/sk98lin.txt
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 467 (offset 1 line).
1 out of 2 hunks FAILED -- saving rejects to file linux/Documentation/networking/sk98lin.txt.r
ej
patching file linux/MAINTAINERS
Hunk #1 FAILED at 512.
Hunk #2 succeeded at 836 with fuzz 2 (offset 9 lines).
1 out of 2 hunks FAILED -- saving rejects to file linux/MAINTAINERS.rej
patching file linux/drivers/net/sk98lin/Makefile
patching file linux/drivers/net/sk98lin/h/lm80.h
patching file linux/drivers/net/sk98lin/h/skaddr.h
patching file linux/drivers/net/sk98lin/h/skcsum.h
patching file linux/drivers/net/sk98lin/h/skdebug.h
patching file linux/drivers/net/sk98lin/h/skdrv1st.h
patching file linux/drivers/net/sk98lin/h/skdrv2nd.h
Hunk #1 FAILED at 2.
Hunk #2 FAILED at 24.
Hunk #3 succeeded at 74 (offset -4 lines).
Hunk #5 succeeded at 160 (offset -4 lines).
Hunk #6 succeeded at 378 (offset -2 lines).
Hunk #7 succeeded at 410 (offset -4 lines).
Hunk #8 succeeded at 487 (offset -2 lines).
2 out of 8 hunks FAILED -- saving rejects to file linux/drivers/net/sk98lin/h/skdrv2nd.h.rej
patching file linux/drivers/net/sk98lin/h/skerror.h
patching file linux/drivers/net/sk98lin/h/skgedrv.h
patching file linux/drivers/net/sk98lin/h/skgehw.h
patching file linux/drivers/net/sk98lin/h/skgehwt.h
patching file linux/drivers/net/sk98lin/h/skgei2c.h
patching file linux/drivers/net/sk98lin/h/skgeinit.h
patching file linux/drivers/net/sk98lin/h/skgepnm2.h
patching file linux/drivers/net/sk98lin/h/skgepnmi.h
patching file linux/drivers/net/sk98lin/h/skgesirq.h
patching file linux/drivers/net/sk98lin/h/ski2c.h
patching file linux/drivers/net/sk98lin/h/skqueue.h
patching file linux/drivers/net/sk98lin/h/skrlmt.h
patching file linux/drivers/net/sk98lin/h/sktimer.h
patching file linux/drivers/net/sk98lin/h/sktypes.h
patching file linux/drivers/net/sk98lin/h/skversion.h
Hunk #1 FAILED at 2.
Hunk #2 FAILED at 22.
2 out of 2 hunks FAILED -- saving rejects to file linux/drivers/net/sk98lin/h/skversion.h.rej
patching file linux/drivers/net/sk98lin/h/skvpd.h
patching file linux/drivers/net/sk98lin/h/xmac_ii.h
patching file linux/drivers/net/sk98lin/skaddr.c
patching file linux/drivers/net/sk98lin/skcsum.c
patching file linux/drivers/net/sk98lin/skdim.c
Hunk #1 FAILED at 2.
Hunk #3 FAILED at 24.
Hunk #4 FAILED at 38.
Hunk #5 FAILED at 294.
Hunk #6 FAILED at 304.
5 out of 6 hunks FAILED -- saving rejects to file linux/drivers/net/sk98lin/skdim.c.rej
patching file linux/drivers/net/sk98lin/skge.c
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 38.
Hunk #3 succeeded at 31 (offset -33 lines).
Hunk #4 succeeded at 125 (offset -3 lines).
Hunk #5 succeeded at 191 (offset -34 lines).
Hunk #6 FAILED at 205.
Hunk #7 succeeded at 257 (offset -6 lines).
Hunk #8 succeeded at 287 with fuzz 2 (offset -31 lines).
Hunk #9 FAILED at 310.
Hunk #10 FAILED at 344.
Hunk #11 succeeded at 365 (offset -26 lines).
Hunk #12 succeeded at 414 with fuzz 2 (offset 4 lines).
Hunk #13 FAILED at 455.
Hunk #14 succeeded at 447 (offset -25 lines).
Hunk #15 FAILED at 478.
Hunk #16 succeeded at 518 (offset 2 lines).
Hunk #17 succeeded at 4721 with fuzz 1 (offset 4172 lines).
Hunk #18 FAILED at 5015.
Hunk #19 FAILED at 5095.
Hunk #20 FAILED at 5107.
Hunk #21 FAILED at 5139.
Hunk #22 FAILED at 5174.
Hunk #23 FAILED at 5735.
Hunk #24 FAILED at 5840.
Hunk #25 FAILED at 5912.
Hunk #26 FAILED at 5942.
Hunk #27 FAILED at 6092.
Hunk #28 FAILED at 7212.
Hunk #29 FAILED at 7441.
Hunk #30 FAILED at 7517.
Hunk #31 FAILED at 7584.
Hunk #32 FAILED at 7778.
Hunk #33 FAILED at 7824.
Hunk #34 FAILED at 7849.
Hunk #35 FAILED at 7864.
Hunk #36 FAILED at 7896.
Hunk #37 FAILED at 7915.
Hunk #38 FAILED at 7949.
Hunk #39 FAILED at 7978.
Hunk #40 FAILED at 7988.
Hunk #41 FAILED at 8010.
Hunk #42 FAILED at 8046.
Hunk #43 FAILED at 8061.
Hunk #44 FAILED at 8093.
Hunk #45 FAILED at 8112.
Hunk #46 FAILED at 8121.
Hunk #47 FAILED at 8147.
Hunk #48 FAILED at 8176.
Hunk #49 FAILED at 8186.
Hunk #50 FAILED at 8208.
Hunk #51 FAILED at 8227.
Hunk #52 FAILED at 8281.
Hunk #53 FAILED at 8294.
Hunk #54 FAILED at 8761.
Hunk #55 FAILED at 8797.
Hunk #56 FAILED at 8816.
Hunk #57 FAILED at 8893.
Hunk #58 FAILED at 8913.
Hunk #59 FAILED at 9103.
49 out of 59 hunks FAILED -- saving rejects to file linux/drivers/net/sk98lin/skge.c.rej
patching file linux/drivers/net/sk98lin/skgehwt.c
patching file linux/drivers/net/sk98lin/skgeinit.c
patching file linux/drivers/net/sk98lin/skgemib.c
patching file linux/drivers/net/sk98lin/skgepnmi.c
patching file linux/drivers/net/sk98lin/skgesirq.c
patching file linux/drivers/net/sk98lin/ski2c.c
patching file linux/drivers/net/sk98lin/sklm80.c
patching file linux/drivers/net/sk98lin/skproc.c
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 24.
Hunk #3 FAILED at 119.
3 out of 3 hunks FAILED -- saving rejects to file linux/drivers/net/sk98lin/skproc.c.rej
patching file linux/drivers/net/sk98lin/skqueue.c
patching file linux/drivers/net/sk98lin/skrlmt.c
patching file linux/drivers/net/sk98lin/sktimer.c
patching file linux/drivers/net/sk98lin/skvpd.c
patching file linux/drivers/net/sk98lin/skxmac2.c
patching file linux/drivers/pci/pci.ids
Hunk #1 FAILED at 3428.
Hunk #2 FAILED at 3724.
2 out of 2 hunks FAILED -- saving rejects to file linux/drivers/pci/pci.ids.rej
is it normal?

If yes, should I compile the kernel, now?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
forrtl: severe (47): write to READONLY file, unit 5, file /dev/pts/1 terrence Programming 1 10-01-2005 10:22 PM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 03:15 AM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM
Yum update complains missing file (broken dep), but file can be located. davidas Linux - Software 0 03-27-2004 09:11 PM
How to play a media file/ video file/mp3 file recorded in harddisk/cd-rom arindam Linux - Newbie 2 09-05-2003 10:31 AM


All times are GMT -5. The time now is 10:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration