From owner-freebsd-firewire@FreeBSD.ORG Tue Aug 19 05:04:54 2003 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 448E516A4BF for ; Tue, 19 Aug 2003 05:04:54 -0700 (PDT) Received: from rohrpostix.tallence.de (rohrpostix.tallence.de [212.77.172.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA48843FDD for ; Tue, 19 Aug 2003 05:04:52 -0700 (PDT) (envelope-from stb@lassitu.de) Received: from [127.0.0.1] (blue.tallence.de [212.77.172.82]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by rohrpostix.tallence.de (Postfix) with ESMTP id 345571ADA07; Tue, 19 Aug 2003 14:04:50 +0200 (CEST) Date: Tue, 19 Aug 2003 14:04:47 +0200 From: Stefan Bethke To: Hidetoshi Shimokawa Message-ID: <2147483647.1061301887@[10.0.1.3]> In-Reply-To: References: <2147483647.1061227789@10.0.1.3> X-Mailer: Mulberry/3.0.3 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline cc: freebsd-firewire@freebsd.org Subject: Re: if_few borked? X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Vendors pre-release coordination List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2003 12:04:54 -0000 On Dienstag, 19. August 2003 13:17 Uhr +0900 Hidetoshi Shimokawa wrote: > It looks like there is no cycle master on the bus. > Theoretically, there is no need for cycle master for asynchronous > packets but I observed that VIA chip can't send any packet without it. > > > At Mon, 18 Aug 2003 17:29:49 +0200, > Stefan Bethke wrote: > >> fwohci0: Initiate bus reset >> fwohci0: BUS reset >> fwohci0: node_id=0x8800ffc0, gen=1, non CYCLEMASTER mode > > This node is not the cyclemaster. How about the other box? > >> firewire0: split transaction timeout dst=0xffc1 tl=0x1 state=2 >> firewire0: bus manager election failed >> fw_xfer_free FWXF_START >> firewire0: split transaction timeout dst=0xffc1 tl=0x2 state=2 >> node1: resp=60 addr=0x400 >> fw_xfer_free FWXF_START >> probe failed for 1 node > > This means that VIA OHCI chip hasn't sent out the packet yet. > Can you give me the both output of the two boxes? Sure. If you need more, just let me know. I also have a serial console on these two, so I could some debugging... This is the first one: >>> dmesg fwohci0: port 0xec00-0xec7f mem 0xec105000-0xec1057ff irq 12 at dev ice 16.0 on pci0 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channel is 8. fwohci0: EUI64 00:00:00:30:1b:27:f7:87 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 if_fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:00:00:27:f7:87 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0x8800ffc0, gen=1, non CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 firewire0: split transaction timeout dst=0xffc1 tl=0x1 state=2 firewire0: bus manager election failed fw_xfer_free FWXF_START firewire0: split transaction timeout dst=0xffc1 tl=0x2 state=2 node1: resp=60 addr=0x400 fw_xfer_free FWXF_START probe failed for 1 node # ifconfig fwe0 fwe0: flags=8943 mtu 1500 inet 204.152.65.249 netmask 0xfffffff8 broadcast 204.152.65.255 ether 02:00:00:27:f7:87 ch 1 dma 0 # fwcontrol 1 devices (info_len=1) node EUI64 status 0 000000301b27f787 0 # fwcontrol -t crc_len: 4 generation:1 node_count:2 sid_count:2 id link gap_cnt speed delay cIRM power port0 port1 port2 ini more 00 1 5 S400 0 1 15W P - - 1 0 01 1 5 S400 0 1 15W - C - 0 0 This is the second one: >>> dmesg fwohci0: port 0xec00-0xec7f mem 0xec105000-0xec1057ff irq 12 at device 16.0 on pci0 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channel is 8. fwohci0: EUI64 00:00:00:30:1b:27:b0:17 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 if_fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:00:00:27:b0:17 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0x8800ffc0, gen=1, non CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 firewire0: split transaction timeout dst=0xffc1 tl=0x1 state=2 firewire0: bus manager election failed fw_xfer_free FWXF_START firewire0: split transaction timeout dst=0xffc1 tl=0x2 state=2 node1: resp=60 addr=0x400 fw_xfer_free FWXF_START probe failed for 1 node # ifconfig fwe0 fwe0: flags=8943 mtu 1500 inet 204.152.65.250 netmask 0xfffffff8 broadcast 204.152.65.255 ether 02:00:00:27:b0:17 ch 1 dma 0 # fwcontrol 1 devices (info_len=1) node EUI64 status 0 000000301b27b017 0 # fwcontrol -t crc_len: 4 generation:1 node_count:2 sid_count:2 id link gap_cnt speed delay cIRM power port0 port1 port2 ini more 00 1 63 S400 0 1 15W - P - 1 0 01 1 63 S400 0 1 15W C - - 0 0 I also did a bus reset on the second box: # fwcontrol -r fwohci0: Initiate bus reset # fwcontrol 1 devices (info_len=1) node EUI64 status 0 000000301b27b017 0 # fwcontrol -t crc_len: 4 generation:1 node_count:2 sid_count:2 id link gap_cnt speed delay cIRM power port0 port1 port2 ini more 00 1 63 S400 0 1 15W - P - 1 0 01 1 63 S400 0 1 15W C - - 0 0 -- Stefan Bethke, Phone +49 170 346 0140