Re: [PATCH] aic79xx: fix up transport settings

2005-08-03 Thread Hannes Reinecke
James Bottomley wrote: > There's a slight problem in the way you've done the transport > parameters; reading from the variables actually produces the current > settings, not the ones you just set (and there's usually a lag because > devices don't renegotiate until the next command goes over the bus

[PATCH] [SCSI] megaraid: add check for NULL pointer

2005-08-03 Thread Hmamouche, Youssef
This patch adds a check for NULL return from kmalloc. Signed-off-by: Youssef Hmamouche <[EMAIL PROTECTED]> --- a/drivers/scsi/megaraid.c 2005-08-03 21:12:43.0 -0700 +++ b/drivers/scsi/megaraid.c 2005-08-03 21:14:37.0 -0700 @@ -4456,6 +4456,10 @@ memset(scmd, 0, size

[PATCH 2/3] cpqarray: ioctl support to configure LUNs dynamically

2005-08-03 Thread Saripalli, Venkata Ramanamurthy (STSD)
Patch 2 of 3 This patch adds support for IDAREGNEWDISK, IDADEREGDISK, IDAGETLOGINFO ioctls required to configure LUNs dynamically on SA4200 controller using ACU. Please consider this for inclusion. Signed-off-by: Ramanamurthy Saripalli <[EMAIL PROTECTED]> cpqarray.c | 281

[PATCH 3/3] cpqarray: per disk request queue in 2.6 kernel

2005-08-03 Thread Saripalli, Venkata Ramanamurthy (STSD)
Patch 3 of 3 This patch adds support for per disk request queue in 2.6 kernel. This solves the kernel panic while removing the cpqarray with more than one LUN configured. Please consider this for inclusion. Signed-off-by: Ramanamurthy Saripalli <[EMAIL PROTECTED]> cpqarray.c | 51

Re: [PATCH 1/2] cpqfc: fix for "Using too much stach" in 2.6 kernel

2005-08-03 Thread Dave Jones
On Thu, Aug 04, 2005 at 10:09:51AM +0530, Saripalli, Venkata Ramanamurthy (STSD) wrote: > - ULONG ulFibreFrame[2048/4]; // max DWORDS in incoming FC This is 512 ulongs, which is 2KB. > + ulFibreFrame = kmalloc((2048/4), GFP_KERNEL); You're replacing it with a 512 byte buffer.

[PATCH 1/3] cpqarray: support for SENSE_SURF_STATUS ioctl

2005-08-03 Thread Saripalli, Venkata Ramanamurthy (STSD)
Patch 1 of 3 This patch adds support for SENSE_SURF_STATUS ioctl for configuring SA4200 controller using Array Configuration Utility (ACU). Please consider this for inclusion. Signed-off-by: Ramanamurthy Saripalli <[EMAIL PROTECTED]> cpqarray.c |8 +--- ida_cmd.h |2 ++ 2 files cha

[PATCH 2/2] cpqfc: fix for possible memory out of bounds bugzilla#243

2005-08-03 Thread Saripalli, Venkata Ramanamurthy (STSD)
Patch 2 of 2 This patch fixes the Bugzilla Bug#243. This fix is to solve the possible memory out of bounds in BigEndianSwap routine of cpqfcTSworker.c Please consider this for inclusion Signed-off-by: Ramanamurthy Saripalli <[EMAIL PROTECTED]> cpqfcTScontrol.c |2 -- cpqfcTSworker.c |

[PATCH 1/2] cpqfc: fix for "Using too much stach" in 2.6 kernel

2005-08-03 Thread Saripalli, Venkata Ramanamurthy (STSD)
Patch 1 of 2 This patch fixes the "#error this is too much stack" in 2.6 kernel. Using kmalloc to allocate memory to ulFibreFrame. Please consider this for inclusion Signed-off-by: Ramanamurthy Saripalli <[EMAIL PROTECTED]> cpqfcTScontrol.c | 14 +- 1 files changed, 9 insertions(

Re: [PATCH 6/7] aacraid: unlock around kfree

2005-08-03 Thread James Bottomley
On Wed, 2005-08-03 at 15:39 -0700, Mark Haverkamp wrote: > kfree has the possibility of sleeping. It is generally considered poor > manners to hold on to a lock with the possibility of a system call > induced sleep. Erm, this isn't true ... we'd have no end of driver issues if kfree could block.

[PATCH 0/7] aacraid driver updates

2005-08-03 Thread Mark Haverkamp
The following 7 patches contain various aacraid driver updates described in each mail. Some patches have been sent out previously. All have been re-diffed to make sure that they apply to the latest scsi-misc-2.6 git tree. -- Mark Haverkamp <[EMAIL PROTECTED]> - To unsubscribe from this list:

[PATCH 7/7] aacraid: sgraw command support

2005-08-03 Thread Mark Haverkamp
Received from Mark Salyzyn from Adaptec: This patch adds support for the new raw io command. This new command offers much larger io commands, is more friendly to the internal firmware structure requiring less translation efforts by the firmware and offers support for targets greater than 2TB (p

[PATCH 6/7] aacraid: unlock around kfree

2005-08-03 Thread Mark Haverkamp
Received from Mark Salyzyn from Adaptec: kfree has the possibility of sleeping. It is generally considered poor manners to hold on to a lock with the possibility of a system call induced sleep. Applies to scsi-misc-2.6 git tree Signed-off-by: Mark Haverkamp <[EMAIL PROTECTED]> Index: scsi-misc-

[PATCH 5/7] aacraid: aif registration timeout fix

2005-08-03 Thread Mark Haverkamp
Received from Mark Salyzyn from Adaptec: If the Adapter is quiet and does not produce an AIF event packets to be picked up by the management applications for longer than the timeout interval of two minutes, the cleanup code that deals with aging out registrants could erroneously drop the registrat

[PATCH 4/7] aacraid: remove duplcate io callback code

2005-08-03 Thread Mark Haverkamp
Received from Mark Salyzyn from Adaptec: This patch removes the duplicate code in the write_callback command completion handler, and renames read_callback to io_callback. Optimized the lba calculation into the debug print routine macro to optimize the i/o code path. Applies to scsi-misc-2.6 git t

[PATCH 2/7] aacraid: driver version update

2005-08-03 Thread Mark Haverkamp
Received from Mark Salyzyn from Adaptec. Fixes a bug in check_revision. It should return the driver version not the firmware version. Update driver version number. Update driver version string. Applies to scsi-misc-2.6 git tree Signed-off-by: Mark Haverkamp <[EMAIL PROTECTED]> Index: scsi-m

[PATCH 3/7] aacraid: driver shutdown method

2005-08-03 Thread Mark Haverkamp
Add in pci shutdown method so that the adapter shuts down correctly and flushes its cache. Shutdown should also disable the adapter's interrupt when shutdown (in particularly if the driver is rmmod'd) to prevent spurious hardware activities. Patch against scsi-misc-2.6 git tree. Signed-off-by: M

[PATCH 1/7] aacraid: interupt mitigation

2005-08-03 Thread Mark Haverkamp
Received from Mark Salyzyn from Adaptec: If more than two commands are outstanding to the controller, there is no need to notify the adapter via a PCI bus transaction of additional commands added into the queue; it will get to them when it works through the produce/consumer indexes. This reduced

Dell PERC monitoring via /proc

2005-08-03 Thread Mark Lehrer
Hello there. We have an assortment of Dells with RAID controllers - one uses aac and the others use megaraid. In the latest kernels, is there any way to check the RAID status in Linux through the /proc filesystem? Dell seems to have some utilities for Red Hat 7 but I am using FC3 and 2.6.12. Af

[PATCH] aic79xx: add hold_mcs

2005-08-03 Thread James Bottomley
since this card can support the setting, add it to the parameter list. James diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.c b/drivers/scsi/aic7xxx/aic79xx_osm.c --- a/drivers/scsi/aic7xxx/aic79xx_osm.c +++ b/drivers/scsi/aic7xxx/aic79xx_osm.c @@ -1628,7 +1628,8 @@ ahd_send_async(struct ahd_soft

Re: lpfc: system freezing if FC connection is broken under load

2005-08-03 Thread Bodo Stroesser
Bodo Stroesser wrote: Hi, my dual Xeon machine freezes, if connection between FC switch and tape drives is broken while writing to tapes. There is one SCSI target with 16 tape LUNs connected to my FC controller via FC switch. I can reproduce the problem by starting "dd if=/dev/zero of=/dev/st[0

[PATCH] aic79xx: fix up transport settings

2005-08-03 Thread James Bottomley
There's a slight problem in the way you've done the transport parameters; reading from the variables actually produces the current settings, not the ones you just set (and there's usually a lag because devices don't renegotiate until the next command goes over the bus). If you set the bit immediat

Re: [PATCH 2.4.31 1/1] scsi/megaraid2: add 64-bit application sup?port

2005-08-03 Thread Andrey Melnikoff
Ju, Seokmann <[EMAIL PROTECTED]> wrote: > [-- text/plain, encoding 7bit, charset: iso-8859-1, 1346 lines --] > Hi Marcelo, > I've made changes that reflect your comments. > On Tuesday, July 26, 2005 4:33 AM, Marcelo Tosatti wrote: > > vary_io has never been part of mainline. How come did you add