RE: megaraid.c, all kernel versions, problem with multi-luns

2007-06-01 Thread Patro, Sumant

Please check with the server provider if multi-lun is supported with the
adapter you are using.

--Sumant

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Reinaldo
Carvalho
Sent: Wednesday, May 30, 2007 4:10 PM
To: linux-kernel@vger.kernel.org
Subject: megaraid.c, all kernel versions, problem with multi-luns

Hi,

I have a Dell PowerEdge Expandable RAID controller, with a hardware
Raid-5 at Channel 01 running perfectly, and a nCipher Crypter at Channel
02.

This controller doesn't correctly detect devices (e.g. nCipher
Crypter) with multiples LUNs. Only one LUN is detected.

At another controller (e.g. Adaptec 79xx) two LUNs were detect. I
compiled 2.6.8, 2.6.18 and 2.6.21.3 to test megaraid driver and all
failed detecting two LUNs.

I think that this is a firmware problem, but i'd like have some
opinions.

I read some docs
(http://www.suse.de/~garloff/linux/scsi-scan/scsi-scanning.html,
http://www.ictp.trieste.it/~radionet/nuc1996/ref/howto-html/scsi-howto-2
.html)
and this problem doesn't seem to be simple.

Best regards,

More information with Dell PowerEdge Expandable RAID controller (LSI
Logic MegaRaid):

Attached devices:
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: PE/PVModel: 1x5 SCSI BP  Rev: 1.0
  Type:   ProcessorANSI  SCSI revision: 02
Host: scsi0 Channel: 01 Id: 00 Lun: 00
  Vendor: nCipher  Model: Fastness Crypto  Rev: 2*00
  Type:   ProcessorANSI  SCSI revision: 02
Host: scsi0 Channel: 02 Id: 00 Lun: 00
  Vendor: MegaRAID Model: LD 0 RAID5  279G Rev: 522A
  Type:   Direct-AccessANSI  SCSI revision: 02


14:0e.0 RAID bus controller: Dell PowerEdge Expandable RAID controller
4 (rev 06)
Subsystem: Dell PowerEdge Expandable RAID Controller 4e/Di
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr- Stepping+ SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium
>TAbort- SERR- 

14:0e.0 0104: 1028:0013 (rev 06)


Information with Adaptec 79xx or others SCSI controllers:

Host: scsi0 Channel: 01 Id: 00 Lun: 00
  Vendor: nCipher  Model: Fastness Crypto  Rev: 2*00
  Type:   ProcessorANSI  SCSI revision: 02
Host: scsi0 Channel: 01 Id: 00 Lun: 01
  Vendor: nCipher  Model: Fastness Crypto  Rev: 2*00
  Type:   ProcessorANSI  SCSI revision: 02


--
Reinaldo Carvalho
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
in the body of a message to [EMAIL PROTECTED] More majordomo
info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: megaraid.c, all kernel versions, problem with multi-luns

2007-06-01 Thread Andrew Morton
On Wed, 30 May 2007 20:09:44 -0300
"Reinaldo Carvalho" <[EMAIL PROTECTED]> wrote:

> Hi,

(cc's added) (CONFIG_SCSI_MULTI_LUN is set)

> I have a Dell PowerEdge Expandable RAID controller, with a hardware
> Raid-5 at Channel 01 running perfectly, and a nCipher Crypter at
> Channel 02.
> 
> This controller doesn't correctly detect devices (e.g. nCipher
> Crypter) with multiples LUNs. Only one LUN is detected.
> 
> At another controller (e.g. Adaptec 79xx) two LUNs were detect. I
> compiled 2.6.8, 2.6.18 and 2.6.21.3 to test megaraid driver and all
> failed detecting two LUNs.
> 
> I think that this is a firmware problem, but i'd like have some opinions.
> 
> I read some docs
> (http://www.suse.de/~garloff/linux/scsi-scan/scsi-scanning.html,
> http://www.ictp.trieste.it/~radionet/nuc1996/ref/howto-html/scsi-howto-2.html)
> and this problem doesn't seem to be simple.
> 
> Best regards,
> 
> More information with Dell PowerEdge Expandable RAID controller (LSI
> Logic MegaRaid):
> 
> Attached devices:
> Host: scsi0 Channel: 00 Id: 06 Lun: 00
>   Vendor: PE/PVModel: 1x5 SCSI BP  Rev: 1.0
>   Type:   ProcessorANSI  SCSI revision: 02
> Host: scsi0 Channel: 01 Id: 00 Lun: 00
>   Vendor: nCipher  Model: Fastness Crypto  Rev: 2*00
>   Type:   ProcessorANSI  SCSI revision: 02
> Host: scsi0 Channel: 02 Id: 00 Lun: 00
>   Vendor: MegaRAID Model: LD 0 RAID5  279G Rev: 522A
>   Type:   Direct-AccessANSI  SCSI revision: 02
> 
> 
> 14:0e.0 RAID bus controller: Dell PowerEdge Expandable RAID controller
> 4 (rev 06)
> Subsystem: Dell PowerEdge Expandable RAID Controller 4e/Di
> Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
> ParErr- Stepping+ SERR+ FastB2B-
> Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium
> >TAbort- SERR-  Latency: 64 (32000ns min), Cache Line Size: 64 bytes
> Interrupt: pin A routed to IRQ 22
> Region 0: Memory at d7ff (32-bit, prefetchable) [size=64K]
> Region 2: Memory at defc (32-bit, non-prefetchable) [size=256K]
> Expansion ROM at df00 [disabled] [size=128K]
> Capabilities: 
> 
> 14:0e.0 0104: 1028:0013 (rev 06)
> 
> 
> Information with Adaptec 79xx or others SCSI controllers:
> 
> Host: scsi0 Channel: 01 Id: 00 Lun: 00
>   Vendor: nCipher  Model: Fastness Crypto  Rev: 2*00
>   Type:   ProcessorANSI  SCSI revision: 02
> Host: scsi0 Channel: 01 Id: 00 Lun: 01
>   Vendor: nCipher  Model: Fastness Crypto  Rev: 2*00
>   Type:   ProcessorANSI  SCSI revision: 02
> 
> 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: megaraid.c, all kernel versions, problem with multi-luns

2007-06-01 Thread Andrew Morton
On Wed, 30 May 2007 20:09:44 -0300
Reinaldo Carvalho [EMAIL PROTECTED] wrote:

 Hi,

(cc's added) (CONFIG_SCSI_MULTI_LUN is set)

 I have a Dell PowerEdge Expandable RAID controller, with a hardware
 Raid-5 at Channel 01 running perfectly, and a nCipher Crypter at
 Channel 02.
 
 This controller doesn't correctly detect devices (e.g. nCipher
 Crypter) with multiples LUNs. Only one LUN is detected.
 
 At another controller (e.g. Adaptec 79xx) two LUNs were detect. I
 compiled 2.6.8, 2.6.18 and 2.6.21.3 to test megaraid driver and all
 failed detecting two LUNs.
 
 I think that this is a firmware problem, but i'd like have some opinions.
 
 I read some docs
 (http://www.suse.de/~garloff/linux/scsi-scan/scsi-scanning.html,
 http://www.ictp.trieste.it/~radionet/nuc1996/ref/howto-html/scsi-howto-2.html)
 and this problem doesn't seem to be simple.
 
 Best regards,
 
 More information with Dell PowerEdge Expandable RAID controller (LSI
 Logic MegaRaid):
 
 Attached devices:
 Host: scsi0 Channel: 00 Id: 06 Lun: 00
   Vendor: PE/PVModel: 1x5 SCSI BP  Rev: 1.0
   Type:   ProcessorANSI  SCSI revision: 02
 Host: scsi0 Channel: 01 Id: 00 Lun: 00
   Vendor: nCipher  Model: Fastness Crypto  Rev: 2*00
   Type:   ProcessorANSI  SCSI revision: 02
 Host: scsi0 Channel: 02 Id: 00 Lun: 00
   Vendor: MegaRAID Model: LD 0 RAID5  279G Rev: 522A
   Type:   Direct-AccessANSI  SCSI revision: 02
 
 
 14:0e.0 RAID bus controller: Dell PowerEdge Expandable RAID controller
 4 (rev 06)
 Subsystem: Dell PowerEdge Expandable RAID Controller 4e/Di
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
 ParErr- Stepping+ SERR+ FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium
 TAbort- TAbort- MAbort- SERR- PERR-
 Latency: 64 (32000ns min), Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 22
 Region 0: Memory at d7ff (32-bit, prefetchable) [size=64K]
 Region 2: Memory at defc (32-bit, non-prefetchable) [size=256K]
 Expansion ROM at df00 [disabled] [size=128K]
 Capabilities: access denied
 
 14:0e.0 0104: 1028:0013 (rev 06)
 
 
 Information with Adaptec 79xx or others SCSI controllers:
 
 Host: scsi0 Channel: 01 Id: 00 Lun: 00
   Vendor: nCipher  Model: Fastness Crypto  Rev: 2*00
   Type:   ProcessorANSI  SCSI revision: 02
 Host: scsi0 Channel: 01 Id: 00 Lun: 01
   Vendor: nCipher  Model: Fastness Crypto  Rev: 2*00
   Type:   ProcessorANSI  SCSI revision: 02
 
 
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


RE: megaraid.c, all kernel versions, problem with multi-luns

2007-06-01 Thread Patro, Sumant

Please check with the server provider if multi-lun is supported with the
adapter you are using.

--Sumant

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Reinaldo
Carvalho
Sent: Wednesday, May 30, 2007 4:10 PM
To: linux-kernel@vger.kernel.org
Subject: megaraid.c, all kernel versions, problem with multi-luns

Hi,

I have a Dell PowerEdge Expandable RAID controller, with a hardware
Raid-5 at Channel 01 running perfectly, and a nCipher Crypter at Channel
02.

This controller doesn't correctly detect devices (e.g. nCipher
Crypter) with multiples LUNs. Only one LUN is detected.

At another controller (e.g. Adaptec 79xx) two LUNs were detect. I
compiled 2.6.8, 2.6.18 and 2.6.21.3 to test megaraid driver and all
failed detecting two LUNs.

I think that this is a firmware problem, but i'd like have some
opinions.

I read some docs
(http://www.suse.de/~garloff/linux/scsi-scan/scsi-scanning.html,
http://www.ictp.trieste.it/~radionet/nuc1996/ref/howto-html/scsi-howto-2
.html)
and this problem doesn't seem to be simple.

Best regards,

More information with Dell PowerEdge Expandable RAID controller (LSI
Logic MegaRaid):

Attached devices:
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: PE/PVModel: 1x5 SCSI BP  Rev: 1.0
  Type:   ProcessorANSI  SCSI revision: 02
Host: scsi0 Channel: 01 Id: 00 Lun: 00
  Vendor: nCipher  Model: Fastness Crypto  Rev: 2*00
  Type:   ProcessorANSI  SCSI revision: 02
Host: scsi0 Channel: 02 Id: 00 Lun: 00
  Vendor: MegaRAID Model: LD 0 RAID5  279G Rev: 522A
  Type:   Direct-AccessANSI  SCSI revision: 02


14:0e.0 RAID bus controller: Dell PowerEdge Expandable RAID controller
4 (rev 06)
Subsystem: Dell PowerEdge Expandable RAID Controller 4e/Di
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr- Stepping+ SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium
TAbort- TAbort- MAbort- SERR- PERR-
Latency: 64 (32000ns min), Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 22
Region 0: Memory at d7ff (32-bit, prefetchable) [size=64K]
Region 2: Memory at defc (32-bit, non-prefetchable)
[size=256K]
Expansion ROM at df00 [disabled] [size=128K]
Capabilities: access denied

14:0e.0 0104: 1028:0013 (rev 06)


Information with Adaptec 79xx or others SCSI controllers:

Host: scsi0 Channel: 01 Id: 00 Lun: 00
  Vendor: nCipher  Model: Fastness Crypto  Rev: 2*00
  Type:   ProcessorANSI  SCSI revision: 02
Host: scsi0 Channel: 01 Id: 00 Lun: 01
  Vendor: nCipher  Model: Fastness Crypto  Rev: 2*00
  Type:   ProcessorANSI  SCSI revision: 02


--
Reinaldo Carvalho
-
To unsubscribe from this list: send the line unsubscribe linux-kernel
in the body of a message to [EMAIL PROTECTED] More majordomo
info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: megaraid.c, all kernel versions, problem with multi-luns

2007-05-30 Thread Reinaldo Carvalho

Yes CONFIG_SCSI_MULTI_LUN as build-in.

--
Reinaldo Carvalho


2007/5/30, Jesper Juhl <[EMAIL PROTECTED]>:

On 31/05/07, Reinaldo Carvalho <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a Dell PowerEdge Expandable RAID controller, with a hardware
> Raid-5 at Channel 01 running perfectly, and a nCipher Crypter at
> Channel 02.
>
> This controller doesn't correctly detect devices (e.g. nCipher
> Crypter) with multiples LUNs. Only one LUN is detected.
>
> At another controller (e.g. Adaptec 79xx) two LUNs were detect. I
> compiled 2.6.8, 2.6.18 and 2.6.21.3 to test megaraid driver and all
> failed detecting two LUNs.
>

Did you build your kernel with CONFIG_SCSI_MULTI_LUN enabled?  This
option will force the SCSI driver to probe for multiple LUN's.
Without this option only one LUN may be detected, and since that's the
common case (devices only having one LUN) people often forget about
this option :)

--
Jesper Juhl <[EMAIL PROTECTED]>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please  http://www.expita.com/nomime.html


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: megaraid.c, all kernel versions, problem with multi-luns

2007-05-30 Thread Jesper Juhl

On 31/05/07, Reinaldo Carvalho <[EMAIL PROTECTED]> wrote:

Hi,

I have a Dell PowerEdge Expandable RAID controller, with a hardware
Raid-5 at Channel 01 running perfectly, and a nCipher Crypter at
Channel 02.

This controller doesn't correctly detect devices (e.g. nCipher
Crypter) with multiples LUNs. Only one LUN is detected.

At another controller (e.g. Adaptec 79xx) two LUNs were detect. I
compiled 2.6.8, 2.6.18 and 2.6.21.3 to test megaraid driver and all
failed detecting two LUNs.



Did you build your kernel with CONFIG_SCSI_MULTI_LUN enabled?  This
option will force the SCSI driver to probe for multiple LUN's.
Without this option only one LUN may be detected, and since that's the
common case (devices only having one LUN) people often forget about
this option :)

--
Jesper Juhl <[EMAIL PROTECTED]>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please  http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: megaraid.c, all kernel versions, problem with multi-luns

2007-05-30 Thread Jesper Juhl

On 31/05/07, Reinaldo Carvalho [EMAIL PROTECTED] wrote:

Hi,

I have a Dell PowerEdge Expandable RAID controller, with a hardware
Raid-5 at Channel 01 running perfectly, and a nCipher Crypter at
Channel 02.

This controller doesn't correctly detect devices (e.g. nCipher
Crypter) with multiples LUNs. Only one LUN is detected.

At another controller (e.g. Adaptec 79xx) two LUNs were detect. I
compiled 2.6.8, 2.6.18 and 2.6.21.3 to test megaraid driver and all
failed detecting two LUNs.



Did you build your kernel with CONFIG_SCSI_MULTI_LUN enabled?  This
option will force the SCSI driver to probe for multiple LUN's.
Without this option only one LUN may be detected, and since that's the
common case (devices only having one LUN) people often forget about
this option :)

--
Jesper Juhl [EMAIL PROTECTED]
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please  http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: megaraid.c, all kernel versions, problem with multi-luns

2007-05-30 Thread Reinaldo Carvalho

Yes CONFIG_SCSI_MULTI_LUN as build-in.

--
Reinaldo Carvalho


2007/5/30, Jesper Juhl [EMAIL PROTECTED]:

On 31/05/07, Reinaldo Carvalho [EMAIL PROTECTED] wrote:
 Hi,

 I have a Dell PowerEdge Expandable RAID controller, with a hardware
 Raid-5 at Channel 01 running perfectly, and a nCipher Crypter at
 Channel 02.

 This controller doesn't correctly detect devices (e.g. nCipher
 Crypter) with multiples LUNs. Only one LUN is detected.

 At another controller (e.g. Adaptec 79xx) two LUNs were detect. I
 compiled 2.6.8, 2.6.18 and 2.6.21.3 to test megaraid driver and all
 failed detecting two LUNs.


Did you build your kernel with CONFIG_SCSI_MULTI_LUN enabled?  This
option will force the SCSI driver to probe for multiple LUN's.
Without this option only one LUN may be detected, and since that's the
common case (devices only having one LUN) people often forget about
this option :)

--
Jesper Juhl [EMAIL PROTECTED]
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please  http://www.expita.com/nomime.html


-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/