[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] GPLPV under NetBSD dom0


  • To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
  • From: Dustin Marquess <dmarquess@xxxxxxxxx>
  • Date: Thu, 29 Oct 2009 22:06:09 -0500
  • Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 29 Oct 2009 20:06:49 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xRFJiUX9qB2NrVIU039uzSCV6CFCGE89gpNJ5LooLu/odsDperoIsH9hWxK45j1LCD gmTq+iHPYt0av9YNdrAi79LaLj0XtLrC8ntkbytm00acVpiSIPm6flc9unDJ2lBHvdFv 4nvqMKgT+jr5yU0dQ78IsvpSW6L+a2hyUG9w4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Thu, Oct 29, 2009 at 6:35 PM, James Harper
<james.harper@xxxxxxxxxxxxxxxx> wrote:
>> XenPCI --> XenPci_XenConfigDeviceSpecifyBuffers
>> XenPCI     testing path = device/vbd/768/device-type
>> XenPCI     testing disk vs disk
>> XenPCI     condition = 0
>> XenPCI --> XenPci_ChangeFrontendState
>> XenPCI --> XenPci_DeviceWatchHandler
>> XenPCI <-- XenPci_DeviceWatchHandler
>> XenPCI --> XenPci_UpdateBackendState
>> XenPCI     state unchanged
>> XenPCI     Still waiting for 2 (currently 4)...
>
> Looks like my state transition code isn't quite compatible with NetBSD's
> backend code.
>
> Just as a test, and you'll have to be fast, as soon as you see 'Still
> waiting for 2 (currently 4)', manually set the backend state to 2, and
> then back to 4, eg:
>
> xenstore-write /local/domain/0/backend/vbd/<domid>/768 2
> xenstore-write /local/domain/0/backend/vbd/<domid>/768 4
>
> GPLPV expects to see the backend state go to 2 and then to 4, not direct
> to 4. I need to investigate that a bit more as it has caused problems
> before with other backends (tap:aio etc) before.
>
> If that works let me know and I'll see what I can do.

I tried this a few times and ended up pulling my hair.  After some
poking around, I realized I needed to add "/state" to the path.  Once
I did that, surprise surprise... it worked!

On an unrelated note... WinDbg is getting spammed with:

XenNet     Error: rxrsp offset 16, size -1
XenNet     Error: rxrsp offset 16, size -1
XenNet     Error: rxrsp offset 16, size -1
XenNet     Error: rxrsp offset 16, size -1

And my dom0 dmesg is getting spammed with:

xvif18.1: req_prod 713 req_cons 466 rsp_prod 465 rsp_prod_pvt 465 i 1
xvif18.1 GNTTABOP_transfer[0] -1
xvif18.1: req_prod 713 req_cons 467 rsp_prod 466 rsp_prod_pvt 466 i 1
xvif18.1 GNTTABOP_transfer[0] -1
xvif18.1: req_prod 713 req_cons 468 rsp_prod 467 rsp_prod_pvt 467 i 1
xvif18.1 GNTTABOP_transfer[0] -1
xvif18.1: req_prod 713 req_cons 469 rsp_prod 468 rsp_prod_pvt 468 i 1

So I assume there's a problem with the network driver.  However at
least it's booting at not BSOD'ing, so it's a step in the right
direction!

Thanks!
-Dustin

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.