lkml.org 
[lkml]   [2002]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Urgent, Please respond - Re: max_scsi_luns and 2.4.19-pre10.
    From
    Date
    On Tue, 2002-06-25 at 21:48, jw schultz wrote:
    > I'm no expert on this bit but look in
    > drivers/scsi/scsi_scan.c for CONFIG_SCSI_MULTI_LUN
    >
    > #ifdef CONFIG_SCSI_MULTI_LUN
    > static int max_scsi_luns = 8;
    > #else
    > static int max_scsi_luns = 1;
    > #endif

    This is, but there seems to be something more fundamental here. I'm
    using the -aa patches, and the static int max_scsi_luns = 8; is actually
    static int max_scsi_luns = MAX_SCSI_LUNS;

    where above is: #define MAX_SCSI_LUNS 0xFFFFFFFF;
    but I'm not sure if this syntax is 0xFFFFFFFF == 8 or 2^n.

    To me, it seems like 8. I'm using pre10-aa2, I'm going to try pre10-aa4
    as well, but if I must I'm going to hard-code the kernel bits I need I
    supposed to make static int max_scsi_luns = MAX_SCSI_LUNS; into static
    int max_scsi_luns = 16; to ensure it works at the level I need.



    > This is the variable you seem to want.
    >
    > Note to SCSI maintainers. a quick vi `grep -l CONFIG_SCSI_MULTI_LUN`
    > here reveals lots of hardcoded values of 8. It seems to me
    > that perhaps a CONFIG_SCSI_MAX_LUN to replace
    > CONFIG_SCSI_MULTI_LUN would be in order.

    Agreed. I've always wondered why one cannot set this by hand, or even
    simpler perhaps is a CONFIG_SCSI_MAX_LUN where values are set to one of
    small, medium, large?

    Thanks much J.W.

    > ________________________________________________________________
    > J.W. Schultz Pegasystems Technologies
    > email address: jw@pegasys.ws
    >
    > Remember Cernan and Schmitt
    --
    Austin Gonyou <austin@digitalroadkill.net>
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:22    [W:0.026 / U:0.232 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site