From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Chris Boot <bootc@bootc.net>
Cc: target-devel@vger.kernel.org,
linux1394-devel@lists.sourceforge.net,
linux-scsi@vger.kernel.org, lkml <linux-kernel@vger.kernel.org>
Subject: Re: FireWire/SBP2 Target mode
Date: Wed, 17 Aug 2011 20:57:38 +0200 [thread overview]
Message-ID: <20110817205738.57aa5dd9@stein> (raw)
In-Reply-To: <4E4BD560.4010806@bootc.net>
On Aug 17 Chris Boot wrote:
> Now that we have a nice SCSI target framework in the kernel, and drivers
> either in-tree or being worked on for iSCSI, FC, FCoE, SAS and iSER, I
> was wondering about the possibility of adding FireWire to that list.
> Apple Macs have had a FireWire Target Disk mode for a long time, and
Side note: This target mode is a feature of their OpenFirmware and EFI
firmwares, not of the Mac OS and the OS X. Though both firmware- and
operating-system-implemented SBP-2 targets certainly have their use cases.
Aside from the SBP-2 target in Macs and from Oracle Endpoint, I only know
of SBP-2 targets that are built upon dedicated bus bridge silicon.
> there is even a program called Endpoint[1] that apparently does this on
> Linux though it looks completely untouched since 2003 and no longer
> works as it depends on the old FireWire stack.
It can be made to work again if it and libraw1394 are slightly extended to
use a different API for Configuration ROM changes. Or Endpoint could be
ported from libraw1394 to <linux/firewire-cdev.h>. But then it would of
course not benefit from the generic SCSI target infrastructure, e.g. WRT
administration, backing storage choices, or command set support.
> I would very much like to see something like this added to the kernel,
> and would very much like to contribute to writing this feature. However
> my kernel development knowledge is very limited indeed so this would
> require a lot hand-holding and mentoring.
>
> What's the interest in such a feature?
People keep asking for it; very infrequently though.
> Would anyone be able to give some (a lot?) of their time to help write
> this?
>
> Thanks,
> Chris
>
> [1] http://oss.oracle.com/projects/endpoint/
I for one can answer questions about firewire-core's driver API but do not
have much spare time for more, for the time being.
BTW, a kernelspace SBP-2 target drivers would use several of the FireWire
features that the firewire-net driver uses too. So the sources of that
driver may be of help where the firewire-core kerneldoc comments are
missing or are not providing the bigger picture.
--
Stefan Richter
-=====-==-== =--- =---=
http://arcgraph.de/sr/
next prev parent reply other threads:[~2011-08-17 18:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-17 14:51 FireWire/SBP2 Target mode Chris Boot
2011-08-17 18:57 ` Stefan Richter [this message]
2011-08-18 16:19 ` Clemens Ladisch
2012-02-01 19:50 ` Andy Grover
2012-02-01 21:41 ` Stefan Richter
2012-02-02 9:22 ` Boaz Harrosh
2012-02-02 10:09 ` Clemens Ladisch
2012-02-06 13:13 ` Chris Boot
2012-02-06 14:43 ` Clemens Ladisch
2012-02-06 14:51 ` Chris Boot
2012-02-06 20:26 ` Stefan Richter
2012-02-06 22:28 ` Chris Boot
2012-02-06 23:00 ` Julian Calaby
2012-02-06 23:09 ` Chris Boot
2012-02-07 7:38 ` Chris Boot
2012-02-07 10:06 ` Julian Calaby
2012-02-07 19:17 ` Stefan Richter
2012-02-07 19:53 ` Chris Boot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110817205738.57aa5dd9@stein \
--to=stefanr@s5r6.in-berlin.de \
--cc=bootc@bootc.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux1394-devel@lists.sourceforge.net \
--cc=target-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox