All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jody Belka <lists-xen@pimb.org>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>,
	Xen-devel <xen-devel@lists.xensource.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: fs-backend on -unstable
Date: Thu, 26 Mar 2009 00:16:08 +0000	[thread overview]
Message-ID: <20090326001608.GQ13428@pimb.org> (raw)
In-Reply-To: <49CAC6B9.3020200@goop.org>

[-- Attachment #1: Type: text/plain, Size: 871 bytes --]

 On Wed, Mar 25, 2009 at 05:05:13PM -0700, Jeremy Fitzhardinge wrote:
> Jody Belka wrote:
> >Ok, had to sort out creating a linux domain, as had nothing I could 
> >actually
> >try pv-grub with on the test-box in question :)
> >
> >Anyway, having done so, pv-grub is working fine under pvops0
> 
> Hm.  If pv-grub starts then that's most of the way to stubdom.  Are 
> there any other log messages?
> 
> Are you trying to start an hvm domain?  That's known-problematic.  Are 
> you having any success at all?  Does it work without a stub domain?

Not hvm, no. I try it every so often to see if it's been sorted out, but
here I'm just trying a stub domain.

Now, the stub domain isn't actually working for me anyway, even on
non-pvops0, but it is able to talk to the fs-backend at least. To show
what that looks like, I've attached a couple of emails I sent off-list.


J

[-- Attachment #2: email: fs-backend and stubdom outputs --]
[-- Type: message/rfc822, Size: 4535 bytes --]

From: Jody Belka <knew@pimb.org>
To: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: Stubdom on -unstable
Date: Wed, 25 Mar 2009 19:17:30 +0000
Message-ID: <20090325191730.GM13428@pimb.org>

On Wed, Mar 25, 2009 at 06:25:01PM +0000, Jody Belka wrote:
> On Wed, Mar 25, 2009 at 07:20:13PM +0100, Samuel Thibault wrote:
> > Jody Belka, le Wed 25 Mar 2009 18:14:12 +0000, a écrit :
> > > Yep, although nothing has been displayed by it since it was started:
> > > 
> > > jmb@peri:~$ sudo fs-backend 
> > > [sudo] password for jmb: 
> > > Connection to the xenbus deamon opened successfully.
> > > XS transaction is 132
> > > xenbus_printf (backend/vfs/exports/0/name) <= default.
> > 
> > That's a problem.  Could you see with Stefano Stabellini?  He's the one
> > working on fs-backend at the moment.
> 
> Yep, sure thing.

Apologies; it seems that there's some bug somewhere that means fs-backend
doesn't work with a pvops-dom0. I thought I'd tried otherwise, but seems not.

Booting with a non-pvops dom0 gets a bit further, but not much I don't think.

This is the fs-backend output now:

Connection to the xenbus deamon opened successfully.
XS transaction is 3
xenbus_printf (backend/vfs/exports/0/name) <= default.
Path changed backend/vfs/exports/requests
Awaiting next connection.
Path changed backend/vfs/exports/requests/2/0/frontend
Handling connection from dom=2, for export=0
Frontend found at: /local/domain/2/device/vfs/0 (gref=1789, evtchn=5)
Our own dom_id=0
Awaiting next connection.
Awaiting next connection.
Backend consumed: 0 requests
Pushed responces and notify=0
Path changed backend/vfs/exports/requests/2/0/frontend
Awaiting next connection.



And this is the stubdom output:

(XEN) HVM1: HVM Loader
(XEN) HVM1: Detected Xen v3.4-unstable
(XEN) HVM1: CPU speed is 2100 MHz
Bootstrapping...
Xen Minimal OS!
  start_info: 0x552000(VA)
    nr_pages: 0x2000
  shared_inf: 0xcfaf1000(MA)
     pt_base: 0x555000(VA)
nr_pt_frames: 0x7
    mfn_list: 0x542000(VA)
   mod_start: 0x0(VA)
     mod_len: 0
       flags: 0x0
    cmd_line:  -d 1
  stack:      0x500f40-0x520f40
MM: Init
      _text: 0x0(VA)
     _etext: 0xfa105(VA)
   _erodata: 0x147000(VA)
     _edata: 0x14fa48(VA)
stack start: 0x500f40(VA)
       _end: 0x541850(VA)
  start_pfn: 55f
    max_pfn: 2000
Mapping memory range 0x800000 - 0x2000000
setting 0x0-0x147000 readonly
skipped 0x1000
MM: Initialise page allocator for 56b000(56b000)-2000000(2000000)
MM: done
Demand map pfns at 2001000-2002001000.
Heap resides at 2002002000-4002002000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x2001000.
Initialising scheduler
Thread "Idle": pointer: 0x2002002010, stack: 0x590000
Initialising xenbus
Thread "xenstore": pointer: 0x20020027c0, stack: 0x5a0000
Dummy main: start_info=0x521040
Thread "main": pointer: 0x2002002f70, stack: 0x5b0000
[main] Waiting for network.
************************ NETFRONT for device/vif/0 **********


net TX ring size 256
net RX ring size 256
backend at /local/domain/0/backend/vif/2/0
mac is 00:16:3e:0d:4c:f9
**************************
[main] IP c0a8fe87 netmask ffffff00 gateway 0.
[main] TCP/IP bringup begins.
Thread "tcpip_thread": pointer: 0x2002005cb0, stack: 0x6c0000
[tcpip_thread] TCP/IP bringup ends.
[main] Network is ready.
Initing FS fronend(s).
FS export [dom=0, id=0] found
Initialising FS fortend to backend dom 0
Allocating request array for import 0, nr_entries = 128.
Our own id is 2
Backend found at /local/domain/0/backend/vfs/0
Backend ready.
dom vm is at /vm/abc1914e-d0fc-4fec-0e92-f109d204d019
close(0)
close(1)
close(2)
main returned 1
close network: backend at /local/domain/0/backend/vif/2/0
port 5 still bound!
Do_exit called!
base is 0x5bf158 caller is 0xc994a
base is 0x5bf178 caller is 0xcb3af
base is 0x5bf1b8 caller is 0xe69eb
base is 0x5bf1d8 caller is 0x74d4
base is 0x5bfe48 caller is 0xcb327
base is 0x5bffe8 caller is 0x33da

[-- Attachment #3: email: logs --]
[-- Type: message/rfc822, Size: 10000 bytes --]

[-- Attachment #3.1.1: Type: text/plain, Size: 773 bytes --]

On Wed, Mar 25, 2009 at 10:38:33PM +0100, Samuel Thibault wrote:
> Jody Belka, le Wed 25 Mar 2009 19:17:30 +0000, a écrit :
> > Apologies; it seems that there's some bug somewhere that means fs-backend
> > doesn't work with a pvops-dom0.
> 
> It'd be good to report that on xen-unstable.
> 
> > Backend found at /local/domain/0/backend/vfs/0
> > Backend ready.
> 
> That's better.
> 
> > dom vm is at /vm/abc1914e-d0fc-4fec-0e92-f109d204d019
> > close(0)
> > close(1)
> > close(2)
> > main returned 1
> 
> That means qemu-dm exited. You should now have a look at qemu's log in
> /var/log/xen

I stopped xend, cleared out /var/log/xen, restarted xend, and then ran the
xm create. Nothing stands out to me immediately, but they're all attached.


J

[-- Attachment #3.1.2: logs.tgz --]
[-- Type: application/x-gtar, Size: 5959 bytes --]

[-- Attachment #4: Type: text/plain, Size: 138 bytes --]

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

  reply	other threads:[~2009-03-26  0:16 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20090325165439.GH13428@pimb.org>
     [not found] ` <20090325171822.GY5737@const.bordeaux.inria.fr>
     [not found]   ` <20090325175037.GI13428@pimb.org>
     [not found]     ` <20090325180655.GA8031@const.famille.thibault.fr>
     [not found]       ` <20090325181412.GJ13428@pimb.org>
     [not found]         ` <20090325182013.GA13718@const.famille.thibault.fr>
     [not found]           ` <20090325182501.GK13428@pimb.org>
     [not found]             ` <20090325191730.GM13428@pimb.org>
     [not found]               ` <20090325213833.GC13718@const.famille.thibault.fr>
2009-03-25 22:41                 ` fs-backend on -unstable Jody Belka
2009-03-25 22:49                   ` Jeremy Fitzhardinge
2009-03-26  0:02                     ` Jody Belka
2009-03-26  0:05                       ` Jeremy Fitzhardinge
2009-03-26  0:16                         ` Jody Belka [this message]
2009-03-26 10:21                           ` Stefano Stabellini
2009-03-26 12:18                             ` Boris Derzhavets
2009-03-26 13:27                             ` Jody Belka
2009-03-26 18:57                               ` Jeremy Fitzhardinge
2009-03-26 21:18                                 ` Jody Belka
2009-03-26 22:03                                   ` Jeremy Fitzhardinge
2009-03-26 22:41                               ` Jody Belka
2009-03-26  8:32                         ` Boris Derzhavets
2009-03-26 18:39                           ` Jeremy Fitzhardinge
2009-03-27 10:28                             ` Boris Derzhavets
2009-03-26 14:54                         ` Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel) Boris Derzhavets
2009-03-26 16:14                           ` Boris Derzhavets
2009-03-27 23:21                             ` Jeremy Fitzhardinge
2009-03-28  8:41                               ` Boris Derzhavets
2009-03-28 10:18                                 ` Boris Derzhavets
2009-03-28 11:45                                   ` Boris Derzhavets
2009-03-28 18:25                                     ` Boris Derzhavets

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=20090326001608.GQ13428@pimb.org \
    --to=lists-xen@pimb.org \
    --cc=jeremy@goop.org \
    --cc=samuel.thibault@ens-lyon.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --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.