Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2004 18:22:16 +0100
From:      "Petr Holub" <hopet@ics.muni.cz>
To:        "Hidetoshi Shimokawa" <simokawa@sat.t.u-tokyo.ac.jp>
Cc:        firewire@freebsd.org
Subject:   RE: too many interupts/sec
Message-ID:  <001e01c3ef31$43c7cf30$2136fb93@kloboucek>
In-Reply-To: <87bro8gsim.wl@tora.nunu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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: <Texas Instruments TSB12LV26> 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: <IEEE1394(FireWire) bus> 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: <Matrox G550 (AGP)> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001e01c3ef31$43c7cf30$2136fb93>