Kernel module symbol conflicts

Lange Norbert norbert.lange at andritz.com
Thu Mar 28 16:12:57 CET 2019


Hello,

We use a setup with multiple network controllers, and so far only one of them is realtime capable.
The issue is, that there are nonRt and Rt drivers active at the same time (igb statically builtin and rt_igb as module).

And while it works, I got some irregular weird crashes. Is there an issue with the loaded rt_igb module having a lot symbols
that are identically named with the igb driver?

Does that mean the rt_igp module will use the exported functions/variables from the igb driver,
as a normal dynamic linker would?

Whats the policy of xenomai, should this even work (igp and rt_igp at the same time)?

Example of conflicting symbols:

# cat /proc/kallsyms | grep ' T igb_config'
ffffffff94f3b2e0 T igb_configure_tx_ring
ffffffff94f3b6f0 T igb_configure_rx_ring
ffffffff94f49c30 T igb_config_collision_dist
ffffffff94f49d50 T igb_config_fc_after_link_up

# nm /lib/modules/4.14.94-xeno2-static/kernel/drivers/xenomai/net/drivers/igb/rt_igb.ko | grep ' T igb_config'
0000000000004db0 T igb_config_collision_dist
0000000000004eb0 T igb_config_fc_after_link_up
000000000000dd60 T igb_configure_rx_ring
000000000000d9f0 T igb_configure_tx_ring



Mit besten Grüßen / Kind regards

NORBERT LANGE
AT-DES

ANDRITZ HYDRO GmbH
Eibesbrunnergasse 20
1120 Vienna / AUSTRIA
p: +43 50805 56684
norbert.lange at andritz.com
andritz.com
________________________________

This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.

ANDRITZ HYDRO GmbH


Rechtsform/ Legal form: Gesellschaft mit beschränkter Haftung / Corporation

Firmensitz/ Registered seat: Wien

Firmenbuchgericht/ Court of registry: Handelsgericht Wien

Firmenbuchnummer/ Company registration: FN 61833 g

DVR: 0605077

UID-Nr.: ATU14756806


Thank You
________________________________



More information about the Xenomai mailing list