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

2007-02-15 Thread Patro, Sumant
Hello James, I re-submitted the patch yesterday with the "space" issue fixed (adhering to coding guideline). I will check for alternative to calculate the time driver have been sending host busy to OS. Will check with time_before() as you have suggested. Throttling from m

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

2007-02-15 Thread James Bottomley
On Tue, 2007-02-06 at 14:11 -0800, Sumant Patro wrote: > Checks added in megasas_queue_command to know if FW is able to process > commands within timeout period. If number of retries is 2 or greater, > the driver stops sending cmd to FW. IO is resumed if pending cmd count > reduces to 16 or 5 secon

Re: BUG in libata from ata_sas_port_alloc

2007-02-15 Thread Darrick J. Wong
James Bottomley wrote: > The problem is that memory obtained by devm_kzalloc() cannot be returned > by kfree() ... they come from different allocation lists. The solution > is probably to have a corresponding ata_probe_ent_free(), I just don't > exactly see how to tell if the object came from the

Re: [PATCH][SCSI] wd33c93.c: Fast SCSI with WD33C93B

2007-02-15 Thread James Bottomley
On Mon, 2007-02-12 at 15:20 +0100, peter fuerst wrote: > Attached are patches, which help to utilize more of the WD33C93B SCSI > controller's capabilities. OK, the patch didn't quite apply, so I fixed it up and removed the unused i variable in wd33c93_proc_info() > 1st Stage: > > 1) Added/change

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

2007-02-15 Thread Patro, Sumant
Yes I can make it boolean. Will change it in a future patch submission. Thanks, Sumant -Original Message- From: Richard Knutsson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 12:10 AM To: Patro, Sumant Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; linux-scsi@vger.kernel.org; l

Re: [PATCH] ATA convert GSI to irq on ia64

2007-02-15 Thread Jeff Garzik
Zhang, Yanmin wrote: On Thu, 2007-02-08 at 20:19 -0500, Jeff Garzik wrote: Zhang, Yanmin wrote: If an ATA drive uses legacy mode, ata driver will choose 14 and 15 as the fixed irq number. On ia64 platform, such numbers are GSI and should be converted to irq vector. Below patch against kernel 2

Re: sg version 4 tools

2007-02-15 Thread Jens Axboe
On Fri, Feb 16 2007, FUJITA Tomonori wrote: > If you add sgv4 support to sg3_utils now, I'm happy to remove the git > tree. :) I think keeping a private testing tools git repo for sg v4 makes a lot of sense. Some/most of these tools are just for playing around and making sure that things still wor

LSI Logic 40919o fibre channel: scsi works ip not

2007-02-15 Thread Mario Giammarco
Hello, I have two lsi logic 40919o 2gbit connected to a 2gbit switch. They see hard disks but when I try to use them as ip card I obtain a partial failure: packets sometimes arrives sometimes no and on dmesg I see: mptlan: ioc0/fc0: WARNING - IOC out of buckets! (priv->buckets_out = 126) mptlan

BUG in libata from ata_sas_port_alloc

2007-02-15 Thread James Bottomley
This is the bug sas: DOING DISCOVERY on port 1, pid:2009 INIT: slab error in verify_redzone_free(): cache `size-1024': memory outside object was overwritten [] show_trace_log_lvl+0x1a/0x30 [] show_trace+0x12/0x20 [] dump_stack+0x16/0x20 [] __slab_error+0x26/0x30 [] cache_free_debugcheck+0x141

[PATCH] aic94xx: tie driver to the major number of the sequencer firmware

2007-02-15 Thread James Bottomley
The sequencer firmware file has both a string (currently showing V17/10c6) and a number (currently set to 1.1). It has become apparent that Adaptec may issue sequencer firmware in the future which could be incompatible with the current driver. Therefore, the driver will be tied to the particular

Re: dc395x

2007-02-15 Thread Guennadi Liakhovetski
On Thu, 15 Feb 2007, Aldo Barreto wrote: > I'am trying to install Mandriva 2007 with kernel 2.6.17 in my system. It's > a Pentium IV P4P 800 ASSUS system with 1 Gb of memory and a scsi board > Tekram dc395. System doesn't end startup and syslog sends me a messagge: > kernel: drivers/scsi/dc395x.c

Re: sg version 4 tools

2007-02-15 Thread FUJITA Tomonori
From: Douglas Gilbert <[EMAIL PROTECTED]> Subject: Re: sg version 4 tools Date: Thu, 15 Feb 2007 08:25:52 -0800 > FUJITA Tomonori wrote: > > 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 (snip) > Tomo,

Re: sg version 4 tools

2007-02-15 Thread Douglas Gilbert
FUJITA Tomonori wrote: > 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 suppor

dc395x

2007-02-15 Thread Aldo Barreto
I'am trying to install Mandriva 2007 with kernel 2.6.17 in my system. It's a Pentium IV P4P 800 ASSUS system with 1 Gb of memory and a scsi board Tekram dc395. System doesn't end startup and syslog sends me a messagge: kernel: drivers/scsi/dc395x.c: Please, contact (your address). This occurs boot

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

2007-02-15 Thread Richard Knutsson
Sumant Patro wrote: 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 we