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.