Skip to contentSkip to conversation

odd irq routing errors?

DISCUSSION Faye Pearson 3 participants 3 messages Feb 20, 2003 2 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

This is for the IRQ allocation gurus.
More information on http://dude.noc.clara.net/~faye/

All refer to the IDE controller...

PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
pci_irq-0297 [09] acpi_pci_irq_derive : Unable to derive IRQ for
device 00:1f.1
PCI: No IRQ known for interrupt pin A of device 00:1f.1 - using IRQ 255
ICH3M: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
pci_irq-0297 [12] acpi_pci_irq_derive : Unable to derive IRQ for
device 00:1f.1
PCI: No IRQ known for interrupt pin A of device 00:1f.1 - using IRQ 255

But then:

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15

Looks like it has the correct IRQs.

root@marmite acpi # cat /proc/interrupts
CPU0

  0:     200347          XT-PIC  timer
  1:        385          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:       3253          XT-PIC  orinoco_cs
  8:          2          XT-PIC  rtc
  9:         11          XT-PIC  acpi, Intel ICH3, i82365
 11:          2          XT-PIC  sonypi
 14:       6969          XT-PIC  ide0
 15:          0          XT-PIC  ide1
NMI:          0
ERR:          0

pcmcia-cs have allocated irq3 to the orinoco_cs but ACPI doesn't know anything about that IRQ. orinoco_cs seems to be working just fine though.

ACPI: Embedded Controller [EC0] (gpe 28) schedule_task(): keventd has not started
ACPI: PCI Interrupt Link [LNKA] (IRQs *9)
ACPI: PCI Interrupt Link [LNKB] (IRQs 9, disabled)
ACPI: PCI Interrupt Link [LNKC] (IRQs 9, disabled)
ACPI: PCI Interrupt Link [LNKD] (IRQs *9)
ACPI: PCI Interrupt Link [LNKE] (IRQs *9) pci_link-0219 [14] acpi_pci_link_get_curr: Blank IRQ resource
ACPI: PCI Interrupt Link [LNKF] (IRQs 9, disabled)
ACPI: PCI Interrupt Link [LNKG] (IRQs 9, disabled)
ACPI: PCI Interrupt Link [LNKH] (IRQs 9, disabled)
PCI: Probing PCI hardware
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 9

Quoted 1 line

From lspci:

00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Sony Corporation: Unknown device 80fa
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 255
Region 0: I/O ports at <ignored>
Region 1: I/O ports at <ignored>
Region 2: I/O ports at <ignored>
Region 3: I/O ports at <ignored>
Region 4: I/O ports at 1860 [size=16]
Region 5: Memory at e8000000 (32-bit, non-prefetchable)
[size=1K]

I think the ports being ignored are these:

0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03f6-03f6 : ide0

Signature · 13 lines
Faye Pearson,
Covert Development
ClaraNET Ltd.       Tel 020 7903 3000

Traffic signals in New York are just rough guidelines.
		-- David Letterman


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 15 lines · Faye Pearson

This is for the IRQ allocation gurus.
More information on http://dude.noc.clara.net/~faye/

All refer to the IDE controller...

PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
pci_irq-0297 [09] acpi_pci_irq_derive : Unable to derive IRQ for
device 00:1f.1
PCI: No IRQ known for interrupt pin A of device 00:1f.1 - using IRQ 255
ICH3M: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
pci_irq-0297 [12] acpi_pci_irq_derive : Unable to derive IRQ for
device 00:1f.1
PCI: No IRQ known for interrupt pin A of device 00:1f.1 - using IRQ 255

Quoted 6 lines

But then:

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15

Looks like it has the correct IRQs.

I've had the same problem with acpi assigning IRQ 255 to some devices but in my case I wasn't even able to boot. All of this was explained in my last mail to this list. My ide controller is a ICH2M.

Signature · 9 lines
Anders Rune Jensen



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge

A message that is not in the archive (sent off-list or not yet received): 87vfzfx8zn.fsf-VYFdHW3tBKJknbxzx/[email protected]

#4 lore raw
Quoted 6 lines · Anders Rune Jensen
Quoted 6 lines

PCI: No IRQ known for interrupt pin A of device 00:1f.1 - using IRQ 255
ICH3M: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
pci_irq-0297 [12] acpi_pci_irq_derive : Unable to derive IRQ for
device 00:1f.1
PCI: No IRQ known for interrupt pin A of device 00:1f.1 - using IRQ 255

This is the ACPI version of a bug I fixed in 2.4 base. If both channels are in legacy mode its wrong to ask the ACPI layer or the PCI BIOS layer or indeed anyone in PCI where the chip IRQ is routed. Legacy irq routing doesn't go via PCI.

-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge