Linux - GeneralThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.
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.