Re: Pb with external RAID controller in lk 2.4

Douglas Gilbert
2002-05-22T01:03:04Z

Gérard Roudier wrote:
>
> A lun limitation is hardcoded in /usr/src/linux/drivers/scsi/scsi.c.
> here's the offending lines:
>
> #ifdef CONFIG_SCSI_MULTI_LUN
> static int max_scsi_luns = 8;
> #else
> static int max_scsi_luns = 1;
> #endif
>
> You want to change value 8 by some higher value. It has chance to work.

You can set "max_scsi_luns" as a kernel boot time parameter
(e.g. with lilo add the line 'append "max_scsi_luns=16"') when
the scsi mid level is built in to the kernel. If the scsi mid
level is a module then the same argument can be given when that
module is loaded (or via /etc/modules.conf).

Doug Gilbert