reminder: Xenomai community call on Wednesday, Nov. 3, 2021, UTC 7:00 AM

2021-11-02 Thread Chen, Hongzhan via Xenomai
Hi all, We have the Xenomai community call today. Topics may include but are not limited to upstream/downstream project plans, status updates, and technical discussions. It's an open online meeting that anyone can join and ask questions. Time: Wednesday, Nov. 3, 2021, UTC 7:00 AM Paris,

Re: rtcansend 32-bit

2021-11-02 Thread C Smith via Xenomai
I added some printf/printk to rtcansend.c as well as rtcan_raw.c: rtcan_raw.c: /* Check size of buffer */ if (iov->iov_len != sizeof(can_frame_t)) { printk("rtcan_raw.c, 850: sizeof(can_frame_t): %ld\n", sizeof(can_frame_t));

Re: rtcansend 32-bit

2021-11-02 Thread Jan Kiszka via Xenomai
On 02.11.21 19:57, C Smith via Xenomai wrote: > I ran into a problem wherein my real-time Xenomai 32-bit app > fails on the socket operations of the 64-bit CAN driver. > My real-time userspace app is Cobalt x86, compiled -m32. > > When I try the Xenomai rtcansend.c sample app compiled 32-bit, I

rtcansend 32-bit

2021-11-02 Thread C Smith via Xenomai
I ran into a problem wherein my real-time Xenomai 32-bit app fails on the socket operations of the 64-bit CAN driver. My real-time userspace app is Cobalt x86, compiled -m32. When I try the Xenomai rtcansend.c sample app compiled 32-bit, I get the same error : [root@pc can]#

Re: error: make menuconfig to configure Xenomai cobalt

2021-11-02 Thread Jan Kiszka via Xenomai
On 02.11.21 11:14, zared kamal via Xenomai wrote: > dear sir,i try to execute make menuconfig to install nano kernel xenomai with > Linux_5.4 kernel, but i get the following error: > scripts/kconfig/mconf  Kconfig > init/Kconfig:2254: can't open file "arch/$SRCARCH/xenomai/Kconfig" >

[dovetail][RFC PATCH 2/5] kernel/irq/irqdesc: Extend struct irq_desc with a few cpu specific members

2021-11-02 Thread Florian Bezdeka via Xenomai
Extend the struct and make sure all members are initialized / cleaned up properly. All new members will be used by the following patches. Signed-off-by: Florian Bezdeka --- include/linux/irqdesc.h | 11 +++ kernel/irq/irqdesc.c| 24 ++-- 2 files changed, 33

[dovetail][RFC PATCH 1/5] net/sched/sch_generic: Measure the time between watchdog runs

2021-11-02 Thread Florian Bezdeka via Xenomai
Signed-off-by: Florian Bezdeka --- The output looks like that: [36452.934159] dev_watchdog: cpu(6) jiffies(4331120128) jd(5072) ct(36452934152782) ctd(511) [36458.054164] dev_watchdog: cpu(6) jiffies(4331125248) jd(5120) ct(36458054156389) ctd(5120003) [36464.198155] dev_watchdog: cpu(6)

[dovetail][RFC PATCH 4/5] kernel/irq/proc: Integrate post/pull/merge counters into /proc/interrupts

2021-11-02 Thread Florian Bezdeka via Xenomai
For each CPU the following IRQ information will be shown: - inband post counter - inband pull counter - inband merge counter - Linux accounting (unmodified) - out of band post counter - out of band pull counter - out of band merge counter Signed-off-by: Florian Bezdeka --- The

[dovetail][RFC PATCH 3/5] kernel/irq/pipeline: Instrument irq_post_stage and pull_next_irq

2021-11-02 Thread Florian Bezdeka via Xenomai
- Remember how often an IRQ was posted into and pulled from the IRQ log - Measure the time between push and pull - Count how often we merge IRQs (multiple post events before pulling again) Signed-off-by: Florian Bezdeka --- kernel/irq/pipeline.c | 34 ++ 1

[dovetail][RFC PATCH 5/5] kernel/irq/proc: Implement /proc/interrupt_log_times

2021-11-02 Thread Florian Bezdeka via Xenomai
Show the maximum time an interrupt stayed in the IRQ log on each CPU. Heavily inspired by show_interrupts(). Both logs (inband as well as out of band) are taken into account and are visible now. Signed-off-by: Florian Bezdeka --- The coverletter has an example of how this file looks like on

[dovetail][RFC PATCH 0/5] Investigation summary TSC unsable, netdev watchdog

2021-11-02 Thread Bezdeka, Florian via Xenomai
ed... Name: proc_interrupt_log_times.txt URL: <http://xenomai.org/pipermail/xenomai/attachments/20211102/9ad544fc/attachment.txt> -- next part -- An embedded and charset-unspecified text was scrubbed... Name: proc_interrupts.txt URL: <http://xenomai.org/pipermail/

error: make menuconfig to configure Xenomai cobalt

2021-11-02 Thread zared kamal via Xenomai
dear sir,i try to execute make menuconfig to install nano kernel xenomai with Linux_5.4 kernel, but i get the following error: scripts/kconfig/mconf  Kconfig init/Kconfig:2254: can't open file "arch/$SRCARCH/xenomai/Kconfig" scripts/kconfig/Makefile:33: recipe for target 'menuconfig' failed