Dell PE2950 with adaptec 39320A scsi card : card dump while using Dell PV110T LTO2 tapedrive

2007-02-14 Thread Maarten De Wispelaere
Hi, I'm having the following problem with my PE 2950 and PV110T LTO2 tapedrive : At the end of my backup, I'm getting a Card Dump (see contents of /var/log/messages below). My backupscript uses simple tar and mt command and runs fine on another machine with a DLT drive. The scsi card is an a

[PATCH 6/6] scsi: megaraid_sas - update version and author info

2007-02-14 Thread Sumant Patro
Update version and author information. Signed-off-by: Sumant Patro <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c |8 +--- drivers/scsi/megaraid/megaraid_sas.h |6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff -uprN linux-feb13-new-p5/drivers/scsi/megar

Re: [PATCH] bind bsg to request_queue instead of gendisk

2007-02-14 Thread FUJITA Tomonori
From: Jeff Garzik <[EMAIL PROTECTED]> Subject: Re: [PATCH] bind bsg to request_queue instead of gendisk Date: Tue, 13 Feb 2007 13:00:33 -0500 > On Wed, Feb 14, 2007 at 02:53:31AM +0900, FUJITA Tomonori wrote: > > It seems that it would be better to bind bsg devices to request_queue > > instead of

[PATCH 5/6] scsi: megaraid_sas - return sync cache call with success

2007-02-14 Thread Sumant Patro
FW does not support SYNCHRONIZE_CACHE cmd. FW flush cache on its own. So, we just return success from the megasas_queue_command. Signed-off-by: Sumant Patro <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 12 1 files changed, 12 insertions(+) diff -uprN linux-feb1

[PATCH 4/6] scsi: megaraid_sas - replace pci_alloc_consitent with dma_alloc_coherent in ioctl path

2007-02-14 Thread Sumant Patro
Replaced pci_alloc_consistent with dma_alloc_coherent from the ioctl path. This is to avoid situations where ioctl fails for lack of memory (when system under heavy stress). Signed-off-by: Sumant Patro <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 12 ++-- 1 files ch

[PATCH 3/6] scsi: megaraid_sas - throttle io if FW is busy

2007-02-14 Thread Sumant Patro
Checks added in megasas_queue_command to know if FW is able to process commands within the timeout period. If number of retries is 2 or more, the driver stops sending cmd to FW. IO is resumed when pending cmd count reduces to 16 or 10 seconds has elapsed from the time cmds were last sent to FW.

Re: Any multipath SAS support in Linux?

2007-02-14 Thread Darrick J. Wong
Orion Poplawski wrote: > I'm thinking about trying to setup a two node HA storage cluster > connected to an external SAS box. Is such a thing possible at this time? I've had success with aic94xx + dm_multipath before. There has recently been a bug in the multipath tools wherein it fails to detec

[PATCH 2/6] scsi: megaraid_sas - added bios_param in scsi_host_template

2007-02-14 Thread Sumant Patro
Added bios_param in scsi_host_template to return disk geometry. Signed-off-by: Sumant Patro <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 45 + 1 files changed, 45 insertions(+) Resubmitting with following changes : ulong -> unsigned long, removed typ

[PATCH 1/6] scsi: megaraid_sas - donot process cmds if hw_crit_error is set

2007-02-14 Thread Sumant Patro
Checks if hw_crit_error is set. If it is set, we donot process commands. Checks added in megasas_queue_command and command completion routines. Signed-off-by: Sumant Patro <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 13 - 1 files changed, 12 insertions(+), 1 del

sg version 4 tools

2007-02-14 Thread FUJITA Tomonori
I created a git tree for makeshift sg version 4 tools: http://www.kernel.org/git/?p=linux/kernel/git/tomo/sgv4-tools.git;a=summary # not synchronized yet. The interface has changed continuously (and will do). After mainline inclusion, Doug's sg tools support sg v4, I think. Until then, I put too

