From owner-freebsd-firewire@FreeBSD.ORG Mon Feb 9 09:45:00 2004 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67CB016A4CF for ; Mon, 9 Feb 2004 09:45:00 -0800 (PST) Received: from tora.nunu.org (YahooBB219003182070.bbtec.net [219.3.182.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FF3543D1F for ; Mon, 9 Feb 2004 09:45:00 -0800 (PST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from tora.nunu.org (unknown [192.168.1.2]) by tora.nunu.org (Postfix) with ESMTP id 13C654ACAD; Tue, 10 Feb 2004 02:44:59 +0900 (JST) Date: Tue, 10 Feb 2004 02:44:58 +0900 Message-ID: <878yjcgnad.wl@tora.nunu.org> From: Hidetoshi Shimokawa To: "Petr Holub" In-Reply-To: <001e01c3ef31$43c7cf30$2136fb93@kloboucek> References: <87bro8gsim.wl@tora.nunu.org> <001e01c3ef31$43c7cf30$2136fb93@kloboucek> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII cc: firewire@freebsd.org Subject: Re: too many interupts/sec X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 17:45:00 -0000 This is expected. It looks like the interrupt source is other than fwohci. From your dmesg, drm0 allocates a IRQ but no interrpt has been recorded in your vmstat output. Is this normal? I assume some interrupt source has been wrongly routed to the same irq as fwohci but I may be wrong. /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html At Mon, 9 Feb 2004 18:22:16 +0100, Petr Holub wrote: > > > If you don't mind, can you change "#undef OHCI_DEBUG" > > to "#define OHCI_DEBUG" in /sys/dev/firewire/fwohci.c? > > It must generate much of output in the storm... > > Sure. I've enabled it and did make && make install in my compile > tree and rebooted (to be sure). Interestingly enough, I don't get > storm of messages after I load the module and start X. It goes > like this: > > # kldload firewire > fwohci0: mem 0xfe1f8000-0xfe1fbfff,0xfe1ff000-0xfe > 1ff7ff irq 16 at device 12.0 on pci4 > fwohci0: OHCI version 1.0 (ROM=0) > fwohci0: No. of Isochronous channel is 4. > fwohci0: EUI64 80:74:08:00:65:45:39:00 > fwohci0: Phy 1394a available S400, 2 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > fwohci0: Initiate bus reset > fwohci0: INTERRUPT < PHY_REG BUS_RESET SID DMA_PRRQ > 0x04030010, 0x81030133 > fwohci0: BUS reset > fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode > firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) > firewire0: bus manager 0 (me) > fwohci0: INTERRUPT < CYC_START DMA_ATRQ > 0x00100001, 0x81030133 > # startx > drm0: mem 0xfd000000-0xfd7fffff,0xfdefc000-0xfd > efffff,0xf8000000-0xf9ffffff irq 11 at device 0.0 on pci1 > info: [drm] AGP at 0xf0000000 128MB > info: [drm] Initialized mga 3.1.0 20021029 on minor 0 > drm0: [MPSAFE] > > (and X goes up) > > and nothing more except for systat showing something like 95000 interrupts > per second for fwohci in vmstat. BTW: note that there is nothing connected > to any firewire port at the moment. > > Petr > > > > ================================================================ > Petr Holub > CESNET z.s.p.o. Supercomputing Center Brno > Zikova 4 Institute of Compt. Science > 162 00 Praha 6, CZ Masaryk University > Czech Republic Botanicka 68a, 60200 Brno, CZ > e-mail: Petr.Holub@cesnet.cz phone: +420-549493944 > fax: +420-541212747 > e-mail: hopet@ics.muni.cz > >