RHEL AS4: SCSI - Invalid LUN Reporting



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
**
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: support for adaptec 7895
    ... > scsi controller, does anybody know if this controller is supported by ... I'll admit I'm not familiar with that particular Adaptec controller ... but it should be supported by the aic7xxx driver in the kernel. ... their support site. ...
    (comp.os.linux.hardware)
  • Re: support for adaptec 7895
    ... >> I'm planning to buy a HP Netserver with an onboard Adaptec AIC 7895H ... >> scsi controller, does anybody know if this controller is supported by ... but it should be supported by the aic7xxx driver in the kernel. ... > their support site. ...
    (comp.os.linux.hardware)
  • Re: kernel is always too big....
    ... Your 2.4.20-SMP-xfs kernel is surprisingly small. ... The kernel whose size I posted has full support for ... an Adaptec 2940UW controller. ...
    (comp.os.linux.setup)
  • Problem with Adaptec AHA-2940U2/U2W
    ... Controller Adaptec AHA-2940U2/U2W and running a Red Hat 9, ... Serial driver version 5.05c with MANY_PORTS MULTIPORT ... <Adaptec aic7890/91 Ultra2 SCSI adapter> ...
    (comp.os.linux.hardware)
  • Re: [2.4.31 + aic79xx] SCSI error: Infinite interrupt loop, INTSTAT = 0
    ... I just replaced the Adaptec 29320ALP controller with a LSI-22320 ... mptscsih driver is used for the external RAID subsystem. ... SCSI device sda: 143666192 512-byte hdwr sectors ...
    (Linux-Kernel)