RE: stalled head domain with 3.1rc4

2019-12-16 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Freitag, 13. Dezember 2019 14:44 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: stalled head domain with 3.1rc4 > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATTACHMENTS. >

RE: stalled head domain with 3.1rc4

2019-12-16 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Montag, 16. Dezember 2019 13:57 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: stalled head domain with 3.1rc4 > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATTACHMENTS. >

rtcap destroys packet contents

2019-12-16 Thread Lange Norbert via Xenomai
Hi, I have such a setup, where I push/pull ethernet traffic from an Application every millisecond: [App] ---IDDP--> [RTSwitch] --ETH_P_ALL socket--> [rt_igp] [App] <---IDDP-- [RTSwitch] <--ETH_P_ALL socket-- [rt_igp] [Tun] <---tundev---/ Now I am sometimes missing packets that the other side

RE: stalled head domain with 3.1rc4

2019-12-16 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Montag, 16. Dezember 2019 15:30 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: stalled head domain with 3.1rc4 > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATTACHMENTS. &

CONFIG_XENO_DRIVERS_NET_CHECKED not possible to enable

2019-12-16 Thread Lange Norbert via Xenomai
Seems to me like a lot instances of XENO_DRIVERS_NET_CHECKED should be renamed to XENO_DRIVERS_RTNET_CHECKED Mit besten Grüßen / Kind regards NORBERT LANGE AT-RD3 ANDRITZ HYDRO GmbH Eibesbrunnergasse 20 1120 Vienna / AUSTRIA p: +43 50805 56684

RE: pthread_cond_wait() never returns?

2019-10-24 Thread Lange Norbert via Xenomai
Signaling the waiting thread happens when you unlock the corresponding mutex, You need to lock/unlock the mutex around the pthread_cond_signal call. Regards, Norbert > -Original Message- > From: Xenomai On Behalf Of Jan Leupold > via Xenomai > Sent: Mittwoch, 23. Oktober 2019 17:52 >

RE: Process load balancing among CPU

2019-10-24 Thread Lange Norbert via Xenomai
Nothing has an effect, as the cobalt setup routine binds the main thread to the single core. See: https://xenomai.org/pipermail/xenomai/2019-August/041381.html Every thread you spawn will inherit the same affinity mask (with a single bit set), and all options (tunables, cmdline) affect the mask

binding to iddp socket often blocks forever

2019-10-29 Thread Lange Norbert via Xenomai
Hello, I have some problems with Xenomai 3.1rc2, the following function will often block after printing "b". This does not happen always and never happens when I run the program through gdb, and I can't attach with gdb if its blocked. Using another port then -1 makes no difference, and there is

RE: binding to iddp socket often blocks forever

2019-10-29 Thread Lange Norbert via Xenomai
t; From: Xenomai On Behalf Of Lange > Norbert via Xenomai > Sent: Dienstag, 29. Oktober 2019 17:32 > To: Xenomai (xenomai@xenomai.org) > Subject: binding to iddp socket often blocks forever > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATTACHMENTS. > > > Hello

RE: Deadlock during debugging

2019-11-19 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Dienstag, 19. November 2019 07:51 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: Deadlock during debugging > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATTACHMENTS. >

Impact and use of the membarrier syscall

2019-11-25 Thread Lange Norbert via Xenomai
Hello, I looked at this sycall, as lttng makes use of it, and the last posts on this ML would imply that Xenomai is using "IPI" aswell. This raises a few questions: - Could an linux app (like lttng), that uses the membarrier syscall create IRQs/IPIs that ultimately negative affect

Request: offer CLOCK_HOST_MONOTONIC for systemwide tracing

2019-11-27 Thread Lange Norbert via Xenomai
Hello, Systemwide traces would require the same clock, so Linux processes use CLOCK_MONOTONIC (they normally do by default), Kernel traces should do so too (ktime_get_mono_fast_ns). Xenomai Processes/Thread have no reliable to produce matching traces. The idea would be to configure the tracing

RE: Request: offer CLOCK_HOST_MONOTONIC for systemwide tracing

2019-11-27 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Mittwoch, 27. November 2019 18:06 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Cc: mathieu.desnoy...@efficios.com > Subject: Re: Request: offer CLOCK_HOST_MONOTONIC for systemwide > tracing > > N

xeno_heapcheck kernel module not loadable?

2019-10-11 Thread Lange Norbert via Xenomai
Hello, I built the xeno_*test components as loadable modules, but it seems xeno_heapcheck is either broken or can’t be built as module? Version is Xenomai v3.1-rc2 ~# modprobe xeno_rtdmtest ~# modprobe xeno_heapcheck [57980.549627] xeno_heapcheck: Unknown symbol xnthread_relax (err -2)

RE: [PATCH] Allow RTNet to be builtin kernel

2019-10-09 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Mittwoch, 9. Oktober 2019 13:00 > To: Lange Norbert ; François Legal > > Subject: Re: [PATCH] Allow RTNet to be builtin kernel > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATTACHMENTS. > > &

Script for namespacing a few intel drivers

2019-10-09 Thread Lange Norbert via Xenomai
I managed to build a kernel with statically linked igb, e1000 and e1000e for linux and rtnet, after running the below script to namespace those drivers (I only use [rt_]igb, but this driver needs symbols from e1000). Seems to basically work, with some caveats that might only relate to my

Re: running xenomai through scan-build or: some 100 issues

2019-10-14 Thread Lange Norbert via Xenomai
> -Original Message- > From: Xenomai > mailto:xenomai-boun...@xenomai.org>> On Behalf > Of Jan Kiszka > via Xenomai > Sent: Montag, 14. Oktober 2019 08:26 > To: Norbert Lange mailto:nolang...@gmail.com>>; Xenomai > mailto:xenomai@xenomai.org>> > Subject: Re: running xenomai through

RE: running xenomai through scan-build or: some 100 issues with static code analysis

2019-10-14 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Montag, 14. Oktober 2019 12:09 > To: Lange Norbert ; Xenomai > > Subject: Re: running xenomai through scan-build or: some 100 issues with > static code analysis > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONT

RE: Interrupt timeout

2020-02-25 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Dienstag, 25. Februar 2020 18:05 > To: Lange Norbert ; Greg Gallagher > > Cc: Xenomai (xenomai@xenomai.org) > Subject: Re: Interrupt timeout > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATT

RE: Interrupt timeout

2020-02-25 Thread Lange Norbert via Xenomai
> -Original Message- > From: Greg Gallagher > Sent: Dienstag, 25. Februar 2020 16:24 > To: Lange Norbert > Cc: Xenomai (xenomai@xenomai.org) ; Philippe > Gerum (r...@xenomai.org) > Subject: Re: Interrupt timeout > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONT

RE: Interrupt timeout

2020-02-25 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Dienstag, 25. Februar 2020 16:47 > To: Lange Norbert ; Greg Gallagher > > Cc: Xenomai (xenomai@xenomai.org) > Subject: Re: Interrupt timeout > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATT

RE: Ipipe-Patch for kernel version 5.4.23

2020-03-02 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Montag, 2. März 2020 16:59 > To: Lange Norbert > Subject: Re: Ipipe-Patch for kernel version 5.4.23 > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATTACHMENTS. > > > Offlist by intenti

Interrupt timeout

2020-02-25 Thread Lange Norbert via Xenomai
Hello, I hope you can give me some pointers to understand why this Bug happened. It seems an interrupt got lost somehow, maybe some issue with leveltriggers? Note that I run on an Apollo Lake, which would normally use PINCTRL_BROXTON, but that’s not fixed up for Xenomai yet. The system works

RE: Still some lockups when enabling ftrace

2020-02-17 Thread Lange Norbert via Xenomai
I managed to narrow it down to this: trace-cmd start -e 'tlb:tlb_flush' Seems to bug the kernel even if no cobalt thread is running, only a rt_igb and the rtnet stack. > -Original Message- > From: Xenomai On Behalf Of Lange > Norbert via Xenomai > Sent: Montag, 17. Feb

RE: Still some lockups when enabling ftrace

2020-02-17 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Montag, 17. Februar 2020 18:16 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: Still some lockups when enabling ftrace > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATTACHMEN

Still some lockups when enabling ftrace

2020-02-17 Thread Lange Norbert via Xenomai
Hello, Enabling traces still can lockup Xenomai, apparently if any cobalt thread is running. trace-cmd record -e all [11598.080137] I-pipe: Detected illicit call from head domain 'Xenomai' [11598.080137] into a regular Linux service [11598.091070] CPU: 3 PID: 948 Comm: sshd Not tainted

RE: [PATCH ipipe-noarch] ipipe: Disable rcuidle trace path when running over the head domain

2020-02-18 Thread Lange Norbert via Xenomai
Hello Jan, yes this fixes the issue for me, what's the downside of not using *_rcuidle, is that a performance optimization? Norbert Lange > -Original Message- > From: Jan Kiszka > Sent: Montag, 17. Februar 2020 19:06 > To: Philippe Gerum ; Xenomai > > Cc: Lange

RE: Installing RTnet

2020-02-11 Thread Lange Norbert via Xenomai
> -Original Message- > From: Xenomai On Behalf Of Kloock, > Lennard via Xenomai > Sent: Montag, 10. Februar 2020 14:11 > To: xenomai@xenomai.org > Subject: Installing RTnet > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATTACHMENTS. > > > Hello all, > > i have succesfully

Xenomai + conan + cmake: Building with less headaches

2020-01-09 Thread Lange Norbert via Xenomai
This is some scheme I am trying to cook up for our internal development, which should produce production binaries, and offering them for local development. It uses Xenomai 3.0.9, some time after 3.1 is released and I am less stressed with other work I plan to clean up all involved stuff, so

4.19.94-cip18-xeno10 regression: bugs out when changing drivers

2020-01-15 Thread Lange Norbert via Xenomai
Hello, I had no problem with the previous 4.19.89 (and versions back to 4.14), but this kernel does not like unloading the linux eth driver. Will try with the plain linux kernel in the coming days, but any help is appreciated. Norbert ethpci=":01:00.0" echo "$ethpci" >

RE: 4.19.94-cip18-xeno10 regression: bugs out when changing drivers

2020-01-15 Thread Lange Norbert via Xenomai
Reverting commit #0393b8720128 "ptp: fix the race between the release of ptp_clock and cdev" fixes the issue. I don't see any locks or similar involved to it doesn't appear to be related to Xenomai at all. Norbert > -Original Message- > From: Xenomai On Behalf Of Lan

RE: Cobalt deadlock for no apparent reason

2020-01-22 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Dienstag, 21. Jänner 2020 18:46 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: Cobalt deadlock for no apparent reason > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATTACHMEN

RE: 4.19.94-cip18-xeno10 regression: bugs out when changing drivers

2020-01-16 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Mittwoch, 15. Jänner 2020 23:07 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: 4.19.94-cip18-xeno10 regression: bugs out when changing > drivers > > NON-ANDRITZ SOURCE: BE C

Cobalt deadlock for no apparent reason

2020-01-20 Thread Lange Norbert via Xenomai
Hello, I got a deadlock while running through gdbserver, this is an implementation of a synchronized queue, Fup side waits via condition variable, main wants to push data, but main fails to acquire the mutex. The mutex is an errorchecking type, without priority inheritance, and not used

RE: [PATCH] libs: Add linking dependencies to libcopperplate and libsmokey

2020-09-15 Thread Lange Norbert via Xenomai
On debian, dh_shlibdeps (dpkg-shlibdeps) should be able to diagnose this aswell. Norbert > -Original Message- > From: Xenomai On Behalf Of Jan Kiszka > via Xenomai > Sent: Dienstag, 15. September 2020 12:39 > To: Vitaly Chikunov ; Xenomai > Subject: Re: [PATCH] libs: Add linking

RE: rtnet not locating ethercat slaves

2020-10-16 Thread Lange Norbert via Xenomai
> -Original Message- > From: Xenomai On Behalf Of John Ho via > Xenomai > Sent: Donnerstag, 15. Oktober 2020 16:37 > To: xenomai@xenomai.org > Subject: rtnet not locating ethercat slaves > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATTACHMENTS. > > > Hi all, thank you so

What is the purpose of corectl

2020-07-10 Thread Lange Norbert via Xenomai
Hello, I just found the corectl tool (and the related syscall). After a stop, all threads previously using cobalt services end up zombified, apparently never getting reaped. (Only useful thing is to reboot then IMHO). Maybe if this tool could shutdown everything cleanly, I would run this before

FW: Xenomai with isolcpus and workqueue task

2020-07-13 Thread Lange Norbert via Xenomai
(fwd to list) > -Original Message- > From: Lange Norbert > Sent: Montag, 13. Juli 2020 10:34 > To: Alexander Frolov > Subject: RE: Xenomai with isolcpus and workqueue task > > > > > -Original Message- > > From: Xenomai On Behalf Of Alexa

RE: FW: Xenomai with isolcpus and workqueue task

2020-07-13 Thread Lange Norbert via Xenomai
> -Original Message- > From: Alexander Frolov > Sent: Montag, 13. Juli 2020 13:09 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: FW: Xenomai with isolcpus and workqueue task > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > AT

RE: FW: Xenomai with isolcpus and workqueue task

2020-07-13 Thread Lange Norbert via Xenomai
, LINKS OR > ATTACHMENTS. > > > -----Original Message- > >> From: Lange Norbert > >> Sent: Montag, 13. Juli 2020 10:34 > >> To: Alexander Frolov > >> Subject: RE: Xenomai with isolcpus and workqueue task > >> > >> > >> >

xenomai.supported_cpus not working as intended?

2020-07-13 Thread Lange Norbert via Xenomai
Hello, I am using Xenomai 3.1 and I tried once more to tie Linux to Core0, and RT to the remaining Cores. It seems that both Linux and Xenomai favor Core0, as rtnet-stack rtnet-rtpc seem to always run on that. Network drivers will process the IRQs on all cores, but realistally all are handles

RE: xenomai.supported_cpus not working as intended?

2020-07-14 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Montag, 13. Juli 2020 19:52 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: xenomai.supported_cpus not working as intended? > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATT

RE: Still getting Deadlocks with condition variables

2020-06-15 Thread Lange Norbert via Xenomai
> -Original Message- > From: Philippe Gerum > Sent: Mittwoch, 10. Juni 2020 18:48 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) ; > 'jan.kis...@siemens.com' > Subject: Re: Still getting Deadlocks with condition variables > > NON-ANDRITZ SOURCE: BE C

RE: Still getting Deadlocks with condition variables

2020-06-15 Thread Lange Norbert via Xenomai
> -Original Message- > From: Philippe Gerum > Sent: Montag, 15. Juni 2020 12:03 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) ; > 'jan.kis...@siemens.com' > Subject: Re: Still getting Deadlocks with condition variables > > NON-ANDRITZ SOURCE: BE C

RE: Still getting Deadlocks with condition variables

2020-06-08 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Montag, 8. Juni 2020 12:09 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: Still getting Deadlocks with condition variables > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATT

RE: Still getting Deadlocks with condition variables

2020-06-08 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Freitag, 5. Juni 2020 17:40 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: Still getting Deadlocks with condition variables > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATT

RE: Still getting Deadlocks with condition variables

2020-06-08 Thread Lange Norbert via Xenomai
> -Original Message- > From: Philippe Gerum > Sent: Sonntag, 7. Juni 2020 22:16 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: Still getting Deadlocks with condition variables > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR >

RE: Still getting Deadlocks with condition variables

2020-06-09 Thread Lange Norbert via Xenomai
> -Original Message- > From: Philippe Gerum > Sent: Montag, 8. Juni 2020 16:17 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: Still getting Deadlocks with condition variables > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > A

Still getting Deadlocks with condition variables

2020-06-05 Thread Lange Norbert via Xenomai
Hello, I brought this up once or twice at this ML [1], I am still getting some occasional lockups. Now the first time without running under an debugger, Harwdare is a TQMxE39M (Goldmont Atom) Kernel: 4.19.124-cip27-xeno12-static x86_64 I-pipe Version: 12 Xenomai Version: 3.1 Glibc Version 2.28

RE: malloc and stl container

2020-07-27 Thread Lange Norbert via Xenomai
> -Original Message- > From: Xenomai On Behalf Of Jan Holtz via > Xenomai > Sent: Montag, 20. Juli 2020 07:05 > To: xenomai@xenomai.org > Subject: malloc and stl container > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR > ATTACHMENTS. > > >Hello, >i am using xenomai

RE: Are there some methods that could limit how much CPU resources could be a single Xenomai process or thread?

2020-07-20 Thread Lange Norbert via Xenomai
for its timeslice). Norbert From: 孙世龙 sunshilong Sent: Samstag, 18. Juli 2020 07:51 To: Lange Norbert Cc: Meng, Fino Subject: Re: Are there some methods that could limit how much CPU resources could be a single Xenomai process or thread? Hi, Norbert Thank you for the clarification. >You

is memory locking per core necessary?

2021-01-15 Thread Lange Norbert via Xenomai
Hello, I am trying to track down some spurios relaxes. What happens is that I: - cobalt_init calls mlockall(MCL_CURRENT | MCL_FUTURE); - allocate and initialize some data in the heap area - spawn the xenomai-thread - wait for notification from the xenomai-thread (so that I know, any

FW: is memory locking per core necessary?

2021-01-15 Thread Lange Norbert via Xenomai
I originally had the Xenomai thread tied to another CPU-Core, hence the subject. The issue happens also if all threads are tied to Core #0. So the question should read: is memory locking per *thread* necessary? > -Original Message- > From: Lange Norbert > Sent: Freitag, 15. Jä

Some build issues with dovetail + ipipe 4.19

2021-02-10 Thread Lange Norbert via Xenomai
Hello, By accident I built 4.19.152-cip37-x86-15 with the wip/dovetail branch. I understand that this should be supported one day? In the hope that this is of use for you, I get built following errors during the modpost step with this config: ERROR: "__rtdm_nrtsig_execute"

RE: cobalt_assert_nrt should use __cobalt_pthread_kill

2021-08-20 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Freitag, 20. August 2021 08:37 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: cobalt_assert_nrt should use __cobalt_pthread_kill > > > > CAUTION: External email. Do not click on links

RE: cobalt_assert_nrt should use __cobalt_pthread_kill

2021-08-20 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Freitag, 20. August 2021 11:15 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: cobalt_assert_nrt should use __cobalt_pthread_kill > > > > CAUTION: External email. Do not click on links or

cobalt_assert_nrt should use __cobalt_pthread_kill

2021-08-19 Thread Lange Norbert via Xenomai
Hello, I have some small slight issue with the cobalt_assert_nrt function, incase a violation is detected the thread should get a signal, but the implementation will implicitly get a signal during the execution of pthread_kill, see: #0 getpid () at ../sysdeps/unix/syscall-template.S:60 #1

RE: cobalt_assert_nrt should use __cobalt_pthread_kill

2021-08-19 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Donnerstag, 19. August 2021 12:54 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: cobalt_assert_nrt should use __cobalt_pthread_kill > > > > CAUTION: External email. Do not click on li

RE: cobalt_assert_nrt should use __cobalt_pthread_kill

2021-08-19 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Donnerstag, 19. August 2021 17:42 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: cobalt_assert_nrt should use __cobalt_pthread_kill > > > > CAUTION: External email. Do not click on li

kernel bug if rtnet device is accesses during unbind

2021-08-03 Thread Lange Norbert via Xenomai
Hello, There is some bigger kernel oops when an rtnet device is unbound from linux but still accessible via ioctl. Effect and backtrace depends on timing, usually the rt_igb module will not decrease its reference count, and a following soft reboot might hang. To repoduce, for example with rt_igb

RE: kernel bug if rtnet device is accesses during unbind

2021-08-04 Thread Lange Norbert via Xenomai
> -Original Message- > From: Jan Kiszka > Sent: Dienstag, 3. August 2021 18:04 > To: Lange Norbert ; Xenomai > (xenomai@xenomai.org) > Subject: Re: kernel bug if rtnet device is accesses during unbind > > > > CAUTION: External email. Do not click on links

Build failure branch 3.1.x

2021-12-15 Thread Lange Norbert via Xenomai
Hello, rebuilding from the 3.1.x branch yields an error: ERROR: "__xnthread_discard" [drivers/xenomai/testing/xeno_switchtest.ko] undefined! xeno_switchtest can't be compiled as module because of this (works as built-in) Mit besten Grüßen / Kind regards NORBERT LANGE

RE: [PATCH] cobalt/thread: Export __xnthread_discard

2021-12-15 Thread Lange Norbert via Xenomai
That takes care of the issue, thanks for the quick help. > -Original Message- > From: Jan Kiszka > Sent: Mittwoch, 15. Dezember 2021 13:57 > To: Xenomai > Cc: Lange Norbert > Subject: [PATCH] cobalt/thread: Export __xnthread_discard > > > > CAUTION

<    1   2