RE: Building Kernels and Kernel modules

"Tom 'spot' Callaway" <[email protected]>
Newsgroups gmane.linux.aurora.devel
Organization Red Hat
Message-ID <1051538789.3696.32.camel@zorak>
On Mon, 2003-04-28 at 09:00, Kevin Curtis wrote:
> Hi,
> 	well, my progress today so far has been slow.  I installed the rpms
> for compat-egcs, and the linux src package for 2.4.20.  I uncompressed the
> linux-2.4.20.tar.bz2 file in /usr/src/redhat/SOURCES for the Kernel sources
> and grabbed the kernel-2.4.20-sparc64-smp.config file from the same
> directory and built this Kernel in /usr/src/linux-2.4.20.  Do I need any
> patches on top of this?

If memory serves, the answer is yes. All my recent work has been with
2.4.21pre2 or higher. I strongly suggest that you start with a
kernel-source package from Aurora. It will be preconfigured to look for
kgcc instead of gcc (although, what you did should work ok). It will
also allow me to reproduce the bugs that you're seeing.

Are you still using an initrd? Also, if you've built multiple kernels
with the same name, you might have multiple module trees overlapping on
top of each other... thus, if ext3.o exists, mkinitrd will keep dragging
it in.

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> SAIR LCA, RHCE
Red Hat Enterprise Architect :: http://www.redhat.com
Project Leader for Aurora Sparc Linux :: http://auroralinux.org
GPG: D786 8B22 D9DB 1F8B 4AB7  448E 3C5E 99AD 9305 4260

The words and opinions reflected in this message do not necessarily
reflect those of my employer, Red Hat, and belong solely to me.

"Immature poets borrow, mature poets steal." --- T. S. Eliot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.