Re: Retry counters in sd.c

2007-08-16 Thread Pete Zaitcev
On Wed, 15 Aug 2007 11:19:43 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > And that's not even taking into account the fact that > sd_read_capcity(), together with everything else under > sd_revalidate_disk(), gets called twice in a row during device > scanning. (What's the reason for that

Deadlock in SCSI core!

2007-08-16 Thread Alan Stern
James and others: One of the things scsi_host_dev_release() does is to call kthread_stop(shost->ehandler). This is all well and good, and to be expected. But... What if a host is hotunplugged in the middle of error recovery, and the error-handler thread holds the last reference? Then when th

RE: [PATCH] add use_sg_chaining option to scsi_host_template

2007-08-16 Thread Salyzyn, Mark
ACK aacraid portion (for what it is worth). Sincerely -- Mark Salyzyn > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of FUJITA Tomonori > Sent: Thursday, August 16, 2007 12:48 PM > To: [EMAIL PROTECTED] > Cc: linux-scsi@vger.kernel.org; [EMAIL PROTEC

Re: [patch 0/4] aha152x.c - Cleanup, need help in testing and auditing

2007-08-16 Thread James Bottomley
On Thu, 2007-08-16 at 10:20 -0700, Randy Dunlap wrote: > > For DMA transfers ... which is where you give the device a bus physical > > address and a length and tell it to go off and perform the transfer on > > its own, you need to use the dma_map_ functions. > > > > For PIO transfers, which are us

Re: [patch 0/4] aha152x.c - Cleanup, need help in testing and auditing

2007-08-16 Thread Randy Dunlap
On Thu, 16 Aug 2007 09:39:54 -0500 James Bottomley wrote: > On Wed, 2007-08-15 at 22:22 -0700, Randy Dunlap wrote: > > On Thu, 19 Jul 2007 10:49:30 -0700 Randy Dunlap wrote: > > > > > On Thu, 19 Jul 2007 18:57:50 +0300 Boaz Harrosh wrote: > > > > > > > Randy Dunlap wrote: > > > > > > > > > > Ye

[PATCH] add use_sg_chaining option to scsi_host_template

2007-08-16 Thread FUJITA Tomonori
This is for Jens' sglist branch in the block git tree. It enables sg chaining support for the LLDs that use scsi_for_each_sg accessor properly. --- >From a6e50a3b476bc193de103e8c1d95877ced38918e Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori <[EMAIL PROTECTED]> Date: Fri, 17 Aug 2007 01:35:41 +09

RE: [PATCH 1/1] cciss: fix error reporting for SG_IO

2007-08-16 Thread Cameron, Steve
Any feedback on my patch? Anybody know what the msg_byte in include/scsi/scsi.h is for? scsi.h says: * msg_byte= return status from host adapter itself. So, it's ok to use the msg_byte for device specific error codes? -- steve - To unsubscribe from this list: send the line "unsubscri

Errors on USB-storage device are ignored.

2007-08-16 Thread Rogier Wolff
Hi, I have an usb-storage enclosure that houses a normal desktop harddrive. I have been wondering why disks in that enclosure seemed to be having less errors than when connected to a normal IDE connector. The reason is: USB-storage is ignoring a hint that something is wrong. Probably my enc

Re: [PATCH] make attribute_container_unregister() unconditionally wait for list empty

2007-08-16 Thread James Bottomley
On Wed, 2007-08-15 at 10:54 -0500, James Bottomley wrote: > This is the patch I've been testing. Actually, that patch was wrong ... it has two subtle bugs that conspire to make it seem correct. Can you try this one instead? I don't have any fibre equipment, and the other transport classes aren't

Re: [patch 0/4] aha152x.c - Cleanup, need help in testing and auditing

2007-08-16 Thread James Bottomley
On Wed, 2007-08-15 at 22:22 -0700, Randy Dunlap wrote: > On Thu, 19 Jul 2007 10:49:30 -0700 Randy Dunlap wrote: > > > On Thu, 19 Jul 2007 18:57:50 +0300 Boaz Harrosh wrote: > > > > > Randy Dunlap wrote: > > > > > > > > Yes, this problem has been around forever AFAIK. You didn't add > > > > to i