Re: Possible bug in scsi_lib.c:scsi_req_map_sg()

2007-03-05 Thread Christoph Hellwig
On Sun, Mar 04, 2007 at 12:06:36PM -0700, Dachepalli, Sudhir wrote: James, How about the following: 1. Cmd= Scsi_get_command( on physical device ) 2. Clone the scsi_cmnd fields of the virtual cmnd( command received by failover driver) to physical cmnd (the command allocated by No.

Re: Possible bug in scsi_lib.c:scsi_req_map_sg()

2007-03-05 Thread Christoph Hellwig
On Fri, Mar 02, 2007 at 03:59:42PM -0600, Mike Christie wrote: If scsi_execute_async is going to be limited to what is in mainline until I can kill it, then we may not want to merge Boaz's patch and just have people convert the code to use blk_get_request, blk_rq_map_kern or blk_rq_map_user

Raid not seen as raind in SLES 10 Installation

2007-03-05 Thread Andreas Moroder
Hello, we have a Fujitsu-Siemens TX200 with a onboard AIC-7902W adapter and 4 disks. We have set them up as two pair of RAID-1 disks. The bios startup-screen shows us two pair of RAID1 disks. When we try to install SLES10 we see 4 disks ! How can we tell Linux that there are only two RAID

Re: [PATCH 3/3] tgt: fix scsi command leak

2007-03-05 Thread Douglas Gilbert
FUJITA Tomonori wrote: From: Douglas Gilbert [EMAIL PROTECTED] Subject: Re: [PATCH 3/3] tgt: fix scsi command leak Date: Sat, 03 Mar 2007 11:58:19 -0500 FUJITA Tomonori wrote: The failure to map user-space pages leads to scsi command leak. It can happens mostly because of user-space daemon

Re: [PATCH] SG: cap reserved_size values at max_sectors

2007-03-05 Thread Alan Stern
Doug: I haven't gotten any feedback on this patch: http://marc.theaimsgroup.com/?l=linux-scsim=117198739722640w=2 Pending Mike's efforts to get a completely realistic estimate for the maximum allowable size of a transfer request, is there any reason not to accept the patch in its original form?

Re: [Bugme-new] [Bug 8122] New: Scsi_Host's n_io_port forgot to be initialized?

2007-03-05 Thread Andrew Morton
On Sun, 4 Mar 2007 01:19:32 -0800 [EMAIL PROTECTED] wrote: http://bugzilla.kernel.org/show_bug.cgi?id=8122 Summary: Scsi_Host's n_io_port forgot to be initialized? Kernel Version: Linux 2.6.20 Status: NEW Severity: normal Owner: [EMAIL

Re: [Bugme-new] [Bug 8122] New: Scsi_Host's n_io_port forgot to be initialized?

2007-03-05 Thread Christoph Hellwig
On Mon, Mar 05, 2007 at 07:17:30PM -0800, Andrew Morton wrote: Most recent kernel where this bug did *NOT* occur: No Distribution: Linux-2.6.20 Problem Description: It seems that usually structure Scsi_Host's io_port field and n_io_port field needs to be set together. io_port and

Re: [Patch 2/2] cciss: add struct pci_driver shutdown support (replaces reboot notifier)

2007-03-05 Thread Mike Miller (OS Dev)
On Tue, Feb 27, 2007 at 12:26:34PM -0800, Andrew Morton wrote: On Fri, 23 Feb 2007 14:42:39 -0600 Mike Miller (OS Dev) [EMAIL PROTECTED] wrote: This patch supercedes yesterdays cciss-shutdown patch. The primary difference is removing __devexit from cciss_remove_one. Instead of create