RE: Fw: [Bugme-new] [Bug 7999] New: MegaRAID Legacy doesn't work with LSI MegaRAID i4 since release 2.00.4

2007-02-14 Thread Patro, Sumant
megaraid_mbox and megaraid_mm are the modules for "new generation". There is no dependency of these modules to megaraid legacy. Could you please send me the lspci output from the system under test? --Sumant -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf O

Any multipath SAS support in Linux?

2007-02-14 Thread Orion Poplawski
I'm thinking about trying to setup a two node HA storage cluster connected to an external SAS box. Is such a thing possible at this time? TIA, Orion -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA DivisionFAX: 303-415-9702 3380 Mitche

Re: [PATCH] bind bsg to request_queue instead of gendisk

2007-02-14 Thread Pete Wyckoff
[EMAIL PROTECTED] wrote on Wed, 14 Feb 2007 02:53 +0900: > It seems that it would be better to bind bsg devices to request_queue > instead of gendisk. This enables any objects to define own > request_handler and create own bsg device (under sysfs). > > Possible enhancements: > > - I removed gendi

Re: [PATCH] bind bsg to request_queue instead of gendisk

2007-02-14 Thread Jens Axboe
On Wed, Feb 14 2007, FUJITA Tomonori wrote: > It seems that it would be better to bind bsg devices to request_queue > instead of gendisk. This enables any objects to define own > request_handler and create own bsg device (under sysfs). > > Possible enhancements: > > - I removed gendisk but it wou

Re: [PATCH] lpfc: add PCI error recovery support

2007-02-14 Thread James Smart
ACK - the patch is fine for lpfc -- james s Linas Vepstas wrote: James, Please review and forward upstream. This is a patch I'd previously submitted, and reworked by [EMAIL PROTECTED] in January. Not clear if I need to also nag James Smart (who is listed as the maintainer) for an Acked-b

Re: [PATCH] bind bsg to request_queue instead of gendisk

2007-02-14 Thread James Smart
Pete Wyckoff wrote: The only place that bsg_register_rq is called is via blk_register_queue, which is only called by add_disk. But not all devices have a block interface or need the gendisk that these functions assume. FYI - very shortly, we expect dynamic transport entities to start calling

[PATCH] lpfc: add PCI error recovery support

2007-02-14 Thread Linas Vepstas
James, Please review and forward upstream. This is a patch I'd previously submitted, and reworked by [EMAIL PROTECTED] in January. Not clear if I need to also nag James Smart (who is listed as the maintainer) for an Acked-by (which I am lead to beleive should be forthcoming? Ahh the joys of indi

Dell PE2950 with adaptec 39320A scsi card : card dump while using Dell PV110T LTO2 tapedrive]

2007-02-14 Thread Maarten De Wispelaere
Hi, I'm having the following problem with my PE 2950 and PV110T LTO2 tapedrive : At the end of my backup, I'm getting a Card Dump (see contents of /var/log/messages below). My backupscript uses simple tar and mt command and runs fine on another machine with a DLT drive. The scsi card is an a

Re: [PATCH] bind bsg to request_queue instead of gendisk

2007-02-14 Thread Douglas Gilbert
Jeff Garzik wrote: > On Wed, Feb 14, 2007 at 02:53:31AM +0900, FUJITA Tomonori wrote: >> It seems that it would be better to bind bsg devices to request_queue >> instead of gendisk. This enables any objects to define own >> request_handler and create own bsg device (under sysfs). >> >> Possible enh

Re: Fw: [Bugme-new] [Bug 7999] New: MegaRAID Legacy doesn't work with LSI MegaRAID i4 since release 2.00.4

2007-02-14 Thread Eric Belhomme
James Bottomley a écrit : So if I understand well, the module actively used with the LSI card is megaraid, the legacy one ! but the mbox and mm are loaded and seems to be necessary for the legacy driver ? Actually, it shouldn't be. megaraid_mbox depends on megaraid_mm as your lsmod shows, wh