From owner-freebsd-firewire@FreeBSD.ORG Fri Jun 20 00:40:15 2008 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A603A106566C; Fri, 20 Jun 2008 00:40:15 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id 72F2C8FC18; Fri, 20 Jun 2008 00:40:15 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id E0B3F1A92E6; Thu, 19 Jun 2008 17:35:53 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599] Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9igWzuhTW2UE; Thu, 19 Jun 2008 17:35:53 -0700 (PDT) Received: from [10.47.1.118] (vpn.office.miralink.com [10.0.0.5]) by plato.miralink.com (Postfix) with ESMTP id 18A461A92E4; Thu, 19 Jun 2008 17:35:53 -0700 (PDT) Message-ID: <485AFC6D.4050107@miralink.com> Date: Thu, 19 Jun 2008 17:40:13 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: freebsd-firewire@freebsd.org, Hidetoshi Shimokawa Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: [RELENG_7] SBP Drives not recognized X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2008 00:40:15 -0000 In an effort to test my sbp_targ modifications, I fired up a FreeBSD 7 initiator, and cvsup'd to RELENG_7. I then connected an external SBP2 device that I got off of NewEgg. I was surprised to see it not work when I plugged it in: Jun 19 11:30:01 home-test kernel: fwohci0: BUS reset Jun 19 11:30:01 home-test kernel: fwohci0: node_id=0xc800ffc1, gen=6, CYCLEMASTER mode Jun 19 11:30:01 home-test kernel: sbp_post_busreset Jun 19 11:30:01 home-test kernel: firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) Jun 19 11:30:01 home-test kernel: fwohci0: fw_set_bus_manager: 1->1 (loop=0) Jun 19 11:30:01 home-test kernel: firewire0: bus manager 1 (me) Jun 19 11:30:01 home-test kernel: send phy_config root_node=1 gap_count=5 Jun 19 11:30:01 home-test kernel: fwohci0: start AT DMA status=11 Jun 19 11:30:02 home-test kernel: firewire0: New S800 device ID:0001d27ceea502b8 Jun 19 11:30:02 home-test kernel: fwohci0: txd err= 3 miss Ack err Jun 19 11:30:02 home-test kernel: fw_explore: node 2, err = -1 Jun 19 11:30:02 home-test kernel: fwohci0: txd err= 3 miss Ack err Jun 19 11:30:02 home-test kernel: fw_explore: node 2, err = -1 Jun 19 11:30:02 home-test kernel: fwohci0: txd err= 3 miss Ack err Jun 19 11:30:02 home-test kernel: fw_explore: node 2, err = -1 Jun 19 11:30:02 home-test kernel: bus_explore done Jun 19 11:30:02 home-test kernel: sbp_post_explore (sbp_cold=0) Jun 19 11:30:02 home-test kernel: sbp_post_explore: EUI:0001d27ceea502b8 not attached, state=3. This looks an awful lot like my issues with sbp_targ from previous emails and may indicate a more serious failure in fwohci.c or firewire.c Or, it may indicate that I have no idea what I am doing. :) This SBP-2 device is a external 2 disk enclosure with an Oxford Semicondoctor F/W controller. It seems to work just fine with linux and windows. [sean@home-test ~]$ sudo fwcontrol -t crc_len: 4 generation:8 node_count:2 sid_count:2 id link gap_cnt speed delay cIRM power port0 port1 port2 ini more 00 1 5 S800 0 0 -1W - - P 0 0 01 1 5 S800 0 1 -1W C - - 1 0 [sean@home-test ~]$ sudo fwcontrol -p === base register === 0x07 0x85 0xe3 0xe2 0xc4 0x03 0x50 0x00 Physical_ID:1 R:1 CPS:1 RHB:1 IBR:0 Gap_Count:5 Extended:7 Num_Ports:3 PHY_Speed:7 Delay:2 LCtrl:1 C:1 Jitter:0 Pwr_Class:4 WDIE:0 ISBR:0 CTOI:0 CPSI:0 STOI:0 PEI:0 EAA:1 EMC:1 Max_Legacy_SPD:2 BLINK:1 Bridge:0 Page_Select:0 Port_Select0 === page 0 port 0 === 0xfe 0x40 0xbb 0x00 0x00 0x00 0x00 0x00 Astat:3 BStat:3 Ch:1 Con:1 RXOK:1 Dis:0 Negotiated_speed:2 PIE:0 Fault:0 Stanby_fault:0 Disscrm:0 B_Only:0 DC_connected:1 Max_port_speed:3 LPP:1 Cable_speed:3 Connection_unreliable:0 Beta_mode:0 Port_error:0x0 Loop_disable:0 In_standby:0 Hard_disable:0 === page 0 port 1 === 0xf8 0x60 0x3b 0x00 0x00 0x00 0x00 0x00 Astat:3 BStat:3 Ch:1 Con:0 RXOK:0 Dis:0 Negotiated_speed:3 PIE:0 Fault:0 Stanby_fault:0 Disscrm:0 B_Only:0 DC_connected:0 Max_port_speed:3 LPP:1 Cable_speed:3 Connection_unreliable:0 Beta_mode:0 Port_error:0x0 Loop_disable:0 In_standby:0 Hard_disable:0 === page 0 port 2 === 0xf8 0x60 0x3b 0x00 0x00 0x00 0x00 0x00 Astat:3 BStat:3 Ch:1 Con:0 RXOK:0 Dis:0 Negotiated_speed:3 PIE:0 Fault:0 Stanby_fault:0 Disscrm:0 B_Only:0 DC_connected:0 Max_port_speed:3 LPP:1 Cable_speed:3 Connection_unreliable:0 Beta_mode:0 Port_error:0x0 Loop_disable:0 In_standby:0 Hard_disable:0 === page 1 === 0x02 0x00 0x08 0x00 0x28 0x83 0x13 0x04 Compliance:2 Vendor_ID:0x080028 Product_ID:0x831304