From: Per Oberg <pero@wolfram.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] Question about kernel warning (Yocto/meta-linux + xenomai homebrew)
Date: Fri, 17 Aug 2018 06:06:19 -0500 (CDT) [thread overview]
Message-ID: <2057360471.14584235.1534503979924.JavaMail.zimbra@wolfram.com> (raw)
In-Reply-To: <cdc86bc5-642a-b34f-2e60-68e243103165@siemens.com>
> On 2018-08-17 10:57, Per Oberg wrote:
> > Hi there
> > could someone please help me understand what this warning is:
> > [ 2932.508097] ------------[ cut here ]------------
>> [ 2932.514724] WARNING: CPU: 0 PID: 20645 at
> > /usr/src/kernel/arch/x86/include/asm/fpu/internal.h:538 fpu__drop+0x19e/0x200
> > [ 2932.529155] Modules linked in:
> > [ 2932.533513] CPU: 0 PID: 20645 Comm: cat Not tainted 4.9.90-xeno-cobolt #1
>> [ 2932.542067] Hardware name: Hewlett-Packard HP Z620 Workstation/158A, BIOS J61
> > v03.65 12/19/2013
> > [ 2932.552955] I-pipe domain: Linux
>> [ 2932.557675] ffffc90007f37dc8 ffffffff8143da78 0000000000000000
> > 0000000000000000
>> [ 2932.566582] ffffffff81ba4cc0 ffffc90007f37e08 ffffffff810785c1
> > 0000021a00000000
>> [ 2932.576484] 0000000000025dc0 ffff88041a1d5780 0000000000000246
> > 0000000000000000
> > [ 2932.585818] Call Trace:
> > [ 2932.590167] [<ffffffff8143da78>] dump_stack+0xbf/0xe7
> > [ 2932.593148] [<ffffffff810785c1>] __warn+0xe1/0x100
> > [ 2932.595426] [<ffffffff810786ad>] warn_slowpath_null+0x1d/0x20
> > [ 2932.597715] [<ffffffff8102754e>] fpu__drop+0x19e/0x200
> > [ 2932.600849] [<ffffffff81025a15>] exit_thread+0xa5/0xc0
> > [ 2932.603976] [<ffffffff8107bd7d>] do_exit+0x2bd/0xb40
> > [ 2932.606097] [<ffffffff81045605>] ? __do_page_fault+0x285/0x550
> > [ 2932.608534] [<ffffffff8107c683>] do_group_exit+0x43/0xb0
> > [ 2932.610757] [<ffffffff8107c704>] SyS_exit_group+0x14/0x20
> > [ 2932.613920] [<ffffffff81001c92>] do_syscall_64+0x82/0xf0
> > [ 2932.617071] [<ffffffff8190903e>] entry_SYSCALL_64_after_swapgs+0x58/0xc6
> > [ 2932.620705] ---[ end trace 8ef0d875e55c5ad1 ]---
> > At the time of running I was doing
> >> dohell 5&
> > followed by
> >> latency
> > Long story:
> > Xenomai version is 3.0.7,
> > Kernel is 4.9.90-ish
>> The kernel is a x86-64 yocto/meta-intel kernel patched with xenomai patches.
>> Unfortunately they didn't have their branch merged at Linux 4.9.90 so I had to
>> merge their mainline-linux branch into their project-branch myself, but there
>> were no changes from their part compared to their previous "release-tag" and
>> the merge was mostly ok except for some macros in intel hardware detection code
> > for different sound chips.
>> Also, patching the xenomai-patches (4.9.90-x86-6 something..) went ok, (except
> > for som stupid whitespace-stuff in a mmu-function).
>> I will try with another kernel but I was having some troubles with module
> > configuration since the default does not write any modules to the flash.
> I would indeed be helpful if you can reproduce the issue with the
> ipipe-4.9 kernel we provide. The yocto-linux kernel is unfortunately not
> in a good shape /wrt will-never-go-upstream patches (like yocto is in
> general), though those patches should not touch core infrastructure
> (AFAIK). What is the added-value of that kernel you would need?
> Jan
> --
> Siemens AG, Corporate Technology, CT RDA IOT SES-DE
> Corporate Competence Center Embedded Linux
I have been running xenomai-kernel patched from mainline for a few hours now and it does
not have the issue as it seems. The problem seemed to trigger quite easily before so
I'm almost confident it's gone.
About added value I've never delved deep enough into the world of mainline linux vs distribution
specific kernels to have an informed opinion. For my first attempts I ran into a few kernel panics because
of missing drivers and I figured that the meta-intel and yocto defaults would give a better starting point.
Now that I have a working configuration I am considering dropping their kernel in favor of a clean one.
Thanks
Per Öberg
next prev parent reply other threads:[~2018-08-17 11:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-17 8:57 [Xenomai] Question about kernel warning (Yocto/meta-linux + xenomai homebrew) Per Oberg
2018-08-17 9:46 ` Jan Kiszka
2018-08-17 11:06 ` Per Oberg [this message]
2018-08-17 11:13 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2057360471.14584235.1534503979924.JavaMail.zimbra@wolfram.com \
--to=pero@wolfram.com \
--cc=jan.kiszka@siemens.com \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.