On Tue, 2004-06-08 at 17:39 +0100, Gary Stainburn wrote: > Hi folks > > In an attempt to fix the video and sound problems on my laptop I've tried to > recompile the kernel to ensure that ACPI is included. > > I ran 'make menuconfig' but the only change I made was to change the processor > type to P4 as that's what I've got - ACPI was already enabled. ACPI is often problematic - may want to search the list archives for relevant posts. http://marc.theaimsgroup.com/?l=fedora-list&w=2&r=1&s=acpi+laptop&q=b http://www.redhat.com/cgi-bin/search.cgi?q=acpi+laptop&ps=20&o=0&m=all&wm=wrd&wf=222210&ul=%2Farchives%2Ffedora-list Can also find some useful posts on kernel builds, but anyway... > > I did > > make dep > make clean > make > > with no problems, but when I tried > > make modules > > I got errors. A URL for thelog is below. I've got a standard FC1 install > with a full update done yesterday using 'yum update'. Try using "make mrproper" as the first step. That can be critical for Red Hat kernels - certainly has been necessary in the past. "make oldconfig" is also often seems to catch things that are otherwise missed. Here's the whole procedure: --------------------------------------------------------------- #!/bin/bash # /root/bin/make_linux # # Kernel build steps: # 1. Install the sources # 2. cd <install directory> (e.g. /usr/src/linux-2.4) # 3. make mrproper # 3a. optional - copy .config file from configs directory or # old kernel, then "make oldconfig" # 4. make xconfig (gconfig for 2.6 or menuconfig if not in X) # 5. make dep (not required for 2.6 kernels) # 6. make # 7. make bzImage # 8. make modules # 9. make modules_install # 10. make install # 11. if required, configure bootloader. ("make install" will do # this for you) # # This script implements steps 6-10 # # Note: adjust "-j n" for performance on compilation # runs parallel jobs # -j 4 is a good starting place for single processor (make -j 6 && make -j 6 bzImage && make -j 6 modules && \ make modules_install && make install) >& /tmp/MakeKernel.log # check log file for errors when done, repeat as required, or reboot # to test --------------------------------------------------------------- "make rpm" has also been suggested as a simple solution. > http://www.stainburn.com/make-modules.log > -- > Gary Stainburn > > This email does not contain private or confidential material as it > may be snooped on by interested government parties for unknown > and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 Guess I'm one of those .gov guys. Hope the advice is good anyway. ;^) Phil