kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* cannot insmod sculld in ldd3
@ 2017-03-12 18:12 Ali Aminian
  2017-03-12 19:03 ` Greg KH
  2017-03-13 13:44 ` Aruna Hewapathirane
  0 siblings, 2 replies; 11+ messages in thread
From: Ali Aminian @ 2017-03-12 18:12 UTC (permalink / raw)
  To: kernelnewbies

Hello, Freeman Zhang. copying 'Module.symvers' to sculld folder solved
the problem. Thank you, man.

Now I wonder what is the proper way to export "Module.symvers"
information to the outside so that modules that use it do not have to
copy that file into their directory. for example, what do pci and usb
buses do in this case?

^ permalink raw reply	[flat|nested] 11+ messages in thread
* cannot insmod sculld in ldd3
@ 2017-03-12  3:17 Ali Aminian
  0 siblings, 0 replies; 11+ messages in thread
From: Ali Aminian @ 2017-03-12  3:17 UTC (permalink / raw)
  To: kernelnewbies

Hello Tobin C. Harding
I used the source you provided and still receive the same error.
also the output of "uname -a" is this. if that matters:
Linux ali-Z97-D3H 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15
UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

^ permalink raw reply	[flat|nested] 11+ messages in thread
* cannot insmod sculld in ldd3
@ 2017-03-11 21:49 Ali Aminian
  0 siblings, 0 replies; 11+ messages in thread
From: Ali Aminian @ 2017-03-11 21:49 UTC (permalink / raw)
  To: kernelnewbies

Hello
I mean lddbus and sculld from the book "Linux Device Drivers, Third Edition".

Here I attached the codes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sculld_lddbus.tar.gz
Type: application/x-gzip
Size: 8768 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170312/40e12a6f/attachment.gz 

^ permalink raw reply	[flat|nested] 11+ messages in thread
* cannot insmod sculld in ldd3
@ 2017-03-10 16:49 Ali Aminian
  2017-03-10 18:06 ` valdis.kletnieks at vt.edu
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Ali Aminian @ 2017-03-10 16:49 UTC (permalink / raw)
  To: kernelnewbies

Hello
when i try to insmod sculld insmod prints this error message:
insmod: ERROR: could not insert module ./sculld.ko: Invalid parameters

i checked dmsg and it says:
[12073.858764] sculld: no symbol version for unregister_ldd_driver
[12073.858767] sculld: Unknown symbol unregister_ldd_driver (err -22)
[12073.858780] sculld: no symbol version for register_ldd_device
[12073.858781] sculld: Unknown symbol register_ldd_device (err -22)
[12073.858789] sculld: no symbol version for unregister_ldd_device
[12073.858790] sculld: Unknown symbol unregister_ldd_device (err -22)
[12073.858794] sculld: no symbol version for register_ldd_driver
[12073.858795] sculld: Unknown symbol register_ldd_driver (err -22)

these functions are defined in lddbus and i have insmod lddbus.

can anyone tell me what is wrong.
thank you.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-03-13 13:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-12 18:12 cannot insmod sculld in ldd3 Ali Aminian
2017-03-12 19:03 ` Greg KH
2017-03-13  4:19   ` Freeman Zhang
2017-03-13  8:32     ` Greg KH
2017-03-13 13:44 ` Aruna Hewapathirane
  -- strict thread matches above, loose matches on Subject: below --
2017-03-12  3:17 Ali Aminian
2017-03-11 21:49 Ali Aminian
2017-03-10 16:49 Ali Aminian
2017-03-10 18:06 ` valdis.kletnieks at vt.edu
2017-03-11 22:58 ` Tobin C. Harding
2017-03-12  8:55 ` Freeman Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).