Re: [cip-dev] BUG: using smp_processor_id() in preemptible [00000000] code: TCPTSK/1809

Pavel Machek
2021-06-11T22:34:19Z

[-- Attachment #1.1: Type: text/plain, Size: 979 bytes --]

Hi!

> > I notice you are using -rt kernel. Do you actually need realtime
> > features?
>
> Yes, I actually need the realtime feature. I have one task which
> needs to run periodically in realtime (triggered every 10ms by an
> external IRQ).

How fast response do you need to the external IRQ?

> > Can you try to reproduce the problem on 4.19.193?
>
> This is only a problem with the realtime patch. The patch
> introduces migrate_enable which is part of the callstack:
>
> Jun 1 09:11:46 sicam kernel: [46802.944165] BUG: using smp_processor_id() in preemptible [00000000] code: TCPTSK/1809
> Jun 1 09:11:46 sicam kernel: [46802.944210] caller is
> migrate_enable+0x40/0x488

Fun :-(. As Jan mentioned, testing if it can be reproduced with
4.19.193-rt81 would be useful.

Best regards,
Pavel

--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 428 bytes --]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6506): https://lists.cip-project.org/g/cip-dev/message/6506