From owner-freebsd-firewire@FreeBSD.ORG Thu Jan 10 08:17:37 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 D243216A419 for ; Thu, 10 Jan 2008 08:17:37 +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 86F9E13C442 for ; Thu, 10 Jan 2008 08:17:37 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id 69ED61C8038 for ; Thu, 10 Jan 2008 00:17:37 -0800 (PST) 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 29176-10 for ; Thu, 10 Jan 2008 00:17:35 -0800 (PST) Received: from [10.47.1.226] (vpn.office.miralink.com [10.0.0.5]) by plato.miralink.com (Postfix) with ESMTP id A84BC1C8037 for ; Thu, 10 Jan 2008 00:17:35 -0800 (PST) Message-ID: <4785D49F.9040701@miralink.com> Date: Thu, 10 Jan 2008 00:17:35 -0800 From: Sean Bruno User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: freebsd-firewire@freebsd.org References: <47716073.1050701@miralink.com> In-Reply-To: <47716073.1050701@miralink.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Jan 10 00:17:37 2008 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4785d4a176052362839998 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-4.499 tagged_above=-10 required=6.6 autolearn=ham tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599, DSPAM_HAM=-0.1] X-Spam-Score: -4.499 X-Spam-Level: Subject: Re: Accessing a Macbook in TargetMode 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: Thu, 10 Jan 2008 08:17:37 -0000 Sean Bruno wrote: > I placed a shiny new MacBook into Firewire target mode while connected > to my RELENG_6_2 box and was suprised to see that FreeBSD can't really > access the disk via sbp(). I'm fairly certain that we don't have > access to the filesystem under FreeBSD(Apple is hfs?). > > Anyone else care to give this a try and report please? > Does any firewire disk work with FreeBSD? Hmmm...not much going on with a MacBook. Here's a little log trace from sbp with debug = 1. source # ls -la /dev/da* crw-r----- 1 root operator 0, 94 Jan 10 11:24 /dev/da0 source # fdisk /dev/da0 sbp0:0:0 ORB status src:1 resp:0 dead:1 len:2 stat:0 orb:0002ce634 sbp0:0:0 No additional information to report sbp0:0:0 XPT_SCSI_IO: cmd: 25 00 00 00 00 00 00 00 00 00, flags: 0x40, 10b cmd/8b data/32b sense sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 2 code 3a qlfr 0 len 2 sbp0:0:0 sbp_agent_reset (da0:sbp0:0:0:0): error 6 (da0:sbp0:0:0:0): Unretryable Error Opened disk da0 -> 6 fdisk: cannot open disk /dev/da0: Device not configured source # fwohci0: BUS reset sbp_post_busreset fwohci0: node_id=0xc800ffc0, gen=5, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) sbp_post_explore (sbp_cold=0) sbp_post_explore: EUI:001d4ffffe78600c not attached, state=3. target 0 lun 0 found target 0 lun 0 found sbp0:0:0 lost target fwohci0: BUS reset sbp_post_busreset fwohci0: node_id=0x8800ffc0, gen=6, 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: too many cycle lost, no cycle master presents? sbp_post_explore (sbp_cold=0) sbp_post_explore: EUI:001d4ffffe78600c attached target 0 lun 0 found target 0 lun 0 found sbp0:0:0 ordered:0 type:14 EUI:001d4ffffe78600c node:1 speed:2 maxrec:0 sbp0:0:0 'AAPL' '' '' sbp0:0:0 RECONNECT sbp0:0:0 mgm orb: 002ce76c sbp0:0:0 reconnect failed sbp_login: sec = 0 usec = 679651 ticks = 679 sbp0:0:0 LOGIN sbp0:0:0 mgm orb: 002ce8a4 sbp0:0:0 login: len 16, ID 1, cmd 0000fffff0ef1020, recon_hold 0 sbp0:0:0 sbp_busy_timeout sbp0:0:0 sbp_agent_reset sbp0:0:0 sbp_do_attach sbp0:0:0 sbp_cam_scan_target sbp0:0:0 ORB status src:1 resp:0 dead:1 len:2 stat:0 orb:0002ce9dc sbp0:0:0 No additional information to report sbp0:0:0 XPT_SCSI_IO: cmd: 00 00 00 00 00 00 00 00 00 00, flags: 0xc0, 6b cmd/0b data/32b sense sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 2 code 3a qlfr 0 len 2 sbp0:0:0 sbp_agent_reset (probe0:sbp0:0:0:0): error 6 (probe0:sbp0:0:0:0): Unretryable Error sbp0:0:0 ORB status src:1 resp:0 dead:1 len:2 stat:0 orb:0002ced84 sbp0:0:0 No additional information to report sbp0:0:0 XPT_SCSI_IO: cmd: 12 01 80 00 ff 00 00 00 00 00, flags: 0x40, 6b cmd/255b data/18b sense sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 5 code 24 qlfr 0 len 2 sbp0:0:0 sbp_agent_reset (probe0:sbp0:0:0:0): error 22 (probe0:sbp0:0:0:0): Unretryable Error sbp0:0:0 sbp_cam_scan_lun Sean