minipcie can XENOMAI Driver registration failed

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
ttyyy145
Posts: 1
Joined: Thu 9. Mar 2023, 04:09

minipcie can XENOMAI Driver registration failed

Post by ttyyy145 » Fri 10. Mar 2023, 04:28

The RTDM driver of xenomai will apply for an interrupt number when registering, but the applied interrupt number 16 has been occupied by linux, resulting in the failure to open the device normally。
I turned off the device using idma64.5, this problem has been solved, but is it legal to do so, is there a better solution
Attachments
微信图片_20230310112610.jpg
微信图片_20230310112610.jpg (984.77 KiB) Viewed 5899 times

User avatar
S.Grosjean
Software Development
Software Development
Posts: 357
Joined: Wed 4. Jul 2012, 17:02

Re: minipcie can XENOMAI Driver registration failed

Post by S.Grosjean » Fri 10. Mar 2023, 14:35

Hi,

You should certainly activate the CONFIG_XENO_OPT_SHIRQ=y option in your Linux Xenomai co-kernel configuration so that IRQ16 could be shared by more than one device, or, you could enable usage of MSI in your BIOS so that each device will get its own and private IRQ line.

[Update]
If present, "noapic" kernel command line option must be removed.

Regards,
— Stéphane

Post Reply