All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan <alan@lxorguk.ukuu.org.uk>
To: Florian Schmidt <mista.tapas@gmx.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.20 "IRQ handler type mismatch for IRQ 4"
Date: Mon, 12 Feb 2007 13:18:38 +0000	[thread overview]
Message-ID: <20070212131838.04a2abcc@localhost.localdomain> (raw)
In-Reply-To: <200702102140.55155.mista.tapas@gmx.net>

> [   23.783913] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ 
> sharing enabled
> [   23.787063] pnp: Device 00:0c activated.
> [   23.787420] 00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

So the PnP layers put a device on IRQ 4, which is sensible

> [   37.516000] eth1: orinoco_cs at 0.0, irq 4, io 0x0100-0x013f

The PCMCIA layer then ignores this and takes IRQ 4 simply because
although PnP has used it the IRQ isnt currently live

> [   53.580000] IRQ handler type mismatch for IRQ 4
> [   53.580000] current handler: pcmcia0.0

The serial IRQ setup fails

> [   53.580000]  [<c0141a25>] setup_irq+0x135/0x1e0
> [   53.580000]  [<c0230930>] serial8250_interrupt+0x0/0xf0
> [   53.580000]  [<c0141b73>] request_irq+0xa3/0xc0
> [   53.580000]  [<c023086e>] serial8250_startup+0x47e/0x4b0
> [   53.580000]  [<c022bf58>] uart_startup+0x48/0x160
> [   53.580000]  [<c022cb9f>] uart_open+0xbf/0x460

This is all scary and generally not needed spew but handy for debug.

Looks like a PCMCIA layer bug. It should be respecting IRQ assignment
(not just allocation) by other resource configuration layers.

Alan

  reply	other threads:[~2007-02-12 13:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-10 20:40 2.6.20 "IRQ handler type mismatch for IRQ 4" Florian Schmidt
2007-02-12 13:18 ` Alan [this message]
2007-02-12 13:34   ` Florian Schmidt
2007-02-12 16:51     ` Alan

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=20070212131838.04a2abcc@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mista.tapas@gmx.net \
    /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.