Subject: Re: scsipi/physio trouble
To: None <tech-kern@netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: tech-kern
Date: 01/24/2005 10:21:38
On Mon, Jan 24, 2005 at 03:37:51AM +0100, Reinoud Zandijk wrote:
> What do you guys think? should either scsipi be fixed to not use physio? or
> should physio be fixed to allow transfers to kernel memeory too?
I don't have any opinion on this, but..
> Feedback would be much apreciated for this means that a lot of IOCTL's like
> SCIOCCOMMAND (scsi command) can't be be executed from kernel-space.
without knowing the details, this sounds like some abstraction is not right.
Why would anything outside of sys/dev/scsipi need to do SCSI commands?
Everything in there, of course, just calls scsipi_command().
Userland is a different beast, and that's why this ioctl exists.
Martin