From owner-freebsd-smp@FreeBSD.ORG Mon Jul 11 15:54:32 2005 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD30816A41C; Mon, 11 Jul 2005 15:54:32 +0000 (GMT) (envelope-from andrew@scoop.co.nz) Received: from a2.scoop.co.nz (aurora.scoop.co.nz [202.50.109.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0844543D5C; Mon, 11 Jul 2005 15:54:31 +0000 (GMT) (envelope-from andrew@scoop.co.nz) Received: from a2.scoop.co.nz (localhost [127.0.0.1]) by a2.scoop.co.nz (8.13.3/8.12.11) with ESMTP id j6BFsT2B060182; Tue, 12 Jul 2005 03:54:29 +1200 (NZST) (envelope-from andrew@scoop.co.nz) Received: from localhost (andrew@localhost) by a2.scoop.co.nz (8.13.3/8.13.1/Submit) with ESMTP id j6BFsSUU060179; Tue, 12 Jul 2005 03:54:29 +1200 (NZST) (envelope-from andrew@scoop.co.nz) X-Authentication-Warning: a2.scoop.co.nz: andrew owned process doing -bs Date: Tue, 12 Jul 2005 03:54:28 +1200 (NZST) From: Andrew McNaughton To: John Baldwin In-Reply-To: <200507110957.26497.jhb@FreeBSD.org> Message-ID: <20050712034756.G6513@a2.scoop.co.nz> References: <001b01c5512f$c190eb20$f900000a@marshall> <200507051422.14257.jhb@FreeBSD.org> <42D24745.4030002@landgren.net> <200507110957.26497.jhb@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (a2.scoop.co.nz [127.0.0.1]); Tue, 12 Jul 2005 03:54:29 +1200 (NZST) X-Virus-Scanned: ClamAV 0.86.1/976/Mon Jul 11 22:09:22 2005 on a2.scoop.co.nz X-Virus-Status: Clean Cc: freebsd-smp@freebsd.org Subject: Re: HP Netserver LT 6000r X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 15:54:33 -0000 On Mon, 11 Jul 2005, John Baldwin wrote: >> What command will show me the current IRQ assignements? Just grepping >> for irq in the dmesg gives: >> >> ioapic0 irqs 0-15 on motherboard >> ioapic1 irqs 16-31 on motherboard >> fxp0: port 0x1800-0x183f mem >> 0xec900000-0xec9fffff,0xec801000-0xec801fff irq 18 at device 6.0 on pci0 >> amr0: mem 0xf4000000-0xf7ffffff irq 20 at >> device 3.1 on pci4 >> atkbd0: irq 1 on atkbdc0 >> psm0: irq 12 on atkbdc0 >> fdc0: at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 >> unknown: can't assign resources (irq) >> >> Is there something more tailored than that? I scanned through sysctl but >> it doesn't look like they are listed therein. > > No, there isn't a good command other than dmesg | grep irq. I should probably > write one actually. That would be very good. After a server has been running for a while the boot info gets displaced out of the buffer dmesg accesses, and the logs in /var/log would typically have been rolled over and removed as well. On my servers I run an rc.d script which stores the dmesg output for future reference. Is something like that worth adding to the standard distribution? Andrew McNaughton ------------------------------------------------------------------- Andrew McNaughton http://www.scoop.co.nz/ andrew@scoop.co.nz Mobile: +61 422 753 792 -- Of all forms of caution, caution in love is the most fatal -- pgp encrypted mail welcome keyid: 70F6C32D keyserver: pgp.mit.edu 5688 2396 AA81 036A EBAC 2DD4 1BEA 7975 A84F 6686