From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: set_phys_to_machine not exported? Date: Wed, 4 Jan 2012 09:48:18 -0500 Message-ID: <20120104144818.GD3322@phenom.dumpdata.com> References: <6035A0D088A63A46850C3988ED045A4B0594FA@BITCOM1.int.sbss.com.au> <20120103175539.GF749@andromeda.dapyr.net> <6035A0D088A63A46850C3988ED045A4B091826@BITCOM1.int.sbss.com.au> <20120103223610.GB12939@phenom.dumpdata.com> <6035A0D088A63A46850C3988ED045A4B094042@BITCOM1.int.sbss.com.au> <6035A0D088A63A46850C3988ED045A4B094109@BITCOM1.int.sbss.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <6035A0D088A63A46850C3988ED045A4B094109@BITCOM1.int.sbss.com.au> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: James Harper Cc: Konrad Rzeszutek Wilk , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Wed, Jan 04, 2012 at 03:44:32AM +0000, James Harper wrote: > > Okay I have it compiling and loading now (that xenbus init macro obviously > > isn't for the Debian 3.1.0 kernel I'm running...) but I can't attach a scsi device - > > it just hangs for a while then says hotplug didn't work. > > > > Any suggestions? Would it be expected to work against the Xen 4.0.4-rc1-pre > > I'm running now? > > > > Loading and detecting properly now (see email about the choice of shell in the vscsi script), and appears to be restoring with the following patch: OK. Can you post this along with a SOB and an explanation of what this patch does please? > > --- ../konrad/xen/drivers/scsi/xen-scsiback/emulate.c 2012-01-04 10:51:36.090985303 +1100 > +++ emulate.c 2012-01-04 13:28:23.288336520 +1100 > @@ -401,8 +401,8 @@ > NO_EMULATE(INQUIRY); /*0x12*/ > /*NO_EMULATE(RECOVER_BUFFERED_DATA); *//*0x14*/ > NO_EMULATE(MODE_SELECT); /*0x15*/ /* st */ > - /*NO_EMULATE(RESERVE); *//*0x16*/ > - /*NO_EMULATE(RELEASE); *//*0x17*/ > + NO_EMULATE(RESERVE); /*0x16*/ > + NO_EMULATE(RELEASE); /*0x17*/ > /*NO_EMULATE(COPY); *//*0x18*/ > NO_EMULATE(ERASE); /*0x19*/ /* st */ > NO_EMULATE(MODE_SENSE); /*0x1a*/ /* st */ > > James