Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2003 00:01:53 +0900
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        "Petr Holub" <hopet@ics.muni.cz>
Cc:        firewire@freebsd.org
Subject:   Re: firewire problem on 5.1-RELEASE
Message-ID:  <ybsbrvqpnku.wl@ett.sat.t.u-tokyo.ac.jp>
In-Reply-To: <000601c34a2e$f9b3b140$2603fb93@kloboucek>
References:  <000601c34a2e$f9b3b140$2603fb93@kloboucek>

next in thread | previous in thread | raw e-mail | index | archive | help
At Mon, 14 Jul 2003 19:40:11 +0200,
Petr Holub wrote:
> 
> Hi guys,
> 
> there's some new bug in firewire driver in 5.1-RELASE.
> When I connect camera to ma Dell Precision 530 box
> via firewire I get following messages:
> 
> fwohci0: BUS reset
> fwohci0: node_id=0x0800ffc0, gen=37, Bus reset failure
> fwohci0: node_id=0x8800ffc0, gen=77, non CYCLEMASTER mode
> fwohci0: SID Error
> fwohci0: phy int
> fwohci0: node_id=0x8800ffc0, gen=197, non CYCLEMASTER mode
> fwohci0: SID Error
> fwohci0: phy int
> fwohci0: node_id=0x8800ffc0, gen=61, non CYCLEMASTER mode
> fwohci0: SID Error
> fwohci0: phy int
> fwohci0: node_id=0x0800ffc0, gen=181, Bus reset failure
> fwohci0: phy int
> fwohci0: node_id=0x0800ffc0, gen=5, Bus reset failure
> fwohci0: phy int
> fwohci0: node_id=0x0800ffc0, gen=85, Bus reset failure
> fwohci0: phy int
> fwohci0: node_id=0x0800ffc0, gen=165, Bus reset failure
> fwohci0: phy int
> fwohci0: node_id=0x0800ffc0, gen=245, Bus reset failure
> fwohci0: phy int
> fwohci0: node_id=0x0800ffc0, gen=68, Bus reset failure
> fwohci0: phy int
> fwohci0: node_id=0x0800ffc0, gen=148, Bus reset failure
> fwohci0: phy int
> fwohci0: node_id=0x0800ffc0, gen=228, Bus reset failure
> fwohci0: phy int
> fwohci0: node_id=0x0800ffc0, gen=52, Bus reset failure
> fwohci0: phy int
> fwohci0: node_id=0x0800ffc0, gen=132, Bus reset failure
> fwohci0: phy int
> fwohci0: node_id=0xc800ffc0, gen=172, CYCLEMASTER mode
> firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
> firewire0: bus manager 0 (me)
> fwohci0: phy int
> fwohci0: BUS reset

Those may indicate some hardware problem.
5.1 does more strict check on sid buffer.

> fwohci0: node_id=0x8800ffc0, gen=174, non CYCLEMASTER mode
> firewire0: 2 nodes, maxhop <= 1, cable IRM = 0 (me)
> firewire0: root node is not cycle master capable
> firewire0: bus manager 0 (me)
> fwohci0: BUS reset
> fwohci0: node_id=0x8800ffc0, gen=174, non CYCLEMASTER mode
> fw_xfer_done: pending
> firewire0: 2 nodes, maxhop <= 1, cable IRM = 0 (me)
> firewire0: root node is not cycle master capable
> firewire0: bus manager 0 (me)
> fwohci0: BUS reset
> fwohci0: node_id=0xc800ffc0, gen=175, CYCLEMASTER mode
> firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
> firewire0: bus manager 0 (me)
> fw_attach_dev: 1 pending handlers called
> fwohci0: BUS reset
> fwohci0: node_id=0x8800ffc0, gen=177, non CYCLEMASTER mode
> firewire0: 2 nodes, maxhop <= 1, cable IRM = 1
> fwohci0: BUS reset
> fwohci0: node_id=0x8800ffc0, gen=177, non CYCLEMASTER mode
> firewire0: 2 nodes, maxhop <= 1, cable IRM = 1
> firewire0: bus manager 0 (me)
> firewire0: New S100 device ID:000085000064790a
> 
> After this when I try to read from camera I get following:
> 
> fwohci0: IR DMA overrun (0x40008011)
> fwohci0: IR DMA overrun (0x40008011)
> fwohci0: IR DMA overrun (0x40008011)
> fwohci0: IR DMA overrun (0x40008011)

How do you read from camera and where do you write the data?
If you cannot read/write fast enough, the buffer overrun
could ocurr.

> Can anybody help me? It used to work in 5.0-RELEASE so I suppose
> it to be a new bug.
> 
> Thanks,
> Petr
> 
> PS: Keep me in Cc: of your answer since I'm not a list member and
> I won't be able to react promptly otherwise.
> 
> P.
> 
> ================================================================
>                             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-541512213
>                                              fax: +420-541212747
>                                        e-mail: hopet@ics.muni.cz
> 
> 
> 
> _______________________________________________
> freebsd-firewire@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-firewire
> To unsubscribe, send any mail to "freebsd-firewire-unsubscribe@freebsd.org"
> 



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