LUN larger than currently supported

Problem:

When booting on the 3ware controller under 64-bit Linux, the kernel reports many error messages on LUN:

scsi: On host 0 channel 0 id 4 only 511 (max_scsi_report_luns) of 525795330 luns reported, 
try increasing max_scsi_report_luns.
scsi: host 0 channel 0 id 4 lun 0xb0b800008ed88ec0 has a LUN larger than currently supported.
scsi: host 0 channel 0 id 4 lun 0xfbbe007cbf0006b9 has a LUN larger than currently supported.
scsi: host 0 channel 0 id 4 lun 0x0002f3a4ea210600 has a LUN larger than currently supported.

http://www.3ware.com/KB/article.aspx?id=14831

Distributions Effected:

Solution:

For systems running SuSE Linux 9.3 and 10, append the kernel parameter 'scsi_mod.default_dev_flags=0x40000' to /etc/grub.conf.

For systems running Fedora Core 3/4, RHEL4, CentOS 4.x, add the following line to /etc/modprobe.conf and create a new initial ramdisk afterward.

      options  scsi_mod  max_luns=128  default_dev_flags=0x40000

To create a new initial ramdisk, run 'mkinitrd'.

       mkinitrd -v -f /boot/initrd-.img <kernel version>

If the boot loader has multiple kernel entries, run mkinitrd multiple times for each kernel. For example:

# mkinitrd -v -f /boot/initrd-2.6.9-22.ELsmp.img 2.6.9-22.ELsmp
# mkinitrd -v -f /boot/initrd-2.6.9-22.EL.img 2.6.9-22.EL