From owner-freebsd-ppc@freebsd.org  Mon Oct 26 15:43:32 2015
Return-Path: <owner-freebsd-ppc@freebsd.org>
Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5CE9581A1
 for <freebsd-ppc@mailman.ysv.freebsd.org>;
 Mon, 26 Oct 2015 15:43:32 +0000 (UTC)
 (envelope-from chmeeedalf@gmail.com)
Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com
 [IPv6:2607:f8b0:4001:c05::22f])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 2330F11D5
 for <freebsd-ppc@freebsd.org>; Mon, 26 Oct 2015 15:43:32 +0000 (UTC)
 (envelope-from chmeeedalf@gmail.com)
Received: by igbkq10 with SMTP id kq10so61476789igb.0
 for <freebsd-ppc@freebsd.org>; Mon, 26 Oct 2015 08:43:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:cc:content-type;
 bh=x1dfdaaO2oeaOuTYMxq/NILstzIod5Mh2v+ff1Hkc6k=;
 b=IU1XHY7twU81ntt7gg+BAGvZ11WPPEcIn1zT2tZFfmw/YXdjW+DAIgSPIM0kwOcZsU
 pPZS7M72j1mJb/Jnd47AuyH7bH5moXrQXKGAp4f76wN7yHbc1Qe1lqRib0U/PS6MZ/xF
 h82KlUO/E0CYHxN9ycPhPFyxgUWjJPF7nqZT9+D1wX0QfaE0+uFhaZEy7yPSS58nAiaw
 YffYAdErezBVpj6oyHe1X/V5em28PVaoz+B0anuWKSVpTov7GJpY5Tfnnew5DhsIE2N4
 qeHzcZhSOrJ3D321umrfnIr7+i/RmgI4Vx4qDkZ1pTRSTDeh3BjwR1V5XPicTc0TA4pK
 DrqQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=alumni_cwru_edu.20150623.gappssmtp.com; s=20150623;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:cc:content-type;
 bh=x1dfdaaO2oeaOuTYMxq/NILstzIod5Mh2v+ff1Hkc6k=;
 b=RxuV5ADPpXZsXPI34y26K/9+zagnfP6Gkz6YDLFfDd3ZaiYtyglnLhunulfz3UOmzC
 vhlwl++5DjgwHp9ex5f8JSi0XKsVS8iiwmebP7aTaHbG8o2sj9PikqP8dfh+gts+AFhq
 NzK0HtBlf84g/vjiSnjX3soGWX8uRoM1HTQ6Ty597ih3k00ISqH7pzINVd/V+Yx35Uo5
 HQSr9rfWYKIWEzRvw/uI4Uhu5l+WRh2PXISIwakuSgXVIjj4migHARNLqNhMKVtBTIhL
 lsIMD7KpUOgCmh4YsY/nrJlJZBToNa+4ZQ8AFMfcOjP+0UHaBGc7VZLjnLhPVhnSUoOq
 Qx6A==
MIME-Version: 1.0
X-Received: by 10.50.79.170 with SMTP id k10mr19192483igx.17.1445874211465;
 Mon, 26 Oct 2015 08:43:31 -0700 (PDT)
Sender: chmeeedalf@gmail.com
Received: by 10.36.41.138 with HTTP; Mon, 26 Oct 2015 08:43:31 -0700 (PDT)
In-Reply-To: <5626B57E.2030608@codelibre.net>
References: <5626B57E.2030608@codelibre.net>
Date: Mon, 26 Oct 2015 10:43:31 -0500
X-Google-Sender-Auth: ori1R_0DisA3N9stVpePEK_QFLY
Message-ID: <CAHSQbTAnTGpvTgBJ=kVhR9jTsKGKLbaXJhoqLExnBoJ9LcgALQ@mail.gmail.com>
Subject: Re: Running a PPC system over FireWire from second machine
From: Justin Hibbits <jrh29@alumni.cwru.edu>
To: Roger Leigh <rleigh@codelibre.net>
Cc: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-BeenThere: freebsd-ppc@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: Porting FreeBSD to the PowerPC <freebsd-ppc.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ppc>,
 <mailto:freebsd-ppc-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ppc/>
List-Post: <mailto:freebsd-ppc@freebsd.org>
List-Help: <mailto:freebsd-ppc-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ppc>,
 <mailto:freebsd-ppc-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Oct 2015 15:43:32 -0000

Hi,

On Tue, Oct 20, 2015 at 4:43 PM, Roger Leigh <rleigh@codelibre.net> wrote:
> I found this
> https://forums.freebsd.org/threads/target-mode-firewire-but-not-so-specifically.30997/
> but it's a few years old and possibly incorrect even then.
>
> What I'd like to do is put a FireWire card in my FreeBSD NAS, and then
> export a ZVOL on a specific FireWire port in target mode so that it can be
> used as a raw block device on a Mac Mini as its root filesystem. This will
> have the advantage of being faster than the internal 2.5" IDE HDD and also
> having the ability to take snapshots and backups from the NAS system.
>
> I was curious to know if this was technically possible, and if so if anyone
> had done this and had success?
>
> Is there any limitation on this if so?  Are both 400 and 800 ports
> bidirectional in this manner?  I have 400-400 and 400-800 cables, so I could
> use either on the target (the Mac Mini is 400 only).  Before I purchase any
> hardware, I want to be certain this would work out.
>
>
> Thanks all,
> Roger

It should be technically feasible.  I've never done this, so can't say
for certain, but I did play around with exporting a file over
firewire, with minimal success (didn't try too hard, either).  The Mac
Mini should just see a block device, and perform normal I/O to it,
which the target endpoint would handle.  I would recommend getting a
PCIe dual 800/400 firewire card, and using the 400 port.  I did find a
minipcie firewire card on amazon, but it's rather expensive at $95
(full sized PCIe is probably cheaper).

- Justin