[2166] in linux-scsi channel archive

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

Re: More than one SCSI controler & SCSI_IOCTL_GET_IDLUN

daemon@ATHENA.MIT.EDU (Thomas Niederreiter)
Thu Jul 17 06:35:33 1997

Date: 	Wed, 16 Jul 1997 13:26:44 +0200
From: Thomas Niederreiter <tn@bv.rz.fh-muenchen.de>
To: Eric Youngdale <eric@andante.jic.com>
Cc: Joerg Schilling <schilling@fokus.gmd.de>, linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.95.970716071146.7345I-100000@andante.jic.com>; from Eric Youngdale on Wed, Jul 16, 1997 at 07:23:46AM -0400

On Wed, Jul 16, 1997 at 07:23:46AM -0400, Eric Youngdale wrote:
> 
> 
> > I really nead the SCSI bus id to be able to do device mapping in cdrecord.
> > If this cannot be done, it will not be possible to let cdrecord access
> > any CD-Recorder bejond the first SCSI bus.
> 
> 	Fine.  I am not arguing that you shouldn't be getting the number. 
> All I am saying is that I don't want you changing that field of the ioctl
> result.  There is too much information being returned by
> SCSI_IOCTL_GET_IDLUN to begin with, and trying to overload even more
> information just gets us into even deeper trouble. You could just as
> easily add a new SCSI_IOCTL_GET_BUS_NUMBER type of ioctl to return that
> value. 

Hmm..that sounds reasonable for me. cdrecord could check if the new
ioctl is there and then support more than one controller. 
Is there any chance that a new ioctl will made it in the (long overdue?)
2.0.31 kernel? I speak as author of xcdroast and it is easier to write
in the readme that you have to install a kernel >= 2.0.31 than to patch
the kernel yourself in order to get more than one controllers working
with cdrecord.

> 
> -Eric
> 
> 

Thomas

  ___ ___               
 /   |   \  ___________   | REAL   : Thomas Niederreiter: Munich, Germany  
/    ~    \/  _ \_  __ \  | EMAIL  : tn@mailserv.rz.fh-muenchen.de 
\    Y    (  <_> )  | \/  | MUD/IRC: Hor/_Hor  
 \___|_  / \____/|__|     | 
       \/ All I want is a warm bed and a kind word and unlimited power         
                      -- Ashleigh Brilliant


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