Hi
 
I assume you have rebuilt the kernel?
 
You need to do the following steps....
 
build kernel (make uImage)
build modules (make modules)
 
Now you need to install the modules.....a command like this will do
 
mkdir /tmp/my_modules
make INSTALL_MOD_PATH=/tmp/my_modules modules_install
 
As root
 
cd /tmp/my_modules
chown -R 0.0 lib
tar -czf modules.tgz lib
 
Copy the modules.tgz onto the target and untar in /
 
Now you will have a kernel & modules that are consistent - these should load OK.
 
You can make the link between kernel & modules more explicit by adding some 
text to the line in the 'localversion' file. This currently contains the 
'_mvl401' part of the kernel name you see if you do a 'uname -a' on the target. 
 
You can add your own text... this has the advantage that you do not overwrite 
existing kernel modules on the target and can easily confirm that you are 
running the modified kernel. 
 
 
Regards
 
Phil Q
 
Phil Quiney, Senior Software Engineer
Trinity Convergence
Cambridge Business Park
Cowley Road
Cambridge CB4 0WZ, UK
T: +44(0)1223-435536
F: +44(0)1223-435560
www.trinityconvergence.com <http://www.trinityconvergence.com/> 

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ondrej Pindroch
Sent: 27 June 2008 12:49
To: davinci-linux-open-source
Subject: Bad kernel bootargs, or bad whole kernel


Can anybody tell me what is wrong. First how to correct cmem.ko. and next one, 
why is the IP6 not starting well.
Down are some lines from kernel booting. 
 

CMEMK Error: CMEM phys_start (0x87800000) overlaps kernel (0x80000000 -> 0x90000
000)
insmod: error inserting 'cmemk.ko': -1 Invalid parameters
dsplinkk: no version for "struct_module" found: kernel tainted.
dsplinkk: module license 'DSP/BIOS(TM) LINK' taints kernel.
DSPLINK Module (1.50) created on Date: Jan  3 2008 Time: 13:16:55
Starting web server ...
 thttpd
ipv6: disagrees about version of symbol struct_module
modprobe: FATAL: Error inserting ipv6 (/lib/modules/2.6.10_mvl401-davinci_evm/ke
rnel/net/ipv6/ipv6.ko): Invalid module format

Starting MontaVista target tools daemon: mvltdipv6: disagrees about version of s
ymbol struct_module
modprobe: FATAL: Error inserting ipv6 (/lib/modules/2.6.10_mvl401-davinci_evm/ke
rnel/net/ipv6/ipv6.ko): Invalid module format

mvltd version 2.1 MontaVista Software,Inc.
. mvltd[1127]: started on port 34577

MontaVista(R) Linux(R) Professional Edition 4.0.1 (0600980)
 
Ondrej Pindroch
SoftHard Technology ltd.

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to