From owner-freebsd-hardware@FreeBSD.ORG Thu Feb 23 00:05:13 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B14E16A420 for ; Thu, 23 Feb 2006 00:05:13 +0000 (GMT) (envelope-from gbaratto@superb.net) Received: from smail2.superb.net (smail2.superb.net [64.251.80.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 088A443D45 for ; Thu, 23 Feb 2006 00:05:13 +0000 (GMT) (envelope-from gbaratto@superb.net) Received: from garrincha (S01060080c8118809.vc.shawcable.net [24.82.90.177]) by smail2.superb.net (Postfix) with ESMTP id 42D701F8D5A for ; Wed, 22 Feb 2006 16:05:12 -0800 (PST) Message-ID: <016e01c6380c$c98b7240$6500a8c0@garrincha> From: "Gustavo A. Baratto" To: Date: Wed, 22 Feb 2006 16:04:59 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Subject: interrupts for ATA and BGE X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 00:05:13 -0000 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: 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 Features2=0x4400> 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 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard ioapic2 irqs 32-47 on motherboard ioapic3 irqs 48-63 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pci0: on pcib0 pci0: at device 2.0 (no driver attached) fxp0: port 0x9f00-0x9f3f mem 0xfe6fe000-0xfe6fefff,0xfe6a0000-0xfe6bffff irq 30 at device 4.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:30:48:52:98:44 isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 15.1 on pci0 ata0: on atapci0 ata1: on atapci0 pcib1: pcibus 1 on motherboard pci1: on pcib1 asr0: 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: at device 2.1 on pci1 pci2: on pcib2 bge0: mem 0xfe8e0000-0xfe8effff irq 31 at device 3.0 on pci1 miibus1: on bge0 brgphy0: on miibus1 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:30:48:52:98:45 pcib3: pcibus 3 on motherboard pir0: 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: on pcib3 pcib4: pcibus 4 on motherboard pci4: on pcib4 pcib5: pcibus 5 on motherboard pci5: on pcib5 ahc0: 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: 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: at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xca7ff,0xca800-0xd07ff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: 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: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 2399927312 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master UDMA33 Waiting 5 seconds for SCSI devices to settle da0 at asr0 bus 0 target 0 lun 0 da0: 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