[PATCH 5/7] scsi : use class iteration api

2008-01-12 Thread Dave Young
Convert to use the class iteration api. Signed-off-by: Dave Young [EMAIL PROTECTED] --- drivers/scsi/hosts.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff -upr linux/drivers/scsi/hosts.c linux.new/drivers/scsi/hosts.c --- linux/drivers/scsi/hosts.c

[Bug 9734] New: I/O error when inserting a second firewire sata disk

2008-01-12 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=9734 Summary: I/O error when inserting a second firewire sata disk Product: IO/Storage Version: 2.5 KernelVersion: 2.6.24 rc7 Platform: All OS/Version: Linux Tree: Mainline

Re: [PATCH] scsi_transport_spi: convert to attribute groups

2008-01-12 Thread James Bottomley
On Fri, 2008-01-11 at 21:11 -0800, Greg KH wrote: On Sat, Jan 05, 2008 at 10:18:27AM -0600, James Bottomley wrote: This conversion makes full use of the is_visible() callback on attribute groups. Now, each device appears only with its capability flags in the transport class directory.

[Bug 9734] I/O error when inserting a second firewire sata disk

2008-01-12 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=9734 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED]

[PATCH] libsas: fix sense_buffer overrun

2008-01-12 Thread FUJITA Tomonori
Signed-off-by: FUJITA Tomonori [EMAIL PROTECTED] --- drivers/scsi/libsas/sas_scsi_host.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c index b784089..828fed1 100644 ---

Re: new runtime scsi warnings in 2.6.24-rc6+git

2008-01-12 Thread Rafael J. Wysocki
On Friday, 4 of January 2008, Meelis Roos wrote: Todays git gives the following warning during bootup on a Intel 845+PATA PC (using libata to drive PATA): Driver 'sd' needs updating - please use bus_type methods Driver 'sr' needs updating - please use bus_type methods They are due to

Re: [PATCH] Only print SCSI data direction warning once for a command

2008-01-12 Thread James Bottomley
On Wed, 2008-01-02 at 07:03 +0100, Andi Kleen wrote: When I use cdparanoia my logs get spammed a lot by printk: 464 messages suppressed. sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in; program cdparanoia not setting count and/or reply_len properly

Re: new runtime scsi warnings in 2.6.24-rc6+git

2008-01-12 Thread James Bottomley
On Sat, 2008-01-12 at 20:58 +0100, Rafael J. Wysocki wrote: On Friday, 4 of January 2008, Meelis Roos wrote: Todays git gives the following warning during bootup on a Intel 845+PATA PC (using libata to drive PATA): Driver 'sd' needs updating - please use bus_type methods Driver 'sr'

Re: [Bug 9734] New: I/O error when inserting a second firewire sata disk

2008-01-12 Thread James Bottomley
Firewire list cc'd On Sat, 2008-01-12 at 07:47 -0800, [EMAIL PROTECTED] wrote: http://bugzilla.kernel.org/show_bug.cgi?id=9734 Summary: I/O error when inserting a second firewire sata disk Product: IO/Storage Version: 2.5 KernelVersion: 2.6.24 rc7

[PATCH 1/2] don't zero out sense_buffer in queuecommand

2008-01-12 Thread FUJITA Tomonori
LLDs don't need to zero out scsi_cmnd::sense_buffer in queuecommand since scsi-ml does. This is a preparation of the future changes to allocate the sense_buffer only when necessary. Many LLDs zero out the sense_buffer before touching it on the error case. This patch lets them alone for now

[PATCH 2/2] replace sizeof sense_buffer with SCSI_SENSE_BUFFERSIZE

2008-01-12 Thread FUJITA Tomonori
This is the second version of http://marc.info/?l=linux-scsim=119933628210012w=2 o I dropped fas216 since Boaz's patch in scsi-pending will be merged before solving the sense_buffer dma issue. o This is a 'grep and replace' style patch but cleans up dpt_i2o a bit as by permission of Mark (I use