[5146] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Linux as a SCSI _Target_ device?

daemon@ATHENA.MIT.EDU (Jeff Noxon)
Mon Nov 16 06:32:57 1998

Date: 	Sun, 15 Nov 1998 23:06:40 -0600
From: Jeff Noxon <jeff@planetfall.com>
To: Gerard Roudier <groudier@club-internet.fr>
Cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.95.981114205423.4702A-100000@localhost>; from Gerard Roudier on Sat, Nov 14, 1998 at 09:27:21PM +0100

On Sat, Nov 14, 1998 at 09:27:21PM +0100, Gerard Roudier wrote:
> YES!
> I read you have been told about some SCSI project for Linux that
> implements SCSI target mode. It seems guys wanted to implement kind of
> network or cluster link. For that, just implementing the PROCESSOR device
> should have been enough. You should have a look at this code, I think. 

Are you talking about IP over SCSI?  They did not use target mode.
If I recall correctly they used a SEND MESSAGE command or similar.  I
need to look back at that project and find a copy of the SCSI spec.

> > I want to try to write a module that can export any Linux block device
> > as a SCSI target emulating a direct-access device.  I have a spare Alpha
> > machine with an onboard 53c810 for the development.
> 
> You probably need at least a second controller for testing.

My Alpha also has a 3940W, and I have a few other (BusLogic, Advansys)
in other machines.

> Perhaps somebody in the USA (is it your planet? :-)) can send you a copy
> of such a manual. No need to have something recent. Seems the SYMBIOS
> assembler program for DOS is available at their ftp site (in some tools
> directory). The SYMBIOS site will be moved to LSI one at the end of this
> year. 

I don't know, anyone in the USA have the SCRIPTS manual?  :-)  I do have
a copy of the DOS assembler.

> > They sent me a 53c8xx data book.  Is the SCRIPTS programming info
> > in there?
> 
> Data manuals have everythings needed to write your driver but lack of the
> full SCRIPTS symbolic language syntax documentation. The ncr53c8xx driver
> does not use the SYMBIOS SCRIPTS language but just some tricky C macros
> for SCRIPTS programming, but Drew Eckward had written years ago a SCRIPTS
> assembler in perl for his 53c7,8xx driver development. You should ask Drew
> for his perl program, or perhaps the source is still available at some ftp
> site.

I thought that it was still part of the kernel source tree.  I have a vague
memory of using that driver at one time, probably with Linux 1.0.  I think
It seems like your macros were not such a bad idea, though.

> Indeed, I will help you each time I will be able to.
> But, for now, my advice is to study the SYMBIOS data manual and the SPI-2, 
> SPC and SBC t10 specifications. You can download the t10 specs from 
> something like:
> 
>     ftp://ftp.symbios.com/pub/standards/t10/drafts/
>     (A README file is available in this directory)

Great, I'll check that out!

I'm going to try to understand how your driver works, read through all
these piles of documentation, and hack on some things.  :-)

Regards,

Jeff

--
It's time to close Windows and open source.
Linux is a trademark of Linus Torvalds.

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post