Problem in loading Nouveau driver
Hello How should i enable Nouveau driver in a custom kernel. Here is how i compiled my kernel: 1_make localmodconfig 2_make menuconfig and then went to: device drivers --> Graphics support --> Nouveau Support 3_make 4_make modules_install 5_make install and after booting the kernel i tried loading Nouveau by following commands: 1_insmod drm.ko 2_insmod drm_kms_helper.ko 3_insmod ttm.ko 4_insmod nouveau.ko but in the last step it gives me Unknown symbol in module here is the result of "dmesg | tail" after i tried insmod nouvea.ko: drm: module verification failed: signature and/or required key missing - tainting kernel [ 212.330197] [drm] Initialized drm 1.1.0 20060810 [ 255.336591] nouveau: Unknown symbol i2c_bit_add_bus (err 0) [ 255.336610] nouveau: Unknown symbol mxm_wmi_call_mxds (err 0) [ 255.336625] nouveau: Unknown symbol mxm_wmi_supported (err 0) [ 255.336644] nouveau: Unknown symbol i2c_bit_algo (err 0) [ 255.336719] nouveau: Unknown symbol wmi_evaluate_method (err 0) [ 255.336777] nouveau: Unknown symbol wmi_has_guid (err 0) [ 255.336904] nouveau: Unknown symbol mxm_wmi_call_mxmx (err 0) I don't know in what step i did wrong. thank you.
On Sat, 2014-12-20 at 09:00 +0330, Ali Aminian wrote:
and after booting the kernel i tried loading Nouveau by following commands:
1_insmod drm.ko 2_insmod drm_kms_helper.ko 3_insmod ttm.ko 4_insmod nouveau.ko
but in the last step it gives me Unknown symbol in module
Why do it by hand when you can modprobe? I don't use nouveau myself, but om my machine (running v3.18.1) modprobe tells me: $ modprobe --show-depends nouveau insmod [...]/drivers/gpu/drm/drm.ko insmod [...]/drivers/gpu/drm/drm_kms_helper.ko insmod [...]/drivers/gpu/drm/ttm/ttm.ko insmod [...]/drivers/i2c/algos/i2c-algo-bit.ko insmod [...]/drivers/acpi/video.ko insmod [...]/drivers/platform/x86/wmi.ko insmod [...]/drivers/platform/x86/mxm-wmi.ko insmod [...]/drivers/gpu/drm/nouveau/nouveau.ko
here is the result of "dmesg | tail" after i tried insmod nouvea.ko:
drm: module verification failed: signature and/or required key missing - tainting kernel [ 212.330197] [drm] Initialized drm 1.1.0 20060810 [ 255.336591] nouveau: Unknown symbol i2c_bit_add_bus (err 0)
$ git grep -nw i2c_bit_add_bus | grep EXPORT drivers/i2c/algos/i2c-algo-bit.c:655:EXPORT_SYMBOL(i2c_bit_add_bus); Ie, i2c-algo-bit.ko as seen above.
[ 255.336610] nouveau: Unknown symbol mxm_wmi_call_mxds (err 0)
$ git grep -nw mxm_wmi_call_mxds | grep EXPORT drivers/platform/x86/mxm-wmi.c:66:EXPORT_SYMBOL_GPL(mxm_wmi_call_mxds); Ie, mxm-wmi.ko as seen above.
[ 255.336625] nouveau: Unknown symbol mxm_wmi_supported (err 0)
Etc.
[ 255.336644] nouveau: Unknown symbol i2c_bit_algo (err 0) [ 255.336719] nouveau: Unknown symbol wmi_evaluate_method (err 0) [ 255.336777] nouveau: Unknown symbol wmi_has_guid (err 0) [ 255.336904] nouveau: Unknown symbol mxm_wmi_call_mxmx (err 0)
I don't know in what step i did wrong.
Hope this helps, Paul Bolle
Hello when i use modprobe it gives me this: modprobe: ERROR: ../libkmod/libkmod-module.c:809 kmod_module_insert_module() could not find module by name='off' modprobe: ERROR: could not insert 'off': Function not implemented modprobe: ERROR: ../libkmod/libkmod-module.c:809 kmod_module_insert_module() could not find module by name='off' I guess at least i should once load the module manually and then try using modprobe.
Hello Paul Bolle it worked. I just insmod modules you listed and it worked. thank you
On Sat, 2014-12-20 at 20:47 +0330, Ali Aminian wrote:
it worked.
Good.
I just insmod modules you listed and it worked.
It's odd that modprobe failed here. Perhaps you could look into that a bit more. If you can reproduce this failure you might want to report it to the maintainers of modprobe (either at your distribution or upstream). Thanks, Paul Bolle
On Sat, 20 Dec 2014 20:57:40 +0100, Paul Bolle said:
On Sat, 2014-12-20 at 20:47 +0330, Ali Aminian wrote:
it worked.
Good.
I just insmod modules you listed and it worked.
It's odd that modprobe failed here.
Not really. Most likely cause - failure to run depmod after putting new modules in /lib/modules.
participants (3)
-
Ali Aminian -
Paul Bolle -
Valdis.Kletnieks@vt.edu