All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Salvatore De Astis <dev.rinux@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] IRQ problem
Date: Fri, 07 Mar 2008 13:48:23 +0100	[thread overview]
Message-ID: <47D13997.4060408@domain.hid> (raw)
In-Reply-To: <c73373920803070354l6f01a645qab488b53abd6e90b@domain.hid>

Salvatore De Astis wrote:
> Hi,
> I've two PCI Exar Octal Uart XR17D158. To set up the boards I change the
> MAX_DEVICES  from 8  to 16 in 16550A.c.
> At strartup I this messages:
> 
> ACPI: PCI interrupt for device 0000:02:07.0 disabled
> ACPI: PCI interrupt for device 0000:02:05.0 disabled
> ACPI: PCI Interrupt 0000:02:05.0[A] -> Link [LNKB] -> GSI 9 (level, low) ->
> IRQ 9
> 0000:02:05.0: ttyS4 at MMIO 0xdfcff000 (irq = 9) is a 16550A
> 0000:02:05.0: ttyS5 at MMIO 0xdfcff200 (irq = 9) is a 16550A
> 0000:02:05.0: ttyS6 at MMIO 0xdfcff400 (irq = 9) is a 16550A
> 0000:02:05.0: ttyS7 at MMIO 0xdfcff600 (irq = 9) is a 16550A
> 0000:02:05.0: ttyS8 at MMIO 0xdfcff800 (irq = 9) is a 16550A
> 0000:02:05.0: ttyS9 at MMIO 0xdfcffa00 (irq = 9) is a 16550A
> 0000:02:05.0: ttyS10 at MMIO 0xdfcffc00 (irq = 9) is a 16550A
> 0000:02:05.0: ttyS11 at MMIO 0xdfcffe00 (irq = 9) is a 16550A
> ACPI: PCI Interrupt 0000:02:07.0[A] -> Link [LNKD] -> GSI 11 (level, low) ->
> IRQ 11
> 0000:02:07.0: ttyS12 at MMIO 0xdfcfe000 (irq = 11) is a 16550A
> 0000:02:07.0: ttyS13 at MMIO 0xdfcfe200 (irq = 11) is a 16550A
> 0000:02:07.0: ttyS14 at MMIO 0xdfcfe400 (irq = 11) is a 16550A
> 0000:02:07.0: ttyS15 at MMIO 0xdfcfe600 (irq = 11) is a 16550A
> 0000:02:07.0: ttyS16 at MMIO 0xdfcfe800 (irq = 11) is a 16550A
> 0000:02:07.0: ttyS17 at MMIO 0xdfcfea00 (irq = 11) is a 16550A
> 0000:02:07.0: ttyS18 at MMIO 0xdfcfec00 (irq = 11) is a 16550A
> 0000:02:07.0: ttyS19 at MMIO 0xdfcfee00 (irq = 11) is a 16550A
> 
> So I load xeno_16650A in this way:
> modprobe xeno_16550A
> mem=0xdfcff000,0xdfcff200,0xdfcff400,0xdfcff600,0xdfcff800,0xdfcffa00,0xdfcffc00,0xdfcffe00,0xdfcfe000,0xdfcfe200,0xdfcfe400,0xdfcfe600,0xdfcfe800,0xdfcfea00,0xdfcfec00,0xdfcfee00
> irq=9,9,9,9,9,9,9,9,11,11,11,11,11,11,11,11

Oh, nice... Be warned about the I/O load (specifically IRQ load) this
may cause if you are really planning to use 16 channels in parallel,
maybe even at 115k2.

> 
> On the first bord I can read and write data. On the second I start to write
> but as I try to move the usb mouse I have this:
> 
> Xenomai: xnintr_edge_shirq_handler: IRQ11 not handled. Disabling IRQ line.
> 
> What's the problem?

IRQ 11 shared between USB host controller and the second Exar? Check
/proc/interrupts, see Wiki for generic recommendations.

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux


      reply	other threads:[~2008-03-07 12:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-07 11:54 [Xenomai-help] IRQ problem Salvatore De Astis
2008-03-07 12:48 ` Jan Kiszka [this message]

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=47D13997.4060408@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=dev.rinux@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.