RE: Red Hat Kernel Sources





> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> bounces@xxxxxxxxxx] On Behalf Of Eric Sisler
> Sent: Sunday, January 29, 2006 5:52 AM
> To: General Red Hat Linux discussion list
> Subject: Re: Red Hat Kernel Sources
>
> On Sat, 2006-01-28 at 13:53, Greg Golin wrote:
>
> > How many of you have been able to compile a kernel from redhat
sources
> > without a problem? I don't think I've ever done it successfully. I
> > consistently run into the same problem, make modules errors out on
> > something. I go and disable that something and try again, at which
> > point make modules fails with something else, goto 10. Eventually I
> > run out of patience and go look at something shiny. Never had a
> > problem with kernel.org kernels though. Is there something I need to
> > do beyond the make oldconfig/make bzImage/make modules/make
> > modules_install?
>
> Been compiling them for years. I usually do "make menuconfig" or
"make
> xconfig" as I'm trying to add/remove something specific. My process
is:
>
> make mrproper
> make [menuconfig|xconfig]
> make dep
> make clean
> make bzImage
> make modules
> make modules_install
>
> -Eric
>
> --
>
> Eric Sisler <esisler@xxxxxxxxxxxxxxxxxxxxx>
> Library Applications Specialist
> Westminster Public Library
> Westminster, CO USA
>

If you want to make any changes to the default kernel configuration you
should take note that 'make mrproper' would clear such changes (it would
delete the file '.config' which contain the configuration). Therefore,
if you have already made any configuration changes via menuconfig or
xconfig you should either do not issue command 'make proper' or backup
.config somewhere before that command and restore after that command.
Actually, 'make mrproper' command is usually needed only after
unsuccessful kernel builds when 'make clean' does not restore the
correct source tree state - such an incorrect state may be the reason of
errors during compilation (usually those errors relate to files'
dependencies). Usually, 'make clean' is enough to wipe the files created
or modified by the unsuccessful build attempt and restore correct state.

Alexey Fadyushin
Brainbench MVP for Linux
http://www.brainbench.com

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: [PATCH 19-rc1] Fix typos in /Documentation : Misc
    ... +do not have a corresponding kernel virtual address space mapping) and ... This command sets the scale factor for the ABSOLUTE MOUSE POSITIONING mode. ... If you check the source code you will see that what I draw here as a frame ... interrupt-parent: contains the phandle of the interrupt ...
    (Linux-Kernel)
  • [PATCH 19-rc1] Fix typos in /Documentation : Misc
    ... -> bus translation). ... +do not have a corresponding kernel virtual address space mapping) and ... This command sets the scale factor for the ABSOLUTE MOUSE POSITIONING mode. ... If you check the source code you will see that what I draw here as a frame ...
    (Linux-Kernel)
  • [PATCH] nfs: Update Documentation/nfsroot.txt to include dhcp, syslinux and isolinux
    ... Document the ip command a little differently to make the ... Update autoconfiguration the current set of options, ... The following text describes on how to use NFS for the ... Kernel command line ...
    (Linux-Kernel)
  • Re: allocating kernel threads from a pool
    ... kernel level threads to do IO, so that a user-level thread's IO calls ... you don't need signals at all. ... another thread writes a pointer to a command to another end of the ...
    (comp.unix.programmer)
  • dvd+rw-tools-5.15.4.8.5 and FreeBSD 5-current
    ... Forwarding this from -ports to -current, because more kernel wizards are ... automatically pull sense data for failed ATAPI command, ... REQUEST SENSE command. ... *implying* that requestor will periodically poll ...
    (freebsd-current)