On Mon, 2003-02-24 at 13:58, vijay srinath wrote: > hello all, > > Iam running Linux Kernel 2.4.9. I have a disk array with a more than 128 luns. Since the maximum number of disk luns that sd driver can see is 128, i expected to see atleast 128. But i noticed that i was not able to access any lun at all. > I investigated further and saw that sd_init() in sd.c was returning a failure. This was because the code where memory is alloc'd for 'hd_struct' structures was failing. The code snippet is below if you are running a RHL kernel you need to upgrade to the latest erratum kernel (2.4.18-24.x.y) which has support for 256 scsi disks.