Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Tejun Heo <htejun@...>
Cc: David Newall <david@...>, Linux Kernel <linux-kernel@...>, IDE/ATA development list <linux-ide@...>, <rol@...>
Date: Thursday, September 27, 2007 - 2:05 am

Hi Tejun,

On Thu, 27 Sep 2007 09:55:22 +0900
Tejun Heo <htejun@gmail.com> wrote:


As I said, it's not possible, because :
 - the modem driver is an out-kernel one, so I have to wait the end of the
   boot process so that it can be loaded,
 - libata on IRQ23 is the one taking care of my disks, and I suspect it 
   quite hard to install a modem driver before having the disk driver
   installed.

I was thinking of delaying the disabling of the IRQ, which is basically the
other part of the problem (the first part being that spurious IRQ from the
modem). If it is possible to do that long enough for the modem driver to be
loaded, then the "IRQ xx : nobody cared" becomes an informational message
during the boot process, and then it vanishes, leaving a perfectly working
machine.
I suspect something in note_interrupt that would do (totally
untested, just thinking loudly) :

	/* Allow some delay to complete boot process before
	 * killing an IRQ. This allow some modules to be
	 * loaded before we decide the IRQ will not be handled.
	 */
	if (jiffies > 120*HZ) {
		/*
		 * Now kill the IRQ
		 */
		printk(KERN_EMERG "Disabling IRQ #%d\n", irq);
		desc->status |= IRQ_DISABLED;
		desc->depth = 1;
		desc->chip->disable(irq);
	}

I'll try that this week-end, but if someone has an opinion about it, I'll
be glad to know :)

Regards,
Paul

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.23-rc7 - _random_ IRQ23 : nobody cared, Paul Rolland, (Mon Sep 24, 2:33 am)
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared, David Newall, (Mon Sep 24, 10:26 am)
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared, Paul Rolland, (Tue Sep 25, 3:00 am)
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared, Tejun Heo, (Wed Sep 26, 8:55 pm)
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared, Paul Rolland, (Thu Sep 27, 2:05 am)
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared, Tejun Heo, (Fri Sep 28, 5:55 am)
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared, Benjamin Herrenschmidt, (Thu Sep 27, 5:04 am)
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared, Paul Rolland, (Thu Sep 27, 6:05 am)
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared, Benjamin Herrenschmidt, (Thu Sep 27, 6:27 pm)
Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared, Paul Rolland, (Fri Sep 28, 2:30 am)