[7350] in linux-scsi channel archive
Re: 45 missing CDROM devices
daemon@ATHENA.MIT.EDU (Jakub Jelinek)
Tue Oct 12 10:32:50 1999
Date: Tue, 12 Oct 1999 16:26:48 +0200
From: Jakub Jelinek <jakub@redhat.com>
To: Tom Oehser <tom@toms.net>
Cc: linux-scsi@vger.rutgers.edu
Message-ID: <19991012162648.B666@mff.cuni.cz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
In-Reply-To: <Pine.LNX.3.95.991012101429.30526K-100000@toms.net>; from Tom Oehser on Tue, Oct 12, 1999 at 10:19:55AM -0400
> I've been sending emails to driver authors, changing kernel versions, and
> pulling my hair out, because I have a stack of scsi changers that I want
> to run on a module loaded scsi card, and only the first 2 will work...
>
> What is the _right_ way to fix this?
Going to kdev_t being a pointer to a structure.
Then all these hard limits are non-issue. This statical limit just comes
from the fact that so far Linux uses static one and two dimensional arrays
for block devices which have to be sized early and due to races cannot be
easily resized.
> (Right= it works with the stock
> kernel to insmod a scsi driver that detects 47 CDROM LUNs.) Can't we at
> least return an _error_ when it fails?
Edit drivers/scsi/hosts.h and s/2/50/.
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.18 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu