All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Wael BACHTA <wael@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] kernel panic
Date: Fri, 06 Oct 2006 19:17:50 +0200	[thread overview]
Message-ID: <45268FBE.9050607@domain.hid> (raw)
In-Reply-To: <47746.127.0.0.1.1160160976.squirrel@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1850 bytes --]

Wael BACHTA wrote:
> Hi,
> 
> I use an Intel Pentium 4 processor which can be used as 2 virtual
> processors when setting the SMP option during the kernel compiling (I can
> see 2 processors with "cat /proc/cpuinfo").

Hyperthreading? No good idea for RT if you are after low latencies. This
virtualisation of a second CPU is incomplete and can cause congestions
so that you stall on low-prio work at arbitrary points in your code. I
would suggest to measure the effect to be sure if it is acceptable
(latency test under high non-RT load like kernel builds, with SMP vs. !SMP).

> 
> I patched the kernel with adeos in order to install xenomai. I discovered
> that :
> - when completely disabling the ACPI and setting the SMP, my system boots
> but I have only one processor when I look into /proc/cpuinfo
> - Everything goes well when I don't disable completely the ACPI.
> 
> I also use a PCI framegrabber. its driver is a real time one developed

[If it is for common hardware, publishing it would be nice. I guess that
there are others interested in such support.]

> under xenomai. I noticed that this driver works fine only if the PCI_MSI
> is set. Otherwise, I don't have any interrupts.
> 
> I must use my real time driver and the 2 virtual processors.
> But, when I enable the ACPI, the SMP and the PCI_MSI, I have a kernel
> panic. My PC boots when I disable the ACPI but I loose 1 processor.

What about ACPI on (/wo ACPI_PROCESSOR) and SMP off?

> 
> I don't see what's wrong.

Likely Adeos/I-pipe, as the amount of MSI-related bug reports also
indicates. Maybe this workaround already helps you:

https://mail.gna.org/public/adeos-main/2006-09/msg00032.html

If not, try to catch the oops (e.g. via serial or netconsole) for
further debugging. In any case, please post your findings.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2006-10-06 17:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-06 18:56 [Xenomai-core] kernel panic Wael BACHTA
2006-10-06 17:17 ` Jan Kiszka [this message]
2006-10-15 20:07 ` Philippe Gerum
2006-10-19 16:48   ` Wael BACHTA
2006-10-19 16:26     ` Philippe Gerum
2006-10-19 19:29       ` Wael BACHTA

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=45268FBE.9050607@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=wael@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.