Date: Wed, 22 Feb 2006 16:04:59 -0800 From: "Gustavo A. Baratto" <gbaratto@superb.net> To: <freebsd-hardware@freebsd.org> Subject: interrupts for ATA and BGE Message-ID: <016e01c6380c$c98b7240$6500a8c0@garrincha>
next in thread | raw e-mail | index | archive | help
Two of our servers have an onboard broadcom NIC, and I noticed that in both of them, the number of interrupts for the ata device is always the same as the onboard bge device. I don't really understand what an ATA driver has to do with the bge0, and worse, do these numbers below mean that there are two interrupts going on where it should be just one? Thanks for any input... # vmstat -i interrupt total rate irq1: atkbd0 38 0 irq6: fdc0 12 0 irq13: npx0 1 0 irq14: ata0 58 0 irq15: ata1 192549752 165 irq16: ahc0 1795054 1 irq17: ahc1 15 0 irq30: fxp0 545717199 468 irq31: bge0 192987168 165 cpu0: timer 2330016902 1999 Total 3263066199 2800 # Interrupt output from "systat -vmstat". The numbers for ata on icq 15 and bge on irq31, are always the same here: 2648 total 1: atkb 6: fdc0 13: npx 14: ata 212 15: ata 16: ahc 17: ahc 222 30: fxp 212 31: bge 2002 cpu0: time #dmesg: Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC MPTable: <AMI GCHE > Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.93-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x4400<CNTX-ID,<b14>> Hyperthreading: 2 logical CPUs real memory = 2147483648 (2048 MB) avail memory = 2096689152 (1999 MB) ioapic0: Assuming intbase of 0 ioapic1: Assuming intbase of 16 ioapic2: Assuming intbase of 32 ioapic3: Assuming intbase of 48 ioapic0 <Version 1.1> irqs 0-15 on motherboard ioapic1 <Version 1.1> irqs 16-31 on motherboard ioapic2 <Version 1.1> irqs 32-47 on motherboard ioapic3 <Version 1.1> irqs 48-63 on motherboard npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard pci0: <PCI bus> on pcib0 pci0: <display, VGA> at device 2.0 (no driver attached) fxp0: <Intel 82550 Pro/100 Ethernet> port 0x9f00-0x9f3f mem 0xfe6fe000-0xfe6fefff,0xfe6a0000-0xfe6bffff irq 30 at device 4.0 on pci0 miibus0: <MII bus> on fxp0 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:30:48:52:98:44 isab0: <PCI-ISA bridge> at device 15.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <ServerWorks CSB5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 15.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 pcib1: <MPTable Host-PCI bridge> pcibus 1 on motherboard pci1: <PCI bus> on pcib1 asr0: <Adaptec Caching SCSI RAID> mem 0xfa000000-0xfbffffff irq 26 at device 2.0 on pci1 asr0: [GIANT-LOCKED] asr0: ADAPTEC 2110S FW Rev. 380E, 1 channel, 256 CCBs, Protocol I2O pcib2: <PCI-PCI bridge> at device 2.1 on pci1 pci2: <PCI bus> on pcib2 bge0: <Broadcom BCM5701 Gigabit Ethernet, ASIC rev. 0x105> mem 0xfe8e0000-0xfe8effff irq 31 at device 3.0 on pci1 miibus1: <MII bus> on bge0 brgphy0: <BCM5701 10/100/1000baseTX PHY> on miibus1 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:30:48:52:98:45 pcib3: <ServerWorks host to PCI bridge(unknown chipset)> pcibus 3 on motherboard pir0: <PCI Interrupt Routing Table: 11 Entries> on motherboard $PIR: Ignoring invalid BIOS IRQ 29 from 0.2.INTA for link 0x1d $PIR: Ignoring invalid BIOS IRQ 30 from 0.4.INTA for link 0x1e $PIR: Ignoring invalid BIOS IRQ 26 from 1.2.INTA for link 0x1a $PIR: Ignoring invalid BIOS IRQ 31 from 1.3.INTA for link 0x1f pci3: <PCI bus> on pcib3 pcib4: <ServerWorks host to PCI bridge(unknown chipset)> pcibus 4 on motherboard pci4: <PCI bus> on pcib4 pcib5: <MPTable Host-PCI bridge> pcibus 5 on motherboard pci5: <PCI bus> on pcib5 ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xe400-0xe4ff mem 0xfebfe000-0xfebfefff irq 16 at device 3.0 on pci5 ahc0: [GIANT-LOCKED] aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xe800-0xe8ff mem 0xfebff000-0xfebfffff irq 17 at device 3.1 on pci5 ahc1: [GIANT-LOCKED] aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xca7ff,0xca800-0xd07ff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: parallel port not found. sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: <PNP0303> can't assign resources (port) unknown: <PNP0700> can't assign resources (port) Timecounter "TSC" frequency 2399927312 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDROM <LTN526S/YS0J> at ata0-master UDMA33 Waiting 5 seconds for SCSI devices to settle da0 at asr0 bus 0 target 0 lun 0 da0: <ADAPTEC RAID-0 380E> Fixed Direct Access SCSI-2 device da0: Tagged Queueing Enabled da0: 105010MB (215060480 512 byte sectors: 255H 63S/T 13386C) Trying to mount root from ufs:/dev/da0s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /var was not properly dismounted bge0: link state changed to UP bge0: watchdog timeout -- resetting bge0: link state changed to DOWN bge0: link state changed to UP
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?016e01c6380c$c98b7240$6500a8c0>