* 2.4.7 and setpci no go
@ 2001-07-22 21:18 Dietmar Kling
0 siblings, 0 replies; 2+ messages in thread
From: Dietmar Kling @ 2001-07-22 21:18 UTC (permalink / raw)
To: linux-kernel
Hi,
i have a problem with my new Athlon board and a really silly bios, which
assigns
all my interrupts of usb,audio,eth0,bttv to irq 11
i have to turned off pnp aware OS in the bios
and i can set via setpci the irq as the examples below indicate.
Still you can see in the example that the Line with the IRQ shows 11.
and when i insert for example the AC97 driver of ALSA io gets interrupt 11.
Same situation for usb, eth0, bttv.
So I am lost now :(
Is this a kernel bug or is there a kernel parameter which i have to use?
Regards
Dietmar
### 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.4.7 and setpci no go
[not found] <Pine.LNX.4.10.10107222138280.27761-100000@coffee.psychology.mcmaster.ca>
@ 2001-07-23 7:38 ` Dietmar Kling
0 siblings, 0 replies; 2+ messages in thread
From: Dietmar Kling @ 2001-07-23 7:38 UTC (permalink / raw)
To: Mark Hahn; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 4663 bytes --]
> 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/
>>
>
[-- Attachment #2: lspci.txt.gz --]
[-- Type: application/octet-stream, Size: 2120 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-07-23 7:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-22 21:18 2.4.7 and setpci no go Dietmar Kling
[not found] <Pine.LNX.4.10.10107222138280.27761-100000@coffee.psychology.mcmaster.ca>
2001-07-23 7:38 ` Dietmar Kling
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox