LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 09-03-2003, 09:07 AM   #1
Ianed
Member
 
Registered: Aug 2003
Location: Japan
Distribution: Debian Sid
Posts: 36

Rep: Reputation: 15
ACPI patch ... hunks failing


Coming to you lovely people tonight from links.

Right, so I was never able to get my kernels to compile under Mandrake so I thought I'd try a different distribution (gentoo this time). Found a nice page at fearly.zapto.org/linux that said it was very simple and easy to get Toshiba 5100 laptops setup up. In anycase, the directions often times border on very vage, especially of course, the parts that I have questions on.

Well, in anycase, what I'm trying to do is patch Kernel 2.4.19 (either original kernel.org download or the gentoo-r10) but I can't find the acpi patch he's referring to
and the 2.4.19 patch that I get from memebeam.org (the actual toshiba_acpi.c's patches page that looks like what he's talking about) always gives me Hunk so and so failed!!! Can anybody instruct me on how to get it patched?

Thanks for the help...
 
Old 09-03-2003, 04:17 PM   #2
Mad Merlin
Member
 
Registered: Aug 2003
Location: Approximately here.
Distribution: Mandrake 9.1
Posts: 86

Rep: Reputation: 15
If you get hunks failed on a patching, try opening up the relevant .rej .c and .orig files and looked at the lines that failed. Often times you'll be able to see just where they were actually supposted to go in. If that is the case, then just throw the lines in where they should be, and the compile should work.
 
Old 09-03-2003, 09:42 PM   #3
Ianed
Member
 
Registered: Aug 2003
Location: Japan
Distribution: Debian Sid
Posts: 36

Original Poster
Rep: Reputation: 15
Thanks for the advise, but what if you can't tell by looking at the .rej files? I try comparing the Makefile.rej and Makefile as well as the Config.in.reg and Config.in but I cannot find similarities between them!
 
Old 09-03-2003, 10:23 PM   #4
Mad Merlin
Member
 
Registered: Aug 2003
Location: Approximately here.
Distribution: Mandrake 9.1
Posts: 86

Rep: Reputation: 15
Oh, in the .rej file you should see a + or a - at the beginning of some of the lines, it should also list the lines that it thinks it should have gone into, which is a good place to start looking. Otherwise, you can just do a find on one of the lines it lists above or below which doesn't have a + or a - before it.
 
Old 09-04-2003, 08:04 PM   #5
Ianed
Member
 
Registered: Aug 2003
Location: Japan
Distribution: Debian Sid
Posts: 36

Original Poster
Rep: Reputation: 15
Cool, thanks. I'll have to try that out!
 
  


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
2.6.12.2 and custom acpi patch 6xxx Linux - Laptop and Netbook 0 07-15-2005 04:01 AM
acpi patch for 2.6.9?? 1madstork Debian 2 12-17-2004 11:04 PM
ACPI Patch tuxrules Linux - Newbie 5 08-28-2004 08:31 PM
2.6.4 acpi patch for custom dsdt? Outabux Debian 16 04-08-2004 08:56 PM
ezmlm patch failing ewlnxnewB Linux - Software 0 11-30-2003 11:05 PM


All times are GMT -5. The time now is 09:04 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration