Skip to contentSkip to conversation

ipipe-core-4.9.135-x86-7 released

I-PIPE [email protected] 6 participants 22 messages Oct 31, 2018 – Dec 6, 2018

lore
Share & tools
lore
#1 lore raw

This isn't just for x86, this patch includes ppc and arm64 as well. I was wondering why it was so big! Same story on the latest 4.4 patch.

Alec

#2 lore raw
Quoted 1 line · Alec Ari

This isn't just for x86, this patch includes ppc and arm64 as well. I was wondering why it was so big! Same story on the latest 4.4 patch.

Huh! Philippe, did I mess something up?

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
#3 lore raw
Quoted 6 lines · Jan Kiszka
Quoted 2 lines · Alec Ari

This isn't just for x86, this patch includes ppc and arm64 as well. I was wondering why it was so big! Same story on the latest 4.4 patch.

Huh! Philippe, did I mess something up?

This is unlikely on your side, you don't control how the patch generator runs remotely anyway. This does not happen with the ARM architecture, so I did not notice. I'll have a look asap.

Signature · 1 line
Philippe.
#4 lore raw
In reply to Jan Kiszka
Quoted 6 lines · Jan Kiszka
Quoted 2 lines · Alec Ari

This isn't just for x86, this patch includes ppc and arm64 as well. I was wondering why it was so big! Same story on the latest 4.4 patch.

Huh! Philippe, did I mess something up?

ipipe-tags was only meant to receive tags from current single-arch I-pipe trees, not the legacy ipipe.git tree, hence the issue. I need to integrate the legacy patch generator which does the proper per-arch split for pre-4.14 kernel releases.

Signature · 1 line
Philippe.
#5 lore raw

Sounds like a plan, thank you for looking into this! I'm excited! Alec

#6 lore raw
In reply to Philippe Gerum
Quoted 5 lines · Philippe Gerum via Xenomai
Quoted 4 lines · Jan Kiszka
Quoted 2 lines · Alec Ari

This isn't just for x86, this patch includes ppc and arm64 as well. I was wondering why it was so big! Same story on the latest 4.4 patch.

Quoted 8 lines
Quoted 2 lines

Huh! Philippe, did I mess something up?

ipipe-tags was only meant to receive tags from current single-arch I-pipe trees, not the legacy ipipe.git tree, hence the issue. I need to integrate the legacy patch generator which does the proper per-arch split for pre-4.14 kernel releases.

The two botched patches in
https://www.xenomai.org/downloads/ipipe/v4.x/x86/ were moved to the trashed/ subdir. ipipe-core-4.4.162-x86-11 and ipipe-core-4.9.135-x86-7 have been deleted from ipipe-tags, so that you can resubmit if you plan to.

In addition to the patch generation issue, a couple of other things were found in the x86 tree for those releases:

- the revision tag in arch/x86/include/asm/ipipe.h was not updated, therefore did not match the git tag.

- since the patch bot in ipipe-tags relies on genpatches.sh for multi-arch trees, this script should be tested before a new tag is sent to ipipe-tags. Running scripts/ipipe/genpatches.sh is enough.

- 4.9.135 was pushed with a build left-over
(drivers/scsi/scsi_devinfo_tbl.c).

A couple of patches addressing some of these issues will be following soon. The genpatches.sh fixup should be merged into 4.9 and 4.4.

I've fixed and tested the patch bot which now works with the legacy multi-arch tree too. You have all options open: re-issue ipipe-core-4.4.162-x86-11 and ipipe-core-4.9.135-x86-7 to ipipe-tags (ideally after a rev. tag update in ipipe.h), ask me to reinstate the trashed patches and go for a better next release, any other option that makes sense in your view.

Signature · 1 line
Philippe.
#8 lore raw

I have used this patch(ipipe-core-4.9.135-x86-7.patch) for a test usage and I got a machine halt after I run the latency test program of Xenomai.The problem seems caused by  the fpu_restore function. Could you please fix it in the next patch release?

And here is the result of the panic message:

root@linx:/usr/xenomai/bin# ./latency
[   31.196143] Kernel panic - not syncing: Machine halted.
[   31.196143] CPU: 0 PID: 308 Comm: latency Tainted: G W       4.9.135 1
[   31.196143] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.114
[   31.196143] I-pipe domain: Linux
[   31.196143]  0000000000000000 ffffffff813c2f7f ffff88003fc07f00 ffff88003fc08
[   31.196143]  ffffffff81a18aa6 ffffffff811a69a6 ffffffff00000008 ffff88003fc08
[   31.196143]  ffff88003fc07ea0 b2644bdcd9892477 ffff88003fc07d72 0000000080006
[   31.196143] Call Trace:
[   31.196143]  <#DF> [   31.196143] [<ffffffff813c2f7f>] ? dump_stack+0xb5/0x6
[   31.196143]  [<ffffffff811a69a6>] ? panic+0xf4/0x24d
[   31.196143]  [<ffffffff81048959>] ? df_debug+0x29/0x30
[   31.196143]  [<ffffffff810180cc>] ? do_double_fault+0xfc/0x1c0
[   31.196143]  [<ffffffff816cd492>] ? double_fault+0x22/0x30
[   31.196143]  [<ffffffff816cd429>] ? device_not_available+0x9/0x50
[   31.196143]  <EOE> [   31.196143] [<ffffffff810220af>] ? fpu__restore+0x7f/0
[   31.196143]  [<ffffffff81022059>] ? fpu__restore+0x29/0x2a0
[   31.196143]  [<ffffffff81017610>] ? do_device_not_available+0x70/0xb0
[   31.196143]  [<ffffffff816cd438>] ? device_not_available+0x18/0x50
[   31.196143]  [<ffffffff810220af>] ? fpu__restore+0x7f/0x2a0
[   31.196143]  [<ffffffff81022059>] ? fpu__restore+0x29/0x2a0
[   31.196143]  [<ffffffff81017610>] ? do_device_not_available+0x70/0xb0
[   31.196143]  [<ffffffff816cd438>] ? device_not_available+0x18/0x50
[   31.196143]  [<ffffffff810220af>] ? fpu__restore+0x7f/0x2a0
[   31.196143]  [<ffffffff81022059>] ? fpu__restore+0x29/0x2a0
[   31.196143]  [<ffffffff81017610>] ? do_device_not_available+0x70/0xb0
[   31.196143]  [<ffffffff816cd438>] ? device_not_available+0x18/0x50
[   31.196143]  [<ffffffff810220af>] ? fpu__restore+0x7f/0x2a0
[   31.196143]  [<ffffffff81022059>] ? fpu__restore+0x29/0x2a0

... a bunch of the same repeated fpu_restore call trace message

and the panic message just repeated again:

[   31.196143] Kernel Offset: disabled
[   31.196143] ------------[ cut here ]------------
[   31.196143] WARNING: CPU: 0 PID: 308 at ./arch/x86/include/asm/fpu/internal.0 [   31.196143] Modules linked in: bochs_drm ttm drm_kms_helper kvm_amd kvm drm 4 [   31.196143] CPU: 0 PID: 308 Comm: latency Not tainted 4.9.135 #1 [   31.196143] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.114 [   31.196143] I-pipe domain: Linux
[   31.196143]  0000000000000000 ffffffff813c2f7f 0000000000000000 0000000000000 [   31.196143]  ffffffff81a08640 ffffffff8106a01e ffff88003b782b40 0000000000002 [   31.196143]  0000000000000046 00007ffd089a3730 00007fcadaf0bcc0 00007fcadaf00 [   31.196143] Call Trace:
[   31.196143]  [<ffffffff813c2f7f>] ? dump_stack+0xb5/0xd6
[   31.196143]  [<ffffffff8106a01e>] ? __warn+0xbe/0xe0
[   31.196143]  [<ffffffff810221f7>] ? fpu__restore+0x1c7/0x2a0
[   31.196143]  [<ffffffff81017610>] ? do_device_not_available+0x70/0xb0 [   31.196143]  [<ffffffff816cd438>] ? device_not_available+0x18/0x50 [   31.196143] ---[ end trace d4d67159519af321 ]---
[   31.196143] ------------[ cut here ]------------
[   31.196143] WARNING: CPU: 0 PID: 308 at ./arch/x86/include/asm/fpu/internal.0 [   31.196143] Modules linked in: bochs_drm ttm drm_kms_helper kvm_amd kvm drm 4 [   31.196143] CPU: 0 PID: 308 Comm: latency Tainted: G W       4.9.135 1 [   31.196143] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.114 [   31.196143] I-pipe domain: Linux
[   31.196143]  0000000000000000 ffffffff813c2f7f 0000000000000000 0000000000000 [   31.196143]  ffffffff81a08640 ffffffff8106a01e ffff88003b782b40 0000000000006 [   31.196143]  0000000000000046 00007ffd089a3730 00007fcadaf0bcc0 00007fcadaf00 [   31.196143] Call Trace:
[   31.196143]  [<ffffffff813c2f7f>] ? dump_stack+0xb5/0xd6
[   31.196143]  [<ffffffff8106a01e>] ? __warn+0xbe/0xe0
[   31.196143]  [<ffffffff81022266>] ? fpu__restore+0x236/0x2a0
[   31.196143]  [<ffffffff81017610>] ? do_device_not_available+0x70/0xb0 [   31.196143]  [<ffffffff816cd438>] ? device_not_available+0x18/0x50 [   31.196143]  [<ffffffff810220af>] ? fpu__restore+0x7f/0x2a0
[   31.196143]  [<ffffffff810221f7>] ? fpu__restore+0x1c7/0x2a0
[   31.196143]  [<ffffffff81017610>] ? do_device_not_available+0x70/0xb0 [   31.196143]  [<ffffffff816cd438>] ? device_not_available+0x18/0x50 [   31.196143] ---[ end trace d4d67159519af322 ]---
[   31.196143] PANIC: double fault, error_code: 0x0
[   31.196143] CPU: 0 PID: 308 Comm: latency Tainted: G W       4.9.135 1 [   31.196143] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.114 [   31.196143] I-pipe domain: Linux
[   31.196143] task: ffff88003b782000 task.stack: ffffc90000914000 [   31.196143] RIP: 0010:[<ffffffff816cd429>] [<ffffffff816cd429>] device_not_0 [   31.196143] RSP: 0000:ffffc90000913f98  EFLAGS: 00000083
[   31.196143] RAX: 0000000000000000 RBX: ffff88003b782b40 RCX: 0000000000000046 [   31.196143] RDX: 00000000ffffffff RSI: 0000000000000000 RDI: ffff88003b782b80 [   31.196143] RBP: 0000000000000046 R08: 0000000000000046 R09: 000000000000000f [   31.196143] R10: 00007ffd089a36fc R11: ffffffff81f4689f R12: 0000000000000046 [   31.196143] R13: 00007ffd089a3730 R14: 00007fcadaf0bcc0 R15: 00007fcadaf0bcc0 [   31.196143] FS:  00007fcadb123740(0000) GS:ffff88003fc00000(0000) knlGS:00000 [   31.196143] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   31.196143] CR2: 00007fcada0dbc70 CR3: 000000003cef3000 CR4: 00000000000006f0 [   31.196143] Stack:
[   31.196143] Call Trace:
[   31.196143]  [<ffffffff810220af>] ? fpu__restore+0x7f/0x2a0
[   31.196143]  [<ffffffff81022059>] ? fpu__restore+0x29/0x2a0
[   31.196143]  [<ffffffff81017610>] ? do_device_not_available+0x70/0xb0 [   31.196143]  [<ffffffff816cd438>] ? device_not_available+0x18/0x50 [   31.196143]  [<ffffffff810220af>] ? fpu__restore+0x7f/0x2a0
[   31.196143]  [<ffffffff81022059>] ? fpu__restore+0x29/0x2a0
[   31.196143]  [<ffffffff81017610>] ? do_device_not_available+0x70/0xb0 [   31.196143]  [<ffffffff816cd438>] ? device_not_available+0x18/0x50 [   31.196143]  [<ffffffff810220af>] ? fpu__restore+0x7f/0x2a0
[   31.196143]  [<ffffffff81022059>] ? fpu__restore+0x29/0x2a0

... a other bunch of the same repeated fpu_restore call trace message

and last ended with those lines:

[   31.196143]  [<ffffffff81017610>] ? do_device_not_available+0x70/0xb0 [   31.196143]  [<ffffffff816cd438>] ? device_not_available+0x18/0x50 [   31.196143] Code: 64 24 18 48 8b 6c 24 20 48 8b 5c 24 28 fa 85 c0 0f 85 08 f [   31.196143] ---[ end Kernel panic - not syncing: Machine halted.

Quoted 4 lines · Alec Ari via Xenomai

Hey Philippe, thank you!

Alec

Signature · 2 lines
Linx Software Co. Ltd. Sichuan Branch
E-mail: [email protected]
#9 lore raw
Quoted 1 line · limingyu via Xenomai

I have used this patch(ipipe-core-4.9.135-x86-7.patch) for a test usage and I got a machine halt after I run the latency test program of Xenomai.The problem seems caused by  the fpu_restore function. Could you please fix it in the next patch release?

Did you also update Xenomai to the latest stable or master branch state? That is required on x86.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
#10 lore raw

It seem to forget port the arch/x86/include/asm/fpu/internal.h in the ipipe-core-4.9.135-x86-7.patch

Quoted 7 lines · Jan Kiszka via Xenomai
Quoted 1 line · limingyu via Xenomai

I have used this patch(ipipe-core-4.9.135-x86-7.patch) for a test usage and I got a machine halt after I run the latency test program of Xenomai.The problem seems caused by  the fpu_restore function. Could you please fix it in the next patch release?

Did you also update Xenomai to the latest stable or master branch state? That is required on x86.

Jan

Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
#11 lore raw
Quoted 2 lines · duanwujie

It seem to forget port the arch/x86/include/asm/fpu/internal.h in the ipipe-core-4.9.135-x86-7.patch

You mean that file is missing in the generated patch?

Jan

Quoted 15 lines · Jan Kiszka via Xenomai
Quoted 7 lines · limingyu via Xenomai
Quoted 1 line

I have used this patch(ipipe-core-4.9.135-x86-7.patch) for a test usage and I got a machine halt after I run the latency test program of Xenomai.The problem seems caused by  the fpu_restore function. Could you please fix it in the next patch release?

Did you also update Xenomai to the latest stable or master branch state? That is required on x86.

Jan

Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
#12 lore raw

I am not so sure, bellow code exist in ipipe-core-4.9.51-x86-2.patch but ipipe-core-4.9.135-x86-7.patch didn't。

arch/x86/include/asm/fpu/internal.h:

#ifdef CONFIG_IPIPE
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return fpu->active_state;
}
#else
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return &fpu->state;
}
#endif

Quoted 24 lines · Jan Kiszka
Quoted 2 lines · duanwujie

It seem to forget port the arch/x86/include/asm/fpu/internal.h in the ipipe-core-4.9.135-x86-7.patch

You mean that file is missing in the generated patch?

Jan

Quoted 15 lines · Jan Kiszka via Xenomai
Quoted 7 lines · limingyu via Xenomai
Quoted 1 line

I have used this patch(ipipe-core-4.9.135-x86-7.patch) for a test usage and I got a machine halt after I run the latency test program of Xenomai.The problem seems caused by  the fpu_restore function. Could you please fix it in the next patch release?

Did you also update Xenomai to the latest stable or master branch state? That is required on x86.

Jan

Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
#13 lore raw
Quoted 4 lines · duanwujie

I am not so sure, bellow code exist in ipipe-core-4.9.51-x86-2.patch but ipipe-core-4.9.135-x86-7.patch didn't。

arch/x86/include/asm/fpu/internal.h:

Quoted 11 lines

#ifdef CONFIG_IPIPE
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return fpu->active_state;
}
#else
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return &fpu->state;
}
#endif

That's because of https://gitlab.denx.de/Xenomai/ipipe/commit/6152df8928a5a8c3cbba81490109e041a2ca95fd and is correct.

Again: Did you update Xenomai?

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
#14 lore raw

We use the xenomai 3.0.7 stable version. Is okay for this ?

Quoted 23 lines · Jan Kiszka
Quoted 4 lines · duanwujie

I am not so sure, bellow code exist in ipipe-core-4.9.51-x86-2.patch but ipipe-core-4.9.135-x86-7.patch didn't。

arch/x86/include/asm/fpu/internal.h:

Quoted 11 lines

#ifdef CONFIG_IPIPE
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return fpu->active_state;
}
#else
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return &fpu->state;
}
#endif

That's because of https://gitlab.denx.de/Xenomai/ipipe/commit/6152df8928a5a8c3cbba81490109e041a2ca95fd and is correct.

Again: Did you update Xenomai?

Jan

Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
#15 lore raw
Quoted 2 lines · duanwujie

We use the xenomai 3.0.7 stable version. Is okay for this ?

No, as I said. You need the latest stable/3.0.x branch because you need adjustments to the FPU changes.

Jan

Quoted 30 lines · Jan Kiszka
Quoted 23 lines · duanwujie
Quoted 4 lines

I am not so sure, bellow code exist in ipipe-core-4.9.51-x86-2.patch but ipipe-core-4.9.135-x86-7.patch didn't。

arch/x86/include/asm/fpu/internal.h:

Quoted 11 lines

#ifdef CONFIG_IPIPE
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return fpu->active_state;
}
#else
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return &fpu->state;
}
#endif

That's because of https://gitlab.denx.de/Xenomai/ipipe/commit/6152df8928a5a8c3cbba81490109e041a2ca95fd and is correct.

Again: Did you update Xenomai?

Jan

Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
#16 lore raw

Okay we will try and do other's test!   thank you!

Quoted 40 lines · Jan Kiszka
Quoted 2 lines · duanwujie

We use the xenomai 3.0.7 stable version. Is okay for this ?

No, as I said. You need the latest stable/3.0.x branch because you need adjustments to the FPU changes.

Jan

Quoted 30 lines · Jan Kiszka
Quoted 23 lines · duanwujie
Quoted 4 lines

I am not so sure, bellow code exist in ipipe-core-4.9.51-x86-2.patch but ipipe-core-4.9.135-x86-7.patch didn't。

arch/x86/include/asm/fpu/internal.h:

Quoted 11 lines

#ifdef CONFIG_IPIPE
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return fpu->active_state;
}
#else
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return &fpu->state;
}
#endif

That's because of https://gitlab.denx.de/Xenomai/ipipe/commit/6152df8928a5a8c3cbba81490109e041a2ca95fd and is correct.

Again: Did you update Xenomai?

Jan

Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
#17 lore raw
Quoted 2 lines · duanwujie

Okay we will try and do other's test!   thank you!

Could you do me a favor and check if your patched kernel tree (without Xenomai preparation) is identical to the corresponding git tree on gitlab.denx.de?

If so, we would then need your kernel config and executed steps on the target in order to try reproducing locally.

TIA,
Jan

Quoted 48 lines · Jan Kiszka
Quoted 40 lines · duanwujie
Quoted 2 lines

We use the xenomai 3.0.7 stable version. Is okay for this ?

No, as I said. You need the latest stable/3.0.x branch because you need adjustments to the FPU changes.

Jan

Quoted 30 lines · Jan Kiszka
Quoted 23 lines · duanwujie
Quoted 4 lines

I am not so sure, bellow code exist in ipipe-core-4.9.51-x86-2.patch but ipipe-core-4.9.135-x86-7.patch didn't。

arch/x86/include/asm/fpu/internal.h:

Quoted 11 lines

#ifdef CONFIG_IPIPE
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return fpu->active_state;
}
#else
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return &fpu->state;
}
#endif

That's because of https://gitlab.denx.de/Xenomai/ipipe/commit/6152df8928a5a8c3cbba81490109e041a2ca95fd and is correct.

Again: Did you update Xenomai?

Jan

Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
#18 lore raw

Sorry, Jan, I have rechecked the patched kernel tree and found that I forgot to patch the Xenomai(stable/v3.0.x branch) to the kernel source, that's just the reason why I meet the problem. I repatched the kernel and everything works fine now. Thanks for your warm heart help and apologize for my unprofessional behavior.

Quoted 60 lines · Jan Kiszka via Xenomai
Quoted 2 lines · duanwujie

Okay we will try and do other's test! thank you!

Could you do me a favor and check if your patched kernel tree (without Xenomai preparation) is identical to the corresponding git tree on gitlab.denx.de?

If so, we would then need your kernel config and executed steps on the target in order to try reproducing locally.

TIA,
Jan

Quoted 48 lines · Jan Kiszka
Quoted 40 lines · duanwujie
Quoted 2 lines

We use the xenomai 3.0.7 stable version. Is okay for this ?

No, as I said. You need the latest stable/3.0.x branch because you need adjustments to the FPU changes.

Jan

Quoted 30 lines · Jan Kiszka
Quoted 23 lines · duanwujie
Quoted 4 lines

I am not so sure, bellow code exist in ipipe-core-4.9.51-x86-2.patch but ipipe-core-4.9.135-x86-7.patch didn't。

arch/x86/include/asm/fpu/internal.h:

Quoted 11 lines

#ifdef CONFIG_IPIPE
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return fpu->active_state;
}
#else
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return &fpu->state;
}
#endif

That's because of https://gitlab.denx.de/Xenomai/ipipe/commit/6152df8928a5a8c3cbba81490109e041a2ca95fd and is correct.

Again: Did you update Xenomai?

Jan

Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
Signature · 2 lines
Linx Software Co. Ltd. Sichuan Branch
E-mail: [email protected]
#19 lore raw
Quoted 2 lines · limingyu via Xenomai

Sorry, Jan, I have rechecked the patched kernel tree and found that I forgot to patch the Xenomai(stable/v3.0.x branch) to the kernel source, that's just the reason why I meet the problem. I repatched the kernel and everything works fine now. Thanks for your warm heart help and apologize for my unprofessional behavior.

Oh, don't worry, such things happen to me as well.

Thanks for the clarification!

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
#20 lore raw
In reply to Jan Kiszka

We test the  ipipe-core-4.9.135-x86-7  with the latest branch stable/v3.0.x but the same error occur !

Quoted 40 lines · Jan Kiszka
Quoted 2 lines · duanwujie

We use the xenomai 3.0.7 stable version. Is okay for this ?

No, as I said. You need the latest stable/3.0.x branch because you need adjustments to the FPU changes.

Jan

Quoted 30 lines · Jan Kiszka
Quoted 23 lines · duanwujie
Quoted 4 lines

I am not so sure, bellow code exist in ipipe-core-4.9.51-x86-2.patch but ipipe-core-4.9.135-x86-7.patch didn't。

arch/x86/include/asm/fpu/internal.h:

Quoted 11 lines

#ifdef CONFIG_IPIPE
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return fpu->active_state;
}
#else
static inline union fpregs_state *active_fpstate(struct fpu *fpu) {
return &fpu->state;
}
#endif

That's because of https://gitlab.denx.de/Xenomai/ipipe/commit/6152df8928a5a8c3cbba81490109e041a2ca95fd and is correct.

Again: Did you update Xenomai?

Jan

Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
#21 lore raw
In reply to Philippe Gerum
Quoted 36 lines · Philippe Gerum
Quoted 5 lines · Philippe Gerum via Xenomai
Quoted 4 lines · Jan Kiszka
Quoted 2 lines · Alec Ari

This isn't just for x86, this patch includes ppc and arm64 as well. I was wondering why it was so big! Same story on the latest 4.4 patch.

Quoted 8 lines
Quoted 2 lines

Huh! Philippe, did I mess something up?

ipipe-tags was only meant to receive tags from current single-arch I-pipe trees, not the legacy ipipe.git tree, hence the issue. I need to integrate the legacy patch generator which does the proper per-arch split for pre-4.14 kernel releases.

The two botched patches in
https://www.xenomai.org/downloads/ipipe/v4.x/x86/ were moved to the trashed/ subdir. ipipe-core-4.4.162-x86-11 and ipipe-core-4.9.135-x86-7 have been deleted from ipipe-tags, so that you can resubmit if you plan to.

In addition to the patch generation issue, a couple of other things were found in the x86 tree for those releases:

- the revision tag in arch/x86/include/asm/ipipe.h was not updated, therefore did not match the git tag.

- since the patch bot in ipipe-tags relies on genpatches.sh for multi-arch trees, this script should be tested before a new tag is sent to ipipe-tags. Running scripts/ipipe/genpatches.sh is enough.

- 4.9.135 was pushed with a build left-over
(drivers/scsi/scsi_devinfo_tbl.c).

A couple of patches addressing some of these issues will be following soon. The genpatches.sh fixup should be merged into 4.9 and 4.4.

Quoted 7 lines

I've fixed and tested the patch bot which now works with the legacy multi-arch tree too. You have all options open: re-issue ipipe-core-4.4.162-x86-11 and ipipe-core-4.9.135-x86-7 to ipipe-tags (ideally after a rev. tag update in ipipe.h), ask me to reinstate the trashed patches and go for a better next release, any other option that makes sense in your view.

As my releases needed additional commits, I will add them first and then do IPIPE_CORE_RELEASE++.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux