RE: Megaraid driver not detecting RAID volumes in kernel 2.6.22?

2007-09-21 Thread Bagalkote, Sreenivas
> > https://bugzilla.redhat.com/show_bug.cgi?id=288421 > > When running Fedora on a Dell 2950 w/ integrated LSI Perc5i (megaraid), the > system will not boot after upgrading to 2.6.22. The boot message indicates the > system is somehow seeing through RAID, cannot access logical volume. This >

RE: Megaraid driver not detecting RAID volumes in kernel 2.6.22?

2007-09-21 Thread Bagalkote, Sreenivas
https://bugzilla.redhat.com/show_bug.cgi?id=288421 When running Fedora on a Dell 2950 w/ integrated LSI Perc5i (megaraid), the system will not boot after upgrading to 2.6.22. The boot message indicates the system is somehow seeing through RAID, cannot access logical volume. This causes

[SYSFS QUESTION] How to add new sysfs attributes under /sys/modul e/

2005-07-08 Thread Bagalkote, Sreenivas
Sysfs Gurus, I want to export few driver specific sysfs attributes when my driver loads. This driver is a pci hotplug driver. I want to export these sysfs attributes as soon as my pci_module_init succeeds. 1. I see that there is /sys/modules directory lists all the modules. Is this a right place

[SYSFS QUESTION] How to add new sysfs attributes under /sys/modul e/my module

2005-07-08 Thread Bagalkote, Sreenivas
Sysfs Gurus, I want to export few driver specific sysfs attributes when my driver loads. This driver is a pci hotplug driver. I want to export these sysfs attributes as soon as my pci_module_init succeeds. 1. I see that there is /sys/modules directory lists all the modules. Is this a right place

RE: 2.6.11-mm3: megaraid_sas.c: stack usage

2005-03-15 Thread Bagalkote, Sreenivas
>On Sat, Mar 12, 2005 at 03:42:22AM -0800, Andrew Morton wrote: >>... >> All 606 patches: >>... >> megaraid_sas-announcing-new-module-for.patch >> megaraid_sas: Announcing new module for LSI Logic's SAS >based MegaRAID controllers >>... > >Enormous stack usage: >- megasas_init_mfi (due to

RE: 2.6.11-mm3: megaraid_sas.c: stack usage

2005-03-15 Thread Bagalkote, Sreenivas
On Sat, Mar 12, 2005 at 03:42:22AM -0800, Andrew Morton wrote: ... All 606 patches: ... megaraid_sas-announcing-new-module-for.patch megaraid_sas: Announcing new module for LSI Logic's SAS based MegaRAID controllers ... Enormous stack usage: - megasas_init_mfi (due to ctrl_info) Big stack

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Bagalkote, Sreenivas
> >Even for kernels with a 64bit dma_addr_t you can get 32bit dma >addresses >only. As a start check whether the pci_set_dma_mask for the 64bit mask >failed - in that case you can always use 32bit SGLs. > Please help me understand: If dma_addr_t is 64 bit, I will get 64bit addresses in

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Bagalkote, Sreenivas
>> > >> >Even for kernels with a 64bit dma_addr_t you can get 32bit dma >> >addresses >> >only. As a start check whether the pci_set_dma_mask for >the 64bit mask >> >failed - in that case you can always use 32bit SGLs. >> > >> >> Please help me understand: If dma_addr_t is 64 bit, I will get

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Bagalkote, Sreenivas
>> > >> >> . And since this is compile time >> >> system-wide property, I kept it as driver global. >> > >> >that step I don't understand... why is it a global >*VARIABLE* if it's >> >compile time system-wide property... >> > >> >> I see your point! Are you saying I should use

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Bagalkote, Sreenivas
> >> . And since this is compile time >> system-wide property, I kept it as driver global. > >that step I don't understand... why is it a global *VARIABLE* if it's >compile time system-wide property... > I see your point! Are you saying I should use if(sizeof(dma_addr_t)==8) instead of the

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Bagalkote, Sreenivas
>> >> I will make this an instance parameter if the idea to reduce as many >> global variables as possible. But if the objection is because each >> adapter >> may have different value for variable, then it is indeed a global >> value. >> "is_dma64" - which is computed using the size of dma_addr_t

RE: [ANNOUNCE][PATCH 2.6.11 1/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Bagalkote, Sreenivas
>> > >> >> source "drivers/scsi/megaraid/Kconfig.megaraid" >> >> +source "drivers/scsi/megaraid/Kconfig.megaraid_sas" >> >> >> > >> >why a fully separate file and not add your ONE config option to >> >Kconfig.megaraid instead ?? >> > >> >> Arjan, I didn't want to needlessly couple megaraid and

RE: [ANNOUNCE][PATCH 2.6.11 1/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Bagalkote, Sreenivas
source drivers/scsi/megaraid/Kconfig.megaraid +source drivers/scsi/megaraid/Kconfig.megaraid_sas why a fully separate file and not add your ONE config option to Kconfig.megaraid instead ?? Arjan, I didn't want to needlessly couple megaraid and megaraid_sas. Since they are in

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Bagalkote, Sreenivas
I will make this an instance parameter if the idea to reduce as many global variables as possible. But if the objection is because each adapter may have different value for variable, then it is indeed a global value. is_dma64 - which is computed using the size of dma_addr_t - is telling

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Bagalkote, Sreenivas
. And since this is compile time system-wide property, I kept it as driver global. that step I don't understand... why is it a global *VARIABLE* if it's compile time system-wide property... I see your point! Are you saying I should use if(sizeof(dma_addr_t)==8) instead of the shortcut

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Bagalkote, Sreenivas
. And since this is compile time system-wide property, I kept it as driver global. that step I don't understand... why is it a global *VARIABLE* if it's compile time system-wide property... I see your point! Are you saying I should use if(sizeof(dma_addr_t)==8) instead of the

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Bagalkote, Sreenivas
Even for kernels with a 64bit dma_addr_t you can get 32bit dma addresses only. As a start check whether the pci_set_dma_mask for the 64bit mask failed - in that case you can always use 32bit SGLs. Please help me understand: If dma_addr_t is 64 bit, I will get 64bit addresses in

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Bagalkote, Sreenivas
Even for kernels with a 64bit dma_addr_t you can get 32bit dma addresses only. As a start check whether the pci_set_dma_mask for the 64bit mask failed - in that case you can always use 32bit SGLs. Please help me understand: If dma_addr_t is 64 bit, I will get 64bit addresses in scatterlist

RE: [ANNOUNCE][PATCH 2.6.11 1/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-08 Thread Bagalkote, Sreenivas
> >> source "drivers/scsi/megaraid/Kconfig.megaraid" >> +source "drivers/scsi/megaraid/Kconfig.megaraid_sas" >> > >why a fully separate file and not add your ONE config option to >Kconfig.megaraid instead ?? > Arjan, I didn't want to needlessly couple megaraid and megaraid_sas. Since they are

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-08 Thread Bagalkote, Sreenivas
> >> +static int is_dma64; > >the fact that this is a global variable worries me. > Matt also has the same concern. I am pasting my response from my reply to his comment: I will make this an instance parameter if the idea to reduce as many global variables as

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-08 Thread Bagalkote, Sreenivas
>Subject: Re: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: >Announcing new module for LSI Logic's SAS based MegaRAID controllers > >On Fri, Mar 04, 2005 at 10:06:00PM -0500, Bagalkote, Sreenivas wrote: >> We are announcing a driver for LSI Logic's new SAS based MegaRAID >>

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-08 Thread Bagalkote, Sreenivas
Subject: Re: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new module for LSI Logic's SAS based MegaRAID controllers On Fri, Mar 04, 2005 at 10:06:00PM -0500, Bagalkote, Sreenivas wrote: We are announcing a driver for LSI Logic's new SAS based MegaRAID controllers. I'd like to start

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-08 Thread Bagalkote, Sreenivas
+static int is_dma64; the fact that this is a global variable worries me. Matt also has the same concern. I am pasting my response from my reply to his comment: I will make this an instance parameter if the idea to reduce as many global variables as possible.

RE: [ANNOUNCE][PATCH 2.6.11 1/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-08 Thread Bagalkote, Sreenivas
source drivers/scsi/megaraid/Kconfig.megaraid +source drivers/scsi/megaraid/Kconfig.megaraid_sas why a fully separate file and not add your ONE config option to Kconfig.megaraid instead ?? Arjan, I didn't want to needlessly couple megaraid and megaraid_sas. Since they are in the same

[ANNOUNCE][PATCH 2.6.11 3/3] megaraid_sas: Announcing new module for LSI Logic's SAS based MegaRAID controllers

2005-03-07 Thread Bagalkote, Sreenivas
Patch 3 of 3: Signed-off-by: Sreenivas Bagalkote <[EMAIL PROTECTED]> diff -Naur linux-2.6.11-orig/drivers/scsi/megaraid/megaraid_sas.h linux-2.6.11/drivers/scsi/megaraid/megaraid_sas.h --- linux-2.6.11-orig/drivers/scsi/megaraid/megaraid_sas.h 1969-12-31 19:00:00.0 -0500 +++

[ANNOUNCE][PATCH 2.6.11 1/3] megaraid_sas: Announcing new module for LSI Logic's SAS based MegaRAID controllers

2005-03-07 Thread Bagalkote, Sreenivas
Hello All, We are announcing a driver for LSI Logic's new SAS based MegaRAID controllers. I am submitting the inlined patch in three parts. Please review the patches. Thank you, Sreenivas Bagalkote LSI Logic Corporation Patch 1 of 3: Signed-off-by: Sreenivas Bagalkote <[EMAIL PROTECTED]>

[ANNOUNCE][PATCH 2.6.11 1/3] megaraid_sas: Announcing new module for LSI Logic's SAS based MegaRAID controllers

2005-03-07 Thread Bagalkote, Sreenivas
Hello All, We are announcing a driver for LSI Logic's new SAS based MegaRAID controllers. I am submitting the inlined patch in three parts. Please review the patches. Thank you, Sreenivas Bagalkote LSI Logic Corporation Patch 1 of 3: Signed-off-by: Sreenivas Bagalkote [EMAIL PROTECTED] diff

[ANNOUNCE][PATCH 2.6.11 3/3] megaraid_sas: Announcing new module for LSI Logic's SAS based MegaRAID controllers

2005-03-07 Thread Bagalkote, Sreenivas
Patch 3 of 3: Signed-off-by: Sreenivas Bagalkote [EMAIL PROTECTED] diff -Naur linux-2.6.11-orig/drivers/scsi/megaraid/megaraid_sas.h linux-2.6.11/drivers/scsi/megaraid/megaraid_sas.h --- linux-2.6.11-orig/drivers/scsi/megaraid/megaraid_sas.h 1969-12-31 19:00:00.0 -0500 +++

RE: v2.4 megaraid2 update Re: [PATCH] Prevent NMI oopser

2005-03-02 Thread Bagalkote, Sreenivas
your efforts. Thanks, Sreenivas LSI LOGIC Corporation >-Original Message- >From: Marcelo Tosatti [mailto:[EMAIL PROTECTED] >Sent: Wednesday, February 23, 2005 2:06 AM >To: Andrey J. Melnikoff (TEMHOTA); Vasily Averin >Cc: Matt Domsch; linux-kernel@vger.kernel.org; Mukker

RE: v2.4 megaraid2 update Re: [PATCH] Prevent NMI oopser

2005-03-02 Thread Bagalkote, Sreenivas
efforts. Thanks, Sreenivas LSI LOGIC Corporation -Original Message- From: Marcelo Tosatti [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 2:06 AM To: Andrey J. Melnikoff (TEMHOTA); Vasily Averin Cc: Matt Domsch; linux-kernel@vger.kernel.org; Mukker, Atul; Bagalkote, Sreenivas