The HyperNews Linux KHG Discussion Pages

More: Re: Generic SCSI pr...

Forum: Device Drivers
Re: Question Simulating a scsi device? (Jukka-Pekka Piispanen)
Re: More Generic SCSI probably will not work (Michael K. Johnson)
Date: Mon, 07 Jul 1997 10:23:27 GMT
From: Jukka-Pekka Piispanen <kis@ee.tut.fi>

Thanks for your help,

I'll tell a little more about the situation.

I have two linux machines.
They have adaptec's 2940 adapters and are connected with
a 68-pin external scsi cable. I'll try to transfer data from
one machine to another as fast as possible via cable between
them.

On the initiator side I think I will manage with generic scsi,
just sending few commands (inquiry, test_unit_ready,
request_sense, send_diagnostic and send_message(6)).

On the target side, well that's not so clear to me.
I think that the target machine has to simulate a scsi device
by software (communications device type will be OK) and send
inquiry data and such when called by the initiator machine.

So, I'm not sure how that kind of user level program can
get the data sent for it.
Where it should read and write, /dev/sg* ?
How does it get a scsi id number?
Or do I need a block inside kernel to handle
listening and answering?

Does anyone know if there is software which is
used to transfer data in the way I described?

Thanks again,

Jukkis


Messages

1. More: OK, Generic SCSI definitely won't work. by Michael K. Johnson newest