Date: Thu, 8 Jul 1999 12:11:53 +0100 From: Ben Smithurst <ben@scientia.demon.co.uk> To: "John J. Fox IV" <jfox@wizzards.net> Cc: freebsd-questions@freebsd.org Subject: Re: ioports/irqs/dma channels Message-ID: <19990708121153.A45112@rainbow5.scientia.demon.co.uk> In-Reply-To: <19990707231856.A455@wizzards.net> References: <19990707231856.A455@wizzards.net>
next in thread | previous in thread | raw e-mail | index | archive | help
John J. Fox IV wrote: > Another silly question from someone who's just emigrated from Linux: > > In the past, when I've wanted to see the IRQ/IO-ports/DMA channels > being used by my devices, I could simply: > > cat /proc/{interrupts,ioports,dma} > > I'm going on the assumption that there is some sort of FreeBSD > system utility (or utilities) that can provide this information, > but I haven't been able to turn anything up in the FAQ or Handbook. > > I also went into /usr/sbin, and did 'man -f .' but that didn't > seem to turn up anything relevant. I'd really like to know how > to get this info! For interrupts, $ vmstat -i interrupt total rate clk0 irq0 74977252 99 rtc0 irq8 95975189 128 fdc0 irq6 1 0 wdc0 irq14 502027 0 wdc1 irq15 1 0 atkbd0 irq1 1123980 1 sio0 irq4 43430407 57 sio1 irq3 360201 0 Total 216369058 288 Can't help with the others though, sorry. "dmesg" will reveal some possibly useful information: $ dmesg Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.2-STABLE #7: Sun Jun 13 00:26:02 BST 1999 ben@scientia.demon.co.uk:/usr/src/sys/compile/RAINBOW5 Timecounter "i8254" frequency 1193182 Hz CPU: AMD Enhanced Am486DX4 Write-Through (486-class CPU) Origin = "AuthenticAMD" Id = 0x484 Stepping=4 Features=0x1<FPU> real memory = 16777216 (16384K bytes) avail memory = 14725120 (14380K bytes) Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <8 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa ppc0 at 0x378 irq 7 on isa ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16450 sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16450 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): <ST3491A>, 32-bit, multi-block-16 wd0: 407MB (835140 sectors), 898 cyls, 15 heads, 62 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (atapi): <MATSHITA CR-581/1.00>, removable, accel, iordis atapi1.0: unknown phase atapi1.0: unknown phase atapi1.0: unknown phase atapi1.0: unknown phase atapi1.0: unknown phase npx0 flags 0x1 on motherboard npx0: INT 16 interface vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa changing root device to wd0s1a tun0: promiscuous mode enabled pid 41066 (whois), uid 1002: exited on signal 11 (core dumped) Although that's hardly a compact list, there may be a better way to do what you want. -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990708121153.A45112>