From: Yanggun Subject: Re: [PATCH 0/2] some block and scsi layer additions for ULD scatterlist code Date: Wed, 7 Dec 2005 11:09:14 +0900 Message-ID: References: <1133771825.23619.16.camel@max> <43963FAF.7090304@cs.wisc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Return-path: Received: from zproxy.gmail.com ([64.233.162.204]:6167 "EHLO zproxy.gmail.com") by vger.kernel.org with ESMTP id S965038AbVLGCJP convert rfc822-to-8bit (ORCPT ); Tue, 6 Dec 2005 21:09:15 -0500 Received: by zproxy.gmail.com with SMTP id 4so229824nzn for ; Tue, 06 Dec 2005 18:09:14 -0800 (PST) In-Reply-To: <43963FAF.7090304@cs.wisc.edu> Content-Disposition: inline Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Mike Christie Cc: axboe@suse.de, Linux SCSI list thanks comment. Using driver is SATA controller driver who offer in Promise company. this driver does not mainline driver. and this driver does not use libata. Promise SATAII150 TX2plus Driver of main line does sata_promise. but do not use doing not support sata_promise + libata to hotswap yet. I will do debugging little more. 2005/12/7, Mike Christie : > Yanggun wrote: > > Hi, > > > > i am currently using linux kernel version 2.6.15-rc5 on x86 with Promise > > SATAII150 TX2Plus(250G SATA HDD Disk x 2). > > > > But, SATA HDD disk does not become. program execute result of "fdisk > > /dev/sda" is "Unable to read /dev/sda". > > > > Work well in linux kernel version 2.6.13.2. > > > > Do not act below since change as result that do debugging. > > "[SCSI] use scatter lists for all block pc requests and > > simplify hw handlers" > > - http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=392160335c798bbe94ab3aae6ea0c85d32b81bbc > > > > > > Test and tried your bug patch, but, result is same. > > I do not think my patch was meant to address your issue :( > > > > > By result that I do debugging, if queuecommand () of LLD layer returns > > result properly, but execute scsi_probe_lun () -> scsi_execute_req () > > -> blk_execute_rq () by thing which is not realized to proc/scsi/scsi > > come out . after execute blk_execute_rq(), then cmd->buffer, > > cmd->request_buffer is NULL. so, "Model:" in scsi_add_lun() -> > > print_inquiry() comes out NULL. > > I am not sure I understand correctly, but I do not think the analysis > above is completely correct. scsi_execute_req gets a buffer passed to it > so it should not matter if those fields are set to NULL when > scsi_execute_req completes as long as something has been copied to the > buffer passed into scsi_execute_req. > > > -------------- > > Kernel version: 2.6.15-rc5 > > SATA Controller: Promise SATAII150 TX2Plus > > SATA HDD: Western Digital 250G x 2 > > SATA Driver: http://www.promise.com/support/download/download2_eng.asp?productID=126&category=all&os=100# > > > > I am not too familar with SATA. Is this driver in mainline and does it > use libata? Which module is it? >