LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-12-2003, 02:56 AM   #1
Mad Merlin
Member
 
Registered: Aug 2003
Location: Approximately here.
Distribution: Mandrake 9.1
Posts: 86

Rep: Reputation: 15
2.4.22-rc1-ac1 + supermount patch not compiling


Ok, so I have one of the brand new IBM Thinkpad T40s, I've been able to get everything working, but not all at the same time.

I'm running Mandrake 9.1 to start with, and the 2.4.21-13mdk kernel doesn't detect the AGP controller or the IDE controller correctly so I get no IDE DMA or 3D acceleration with that kernel. I can get iffy 3D acceleration with the 2.4.21-25mdk kernel, but still no DMA. I was able to get both IDE DMA and 3D acceleration working correctly with the 2.4.22-rc1-ac1 as well as the 2.4.22-rc2-ac1 patch, but the ac patches have no native supermount support.

I tried applying the 2.4.22-rc1 supermount patch to a patched 2.4.22-rc1-ac1 (with patch -p1 <patchblah), the patcher ran into a small problem no matter which order I applied the ac and supermount patches. Either way the patcher rejects about 10 lines in /include/linux/fs.h consisting of what seem to be a couple of constants. I compiled the kernel as usual hoping that things would just work out, but both times the compile failed on make bzImage with a combination of error 1 and error 2s. I can compile plain old 2.4.22-rc1-ac1 and 2.4.22-rc1 with supermount, but not together.

I also tried to compile the 2.4.21 kernel patched with laptopkernel-2.4.21-rc8 and ran into the same problems as when compiling ac1 + supermount.

Am I missing something obvious about mixing several kernel patches? (granted they're all for the same kernel however) Does anyone have any suggestions? I can post more detailed error messages for each of the kernel compilations if that would help, just ask.

If I can't get supermount working with the ac patches, I think I may just wait for Mandrake 9.2 and hopefully the new mdk kernel that will support the AGP/IDE controllers in the T40 properly.
 
Old 08-12-2003, 06:45 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,261
Blog Entries: 54

Rep: Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841
You'll have to look in the kernel source code and merge the rejected lines by hand. If you think you're not up to it, you could offer ppl to D/L a copy of the fs.h, fs.h.orig and the .rej files to look at.
 
Old 08-12-2003, 08:58 PM   #3
Mad Merlin
Member
 
Registered: Aug 2003
Location: Approximately here.
Distribution: Mandrake 9.1
Posts: 86

Original Poster
Rep: Reputation: 15
It looks like that worked. I'm compiling as I write this and it just made it past the make bzImage stage, so it got further than last time. I'm going to feel pretty silly if all I had to do was add one constant declaration to fix this. I'll post results after the compile.

Edit: Update: New kernel works perfectly now. Thanks.

Last edited by Mad Merlin; 08-12-2003 at 09:21 PM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing supermount patch odiseo77 Linux - Software 2 12-19-2004 03:34 PM
ck patch and supermount. KMcD Slackware 1 10-02-2004 10:54 AM
Is there any supermount patch for 2.6.5 kernel? Braveheart1980 Linux - General 2 05-20-2004 06:35 PM
Supermount in 2.6.6-rc1 Muzzy LinuxQuestions.org Member Success Stories 1 05-15-2004 12:59 PM
Supermount kernel patch for non-mandrake kernels SlCKB0Y Linux - General 0 03-02-2002 07:09 AM


All times are GMT -5. The time now is 02:35 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