public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Len Brown <len.brown@intel.com>
To: Bob Gill <gillb4@telusplanet.net>
Cc: Alex Riesen <fork0@users.sourceforge.net>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: hdc: lost interrupt ide-cd: cmd 0x3 timed out ...
Date: 09 May 2004 22:16:08 -0400	[thread overview]
Message-ID: <1084155368.12352.26.camel@dhcppc4> (raw)
In-Reply-To: <1084135217.4430.141.camel@localhost.localdomain>

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

Bob,
thanks for the info.
The BIOS on this box has a bug where it is reporting a current
IRQ to be outside the list of possible IRQs:

ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 11 12 14 15) *9

It then references this with pinA of device 9:

Package (0x04) { 0x0009FFFF, 0x00, \_SB.PCI0.LNKB, 0x00 },

which is
00:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev
07)

In the past, we'd enable this on IRQ9, even thought it is illegal.

ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 9

But we found that broke some boxes.

So, now we choose an IRQ from the possible list, preferring
the highest interrupt number in the list -- 15.
Didn't see it in your .JPG dmesg, but I expect this was there:

ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 15

and probably that set IRQ15 to level/low which killed IDE.

Please try the attached patch which disables the sanity
check above.

Also might be interesting to see what happens on this system
if it is booted (without the patch) with "acpi_irq_balance"

thanks,
-Len


[-- Attachment #2: sis-debug.patch --]
[-- Type: text/plain, Size: 435 bytes --]

===== drivers/acpi/pci_link.c 1.28 vs edited =====
--- 1.28/drivers/acpi/pci_link.c	Thu May  6 16:03:17 2004
+++ edited/drivers/acpi/pci_link.c	Sun May  9 21:57:39 2004
@@ -549,7 +549,7 @@
 	/*
 	 * if active found, use it; else pick entry from end of possible list.
 	 */
-	if (i != link->irq.possible_count) {
+	if (link->irq.active) {
 		irq = link->irq.active;
 	} else {
 		irq = link->irq.possible[link->irq.possible_count - 1];

  parent reply	other threads:[~2004-05-10  2:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <A6974D8E5F98D511BB910002A50A6647615FAE21@hdsmsx403.hd.intel.com>
2004-05-09  2:56 ` hdc: lost interrupt ide-cd: cmd 0x3 timed out Len Brown
2004-05-09  9:31   ` Alex Riesen
     [not found]   ` <1084135217.4430.141.camel@localhost.localdomain>
2004-05-10  2:16     ` Len Brown [this message]
2004-05-10  7:17   ` Alex Riesen
2004-05-10  8:08   ` Alex Riesen
     [not found] <A6974D8E5F98D511BB910002A50A6647615FAF0B@hdsmsx403.hd.intel.com>
2004-05-10  3:27 ` Len Brown
2004-05-10 11:18   ` Alex Riesen
2004-05-06 23:07 hdc: lost interrupt ide-cd: cmd 0x3 timed out with 2.6.6-rc3-bk8 Bob Gill
2004-05-07 11:07 ` hdc: lost interrupt ide-cd: cmd 0x3 timed out Alex Riesen
2004-05-07 19:41   ` Bob Gill

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=1084155368.12352.26.camel@dhcppc4 \
    --to=len.brown@intel.com \
    --cc=fork0@users.sourceforge.net \
    --cc=gillb4@telusplanet.net \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox