Thanks, Kris. Could you tell me what depmod command I need to run on the
SBC? I thought "depmod -a" might be sufficient, but the documentation on
depmod indicates that it will use /etc/modules.conf to determine where
to search, and when I look at the /etc/modules.conf file it indicates
that it is automatically generated by update-modules and should not be
manually edited. I want to make sure that depmod looks for all of the
modules, since I've added a few to the default kernel.
Don
On 1/4/2011 11:20 AM, Kris wrote:
>
> This is not an issue, copy over all of the compiled modules to your
> SBC and then run `depmod` on there, this should resolve all of your
> module dependencies.
>
> -Kris Bahnsen
> Technologic Systems
>
>
> --- In <ts-7000%40yahoogroups.com>,
> "Rekcut_Nod" <> wrote:
> >
> > I am following the instructions given here:
> >
> >
> ftp://oz.embeddedarm.com/ts-arm-sbc/ts-7260-linux/sources/ts-7260_kernel_compile_guide.txt
> >
> > to compile a new 2.4 kernel for the TS-7260. When I attempt the step
> "make modules_install" I get an error.
> >
> > cd /lib/modules/2.4.26-ts11; \
> > 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.26-ts11; fi
> > Kernel version 2.4.26-ts11 requires old depmod
> > make: *** [_modinst_post] Error 2
> >
> >
> > I'm cross-compiling on an Ubuntu 10.4 PC (2.6.32-27-generic). This
> person seems to have experienced the same problem:
> >
> >
> http://www.linuxquestions.org/questions/red-hat-31/2-4-32-kernel-compilation-problem-on-rhel4-436622/
> >
> > and came to the conclusion that the 2.6 depmod was not backwards
> compatible with the 2.4 version needed, but there did not seem to be a
> clear work-around. Has anyone else been able to do "make
> modules_install" on a 2.6 platform, cross-compiling a 2.4 kernel?
> >
> > Don
> >
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|