All of lore.kernel.org
 help / color / mirror / Atom feed
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: Wed, 09 Dec 2009 19:28:51 +0100	[thread overview]
Message-ID: <4B1FEC63.9070100@domain.hid> (raw)
In-Reply-To: <1260370202.738468.27358.nullmailer@domain.hid>

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.

> 
> 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?

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux


  reply	other threads:[~2009-12-09 18:28 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 [this message]
2009-12-10 10:07       ` Petr Cervenka
2009-12-10 12:00         ` Jan Kiszka
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=4B1FEC63.9070100@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.