On Mon, 05 Jan 2009 15:29:01 +0700, Otto Moerbeek <o...@drijf.net> wrote:

On Mon, Jan 05, 2009 at 03:03:47PM +0700, Insan Praja SW wrote:

Hi Misc@,
is there anything on man (8) how to set irq allocation for certain
devices like NICs? I tried apropos but I can't find userland application
on base to change this.
Thanks,

In general allocating IRQs is a kernel thing and not something you
want to tweak.

What problem are you trying to solve?

        -Otto



The dmesg:
OpenBSD 4.4-current (GENERIC) #55: Thu Dec 25 00:00:31 WIT 2008
    
r...@greenservicerouter.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC
RTC BIOS diagnostic error e<fixed_disk,invalid_time>
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel" 686-class) 3.01 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,EST,TM2,CNXT-ID,CX16,xTPR
real mem  = 2142744576 (2043MB)
avail mem = 2063761408 (1968MB)
RTC BIOS diagnostic error e<fixed_disk,invalid_time>
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/13/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0051.091720081311" date 09/17/2008
bios0: Intel S3000AH
acpi0 at bios0: rev 0
acpi0: tables DSDT SLIC FACP APIC WDDT HPET MCFG ASF! SSDT SSDT SSDT SSDT SSDT HEST BERT ERST EINJ acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S1) PEX4(S4) PEX5(S4) UHC1(S1) UHC2(S1) UHC3(S1) UHC4(S1) EHCI(S1) AC9M(S4) AZAL(
S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P32_)
acpiprt2 at acpi0: bus 1 (PEX0)
acpiprt3 at acpi0: bus -1 (PEX1)
acpiprt4 at acpi0: bus -1 (PEX2)
acpiprt5 at acpi0: bus -1 (PEX3)
acpiprt6 at acpi0: bus 2 (PEX4)
acpiprt7 at acpi0: bus 3 (PEX5)
acpicpu0 at acpi0: FVS, 3000, 2400 MHz
acpibtn0 at acpi0: SLPB
bios0: ROM list: 0xc0000/0x9000 0xc9000/0x1000 0xca000/0x1000
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel E7230 Host" rev 0x00
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: irq 9
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: irq 9
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: irq 11
pci3 at ppb2 bus 3
em0 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: irq 9, address 00:15:17:25:0a:9d
"Intel 82573E Serial" rev 0x03 at pci3 dev 0 function 3 not configured
"Intel 82573E KCS" rev 0x03 at pci3 dev 0 function 4 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: irq 10
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: irq 11
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: irq 11
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: irq 11
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
pci4 at ppb3 bus 4
skc0 at pci4 dev 0 function 0 "D-Link Systems DGE-530T B1" rev 0x11, Yukon Lite (0x9): irq 11
sk0 at skc0 port A: address 00:1b:11:10:07:26
eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 5
ppb4 at pci4 dev 1 function 0 "Intel S21152BB PCI-PCI" rev 0x00
pci5 at ppb4 bus 5
ste0 at pci5 dev 4 function 0 "D-Link Systems 550TX" rev 0x15: irq 11, address 00:0d:88:68:53:84 ukphy0 at ste0 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI 0x0090c3, model 0x0004 ste1 at pci5 dev 5 function 0 "D-Link Systems 550TX" rev 0x15: irq 11, address 00:0d:88:68:53:85 ukphy1 at ste1 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI 0x0090c3, model 0x0004 ste2 at pci5 dev 6 function 0 "D-Link Systems 550TX" rev 0x15: irq 11, address 00:0d:88:68:53:86 ukphy2 at ste2 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI 0x0090c3, model 0x0004 ste3 at pci5 dev 7 function 0 "D-Link Systems 550TX" rev 0x15: irq 11, address 00:0d:88:68:53:87 ukphy3 at ste3 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI 0x0090c3, model 0x0004
vga1 at pci4 dev 4 function 0 "ATI ES1000" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: irq 11
drm0 at radeondrm0
em1 at pci4 dev 5 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: irq 9, address 00:15:17:25:0a:9e ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configur
ed to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 configured to native-PCI, channel 1 configured
 to native-PCI
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <ST380215AS>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: irq 10
iic0 at ichiic0
adt0 at iic0 addr 0x2e: sch5027 rev 0x69
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5
spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-5300CL5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask fded netmask ffed ttymask ffff
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

ifconfig:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33204
        priority: 0
        groups: lo
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9
        inet 127.0.0.1 netmask 0xff000000
        inet 202.ab.cde.fgh netmask 0xffffffff
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:15:17:25:0a:9d
        description: EXTERNAL_INTERFACE
        priority: 0
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet6 fe80::215:17ff:fe25:a9d%em0 prefixlen 64 scopeid 0x1
sk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:1b:11:10:07:26
        description: PORT_20_21
        priority: 0
        media: Ethernet autoselect (1000baseT full-duplex,rxpause)
        status: active
        inet6 fe80::21b:11ff:fe10:726%sk0 prefixlen 64 scopeid 0x2
ste0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0d:88:68:53:84
        description: JALA_IN
        priority: 0
        media: Ethernet autoselect (none)
        status: no carrier
        inet6 fe80::20d:88ff:fe68:5384%ste0 prefixlen 64 scopeid 0x3
ste1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0d:88:68:53:85
        description: JALA_OUT
        priority: 0
        media: Ethernet autoselect (none)
        status: no carrier
        inet6 fe80::20d:88ff:fe68:5385%ste1 prefixlen 64 scopeid 0x4
ste2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0d:88:68:53:86
        priority: 0
        media: Ethernet autoselect (none)
        status: no carrier
ste3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0d:88:68:53:87
        priority: 0
        media: Ethernet autoselect (none)
        status: no carrier
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:15:17:25:0a:9e
        description: INTERNAL_INTERFACE
        priority: 0
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet6 fe80::215:17ff:fe25:a9e%em1 prefixlen 64 scopeid 0x7
enc0: flags=0<> mtu 1536
        priority: 0
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33204
        description: BLACKHOLE
        priority: 0
        groups: lo
        inet 127.0.0.2 netmask 0xffffffff
pflow0: flags=41<UP,RUNNING> mtu 1464
        priority: 0
        pflow: sender: 10.10.10.119 receiver: 10.10.10.4:9119
        groups: pflow
vlan111: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:1b:11:10:07:26
        priority: 0
        vlan: 111 priority: 0 parent interface: sk0
        groups: vlan
        inet6 fe80::21b:11ff:fe10:726%vlan111 prefixlen 64 scopeid 0xc
        inet 10.10.10.119 netmask 0xffffff00 broadcast 10.10.10.255
vlan13: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:15:17:25:0a:9e
        priority: 0
        vlan: 13 priority: 0 parent interface: em1
        groups: vlan ingress
        inet6 fe80::215:17ff:fe25:a9e%vlan13 prefixlen 64 scopeid 0xd
        inet 202.ab.cde.fgh netmask 0xffffffe0 broadcast 202.ab.cde.223
vlan2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:15:17:25:0a:9d
        description: BACKBONE
        priority: 0
        vlan: 2 priority: 0 parent interface: em0
        groups: vlan
        inet6 fe80::215:17ff:fe25:a9d%vlan2 prefixlen 64 scopeid 0xe
        inet 202.ab.cde.fgh netmask 0xffffffe0 broadcast 202.ab.cde.127
vlan4: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:15:17:25:0a:9e
        description: TO_SERVICE_NETWORK
        priority: 0
        vlan: 4 priority: 0 parent interface: em1
        groups: vlan ingress
        inet6 fe80::215:17ff:fe25:a9e%vlan4 prefixlen 64 scopeid 0xf
        inet 202.ab.cde.fgh netmask 0xffffffe0 broadcast 202.ab.cde.191
vlan6: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:15:17:25:0a:9d
        description: CORE_NET
        priority: 0
        vlan: 6 priority: 0 parent interface: em0
        groups: vlan
        inet6 fe80::215:17ff:fe25:a9d%vlan6 prefixlen 64 scopeid 0x11
        inet 202.ab.cde.f netmask 0xfffffff8 broadcast 202.ab.cde.7
vlan95: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:15:17:25:0a:9d
        description: SATNET_VPN_PIPE
        priority: 0
        vlan: 95 priority: 0 parent interface: em0
        groups: vlan satnet_vpn
        inet6 fe80::215:17ff:fe25:a9d%vlan95 prefixlen 64 scopeid 0x12
        inet 202.ab.cde.fgh netmask 0xfffffffc broadcast 202.ab.cde.215
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33204
        priority: 0
        groups: pflog
vlan52: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:1b:11:10:07:26
        description: SATNET_VPN_TO_TELKOM_PIPE
        priority: 0
        vlan: 52 priority: 0 parent interface: sk0
        groups: vlan satnet_vpn
        inet6 fe80::21b:11ff:fe10:726%vlan52 prefixlen 64 scopeid 0x16
        inet 202.abc.def.ghi netmask 0xfffffffc broadcast 202.abc.def.127

--
insandotpraja(at)gmaildotcom

Reply via email to