Alex Hewitt USG wrote: > > As far as I can tell from my recent attempts to rebuild a Mandrake 8.1 kernel, > the only thing that didn't work was PCMCIA. There is a .config file > in the /usr/src/linux directory. You should make a backup copy of that first > and then do a 'make mrproper' to make sure the source tree is setup properly for > a build. I wasn't able to get the modules to build until I did that. The > mrproper will remove the old .config file and you should probably do a 'make > xconfig' and load the saved config file which is supposed to be the same as the > kernel that Mandrake makes for it's distribution. I didn't have much luck with > that config so I basicaly visited each of the windows that 'make xconfig' gave > me picking out the more obvious choices. Ben Scott mentioned that there is a > variable in the Makefile in the top level source directory called > 'EXTRA_VERSION' which can be set to something like 2.4.8-26mdk-1 to diffentiate > the modules from the ones that are already loaded in /lib/modules. You might > want to consider making a backup copy of the modules tree before experimenting > so that you have a way to get back to those modules should the new ones you > build have a problem. > > The other thing is that you need to take the new kernel and add it to either the > lilo.conf file and re-run lilo or use the grub update mechanism. I took the > lilo.conf route which was quite painless. There is a pretty decent set of > pages on building Mandrake kernels at www.mandrakeuser.org > > Again, I never quite turned the corner on the PCMCIA support but as far as I > could tell, everything else worked. The PCMCIA stuff is well documented > in the PCMCIA-HOWTO document should you want to try that but unless you are > building a kernel for a laptop it won't be necessary. > > -Alex > > P.S. I still have an item on my list to ask the Mandrake folks exactly how one > would build an identical kernel to the one they deliver in their distro. The > other thing is that there is quite a lot of kernel documentation but to some > extent it's confusing because there is just so much of it... > > Wirth's Law: Software gets slower faster than Hardware gets faster! > > "On the side of the software box, in the 'System Requirements' section, it > said 'Requires Windows 95 or better'. So I installed Linux." - Anonymous > > The closest I'm going to get to retirement is when I put new Michelins > on my car! > > On Thu, 7 Feb 2002, Bill Studley wrote: > > > If I recompile the kernel using the source code from kernel.org, > > what can I expect to be broken when I reboot? I'm currently > > using Mandrake 8.1 with a 2.4.8-26mdk kernel. > > > > ***************************************************************** > > To unsubscribe from this list, send mail to [EMAIL PROTECTED] > > with the text 'unsubscribe gnhlug' in the message body. > > ***************************************************************** > > > > Thanks for the lead Alex! What started this is the fact that my sound card doen't work. Not that this is a bad thing, but I finally decided to do something about it. When I tried to load the sb.o.gz using insmod I got unresolved symbol errors. I knew there were some issues that I had seen discussed on the list related to building/rebuilding the kernel, but I couldn't remember the thread. I'm glad I asked first, becuase I was going to rebuild the kernel on my laptop first. I assume that I have to rebuild the module to fix the unresolved symbols error. Which is what prompted my original question.
Thanks again, Bill Studley [EMAIL PROTECTED] ***************************************************************** To unsubscribe from this list, send mail to [EMAIL PROTECTED] with the text 'unsubscribe gnhlug' in the message body. *****************************************************************
