From owner-freebsd-firewire@FreeBSD.ORG Mon Feb 9 09:22:13 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 1EBE416A4CF for ; Mon, 9 Feb 2004 09:22:13 -0800 (PST) Received: from anor.ics.muni.cz (anor.ics.muni.cz [147.251.4.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B45A43D1F for ; Mon, 9 Feb 2004 09:22:12 -0800 (PST) (envelope-from hopet@ics.muni.cz) Received: from kloboucek (kloboucek.fi.muni.cz [147.251.54.33]) (user=hopet mech=LOGIN bits=0) by anor.ics.muni.cz (8.12.1/8.12.1) with ESMTP id i19HMARa006425 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 9 Feb 2004 18:22:11 +0100 From: "Petr Holub" To: "Hidetoshi Shimokawa" Date: Mon, 9 Feb 2004 18:22:16 +0100 Message-ID: <001e01c3ef31$43c7cf30$2136fb93@kloboucek> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 In-Reply-To: <87bro8gsim.wl@tora.nunu.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Muni-Spam-TestIP: 147.251.54.33 X-Muni-Virus-Test: Clean 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:22:13 -0000 > 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