Re: 2.4.7 and setpci no go

Dietmar Kling (d.kling@kling-bauer.de)
Mon, 23 Jul 2001 09:38:47 +0200


This is a multi-part message in MIME format.
--------------080604000900060504060001
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

> it looks like you setpci while the driver was loaded.
> normally, drivers only query the irq on load.

Sorry but i did set all this values in the init script (even before proc
with the -H1 switch
of setpci) of my redhat 7.1
but the output of dump_irq ( i've read about this on the
kernel-mailing-list )
looks rather strange.

output of lscpi -vv -xxxx attached toot

Any Hints?

Regards
Dietmar

Interrupt routing table found at address 0xfdf00:
Version 1.0, size 0x0090
Interrupt router is device 00:00.0
PCI exclusive interrupt mask: 0x0820 [5,11]

Device 00:08.0 (slot 1):
INTA: link 0x01, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTB: link 0x02, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTC: link 0x03, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTD: link 0x04, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]

Device 00:09.0 (slot 2): Ethernet controller
INTA: link 0x02, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTB: link 0x03, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTC: link 0x04, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTD: link 0x01, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]

Device 00:0a.0 (slot 3):
INTA: link 0x03, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTB: link 0x04, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTC: link 0x01, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTD: link 0x02, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]

Device 00:0b.0 (slot 4):
INTA: link 0x04, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTB: link 0x01, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTC: link 0x02, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTD: link 0x03, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]

Device 00:0c.0 (slot 5):
INTA: link 0x01, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTB: link 0x02, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTC: link 0x03, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTD: link 0x04, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]

Device 00:0d.0 (slot 6):
INTA: link 0x01, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTB: link 0x02, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTC: link 0x03, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTD: link 0x04, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]

Device 00:01.0 (slot 0): PCI bridge
INTA: link 0x01, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTB: link 0x02, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTC: link 0x03, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]
INTD: link 0x04, irq mask 0xdeb8 [3,4,5,7,9,10,11,12,14,15]

Interrupt router at 00:00.0: unknown vendor 0x1106 device 0x3099
PIRQ? (link 0x01): unrouted?
PIRQ? (link 0x02): irq 10
PIRQ? (link 0x03): unrouted?
PIRQ? (link 0x04): unrouted?
[root@thor /root]#

Mark Hahn wrote:

>it looks like you setpci while the driver was loaded.
>normally, drivers only query the irq on load.
>
>
>>### Example 1 ####
>>/sbin/setpci -v -s 00:11.5 INTERRUPT_LINE=9
>>00:11.5:3c 09
>>/sbin/lspci -v -s 00:11.5 -x
>>00:11.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio
>>Controller (rev 10)
>> Subsystem: Elitegroup Computer Systems: Unknown device 0996
>> Flags: medium devsel, IRQ 11
>> I/O ports at e400 [size=256]
>> Capabilities: [c0] Power Management version 2
>>00: 06 11 59 30 01 00 10 02 10 00 01 04 00 00 00 00
>>10: 01 e4 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>20: 00 00 00 00 00 00 00 00 00 00 00 00 19 10 96 09
>>30: 00 00 00 00 c0 00 00 00 00 00 00 00 09 03 00 00
>> ^^<---
>>changed
>>### Example 2 ####
>>/sbin/setpci -v -s 00:11.5 INTERRUPT_LINE=0x0a
>>00:11.5:3c 0a
>>/sbin/lspci -v -s 00:11.5 -x
>>00:11.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio
>>Controller (rev 10)
>> Subsystem: Elitegroup Computer Systems: Unknown device 0996
>> Flags: medium devsel, IRQ 11
>> I/O ports at e400 [size=256]
>> Capabilities: [c0] Power Management version 2
>>00: 06 11 59 30 01 00 10 02 10 00 01 04 00 00 00 00
>>10: 01 e4 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>20: 00 00 00 00 00 00 00 00 00 00 00 00 19 10 96 09
>>30: 00 00 00 00 c0 00 00 00 00 00 00 00 10 03 00 00
>> ^^<---
>>changed
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>>the body of a message to majordomo@vger.kernel.org
>>More majordomo info at http://vger.kernel.org/majordomo-info.html
>>Please read the FAQ at http://www.tux.org/lkml/
>>
>

--------------080604000900060504060001
Content-Type: application/octet-stream;
name="lspci.txt.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="lspci.txt.gz"

H4sICOrTWzsCA2xzcGNpLnR4dADtm11T4kgUhq/lV5xLLYjb3QkhWKNViMwstcMsK457YXnR
dDqYGkioEGZ1f/2e7oQQIigyyOgsVoR89OkvkqffPn1CyAkhxwR+Dycx9CPfHcgTuG434EqK
uyAchgNfTirQDsQxXF85pl2Dmz+umG3flg560/7kYR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P
1+Kx2DWPZ55osefxnsevxmNrz+M3xWNJ9jxeh8eS7IbHmVs04bG55/Gex6/J4yp0psPYV0ji
wKeuHy7EUqyAc6NZr+HjrVLPUb48nmILq27GnNbGO6B1AcbN9UMmpFUImXiH3uNqEr9MczTO
qLbg850FO0gL3siiXT1bk9E0NqlarXpmYcx7RxFtv1qww2aLdi+y2R2NafK6CqIMATwa89hX
obN5FgfXvoJ0M4wQGHgdn/kv1/jEaexyWhDImNFtkcQTDo1Pj6krbPKzg5y3HM9GWTWLZ0t3
14lmq65440WsG6RG7c6qQDeyzlszlDkqg9b9mAca6pd/dpT1h2nAJxN/EEj3DG5cf6KM3Nvs
XZs/Ho8V9psdK4o1tay13goytvVWkBqrXKnfIUmGJT1z6GsscLqwOr985iBF7r2bHx+rLP0+
i3q9RTwaq+xVZlVdc/WZBJjM81iIKaSzyIrF90dygXlkMRRDjY8SXBtYMhR6hbGK6lgWth+r
/seBef8BYfekcVs5AAA=
--------------080604000900060504060001--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/