Hello everyone!
I'm working on OMAPL137 evm.Now I met a severe problem with the kernel. The source docunment is "Montavista-Linux-02.16.20.tar.gz".
Kernel version is "2.6.18_pro500-da830_omapl137_evm-arm_v5t_le".(use uname -r)
However, when I checked the modules, it showed as:
root@192.168.1.100:~# modprobe -l
FATAL: Could not load /lib/modules/2.6.18_pro500-da830_omapl137_evm-arm_v5t_le/m
odules.dep: No such file or directory
The directory "2.6.18_pro500-da830_omapl137_evm-arm_v5t_le" did not exist, instead it was "2.6.18_pro500-davinci_evm-arm_v5t_le". And "modules.dep" inside it was empty.
Then I checked modules version in the /target/lib/modules/2.6.18_pro500-davinci_evm-arm_v5t_le/kernel and found their versions are all "2.6.18_pro500-davinci_evm-arm_v5t_le", different with the kernel version. Maybe this's the reason why "modprobe -l" echo errors.
The kernel version string is defined in /linux-2.6.18_pro500/localversion-mvl, 2.6.18_pro500-da830_omapl137_evm-arm_v5t_le.
I changed localversion-mvl to 2.6.18_pro500-davinci_evm-arm_v5t_le to cater for modules version and recompile the kernel.
Then I run "modprobe -l" and it displayed modules correctly. The modules.dep was correct and written with modules' infomation.
But the kenel displayed error messages of ipv6 and usb:
......
usbcore: disagrees about version of symbol dma_pool_create
usbcore: Unknown symbol dma_pool_create
usbcore: disagrees about version of symbol driver_attach
usbcore: Unknown symbol driver_attach
usbcore: disagrees about version of symbol device_unregister
usbcore: Unknown symbol device_unregister
usbcore: disagrees about version of symbol class_destroy
usbcore: Unknown symbol class_destroy
usbcore: disagrees about version of symbol device_initialize
usbcore: Unknown symbol device_initialize
usbcore: disagrees about version of symbol get_driver
usbcore: Unknown symbol get_driver
usbcore: disagrees about version of symbol device_for_each_child
usbcore: Unknown symbol device_for_each_child
usbcore: disagrees about version of symbol get_device
usbcore: Unknown symbol get_device
......
ipv6: Unknown symbol pneigh_enqueue
ipv6: disagrees about version of symbol sock_queue_rcv_skb
ipv6: Unknown symbol sock_queue_rcv_skb
ipv6: disagrees about version of symbol neigh_table_init
ipv6: Unknown symbol neigh_table_init
ipv6: disagrees about version of symbol skb_copy
ipv6: Unknown symbol skb_copy
ipv6: disagrees about version of symbol skb_clone
ipv6: Unknown symbol skb_clone
ipv6: disagrees about version of symbol icmp_send
ipv6: Unknown symbol icmp_send
ipv6: disagrees about version of symbol sock_release
ipv6: Unknown symbol sock_release
ipv6: disagrees about version of symbol tcp_sendpage
ipv6: Unknown symbol tcp_sendpage
......
USB can't be mounted:
So should I change the localversion_mvl and how to reconcile the version of kernel and its own modules?
In which file is the string "davinci_evm-arm_v5t_le" defined?
I've tried to recompile modules or kenel but didnot work.
Regards