All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: James Harper <james.harper@bendigoit.com.au>
Cc: Konrad Rzeszutek Wilk <konrad@darnok.org>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: set_phys_to_machine not exported?
Date: Wed, 4 Jan 2012 09:48:18 -0500	[thread overview]
Message-ID: <20120104144818.GD3322@phenom.dumpdata.com> (raw)
In-Reply-To: <6035A0D088A63A46850C3988ED045A4B094109@BITCOM1.int.sbss.com.au>

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

  parent reply	other threads:[~2012-01-04 14:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-30 12:06 set_phys_to_machine not exported? James Harper
2012-01-03 17:55 ` Konrad Rzeszutek Wilk
2012-01-03 20:10   ` James Harper
2012-01-03 22:36     ` Konrad Rzeszutek Wilk
2012-01-03 23:44       ` James Harper
2012-01-03 23:48         ` Konrad Rzeszutek Wilk
2012-01-04  0:20       ` James Harper
2012-01-04  1:50       ` James Harper
2012-01-04  3:44         ` James Harper
2012-01-04 10:21           ` Jan Beulich
2012-01-04 10:34             ` James Harper
2012-01-04 14:48           ` Konrad Rzeszutek Wilk [this message]
2012-01-04 14:47         ` Konrad Rzeszutek Wilk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120104144818.GD3322@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=james.harper@bendigoit.com.au \
    --cc=konrad@darnok.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.