RHEL AS4: SCSI - Invalid LUN Reporting
CB
cboyer at gmail.com
Thu Feb 23 15:47:02 UTC 2006
Hello -
I'm using Redhat Enterprise 4, Update 2, with kernel 2.6.9-22, and am having
an issue with multiple LUNs on an Adaptec controller. The controller is a:
09:04.0 SCSI storage controller: Adaptec AHA-3960D / AIC-7899A U160/m (rev
01)
On startup, I can see everything on LUN 0:
# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: EMDI 1HD Model: 40704 Rev: 0001
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi2 Channel: 00 Id: 06 Lun: 00
Vendor: PE/PV Model: 1x2 SCSI BP Rev: 1.0
Type: Processor ANSI SCSI revision: 02
Host: scsi2 Channel: 01 Id: 06 Lun: 00
Vendor: PE/PV Model: 1x4 SCSI BP Rev: 1.0
Type: Processor ANSI SCSI revision: 02
Host: scsi2 Channel: 02 Id: 00 Lun: 00
Vendor: MegaRAID Model: LD 0 RAID1 69G Rev: 521S
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 02 Id: 01 Lun: 00
Vendor: MegaRAID Model: LD 1 RAID0 279G Rev: 521S
Type: Direct-Access ANSI SCSI revision: 02
But am seeing the following error through dmesg:
# dmesg |grep -i lun
Attached scsi disk sda at scsi0, channel 0, id 1, lun 0
scsi: host 0 channel 0 id 1 lun 0x00000200080c0400 has a LUN larger than
currently supported.
scsi: host 0 channel 0 id 1 lun 0xff010000ffffffff has a LUN larger than
currently supported.
scsi: host 0 channel 0 id 1 lun 0x0002202020202020 has a LUN larger than
currently supported.
scsi: host 0 channel 0 id 1 lun808529923 has a LUN larger than allowed by
the host adapter
scsi: host 0 channel 0 id 1 lun3078 has a LUN larger than allowed by the
host adapter
Clearly the controller is misreporting LUNs > 0, and so I've tried several
things:
0) Confirming that the latest firmware is installed on the controller (it is
- 3.1),
1) Recompiling and installing the vanilla 2.6.15.4, enabling
CONFIG_SCSI_MULTI_LUN,
2) Adding "options scsi_mod max_luns=128" to /etc/modprobe.conf,
3) Explicitly passing scsi_mod.default_dev_flags=0x40000 to the kernel
through grub.conf,
4) Confirming that multi-LUN support is enabled in the Adaptec BIOS, on both
channels.
So far, no luck - same errors. I was wondering if there was anything obvious
that I was missing.
Thanks much in advance,
- Corey
**
More information about the redhat-list
mailing list