Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2005 03:54:28 +1200 (NZST)
From:      Andrew McNaughton <andrew@scoop.co.nz>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-smp@freebsd.org
Subject:   Re: HP Netserver LT 6000r
Message-ID:  <20050712034756.G6513@a2.scoop.co.nz>
In-Reply-To: <200507110957.26497.jhb@FreeBSD.org>
References:  <001b01c5512f$c190eb20$f900000a@marshall> <200507051422.14257.jhb@FreeBSD.org> <42D24745.4030002@landgren.net> <200507110957.26497.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <Version 1.1> irqs 0-15 on motherboard
>> ioapic1 <Version 1.1> irqs 16-31 on motherboard
>> fxp0: <Intel 82559 Pro/100 Ethernet> port 0x1800-0x183f mem
>> 0xec900000-0xec9fffff,0xec801000-0xec801fff irq 18 at device 6.0 on pci0
>> amr0: <LSILogic MegaRAID 1.51> mem 0xf4000000-0xf7ffffff irq 20 at
>> device 3.1 on pci4
>> atkbd0: <AT Keyboard> irq 1 on atkbdc0
>> psm0: <PS/2 Mouse> irq 12 on atkbdc0
>> fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
>> unknown: <PNP0f13> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050712034756.G6513>