SG v4 task tag

2006-12-21 Thread FUJITA Tomonori
The bsg tree has SG v4 basic support (Jens, thanks for merging the patches). Next I try to add task tag support. - LLDs use their own internal value (pointer, counter, etc) or the block tagging code for task tags. - task tags need to be always unique (though they might be generated in kernel

Re: [PATCH 4/6] bsg: add sg_io_v4 structure

2006-12-21 Thread FUJITA Tomonori
From: Jens Axboe <[EMAIL PROTECTED]> Subject: Re: [PATCH 4/6] bsg: add sg_io_v4 structure Date: Thu, 21 Dec 2006 08:28:23 +0100 > On Thu, Dec 21 2006, FUJITA Tomonori wrote: > > From: Jens Axboe <[EMAIL PROTECTED]> > > Subject: Re: [PATCH 4/6] bsg: add sg_io_v4 structure > > Date: Wed, 20 Dec 2006

Re: SG_IO ioctl

2006-12-21 Thread Albert Collins
I think it might be that bio sets up the iov incorrectly. I've had this problem that sdparm is receiving all-zero data (command completes OK but no data is written into specified buffer) with kernel 2.6.19, and I've found that blk_rq_map_user receives the correct user space buffer address but the

SG_IO ioctl

2006-12-21 Thread Ken Hwang
Hi, I had a utility which uses SG_IO ioctl (scsi passthrough?) to issue private commands to a USB dongle (reported as a USB Mass Storage but with 0 bytes) to get some information back. It works fine with kernel 2.6.12.2. But after we upgraded to kernel 2.6.15.4 then the program could not get infor

Re: Fw: [Bugme-new] [Bug 7726] New: New LSI MegaRAID driver fails when ACPI is not present

2006-12-21 Thread Arjan van de Ven
On Thu, 2006-12-21 at 12:57 -0800, Andrew Morton wrote: > > Begin forwarded message: > > Date: Thu, 21 Dec 2006 10:36:55 -0800 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: [Bugme-new] [Bug 7726] New: New LSI MegaRAID driver fails when ACPI > is not present > > > http://bugzilla

Fw: [Bugme-new] [Bug 7726] New: New LSI MegaRAID driver fails when ACPI is not present

2006-12-21 Thread Andrew Morton
Begin forwarded message: Date: Thu, 21 Dec 2006 10:36:55 -0800 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 7726] New: New LSI MegaRAID driver fails when ACPI is not present http://bugzilla.kernel.org/show_bug.cgi?id=7726 Summary: New LSI MegaRAID driver

oops in mptsas driver during device reset - 2.6.19-1

2006-12-21 Thread Steve Lord
I have some sick sas raid hardware which is timing out on a command, this is causing an oops in the mptsas driver in 2.6.19.1 followed by a warning about sleeping with irq's disabled. Steve [ 681.547980] mptscsih: ioc0: attempting task abort! (sc=81023ffcf380) [ 681.555009] sd 4:0:0:0: [