On 09.07.19 19:54, Jan Kiszka wrote: > On 09.07.19 18:33, Jan Kiszka wrote: >> On 09.07.19 18:21, Lange Norbert wrote: >>> Hello, >>> >>> maxcpus=1 still causes the spurious int, this time fully locking up. >>> >>> I attached the debug/irq directory after the cause. >>>> Some things that might be relevant: >>> - the SOC would use PINCTRL_BROXTON under linux, but this is disabled >>> (not fixed up for Xenomai) >>> - I have the regular igb driver in use, and am unbinding the network card >>> prior to binding the rt_igp driver >>> >> >> Thanks. What's the interrupt number that Xenomai is using? Should be the same >> that the Linux driver is using as well. > > Found already: Should be IRQ 130-132 for device 00:03.0. If the directory > state > was like that while Xenomai was still holding those interrupts, the problem it > that there are no vectors assigned to them. Can you confirm that rt_igb was > still loaded and the interface was up? > > Are those interrupts MSI or MSI-X? Can't read that from the logs. > > I probably need to get some rt_igb running somewhere... >
Still no luck, even on a box with a igb-driven NIC (I350): [ 667.928036] rt_igb 0000:06:00.1: Intel(R) Gigabit Ethernet Network Connection [ 667.928064] rt_igb 0000:06:00.1: rteth0: (PCIe:5.0Gb/s:Width x4) 00:25:90:5d:10:19 [ 667.928149] rt_igb 0000:06:00.1: rteth0: PBA No: 010A00-000 [ 667.928153] rt_igb 0000:06:00.1: Using MSI-X interrupts. 1 rx queue(s), 1 tx queue(s) xeon-d:~ # cat /proc/xenomai/irq IRQ CPU0 ... CPU15 47: 0 ... 79 rteth0-TxRx-0 I'm currently using the two attached patches on top of ipipe-core-4.19.57-x86-3. Did you cross-check if the running kernel contains the fix(es)? Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-ipipe-Activate-IRQ-in-ipipe_enable_irq.patch Type: text/x-patch Size: 1011 bytes Desc: not available URL: <http://xenomai.org/pipermail/xenomai/attachments/20190710/55e16f8f/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: 0002-x86-ipipe-Make-sure-IRQs-are-active-when-setting-aff.patch Type: text/x-patch Size: 1391 bytes Desc: not available URL: <http://xenomai.org/pipermail/xenomai/attachments/20190710/55e16f8f/attachment-0001.bin>