From: jw schultz <jw@pegasys.ws>
To: Austin Gonyou <austin@digitalroadkill.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Urgent, Please respond - Re: max_scsi_luns and 2.4.19-pre10.
Date: Tue, 25 Jun 2002 20:47:47 -0700 [thread overview]
Message-ID: <20020625204747.D26789@pegasys.ws> (raw)
In-Reply-To: <1025060739.20340.6.camel@UberGeek>; from austin@digitalroadkill.net on Tue, Jun 25, 2002 at 10:05:39PM -0500
On Tue, Jun 25, 2002 at 10:05:39PM -0500, Austin Gonyou wrote:
> 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.
>
I don't have -aa but that is -1. I would suggest a bit of
greping.
I seriously doubt changing it to 16 would cause data
corruption. It will either work or not. If it doesn't you
will crash on boot/init.
--
________________________________________________________________
J.W. Schultz Pegasystems Technologies
email address: jw@pegasys.ws
Remember Cernan and Schmitt
next prev parent reply other threads:[~2002-06-26 3:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-26 0:46 max_scsi_luns and 2.4.19-pre10 Austin Gonyou
2002-06-26 1:50 ` Urgent, Please respond - " Austin Gonyou
2002-06-26 2:48 ` jw schultz
2002-06-26 3:05 ` Austin Gonyou
2002-06-26 3:47 ` jw schultz [this message]
2002-06-26 4:03 ` Austin Gonyou
2002-06-26 4:50 ` >8 luns on 2.4.19-pre10-aa4 Austin Gonyou
2002-06-26 12:33 ` max_scsi_luns and 2.4.19-pre10 Kurt Garloff
2002-06-26 14:18 ` Austin Gonyou
2002-06-26 16:07 ` Kurt Garloff
2002-06-26 17:50 ` Austin Gonyou
2002-06-26 14:32 ` Austin Gonyou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020625204747.D26789@pegasys.ws \
--to=jw@pegasys.ws \
--cc=austin@digitalroadkill.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox