LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 08-19-2005, 01:08 AM   #1
Biotachyonic
LQ Newbie
 
Registered: Aug 2005
Location: Oklahoma
Posts: 15

Rep: Reputation: 0
Patching 2.6


Hello, I have downloaded the latest stable 2.6 kernel release , 2.6.12.5, as well as the patch, 2.6.13-r6. I apply the patch like so:

pwd
/usr/src/linux

bzcat ../kernelpatch-2.6.13-r6 | patch -p1

It seems to go to the process fine, but stops and I get something like this:

patching file arch/ia64/kernel/ptrace.c
Hunk #2 succeeded at 972 with fuzz 1 (offset 7 lines).
Hunk #3 FAILED at 1030.
Hunk #4 FAILED at 1265.
Hunk #5 FAILED at 1298.
Hunk #6 FAILED at 1396.
4 out of 6 hunks FAILED -- saving rejects to file arch/ia64/kernel/ptrace.c.rej
patching file arch/ia64/kernel/setup.c
patching file arch/ia64/kernel/signal.c
Reversed (or previously applied) patch detected! Assume -R? [n]

It seems no matter how I reply, when I get done with the patch and do:

make bzImage

when it gets to the net part of the build the compile fails. If I change the config so it does not fail at the net part, it fails at another.
Without the patch, the kernel compiles just fine. What is it that I'm doing wrong?

There is another issue with my 2.6 kernel, when I compile it without the patch. I enable the USB 2.0 (EHCI?), but when I plug in my USB device the system will lock up. With my old 2.4 kernel if I have the device plugged in it will usualy halt when it gets the the scanning for hotpluggable devices part, so I just wait till that's over to plug it in and it's fine.
Why does USB screw up with 2.6 kernel?

Please help!
 
Old 08-19-2005, 07:02 AM   #2
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
Quote:
Hunk #3 FAILED at 1030.
Hunk #4 FAILED at 1265.
Hunk #5 FAILED at 1298.
Hunk #6 FAILED at 1396.
4 out of 6 hunks FAILED --
Quote:
It seems to go to the process fine, but stops and I get something like this:
The FAILED part let me believe it did not goes very well... If you try to compile then, you will certainly get compilation error (or in the best case, what you are trying to enable won't be there) as the patching gone wrong.

It's not something that you are doing wrong, the patch is probably wrong, maybe you have the wrong kernel tree version, or maybe there is something wrong with the patch. Keep in mind this patch is the "development" kernel, there is no garantee. You might want to try "another" 2.6.12.X version in case the patch works better but it doesn't mean it will.


Quote:
Why does USB screw up with 2.6 kernel?
Yeah I know... I can't tell you why but they are really messing up USB support in newer 2.6 kernel, it's far more unstable than it was in 2.4 time or in first 2.6 kernel (2.6.0 to 2.6.7). I suppose they will fix this eventually but I agree it's just sad *sigh*
 
Old 08-24-2005, 10:04 PM   #3
Biotachyonic
LQ Newbie
 
Registered: Aug 2005
Location: Oklahoma
Posts: 15

Original Poster
Rep: Reputation: 0
Great, I solved my problem. I was trying to apply the kernel patch to 2.6.12.5 and not 2.6.12. Thank you kernel website.
We need a president that understand there are still people in the united states suffering from dialup connections, I had to wait about three hours to download the 2.6.12 source.
Oh,
About the computer haning when there was a USB device. I went into my BIOS and there was an option set to probe for Legacy devices, I turned it off, no more problem.

Thank you Linuxquestions, thanks for helping me.
 
  


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
patching kernel paulr1984 Linux - Newbie 3 04-05-2005 10:57 PM
Patching bong.mau Mandriva 4 04-25-2004 03:12 PM
patching ybaws Linux - Software 3 04-02-2004 04:52 PM
Patching Straterra Slackware 18 03-17-2004 12:58 PM
patching janu Linux - Software 1 01-06-2003 05:17 PM


All times are GMT -5. The time now is 04:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration