All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Xenomai] RTnet fixes - testers needed (Philippe Gerum)
@ 2017-12-08 11:03 Andreas Glatz
  2017-12-08 14:16 ` Stéphane Ancelot
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Glatz @ 2017-12-08 11:03 UTC (permalink / raw)
  To: xenomai

>
> I pushed a pile of RTnet fixes in a WIP branch of the official repo
> (wip/rtnet-fixes). Most of them address invalid direct references to
> user memory from kernel space (instead of properly copying back and
> forth via the copy_from/to_user interface), which are badly wrong at any
> rate, even breaking the kernel on SMAP-enabled x86 platforms.
>
> Most I/O calls were affected, ioctl, sendmsg and recvmsg. I'm still in
> the early process of testing the changes gradually, which involves
> running tests for all socket levels (RAW, DGRAM) and protocols (INET,
> PACKET) enabled.

I think that's exactly what I was seeing when running 4.9 Linux +
Xenomai 3 + RTnet on i.MX6.

>
> If you depend on RTnet and want to help with testing, you may want to
> give this branch a try. Any help with reviewing the changes would be
> beneficial to the project too.
>

I shall try and give it a spin this weekend.

Thanks.

A.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai] RTnet fixes - testers needed (Philippe Gerum)
  2017-12-08 11:03 [Xenomai] RTnet fixes - testers needed (Philippe Gerum) Andreas Glatz
@ 2017-12-08 14:16 ` Stéphane Ancelot
  2017-12-08 14:42   ` Philippe Gerum
  0 siblings, 1 reply; 3+ messages in thread
From: Stéphane Ancelot @ 2017-12-08 14:16 UTC (permalink / raw)
  To: xenomai

Hi,

Do you know which release introduced this problem ?

Regards,

S.Ancelot


Le 08/12/2017 à 12:03, Andreas Glatz a écrit :
>> I pushed a pile of RTnet fixes in a WIP branch of the official repo
>> (wip/rtnet-fixes). Most of them address invalid direct references to
>> user memory from kernel space (instead of properly copying back and
>> forth via the copy_from/to_user interface), which are badly wrong at any
>> rate, even breaking the kernel on SMAP-enabled x86 platforms.
>>
>> Most I/O calls were affected, ioctl, sendmsg and recvmsg. I'm still in
>> the early process of testing the changes gradually, which involves
>> running tests for all socket levels (RAW, DGRAM) and protocols (INET,
>> PACKET) enabled.
> I think that's exactly what I was seeing when running 4.9 Linux +
> Xenomai 3 + RTnet on i.MX6.
>
>> If you depend on RTnet and want to help with testing, you may want to
>> give this branch a try. Any help with reviewing the changes would be
>> beneficial to the project too.
>>
> I shall try and give it a spin this weekend.
>
> Thanks.
>
> A.
>
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> https://xenomai.org/mailman/listinfo/xenomai



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai] RTnet fixes - testers needed (Philippe Gerum)
  2017-12-08 14:16 ` Stéphane Ancelot
@ 2017-12-08 14:42   ` Philippe Gerum
  0 siblings, 0 replies; 3+ messages in thread
From: Philippe Gerum @ 2017-12-08 14:42 UTC (permalink / raw)
  To: Stéphane Ancelot, xenomai

On 12/08/2017 03:16 PM, Stéphane Ancelot wrote:
> Hi,
> 
> Do you know which release introduced this problem ?
> 

It never worked.

> Regards,
> 
> S.Ancelot
> 
> 
> Le 08/12/2017 à 12:03, Andreas Glatz a écrit :
>>> I pushed a pile of RTnet fixes in a WIP branch of the official repo
>>> (wip/rtnet-fixes). Most of them address invalid direct references to
>>> user memory from kernel space (instead of properly copying back and
>>> forth via the copy_from/to_user interface), which are badly wrong at any
>>> rate, even breaking the kernel on SMAP-enabled x86 platforms.
>>>
>>> Most I/O calls were affected, ioctl, sendmsg and recvmsg. I'm still in
>>> the early process of testing the changes gradually, which involves
>>> running tests for all socket levels (RAW, DGRAM) and protocols (INET,
>>> PACKET) enabled.
>> I think that's exactly what I was seeing when running 4.9 Linux +
>> Xenomai 3 + RTnet on i.MX6.
>>
>>> If you depend on RTnet and want to help with testing, you may want to
>>> give this branch a try. Any help with reviewing the changes would be
>>> beneficial to the project too.
>>>
>> I shall try and give it a spin this weekend.
>>
>> Thanks.
>>
>> A.
>>
>> _______________________________________________
>> Xenomai mailing list
>> Xenomai@xenomai.org
>> https://xenomai.org/mailman/listinfo/xenomai
> 
> 
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> https://xenomai.org/mailman/listinfo/xenomai


-- 
Philippe.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-08 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-08 11:03 [Xenomai] RTnet fixes - testers needed (Philippe Gerum) Andreas Glatz
2017-12-08 14:16 ` Stéphane Ancelot
2017-12-08 14:42   ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.