Hello,
i have problem. When i try to install compiled modules (make modules_install) with kernel 2.4.2, i get this message (tail -7):
cd /lib/modules/2.4.1; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.1; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.1/kernel/fs/binfmt_elf.o
depmod: get_pte_slow
depmod: __handle_bad_pmd
System: RedHat 6.2
on system installed:
modutils-2.4.2-1
What does it mean. and what have i to do to avoid it?
Eugene
Eugene Danilchenko ([email protected]) said:
> cd /lib/modules/2.4.1; \
> mkdir -p pcmcia; \
> find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.1; fi
> depmod: *** Unresolved symbols in /lib/modules/2.4.1/kernel/fs/binfmt_elf.o
> depmod: get_pte_slow
> depmod: __handle_bad_pmd
>
> System: RedHat 6.2
> on system installed:
> modutils-2.4.2-1
>
> What does it mean.
It means that compiling ELF binary support as a module doesn't work right.
> and what have i to do to avoid it?
Compile it in (CONFIG_BINFMT_ELF=y). If you're using Red Hat Linux 6.2,
compiling it as a module is an incredibly bad idea anyway.
Bill
On Tue, 20 Feb 2001, Bill Nottingham wrote:
> Eugene Danilchenko ([email protected]) said:
> > cd /lib/modules/2.4.1; \
> > mkdir -p pcmcia; \
> > find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
> > if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.1; fi
> > depmod: *** Unresolved symbols in /lib/modules/2.4.1/kernel/fs/binfmt_elf.o
> > depmod: get_pte_slow
> > depmod: __handle_bad_pmd
> >
> > System: RedHat 6.2
> > on system installed:
> > modutils-2.4.2-1
> >
> > What does it mean.
>
> It means that compiling ELF binary support as a module doesn't work right.
>
> > and what have i to do to avoid it?
>
> Compile it in (CONFIG_BINFMT_ELF=y). If you're using Red Hat Linux 6.2,
> compiling it as a module is an incredibly bad idea anyway.
I wonder if we shouldn't disable CONFIG_BINFMT_ELF=m, until we have a
good use case and some good testers.
Jeff
JG> On Tue, 20 Feb 2001, Bill Nottingham wrote:
JG> > Eugene Danilchenko ([email protected]) said:
JG> > > cd /lib/modules/2.4.1; \
JG> > > mkdir -p pcmcia; \
JG> > > find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
JG> > > if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.1; fi
JG> > > depmod: *** Unresolved symbols in /lib/modules/2.4.1/kernel/fs/binfmt_elf.o
JG> > > depmod: get_pte_slow
JG> > > depmod: __handle_bad_pmd
JG> > >
JG> > > System: RedHat 6.2
JG> > > on system installed:
JG> > > modutils-2.4.2-1
JG> > >
JG> > > What does it mean.
JG> >
JG> > It means that compiling ELF binary support as a module doesn't work right.
JG> >
JG> > > and what have i to do to avoid it?
JG> >
JG> > Compile it in (CONFIG_BINFMT_ELF=y). If you're using Red Hat Linux 6.2,
JG> > compiling it as a module is an incredibly bad idea anyway.
JG>
JG> I wonder if we shouldn't disable CONFIG_BINFMT_ELF=m, until we have a
JG> good use case and some good testers.
I think that if this module cant install this way, making as module must be disabled
Eugene