[OpenAFS] problem with openafs on a recompiled 2.4.20-8 kernel
SOLVED
Johann Cohen-Tanugi
johann.cohen@pi.infn.it
13 Jun 2003 12:39:33 +0200
Hi there,
indeed my problem was a screw up of the include/linux/modules dir where
symbols are defined and stored:
1) make mrproper is necessary to remove its content, prior to rebuilding
a package.
2) I probably also ran make mrproper instead of make clean to clean up
my source dir after installation. That was a very wrong move!
Anyway everything is fine now, and as a matter of fact I also solved the
problem of compilation I had with the modem driver, due exactly to the
same problem.
Thanks to all for the tips.
Johann
On Thu, 2003-06-12 at 17:35, Derrick J Brashear wrote:
> You need not reply to me directly; Please don't.
>
> On Thu, 12 Jun 2003, Johann Cohen-Tanugi wrote:
>
> > On Thu, 2003-06-12 at 17:06, Derek Atkins wrote:
> > > If you are going to reconfigure a Red Hat kernel then you MUST
> > > remove the pre-computed ksyms from include/linux/modules/*
> > >
> > ok, currently I have:
> > [root@localhost linux-2.4.20-18.9]# ls ../linux-2.4.20-8/
> > include/linux/modules/
>
>
> cd /usr/src/linux-2.4.20-8
>
> assuming you have a .config there reflecting the options you want, do
> this:
>
> cp .config oldconfig
> make mrproper
> cp oldconfig .config
> make oldconfig
> make dep
> make bzImage
> make modules
>
> make modules_install
> copy the System.map, vmlinux and arch/i386/boot/bzImage to /boot (call the
> latter vmlinuz).
>
> edit lilo.conf or grub.conf to know about this new kernel.
>
> build openafs against these kernel headers, which now reflect what you
> will be running.
>
> > boot and use) but it would impede somehow the compilation of 3rd party
> > source, even if now these symbols have disappeared. Am I understanding
> > correctly?
>
> It's the disappearance of them which is probably the problem.
>
> > In such a case I am a bit surprised that nobody has mentioned it in the
> > doc I read, but I believe you :)
> >
> > I am going to try removing these from the newer kernel directory and see
> > if this solve my compilation problem.
> >
> > Let me know if I understood correctly you point, in which case I will
> > recompile the 2.4.20-8 kernel as well.
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info