Re: [PATCH scsi-misc-2.6 08/08] scsi: fix hot unplug sequence

2005-03-24 Thread Tejun Heo
Hi, On Thu, Mar 24, 2005 at 11:02:45PM -0600, James Bottomley wrote: > On Fri, 2005-03-25 at 12:15 +0900, Tejun Heo wrote: > > I think I found the cause. Special requests submitted using > > scsi_do_req() never initializes ->end_io(). Normally, SCSI midlayer > > terminates special requests ins

Re: [PATCH scsi-misc-2.6 08/08] scsi: fix hot unplug sequence

2005-03-24 Thread James Bottomley
On Fri, 2005-03-25 at 12:15 +0900, Tejun Heo wrote: > I think I found the cause. Special requests submitted using > scsi_do_req() never initializes ->end_io(). Normally, SCSI midlayer > terminates special requests inside the SCSI midlayer without passing > through the blkdev layer. However, if

Re: [PATCH scsi-misc-2.6 08/08] scsi: fix hot unplug sequence

2005-03-24 Thread Tejun Heo
Hello, James and Jens. On Thu, Mar 24, 2005 at 06:45:58PM -0600, James Bottomley wrote: > On Wed, 2005-03-23 at 16:25 +0100, Jens Axboe wrote: > > Let me guess, it is hanging in wait_for_completion()? > > Yes, I have the trace now. Why is curious. This is the trace of the > failure: > > Mar 2

Re: [PATCH scsi-misc-2.6 08/08] scsi: fix hot unplug sequence

2005-03-24 Thread James Bottomley
On Wed, 2005-03-23 at 16:25 +0100, Jens Axboe wrote: > Let me guess, it is hanging in wait_for_completion()? Yes, I have the trace now. Why is curious. This is the trace of the failure: Mar 24 18:40:34 localhost kernel: usb 4-2: USB disconnect, address 3 Mar 24 18:40:34 localhost kernel: sd 0:0

[PATCH 5/7] - MPT FUSION - SPLITTING SCSI HOST DRIVERS

2005-03-24 Thread Moore, Eric Dean
These patches are for the mpt fusion scsi host drivers, which separate the scsi host drivers into separate bus type kernel modules. This was requested by several people on the linux-scsi@ forum, so our driver can properly support the various transport layers; e.g. SPI, FC, and eventually SAS. In

[PATCH 6/7] - MPT FUSION - SPLITTING SCSI HOST DRIVERS

2005-03-24 Thread Moore, Eric Dean
These patches are for the mpt fusion scsi host drivers, which separate the scsi host drivers into separate bus type kernel modules. This was requested by several people on the linux-scsi@ forum, so our driver can properly support the various transport layers; e.g. SPI, FC, and eventually SAS. In

[PATCH 7/7] - MPT FUSION - SPLITTING SCSI HOST DRIVERS

2005-03-24 Thread Moore, Eric Dean
These patches are for the mpt fusion scsi host drivers, which separate the scsi host drivers into separate bus type kernel modules. This was requested by several people on the linux-scsi@ forum, so our driver can properly support the various transport layers; e.g. SPI, FC, and eventually SAS. In

[PATCH 3/7] - MPT FUSION - SPLITTING SCSI HOST DRIVERS

2005-03-24 Thread Moore, Eric Dean
These patches are for the mpt fusion scsi host drivers, which separate the scsi host drivers into separate bus type kernel modules. This was requested by several people on the linux-scsi@ forum, so our driver can properly support the various transport layers; e.g. SPI, FC, and eventually SAS. In

[PATCH 1/7] - MPT FUSION - SPLITTING SCSI HOST DRIVERS

2005-03-24 Thread Moore, Eric Dean
These patches are for the mpt fusion scsi host drivers, which separate the scsi host drivers into separate bus type kernel modules. This was requested by several people on the linux-scsi@ forum, so our driver can properly support the various transport layers; e.g. SPI, FC, and eventually SAS. In

[PATCH] - MPT FUSION - SPLITTING SCSI HOST DRIVERS

2005-03-24 Thread Moore, Eric Dean
Here are several patches(7) which follow this email. These patches are for the mpt fusion scsi host drivers, which separate the scsi host drivers into separate bus type kernel modules. This was requested by several people on the linux-scsi@ forum, so our driver can properly support the various t

Re: [PATCH as494] Add a scsi_device flag for RETRY_HWERROR

2005-03-24 Thread Douglas Gilbert
Alan Stern wrote: James: It turns out that a bunch of USB-IDE converters make the mistake of returning SK = 04 (Hardware Error) whenever the IDE device signals any sort of error, without bothering to distinguish recoverable from non-recoverable errors. Alan, The sense key of HARDWARE ERROR is a su

Re: adaptec 2120S software under RedHat 8.0 and FC2

2005-03-24 Thread Ross Macintyre
Christoph Hellwig said: > On Tue, Mar 22, 2005 at 04:32:04PM -, Ross Macintyre wrote: >> Since you advise us to stay away from Adaptec, and I assume you are part >> of the team that manages the Fedora system, > > I'm not associated with Fedora at all. > >> can you advise users what RAID >> / S

[PATCH as494] Add a scsi_device flag for RETRY_HWERROR

2005-03-24 Thread Alan Stern
James: It turns out that a bunch of USB-IDE converters make the mistake of returning SK = 04 (Hardware Error) whenever the IDE device signals any sort of error, without bothering to distinguish recoverable from non-recoverable errors. The best way to handle this is for usb-storage to set a per-de

Re: [PATCH] scsi_mid_low_api doesn't mention scsi_scan_host

2005-03-24 Thread Douglas Gilbert
[EMAIL PROTECTED] wrote: Thanks for the correction. How does this look? * Notes: Only required in "hotplug initialization model" after a * successful call to scsi_host_alloc(). This function does not * scan the bus; this can be done by calling scsi_scan_host() or * in some oth