From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Nape Ibrahim Lentsoane <nape.lentsoane@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] IRQ conflict issues with and ESD PMC card.
Date: Fri, 02 Jul 2010 12:16:33 +0200 [thread overview]
Message-ID: <4C2DBC81.705@domain.hid> (raw)
In-Reply-To: <AANLkTindg9Ctqhka7m_XsAirqOHThuEGbIHCNkKw_P15@domain.hid>
Nape Ibrahim Lentsoane wrote:
>
>
> On Wed, Jun 30, 2010 at 11:23 PM, Gilles Chanteperdrix
> <gilles.chanteperdrix@xenomai.org
> <mailto:gilles.chanteperdrix@xenomai.org>> wrote:
>
> Nape Ibrahim Lentsoane wrote:
> > Okay, we updated the BIOS with a custom made version from
> Advantech. At
> > least we are able too boot now but
> > now my usb mouse/port does not work. By the way I'm running on an
> > industrial SBC from Advantech model MIC-3390.
> > The contents of /proc/interrupts and /proc/xenomai/irq are in
> > "pro_interrupts.txt" and "xenomai_irq_2.txt" respectively
> > as attached.
> >
> > Something strange which I do not understand is that ran the '#
> lsmod | grep
> > xeno_can' and look at the results in the
> > attached file "lsmod_grep_xeno_can.txt". What is puzzling is that I
> > configured the Xenomai CAN stuff to load as modules
> > but here they are automatically loaded, how's that?
> >
> > I'll try to enable the APIC and local APIC and see what happens.
>
> Ok. Now we can see things more clearly. First: the APIC is already
> enabled in your kernel configuration, and seems not to be used, the ACPI
> is broken, I do not know if this is the problem, but it seems your APIC
> is not used. This is bad news. If that is possible, you should try and
> use a BIOS with ACPI. I mean, come on, this has been the standard for
> over 10 years now. See:
> http://en.wikipedia.org/wiki/ACPI
>
> Second, your kernel is not really well configured:
> - you have enabled multi-processor support whereas you have a single
> CPU, disable it
> - you probably use the generic IDE driver, whereas you should use the
> one for the hardware you really have, use lspci to find out what the
> hardware you use is.
> - you enabled Xenomai SMI workaround, at this stage, this is a bad idea,
> you should follow the guidelines in the "TROUBLESHOOTING" guide in order
> to enable it. But this is too early, please keep it disabled for now.
>
> And now, the really bad news: you have the IRQ shared between Xenomai
> driver and Linux driver issue. IRQ 12 is used both by the Xenomai CAN
> driver and by the Linux USB controller. This is probably the reason why
> the USB is not working. See the FAQ for suggestions on how you may solve
> this issue.
>
> Okay, I can work without the USB for now but I don't understand
> something here.
> We have have similar other SBCs with Arcnet cards installed and running
> RTNet and
> some RTAI and they seem work well even if an IRQ is shared between RT
> and non-RT.
> For an example our real time Arcnet driver is sharing an IRQ with the
> SMBus and there no issues there.
> Just out of curiosity, why is this an problem with Xenomai?
It is as much a problem with RTAI as with Xenomai. You probably have no
issues with RTAI because you only use the real-time or non real-time
driver, or you have high IRQ latencies due to the masking until the
non-RT driver handles the interrupt. In other words, you may have issues
but do not see them.
--
Gilles.
next prev parent reply other threads:[~2010-07-02 10:16 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-28 11:49 [Xenomai-help] IRQ conflict issues with and ESD PMC card Nape Ibrahim Lentsoane
2010-06-28 12:18 ` Gilles Chanteperdrix
2010-06-28 13:13 ` Stefan Kisdaroczi
2010-06-28 13:43 ` Jan Kiszka
2010-06-30 21:28 ` Gilles Chanteperdrix
2010-07-01 7:02 ` Jan Kiszka
2010-06-29 15:56 ` Nape Ibrahim Lentsoane
2010-06-29 16:10 ` Gilles Chanteperdrix
2010-06-30 10:59 ` Nape Ibrahim Lentsoane
2010-06-30 11:45 ` Gilles Chanteperdrix
2010-06-30 12:31 ` Nape Ibrahim Lentsoane
2010-06-30 12:48 ` Gilles Chanteperdrix
2010-06-30 21:23 ` Gilles Chanteperdrix
2010-07-02 10:08 ` Nape Ibrahim Lentsoane
2010-07-02 10:16 ` Gilles Chanteperdrix [this message]
2010-06-29 16:14 ` Gilles Chanteperdrix
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=4C2DBC81.705@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=nape.lentsoane@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.