Re: IRQ Question?



0n Wed, Apr 18, 2007 at 07:26:35PM -0700, Nate Lawson wrote:

>> FreeBSD 7.0-CURRENT #0: Tue Apr 10 13:47:53 WST 2007
>>
>> Could be an insanely dumb question, however, I have to ask.
>>
>> Why don't IRQs in the BIOS map to IRQs in the output of vmstat(8) ?
>>
>> e.g.
>>
>> I manually changed an IRQ assingment of an Intel NIC [em(4)] to be on IRQ 11 in
>> the BIOS and vmstat(8) reports its as irq16.
>>
>> #vmstat -i | egrep -i em
>> irq16: em0 uhci0 2990236 18
>>
>> Can someone (njl@ jhb@) please enlighten me ?
>
>Interrupt routing is determined by a number of factors. Without acpi,
>it's determined by the BIOS initial irq and then anything the $PIR table
>changes (usually matches the BIOS value). With acpi, it's the BIOS irq
>and MADT acpi table. And that assumes APIC, not PIC-based routing.
>
>You can override the values with these tunables from the acpi man page:
>
> hw.pci.link.%s.%d.irq
> Override the interrupt to use for this link and index. This
> capability should be used carefully, and only if a device is not
> working with acpi enabled. "%s" is the name of the link (e.g.,
> LNKA). "%d" is the resource index when the link supports multi-
> ple IRQs. Most PCI links only have one IRQ resource, so the
> below form should be used.
>
> hw.pci.link.%s.irq
> Override the interrupt to use. This capability should be used
> carefully, and only if a device is not working with acpi enabled.
> "%s" is the name of the link (e.g., LNKA).
>
>You'll have to look at your dmesg to determine the proper values here.

Cheers Nate !

-aW

IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email.


_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Firewire-Festplatte - Bluescreen bei großen Dateien?
    ... > Und wie soll das gehen, bei ACPI? ... > IRQs so zu belegen wie ich das gerne hätte (meine Canopus ... Was im BIOS steht und was Windoof sagt-das sind zwei paar verschiedene ... >> Ich kenne keine Firewire Platten ohne eigene Stromversorgeung. ...
    (microsoft.public.de.german.windowsxp.hardware)
  • Re: System IRQs
    ... You have to enable ACPI to get APIC. ... > Depends heavily on the BIOS and what they have modified. ... > IRQs and sharing, ... *4* google results that have nothing to do with IRQs: ...
    (sci.electronics.misc)
  • Re: Probleme mit IRQ-Sharing?
    ... Sollten die zugewiesenen IRQs trotzdem verstellt werden, ... Die IRQs werden sowohl vom BIOS, als auch vom OS, als auch von den ... Wenn ich nicht gerade am Rechner sitzen muß, ... Ebenfalls existierende Absenderadresse wird nicht regelmäßig ausgelesen. ...
    (microsoft.public.de.german.windowsxp.sonstiges)
  • IBM Server 325 8639-ej0 Pci-Setting Bios Problem
    ... now I wanted to install some Pci-Cards (Graphic and Sound), ... but the Bios doesn't give IRQs to them ... in Bios, at 'PCI Interrupt Requests', I can only change the Irq for the Scsi and Ethernet Onboard-Adapter, ...
    (comp.sys.ibm.ps2.hardware)
  • Re: IRQ fest zuordnen
    ... Hallo Martin, ... im Bios Plug&PlayOS=no einstellen. ... Bei richtiger Einstellung zeigt das Bios ... Übrigens wird XP später andere IRQs anzeigen. ...
    (microsoft.public.de.german.windowsxp.hardware)