From: Jan Kiszka <jan.kiszka@domain.hid>
To: Petr Cervenka <grugh@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] xenomai 2.4.10 - invalid opcode: 0000
Date: Thu, 10 Dec 2009 13:00:23 +0100 [thread overview]
Message-ID: <4B20E2D7.8060103@domain.hid> (raw)
In-Reply-To: <1260439679.561436.26932.nullmailer@domain.hid>
Petr Cervenka wrote:
>
> Jan Kiszka wrote:
>> Petr Cervenka wrote:
>>> Jan Kiszka wrote:
>>>> Petr Cervenka wrote:
>>>>> Hello,
>>>>> I tried to upgrade linux kernel and xenomai and now I have problems
>>>>> with
>>>>> freezing computer because of "invalid opcode: 0000".
>>>>> It happens without any real-time app. running. Most often when I run X
>>>>> with KDE and netbeans (almost 100% probability), but it can freeze
>>>>> also
>>>>> during the boot.
>>>>> It perhaps depends on system load (CPU, disk, IO, ...?).
>>>>>
>>>>> My configuration:
>>>>> SW:
>>>>> linux kernel 2.6.30.9, arch: x86_64
>>>>> xenomai-2.4.10, smp
>>>>>
>>>>> also:
>>>>> rtnet-0.9.11 - no driver loaded
>>>>> peak-linux-driver-6.11 - no device connected
>>>>>
>>>>> HW:
>>>>> CPU: Intel Core2Duo E7400
>>>>> chipset: Intel 3210
>>>>> system partition is on CF (compact flash) mounted in CF-SATA
>>>>> converter.
>>>>>
>>>>> Do you have any advices or tips? Thanks in advice.
>>>>> I can provide you by any needed information (.config of linux kernel,
>>>>> full systemlog, ...), just ask me.
>>>> Yes, please. I assume your system is otherwise stable (without
>>>> Xenomai/I-pipe enabled).
>>>>
>>>> It would also be nice if you could retry over 2.6.31.x with latest
>>>> ipipe
>>>> patch. And try to switch on CONFIG_IPIPE_DEBUG_TRACE_MCOUNT. That may
>>>> give a function back-trace on oops, maybe providing more pointers where
>>>> we come from (but it may also make the issue disappear).
>>>>
>>>> Jan
>>>>
>>>
>>> 1) When I disable Xenomai and I-pipe, the system is more or less
>>> stable. At least I was not able to produce the error (any error).
>>> I also ran memtest during the night without any error.
>>>
>>> 2) It is repeatable also in 2.6.31.7. with
>>> adeos-ipipe-2.6.31.1-x86-2.4-08.patch
>>>
>>> 3) Switching CONFIG_IPIPE_DEBUG_TRACE_MCOUNT on doesn't make the
>>> error to dissapear. So maybe the catched logs could provide you more
>>> info.
>>
>> Not yet. Is CONFIG_IPIPE_DEBUG_TRACE_ENABLE on? Also
>> CONFIG_FRAME_POINTER should be on. And please provide your .config for
>> reference.
>
> Oh, my fault. I overlooked the meaning of that switch. In attached file
> _syslog3.txt are 3 freezes with manually enabled tracing (by echo 1 >
> /proc/ipipe/trace/enable) and in _syslog4.txt are 3 freezes with
> CONFIG_IPIPE_DEBUG_TRACE_ENABLE switched on, usually frozen during boot.
> The freezes are repeatable also on some other machine (Athlon X2 64 ?),
> but there it is little bit more stable.
>
>>
>>>
>>> I realized that the error could be different, but there is almost
>>> every time "__ipipe_handle_irq" call in the call stack
>>>
>>> Also a very strange thing happened: When I tried to build "stable"
>>> kernel with disabled Xenomai and I-pipe, I was booted in the
>>> "unstable" kernel. It corrupted the .config file in some time between
>>> "make xconfig" and freeze during building. When I checked the .config
>>> file next time (because it failed to continue the compile) big part
>>> from the beginning was missing and some other binary data were
>>> appended to the end.
>>
>> I don't get this yet: It happens when you build/install a kernel while
>> running an i-pipe enabled kernel?
>>
> Yes, it happened when I tried to build new kernel while I was running
> I-pipe enabled kernel. But I got another error of this type:
> I backuped (I mean copied) some file (/boot/config-..) and the backup
> copy had totally different (some half binary data) content. The date and
> size were the same as the original. I realized that after couple of
> reboots when I tried to compare some other config file with the backup
> copy.
Reproducible with your .config under kvm, will investigate later.
Thanks,
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2009-12-10 12:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-08 14:14 [Xenomai-help] xenomai 2.4.10 - invalid opcode: 0000 Petr Cervenka
2009-12-08 15:04 ` Jan Kiszka
2009-12-09 14:50 ` Petr Cervenka
2009-12-09 18:28 ` Jan Kiszka
2009-12-10 10:07 ` Petr Cervenka
2009-12-10 12:00 ` Jan Kiszka [this message]
2009-12-12 22:45 ` Jan Kiszka
2009-12-15 17:34 ` Jan Kiszka
2009-12-17 8:28 ` Petr Cervenka
2009-12-09 15:08 ` Petr Cervenka
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=4B20E2D7.8060103@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=grugh@domain.hid \
--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.