Re: aic79xx problems

2007-09-20 Thread Julian Calaby
On 9/21/07, Stefan Boresch <[EMAIL PROTECTED]> wrote: > > I will try, but a very dumb question first. If I have a kernel that > crashes because of a disk problem ..., how do I get to save the output? > (Never worked with a serial console, but there might be a first time > for everything ...) But ma

Re: [PATCH] aic7xxx driver. Restrict DMA to 32bit for 29320LPE Adaptec SCSI controller

2007-09-20 Thread James Bottomley
On Thu, 2007-09-20 at 08:08 -0700, Anil K. Ravindranath wrote: > Hi, > > We have not heard any comments or inputs on this patch. > > With regards, > Anil > > On Sat, 2007-06-30 at 05:45 -0700, Anil K. Ravindranath wrote: > > Subject: [PATCH] aic7xxx driver. Restrict DMA to 32bit for 29320LPE

Re: [PATCH] aic7xxx driver. Restrict DMA to 32bit for 29320LPE Adaptec SCSI controller

2007-09-20 Thread Anil K. Ravindranath
Hi, We have not heard any comments or inputs on this patch. With regards, Anil On Sat, 2007-06-30 at 05:45 -0700, Anil K. Ravindranath wrote: > Subject: [PATCH] aic7xxx driver. Restrict DMA to 32bit for 29320LPE > Adaptec SCSI controller > > Contribution: > > Anil Ravindranath <[EMAIL PROTE

[PATCH] Clean up IOC reset code to obey coding style

2007-09-20 Thread Darrick J. Wong
Randy Dunlap scolded me for introducing poorly styled code. Since it was a copy-and-paste block from mpt_suspend(), fix both. Signed-off-by: Darrick J. Wong <[EMAIL PROTECTED]> --- drivers/message/fusion/mptbase.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dri

Re: [PATCH ver2 1/2] libata-scsi: Remove !use_sg code paths

2007-09-20 Thread Jeff Garzik
Boaz Harrosh wrote: This is a minimal patch needed to remove use of !use_sg but it is not a complete clean up of the !use_sg paths. Libata-core still has the qc->flags & ATA_QCFLAG_SG and !qc->n_elem code paths. Perhaps an ata maintainer would have a go at it. - TOD

[PATCH] mptbase: Reset ioc initiator during PCI resume

2007-09-20 Thread Darrick J. Wong
It appears that the LSI SAS 1064E chip needs to be reset after a suspend/resume cycle before the driver attempts further communications with the chip. Without this patch, resuming the chip results in this error message being printed repeatedly and no more disk I/O. mptbase: ioc0: ERROR - Invalid

[PATCH 14/19] qla2xxx: Use shost_priv().

2007-09-20 Thread Andrew Vasquez
Drop usage of legacy to_qla_host() macro. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_attr.c | 88 +++--- drivers/scsi/qla2xxx/qla_dbg.c |2 +- drivers/scsi/qla2xxx/qla_def.h |2 - drivers/scsi/qla2xxx/qla_mid.c |

[PATCH 13/19] qla2xxx: Remove unused member (list) from srb_t structure.

2007-09-20 Thread Andrew Vasquez
This change reduces by as much as 16% the memory footprint for each allocated sbr_t structure requested from the mempool. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_def.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qla

[PATCH 12/19] qla2xxx: Retrieve max-NPIV support capabilities from FW.

2007-09-20 Thread Andrew Vasquez
From: Seokmann Ju <[EMAIL PROTECTED]> Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_attr.c |2 +- drivers/scsi/qla2xxx/qla_def.h |2 +- drivers/scsi/qla2xxx/qla_gbl.h |4 ++-- drivers/scsi/qla2xxx/qla_init.c | 16 +++- drivers/scsi/qla2

[PATCH 16/19] qla2xxx: Sparse cleanups in qla_mid.c

2007-09-20 Thread Andrew Vasquez
Make several needlessly global functions static: - qla2x00_mark_vp_devices_dead() - qla24xx_configure_vp() Remove unused function qla24xx_modify_vport(). Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_mid.c | 34 ++ 1 files change

[PATCH 15/19] qla2xxx: Cleanup several 'sparse' warnings.

2007-09-20 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_iocb.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 3a5e78c..7f6a89b 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c ++

[PATCH 10/19] qla2xxx: Set correct attribute count during FDMI RPA.

2007-09-20 Thread Andrew Vasquez
Also remove legacy '/proc' name during OS_DEVICE_NAME registration. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_def.h |2 +- drivers/scsi/qla2xxx/qla_gs.c |6 -- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla

[PATCH 11/19] qla2xxx: Use the correct pointer-address during NVRAM writes.

2007-09-20 Thread Andrew Vasquez
Original code, incorrectly passed the address-of a pointer rather than the pointer value itself. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_attr.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/driver

[PATCH 08/19] qla2xxx: Query additional RISC registers during ISP25XX firmware dump.

2007-09-20 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_dbg.c | 18 ++ drivers/scsi/qla2xxx/qla_dbg.h |2 ++ drivers/scsi/qla2xxx/qla_fw.h |2 +- 3 files changed, 21 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_dbg.c b/drive

[PATCH 09/19] qla2xxx: Correct infinite-login-retry issue.

2007-09-20 Thread Andrew Vasquez
From: Ravi Anand <[EMAIL PROTECTED]> Where the DPC logic would get jammed into continuously reloging-into a port. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_os.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/q

[PATCH 06/19] qla2xxx: Query additional RISC information during a pause.

2007-09-20 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_fw.h |4 ++- drivers/scsi/qla2xxx/qla_isr.c | 53 2 files changed, 56 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_fw.h b/drivers/scsi/qla2xxx/qla_

[PATCH 07/19] qla2xxx: Correct staging of RISC while attempting to pause.

2007-09-20 Thread Andrew Vasquez
There's no need to reset the RISC prior to pausing. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_dbg.c | 23 ++- 1 files changed, 10 insertions(+), 13 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_dbg.c b/drivers/scsi/qla2xxx/qla_dbg.c

[PATCH 04/19] qla2xxx: Allow region-based flash-part accesses.

2007-09-20 Thread Andrew Vasquez
From: Joe Carnuccio <[EMAIL PROTECTED]> Additional cleanups and Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_attr.c | 108 --- drivers/scsi/qla2xxx/qla_def.h |2 + drivers/scsi/qla2xxx/qla_fw.h |2 + drivers/scsi/ql

[PATCH 05/19] qla2xxx: Add PCI error recovery support.

2007-09-20 Thread Andrew Vasquez
From: Seokmann Ju <[EMAIL PROTECTED]> Additional cleanups and Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_def.h |1 + drivers/scsi/qla2xxx/qla_isr.c | 28 +- drivers/scsi/qla2xxx/qla_os.c | 114 3 files ch

[PATCH 02/19] qla2xxx: Add flash burst-read/write support.

2007-09-20 Thread Andrew Vasquez
Newer ISPs support a mechanism to read and write flash-memory via the firmware LOAD/DUMP memory mailbox command routines. When supported, utilizing these mechanisms significantly reduces overall access times. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_gbl.h |

[PATCH 19/19] qla2xxx: Update version number to 8.02.00-k4.

2007-09-20 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_version.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_version.h b/drivers/scsi/qla2xxx/qla_version.h index 18095b9..2d551a3 100644 --- a/drivers/scsi/qla2xxx/qla_v

[PATCH 18/19] qla2xxx: Rework MSI-X handlers.

2007-09-20 Thread Andrew Vasquez
Since MSI-X vectors do not require a clearing "handshake" from the system perspective, and the registered handler will not be called more than once for one occurrence of receipt of a vector, there is no requirement to flush the risc register write clearing the interrupt condition in the risc. Also,

[PATCH 17/19] qla2xxx: Clear options-flags while staging firmware-execution.

2007-09-20 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_mbx.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index ec48871..c53ec67 100644 --- a/drivers/scsi/qla2xxx/qla_mbx.c +++ b/d

[PATCH 03/19] qla2xxx: Limit iIDMA speed adjustments.

2007-09-20 Thread Andrew Vasquez
Do not adjust the iIDMA speed on ports which have a faster link-speed than the HBA itself. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_init.c | 10 ++ 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_init.c b/driv

[PATCH 0/19] qla2xxx: Driver update [8.02.00-k4].

2007-09-20 Thread Andrew Vasquez
This patchset updates the qla2xxx driver to 8.02.00-k4 drivers/scsi/qla2xxx/qla_attr.c| 200 +++-- drivers/scsi/qla2xxx/qla_dbg.c | 1846 +++- drivers/scsi/qla2xxx/qla_dbg.h |2 + drivers/scsi/qla2xxx/qla_def.h | 15 +- drivers/scsi/qla2xxx/q

Re: [PATCH] aic94xx: fix smartctl utility problem

2007-09-20 Thread Douglas Gilbert
James Bottomley wrote: > On Sun, 2007-09-16 at 19:01 -0400, Douglas Gilbert wrote: >> James Bottomley wrote: >>> On Sat, 2007-09-15 at 12:05 -0500, James Bottomley wrote: On Fri, 2007-09-14 at 10:58 -0700, Gilbert Wu wrote: > Fixed the problem that "smartctl -a /dev/some_sata_disk -d ata"

RE: LSI Logic 40919o fibre channel: scsi works ip not

2007-09-20 Thread Shirron, Stephen
Hi Mario, Our internal driver kits have been fixed, but there has been a delay in pushing this fix (along with other required changes) out to kernel.org. We are anticipating that the fix for this issue will show up in kernel 2.6.24 (2.6.23 is essentially closed). stephen -Original Message-

RE: kdump detection in SCSI drivers

2007-09-20 Thread Mukker, Atul
How do we "know" when little memory is available? Other suggestion which came about was to parse the kernel command line and look for "elfcorehdr=". Is this ok? Is kernel command line visible to the SCSI drivers? Thanks -Atul -Original Message- From: Pavel Machek [mailto:[EMAIL PROTECTED

Re: LSI Logic 40919o fibre channel: scsi works ip not

2007-09-20 Thread Mario Giammarco
Il Monday 05 March 2007 20:46:10 Shirron, Stephen ha scritto: > The code should look like this, in mpt_lan_post_receive_buckets(): > > goto out; > } > pRecvReq = (LANReceivePostRequest_t *) mf; > > i = le16_to_cpu(mf->u.frame.hwhdr.msg

Re: aic79xx problems

2007-09-20 Thread Stefan Boresch
On Thu, Sep 20, 2007 at 09:41:14AM -0500, James Bottomley wrote: > On Thu, 2007-09-20 at 16:34 +0200, Stefan Boresch wrote: > > So, since I seem to have a slightly broken machine at hand, let me > > know whether I can try/test anything to fix the issues the newer > > kernels might have. > > It wi

Re: aic79xx problems

2007-09-20 Thread James Bottomley
On Thu, 2007-09-20 at 16:34 +0200, Stefan Boresch wrote: > So, since I seem to have a slightly broken machine at hand, let me > know whether I can try/test anything to fix the issues the newer > kernels might have. It will take me a while to set up the configuration, so the dmesg from the failing

Re: aic79xx problems

2007-09-20 Thread Stefan Boresch
Thank you for both your replies. On Thu, Sep 20, 2007 at 09:15:51AM -0500, James Bottomley wrote: > On Thu, 2007-09-20 at 15:04 +0200, Stefan Boresch wrote: > > I could live with all this if kernels 2.6.2x I have tried would not > > simply crash. When the aic79xx module loads, I get again endless

Re: aic79xx problems

2007-09-20 Thread James Bottomley
On Thu, 2007-09-20 at 15:04 +0200, Stefan Boresch wrote: > I could live with all this if kernels 2.6.2x I have tried would not > simply crash. When the aic79xx module loads, I get again endless > > >> Dump Card State Begins < > > listings, but the warnings / error

[PATCH] eata_pio: Clean up proc handling, bracketing and use cpu_relax()

2007-09-20 Thread Alan Cox
So its ancient, its crap, but it kept showing up in my scans for stuff that wanted fixing... - Redo the proc code to be far cleaner - Clean various return (0) type constructs - Use cpu_relax() The various waits ought to time out but thats another issue and probably not worth solving. Signed-off-

[PATCH] dtc: Fix typo

2007-09-20 Thread Alan Cox
Signed-off-by: Alan Cox <[EMAIL PROTECTED]> (and pointed out by several people) diff -u --exclude-from /usr/src/exclude --new-file --recursive linux.vanilla-2.6.23rc6-mm1/drivers/scsi/dtc.c linux-2.6.23rc6-mm1/drivers/scsi/dtc.c --- linux.vanilla-2.6.23rc6-mm1/drivers/scsi/dtc.c 2007-09-18

Re: aic79xx problems

2007-09-20 Thread James Bottomley
On Thu, 2007-09-20 at 15:04 +0200, Stefan Boresch wrote: > So, if anyone is willing to take a look, here are some facts (again, > please let me know whatever other info you need!). I have put the output of > lspci, dmesg and cat /proc/scsi/aic79xx/0 of the system running a > default Ubuntu dapper i

aic79xx problems

2007-09-20 Thread Stefan Boresch
I am trying to set up a server with an onboard Super Micro AIC 7902B U320 controller under the latest Ubuntu version(s), i.e., using the respective Ubuntu supplied kernels (2.6.20 based for "feisty" and 2.6.22 based for "gutsy"). However, so far all kernels based on 2.6.x, x greater or equal to 20

[PATCH 3/3] use default attributes for scsi_host

2007-09-20 Thread Hannes Reinecke
This patch removes the unused sysfs attribute overwriting logic for most of the attributes, and plugs them into the driver core default attribute creation. Signed-off-by: Hannes Reinecke <[EMAIL PROTECTED]> Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> --- hosts.c |1 scsi_priv.h |

[PATCH 2/3] add scsi_host and scsi_target to scsi_bus

2007-09-20 Thread Hannes Reinecke
This patch implements scsi_host and scsi_target device types and adds both to the scsi_bus. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Hannes Reinecke <[EMAIL PROTECTED]> --- drivers/scsi/hosts.c | 12 ++-- drivers/scsi/scsi_proc.c |7 ++- drivers/scsi/s

[PATCH 1/3] switch sdev sysfs attributes to default attributes

2007-09-20 Thread Hannes Reinecke
With the current target allocation code a target is registered with sysfs for each possible target; it will be deleted again if no useable LUN on this target is found. This results in a lot of 'target add/target remove' uevents. This patch reworks the target allocation code so that only uevents fo

[PATCH 0/3] Update sysfs registration

2007-09-20 Thread Hannes Reinecke
Hi James, these patches are a follow-up to the earlier patch from Kay Sievers named "[SCSI] switch sdev sysfs attributes to default attributes". It consists of three parts: - PATCH 1/3: Rework scsi target allocation so that uevents will only be sent for existing targets - PATCH 2/3: Add scsi_bu

Re: kdump detection in SCSI drivers

2007-09-20 Thread Pavel Machek
> Hi, > > Is there a standard way for drivers (RAID) to detect if the current > kernel is running in kdump mode? We would like to adjust driver behavior > dynamically when kdump is active by scaling down resources. Perhaps you should be automatically using little resources when little memory is a