From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <47D13997.4060408@domain.hid> Date: Fri, 07 Mar 2008 13:48:23 +0100 From: Jan Kiszka MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] IRQ problem List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Salvatore De Astis Cc: xenomai@xenomai.org 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