Timeline for Loading kernel modules that were compiled for another kernel failed
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 18, 2015 at 4:48 | vote | accept | kolar | ||
| Mar 18, 2015 at 4:48 | answer | added | kolar | timeline score: 2 | |
| Mar 13, 2015 at 0:39 | history | edited | kolar | CC BY-SA 3.0 | added 3 characters in body |
| Mar 13, 2015 at 0:34 | comment | added | kolar | @Giles: Actually I am not using same .config files. I will update .config of my running kernel (on the device) and that of kernel I compiled to make the kernel modules. BTW, could you please tell me what are the compatible options or any references? | |
| Mar 13, 2015 at 0:33 | history | edited | kolar | CC BY-SA 3.0 | added 806 characters in body |
| Mar 13, 2015 at 0:24 | comment | added | Celada | @Gilles I agree that's very probably exactly the issue the OP is facing and I think you should make it an answer. | |
| Mar 12, 2015 at 22:14 | comment | added | Gilles 'SO- stop being evil' | It's not enough to use the same kernel version: you also need to use sufficiently compatible options. Did you use the same .config file? The errors you're getting are consistent with having used incompatible options. Finding the right options isn't always easy if you don't have the running kernel's .config somewhere (check /proc/config.gz, but it's an optional feature so you may not have it). | |
| Mar 12, 2015 at 9:00 | comment | added | bsd | Are you compiling on the same architecture as the embedded device, same chip? If not, you need to cross compile. | |
| Mar 12, 2015 at 8:13 | comment | added | kolar | Yes! FYI, the version of kernel source code I used to compile the modules is 2.6.22.19 and the device's installed kernel version is also 2.6.22.19. | |
| Mar 12, 2015 at 8:08 | comment | added | Milind Dumbare | SO the kernel which is booted is the built from the sources which you are using to build the module? | |
| Mar 12, 2015 at 7:53 | history | edited | kolar | CC BY-SA 3.0 | edited title |
| Mar 12, 2015 at 7:44 | history | asked | kolar | CC BY-SA 3.0 |