All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: DOURNES Guillaume <Guillaume.DOURNES@lgm.fr>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] CP-118U RTDM Driver
Date: Thu, 13 Dec 2007 01:03:18 +0100	[thread overview]
Message-ID: <476076C6.4060604@domain.hid> (raw)
In-Reply-To: <0C9896A4B6D338488AD6FFFE58BAEF1001DB8EEF@serveur3.lgm.com>

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

DOURNES Guillaume wrote:
> Hi,
> 
>  
> 
> I have a kernel 2.6.20.9 with Xenomai 2.3.4.
> 
> I chose a Moxa CP-118U board on my project, to be able to drive this PCI board with the xeno_16550A module.
> 
> So I tried to drive one port of this board by calling :
> 
>  
> 
> modprobe mxser
> 
> rmmod mxser
> 
> modprobe xeno_16550A ioaddr=0xb500 irq=5
> 
>  
> 
> And I run my simple software of test.
> 
>  
> 
> But when the task is started, my computer become very slow, as a process eats a lot of CPU load.
> 
> This state stay even if I stop the software by CTRL+C, and even if I discharge the xeno_16550A module.
> 
> Only a reboot allow to go I a good state.
> 
>  
> 
> My question is why the CPU become very loaded, whereas my software do nothing.
> 

Interrupt flood? Check the system activity via /proc/xenomai/irq and
proc/xenomai/stat.

>  
> 
> I tried my software with the serial port on my mother board, and with this port, the system stay in a good state. It becomes not very slow.
> 
>  
> 
> Moreover, I contact Moxa and his response was :
> 
> "I am afraid that you cannot use 16550A module to driver CP-118U.
> 
> The reason is because we use MU860 but not 16550A in CP118U."
> 

There might be some subtle minor differences in the MU860 that causes
the existing driver to fail. Someone would have to study the mxser code
in this regard...

Jan


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

  reply	other threads:[~2007-12-13  0:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-12 13:48 [Xenomai-help] CP-118U RTDM Driver DOURNES Guillaume
2007-12-13  0:03 ` Jan Kiszka [this message]
2007-12-14 15:47 ` Maksym Veremeyenko
2007-12-18 14:27   ` DOURNES Guillaume
2007-12-18 16:51     ` Maksym Veremeyenko
2007-12-18 17:25       ` DOURNES Guillaume
2007-12-18 17:40         ` Maksym Veremeyenko
2007-12-19 10:16           ` DOURNES Guillaume
2007-12-20  1:47             ` Maksym Veremeyenko
2007-12-20  9:59               ` DOURNES Guillaume

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=476076C6.4060604@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=Guillaume.DOURNES@lgm.fr \
    --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.