From owner-freebsd-questions@FreeBSD.ORG Fri Feb 22 12:22:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD32216A402 for ; Fri, 22 Feb 2008 12:22:25 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id C59F113C447 for ; Fri, 22 Feb 2008 12:22:25 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.2/8.14.2) with ESMTP id m1MCM3Yf001298; Fri, 22 Feb 2008 06:22:03 -0600 (CST) Date: Fri, 22 Feb 2008 06:22:03 -0600 (CST) From: Scott Bennett Message-Id: <200802221222.m1MCM3aL001297@mp.cs.niu.edu> To: Rob , freebsd-questions@freebsd.org Cc: Subject: SMP interrupt problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2008 12:22:25 -0000 On Fri, 22 Feb 2008 11:38:42 +0000 Rob wrote: >I have a system with two dual core CPUS. I have installed 6.3 release and have >the SMP kernel running. > >FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:45:45 UTC 2008 > root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP >Timecounter "i8254" frequency 1193182 Hz quality 0 >CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2799.22-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 > >Features=0xbfebfbff > Features2=0x4400 > Logical CPUs per core: 2 Actually, the above says you have two *single-core* CPUs with hyperthreading enabled. >real memory = 1073676288 (1023 MB) >avail memory = 1037307904 (989 MB) >ACPI APIC Table: >FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 6 > cpu3 (AP): APIC ID: 7 >MADT: Forcing active-low polarity and level trigger for SCI >ioapic0 irqs 0-23 on motherboard >ioapic1 irqs 24-47 on motherboard >ioapic2 irqs 48-71 on motherboard >kbd1 at kbdmux0 >ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) >hptrr: HPT RocketRAID controller driver v1.1 (Jan 16 2008 04:43:12) >acpi0: on motherboard >acpi0: Power Button (fixed) >Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 >acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 >cpu0: on acpi0 >acpi_throttle0: on cpu0 >cpu1: on acpi0 >cpu2: on acpi0 >cpu3: on acpi0 >pcib0: port 0xcf8-0xcff on acpi0 >pci0: on pcib0 >pcib1: at device 2.0 on pci0 >pci2: on pcib1 >pcib2: at device 29.0 on pci2 >pci4: on pcib2 >.. >.. >.. >Timecounters tick every 1.000 msec >hptrr: no controller detected. >ad0: 76319MB at ata0-master UDMA100 >SMP: AP CPU #1 Launched! >SMP: AP CPU #2 Launched! >SMP: AP CPU #3 Launched! > >Once it is running it seems to just be busy doing interrupts. > >When "idle" top -C -S shows: > >last pid: 811; load averages: 1.00, 0.67, 0.31 up 0+00:04:24 07:32:53 >65 processes: 6 running, 43 sleeping, 16 waiting >CPU states: 0.0% user, 0.0% nice, 0.0% system, 43.6% interrupt, 56.4% idle >Mem: 7376K Active, 4768K Inact, 18M Wired, 8336K Buf, 963M Free >Swap: 1024M Total, 1024M Free > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME CPU COMMAND > 13 root 1 171 52 0K 8K RUN 0 3:43 99.02% idle: cpu0 > 23 root 1 -52 -171 0K 8K CPU2 2 2:51 85.11% irq9: acpi0 Have you looked to see which device(s) you have at IRQ 9? Is there some problem with the device(s)? > 11 root 1 171 52 0K 8K RUN 2 0:55 12.89% idle: cpu2 > 37 root 1 171 52 0K 8K pgzero 0 0:00 0.00% pagezero > 15 root 1 -32 -151 0K 8K WAIT 0 0:00 0.00% swi4: clock s > 0 root 1 96 0 0K 0K WAIT 1 0:00 0.00% swapper > 4 root 1 -8 0 0K 8K - 0 0:00 0.00% g_down > 3 root 1 -8 0 0K 8K - 0 0:00 0.00% g_up > >If anyone has an idea what the problem is I would be grateful for any advice. > You deleted part of the startup messages, so we can't see what you have at IRQ 9. Go back and look at either dmesg(1) output or /var/log/messages to find out what device(s) interrupt(s) at IRQ 9. Then check for anything weird about the device activity. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * **********************************************************************