-
Notifications
You must be signed in to change notification settings - Fork 54
module not load #34
Comments
Can you provide build log? And also a objdump -h of KO module? Thanks |
@Marx86 can you check that depmod was successful for mali.ko ? |
I compiled the module like this:
Maybe I сan do something wrong? Mali installed in to /lib/modules/4.14.18+ and i created symlink /lib/modules/4.14.18-sunxi/extra -> /lib/modules/4.14.18+/extra dmesg says: Build log:
objdump:
|
You need exactly same kernel version 4.14.18+ sources. This is why it refuses to load |
And keep in mind that next branch is not stable, it's only a patch collector. You should use mainline versions. |
@giuliobenetti
|
Maybe i need rebuild kernel from /usr/src/linux-source-4.11.12-sun8i and install it? |
Or i need build mainline kernel from kernel.org without all sunxi patches? |
I've never faced this kind of problem. But if you build using 4.15 you should have almost every peripheral working. Which SoC are you using? |
Sun8i seems A23 or A33. So there should be everything you need. Take a look at Linux-sunxi. Org on mainline effort section to see what is supported or not by which version. |
1 similar comment
Sun8i seems A23 or A33. So there should be everything you need. Take a look at Linux-sunxi. Org on mainline effort section to see what is supported or not by which version. |
I changed kernel version in files include/generated/utsrelease.h and include/config/kernel.release
|
Good to know the hack of kernel version. For X11 you need some more steps:
Then you should have it working. |
This is commit for sun4i (A10)? But i use the sun8i (H3) and kernel 4.14.18. And xf86-video-armsoc supported only pl111, exynos, sun4i. Or i wrong? |
Nobody is stupid if ask something. If someone thinks to know everything is stupid :) Philosophy apart, sun4i is compatible with Sun8i, you can check that inside drm kernel sources. Idem for xf86-video-armsoc x11 driver. This avoid having every SoC family using different files and inside driver you can distinguish which SoC you're using by checking quirks. |
Thank, You!
The commit (nextthingco/linux@e390023) already existed in my kernel. Load the module
But i get the errors, and i think is slow.
Xorg log without errors:
|
Try to follow #23 issue. I think you can close this, since topic is changed. Thanks! |
on armbian
modprobe mali
modprobe: FATAL: Module mali not found in directory /lib/modules/4.14.18-sunxi
insmod /lib/modules/4.14.18-sunxi/extra/mali.ko
insmod: ERROR: could not insert module /lib/modules/4.14.18-sunxi/extra/mali.ko: Invalid module format
The text was updated successfully, but these errors were encountered: