Skip to contentSkip to conversation

fs-backend on -unstable

DISCUSSION Jody Belka 4 participants 22 messages Mar 25, 2009 – Mar 28, 2009 9 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Jody Belka

author
#9 lore raw
Quoted 5 lines · Samuel Thibault
Quoted 2 lines · 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.

So, as mentioned above, fs-backend isn't working on a pvops-dom0. With non-pvops, running fs-backend looks like this:

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.

However, under pvops, this is all I get:

Connection to the xenbus deamon opened successfully. XS transaction is 3
xenbus_printf (backend/vfs/exports/0/name) <= default.

And stubdom's can't make a connection to it.

J

#10 lore raw
Quoted 20 lines · Jody Belka
Quoted 7 lines · Samuel Thibault
Quoted 3 lines · 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.

So, as mentioned above, fs-backend isn't working on a pvops-dom0. With non-pvops, running fs-backend looks like this:

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.

Quoted 8 lines

However, under pvops, this is all I get:

Connection to the xenbus deamon opened successfully. XS transaction is 3
xenbus_printf (backend/vfs/exports/0/name) <= default.

And stubdom's can't make a connection to it.

Hm, I had it working not too long ago. But there are still some issues starting hvm domains, and maybe stubdoms are also affected.

Does pv-grub work?

J

author
#11 lore raw
Quoted 28 lines · Jeremy Fitzhardinge
Quoted 27 lines · Jody Belka
Quoted 7 lines · Samuel Thibault
Quoted 3 lines · 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.

So, as mentioned above, fs-backend isn't working on a pvops-dom0. With non-pvops, running fs-backend looks like this:

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.

However, under pvops, this is all I get:

Connection to the xenbus deamon opened successfully. XS transaction is 3
xenbus_printf (backend/vfs/exports/0/name) <= default.

Quoted 6 lines
Quoted 1 line

And stubdom's can't make a connection to it.

Hm, I had it working not too long ago. But there are still some issues starting hvm domains, and maybe stubdoms are also affected.

Does pv-grub work?

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

J

#12 lore raw
Quoted 4 lines · Jody Belka

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?

J

author
#13 lore raw
Quoted 5 lines · Jeremy Fitzhardinge
Quoted 4 lines · Jody Belka

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 :)

Quoted 7 lines
Quoted 1 line

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

Quoted 10 lines · Jody Belka
Quoted 9 lines · Samuel Thibault
Quoted 7 lines · 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.
Quoted 4 lines
Quoted 2 lines

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

Quoted 11 lines · Samuel Thibault
Quoted 2 lines · 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.

Quoted 2 lines

Backend found at /local/domain/0/backend/vfs/0
Backend ready.

That's better.

Quoted 8 lines
Quoted 5 lines

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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#14 lore raw
Quoted 3 lines · Jody Belka

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.

There are some known issues that affect stubdoms at the moment, since they involve some changes made on qemu upstream I am trying to find a solution there.

However if you want to test the latest stubdoms you can try this patch, it works for me.

---

hw/ide.c +13 -1
index 7031ba1..a97c78b 100644
@@ -1056,10 +1056,11 @@ static int dma_buf_prepare(BMDMAState *bm, int is_write)
         uint32_t addr;
         uint32_t size;
     } prd;
-    int l, len;
+    int l, len, n;
     void *mem;
     target_phys_addr_t l1;
 
+    n = s->nsector <= IDE_DMA_BUF_SECTORS ? s->nsector : IDE_DMA_BUF_SECTORS;
     qemu_iovec_init(&s->iovec, s->nsector / (TARGET_PAGE_SIZE/512) + 1);
     s->io_buffer_size = 0;
     for(;;) {
@@ -1082,6 +1083,13 @@ static int dma_buf_prepare(BMDMAState *bm, int is_write)
         l = bm->cur_prd_len;
         if (l > 0) {
             l1 = l;
+            if (l1 > IDE_DMA_BUF_SECTORS * 512)
+                l1 = IDE_DMA_BUF_SECTORS * 512;
+            if (s->io_buffer_size + l1 > IDE_DMA_BUF_SECTORS * 512) {
+                l1 = IDE_DMA_BUF_SECTORS * 512 - s->io_buffer_size;
+                if (!l1)
+                    return s->io_buffer_size != 0;
+            }
             mem = cpu_physical_memory_map(bm->cur_prd_addr, &l1, is_write);
             if (!mem) {
                 break;
@@ -1263,6 +1271,8 @@ static void ide_read_dma_cb(void *opaque, int ret)
 
     /* launch next transfer */
     n = s->nsector;
+    if (n > IDE_DMA_BUF_SECTORS)
+        n = IDE_DMA_BUF_SECTORS;
     s->io_buffer_index = 0;
     s->io_buffer_size = n * 512;
     if (dma_buf_prepare(bm, 1) == 0)
@@ -1412,6 +1422,8 @@ static void ide_write_dma_cb(void *opaque, int ret)
     }
 
     n = s->nsector;
+    if (n > IDE_DMA_BUF_SECTORS)
+        n = IDE_DMA_BUF_SECTORS;
     s->io_buffer_size = n * 512;
     /* launch next transfer */
     if (dma_buf_prepare(bm, 0) == 0)
#15 lore raw

Patch applied to /usr/src/xen-unstable.hg/tools/ioemu-dir/hw/ide.c.

# cd /usr/src/xen-unstable.hg
# find . -name ide.c -print
./stubdom/ioemu/hw/ide.c
./tools/ioemu-remote/hw/ide.c
# ls -l ./stubdom/ioemu/hw/ide.c
lrwxrwxrwx 1 root src 50 2009-03-26 07:45 ./stubdom/ioemu/hw/ide.c -> /usr/src/xen-unstable.hg//tools/ioemu-dir/hw/ide.c
# make tools
# make install-tools
# cd stubdom # there is symlink to ./tools/ioemu-remote/ide.c
# make 
# make install 

System restarted (just in case).
No luck (just same picture as before) under Xen Unstable & Suse's 2.6.27-5

Boris.

--- On Thu, 3/26/09, Stefano Stabellini <[email protected]> wrote:
From: Stefano Stabellini <[email protected]>
Subject: [Xen-devel] Re: fs-backend on -unstable
To: "Jody Belka" <[email protected]>
Cc: "Samuel Thibault" <[email protected]>, "Jeremy Fitzhardinge" <[email protected]>, "Xen-devel" <[email protected]>
Date: Thursday, March 26, 2009, 6:21 AM

Quoted 3 lines · Jody Belka

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.

There are some known issues that affect stubdoms at the moment, since they involve some changes made on qemu upstream I am trying to find a solution there.

However if you want to test the latest stubdoms you can try this patch, it works for me.

---

hw/ide.c +0 -0
index 7031ba1..a97c78b 100644
@@ -1056,10 +1056,11 @@ static int dma_buf_prepare(BMDMAState *bm, int

is_write)

         uint32_t addr;
         uint32_t size;
     } prd;
-    int l, len;
+    int l, len, n;
     void *mem;
     target_phys_addr_t l1;

+ n = s->nsector <= IDE_DMA_BUF_SECTORS ? s->nsector :

IDE_DMA_BUF_SECTORS;
     qemu_iovec_init(&s->iovec, s->nsector / (TARGET_PAGE_SIZE/512) +
1);
     s->io_buffer_size = 0;
     for(;;) {
@@ -1082,6 +1083,13 @@ static int dma_buf_prepare(BMDMAState *bm, int is_write)
         l = bm->cur_prd_len;
         if (l > 0) {
             l1 = l;

+ if (l1 > IDE_DMA_BUF_SECTORS * 512)
+ l1 = IDE_DMA_BUF_SECTORS * 512;
+ if (s->io_buffer_size + l1 > IDE_DMA_BUF_SECTORS * 512) {
+ l1 = IDE_DMA_BUF_SECTORS * 512 - s->io_buffer_size;
+ if (!l1)
+ return s->io_buffer_size != 0;
+ }

             mem = cpu_physical_memory_map(bm->cur_prd_addr, &l1,
is_write);
             if (!mem) {
                 break;

@@ -1263,6 +1271,8 @@ static void ide_read_dma_cb(void *opaque, int ret)

     /* launch next transfer */
     n = s->nsector;
+    if (n > IDE_DMA_BUF_SECTORS)
+        n = IDE_DMA_BUF_SECTORS;
     s->io_buffer_index = 0;
     s->io_buffer_size = n * 512;
     if (dma_buf_prepare(bm, 1) == 0)
@@ -1412,6 +1422,8 @@ static void ide_write_dma_cb(void *opaque, int ret)
     }
 
     n = s->nsector;
+    if (n > IDE_DMA_BUF_SECTORS)
+        n = IDE_DMA_BUF_SECTORS;
     s->io_buffer_size = n * 512;
     /* launch next transfer */
     if (dma_buf_prepare(bm, 0) == 0)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#16 lore raw
In reply to Stefano Stabellini
Quoted 11 lines · Stefano Stabellini
Quoted 3 lines · Jody Belka

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.

There are some known issues that affect stubdoms at the moment, since they involve some changes made on qemu upstream I am trying to find a solution there.

Ok, by changing from a pvfb vnc inside the stubdom config, to vnc in the master config, I now get output into my qemu-dm log file, and so can see the debug printf's I added in. It also means a msg from qemu is appearing:

Could not initialize device 'tap'

Which is coming from within vl.c:

    for(i = 0;i < nb_net_clients; i++) {
        if (net_client_parse(net_clients[i]) < 0)
            exit(1);
    }

The qemu cmdline parameters are being reported as follows:

"main" "-d" "23" "-domain-name" "wintest-sd" "-videoram" "4" "-vnc" "192.168.254.135:0" "-vncunused" "-vcpus" "1" "-boot" "c" "-acpi" "-net" "nic,vlan=1,macaddr=aa:00:00:12:23:34,model=e1000"
"-net" "tap,vlan=1,ifname=tap23.0,bridge=eth0"

Any debugging I could add that could track down the cause of the above error, or is this something you recognize?

J

#17 lore raw
Quoted 6 lines · Jody Belka

Ok, by changing from a pvfb vnc inside the stubdom config, to vnc in the master config, I now get output into my qemu-dm log file, and so can see the debug printf's I added in. It also means a msg from qemu is appearing:

Could not initialize device 'tap'

pvops dom0 doesn't support blktap yet, so you need to use normal blkback for disks for now.

J

author
#18 lore raw
Quoted 10 lines · Jeremy Fitzhardinge
Quoted 6 lines · Jody Belka

Ok, by changing from a pvfb vnc inside the stubdom config, to vnc in the master config, I now get output into my qemu-dm log file, and so can see the debug printf's I added in. It also means a msg from qemu is appearing:

Could not initialize device 'tap'

pvops dom0 doesn't support blktap yet, so you need to use normal blkback for disks for now.

That line's not referring to a block device, it's referring to a qemu -net parameter.

J

#19 lore raw
Quoted 8 lines · Jody Belka
Quoted 6 lines · Jeremy Fitzhardinge
Quoted 4 lines · Jody Belka

Ok, by changing from a pvfb vnc inside the stubdom config, to vnc in the master config, I now get output into my qemu-dm log file, and so can see the debug printf's I added in. It also means a msg from qemu is appearing:

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Could not initialize device 'tap'

pvops dom0 doesn't support blktap yet, so you need to use normal blkback for disks for now.

That line's not referring to a block device, it's referring to a qemu -net parameter.

Oops, sorry. Too much pattern matching.

J

author
#20 lore raw
In reply to Jody Belka
Quoted 29 lines · Jody Belka
Quoted 11 lines · Stefano Stabellini
Quoted 3 lines · Jody Belka

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.

There are some known issues that affect stubdoms at the moment, since they involve some changes made on qemu upstream I am trying to find a solution there.

Ok, by changing from a pvfb vnc inside the stubdom config, to vnc in the master config, I now get output into my qemu-dm log file, and so can see the debug printf's I added in. It also means a msg from qemu is appearing:

Could not initialize device 'tap'

Which is coming from within vl.c:

    for(i = 0;i < nb_net_clients; i++) {
        if (net_client_parse(net_clients[i]) < 0)
            exit(1);
    }

The qemu cmdline parameters are being reported as follows:

Quoted 8 lines

"main" "-d" "23" "-domain-name" "wintest-sd" "-videoram" "4" "-vnc" "192.168.254.135:0" "-vncunused" "-vcpus" "1" "-boot" "c" "-acpi" "-net" "nic,vlan=1,macaddr=aa:00:00:12:23:34,model=e1000"
"-net" "tap,vlan=1,ifname=tap23.0,bridge=eth0"

Any debugging I could add that could track down the cause of the above error, or is this something you recognize?

Ok, turns out that there's a bit of code in there that deliberately causes -net tap to error out for a stubdom, which then causes the entire stubdom to die.

Changing that to just ignore the tap lets the domain come up. Lots of error messages end up appearing in the log, and windows is currently crashing during boot, but it's a long long long way along to really working :)

J

#21 lore raw
In reply to Jeremy Fitzhardinge
Quoted 1 line

Hm. If pv-grub starts then that's most of the way to stubdom. Are there any other log messages?

PV-grub works fine with the most recent 2.6.29-rc8 and the most recent stubdom build. But, fs-backend is irresponsive.  Stubdoms fail to start.

Boris

--- On Wed, 3/25/09, Jeremy Fitzhardinge <[email protected]> wrote:
From: Jeremy Fitzhardinge <[email protected]>
Subject: [Xen-devel] Re: fs-backend on -unstable
To: "Jody Belka" <[email protected]>
Cc: "Samuel Thibault" <[email protected]>, "Xen-devel" <[email protected]>, "Stefano Stabellini" <[email protected]>
Date: Wednesday, March 25, 2009, 8:05 PM

Quoted 1 line · Jody Belka

Ok, had to sort out creating a linux domain, as had nothing I could

actually

Quoted 3 lines

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?

J

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#22 lore raw
Quoted 6 lines · Boris Derzhavets
Quoted 1 line

Hm. If pv-grub starts then that's most of the way to stubdom. Are

there any other log messages?

PV-grub works fine with the most recent 2.6.29-rc8 and the most recent stubdom build. But, fs-backend is irresponsive. Stubdoms fail to start.

Make sure the backend modules are loaded, if you've made them modular. They don't load automatically (not for me, at least).

J

#23 lore raw
Quoted 2 lines

if you've made them modular.
They don't load automatically (not for me, at least).I gues, i haven't  made them modular.

CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=y

CONFIG_XEN_BACKEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XEN_NETDEV_BACKEND=y

CONFIG_XENFS=y
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_XENBUS_FRONTEND=y
CONFIG_XEN_S3=y
CONFIG_XEN_GNTDEV=y
CONFIG_XEN_SYS_HYPERVISOR=y

Boris.

--- On Thu, 3/26/09, Jeremy Fitzhardinge <[email protected]> wrote:
From: Jeremy Fitzhardinge <[email protected]>
Subject: Re: [Xen-devel] Re: fs-backend on -unstable
To: [email protected]
Cc: "Samuel Thibault" <[email protected]>, "Xen-devel" <[email protected]>, "Stefano Stabellini" <[email protected]>
Date: Thursday, March 26, 2009, 2:39 PM

Quoted 1 line · Boris Derzhavets
Quoted 1 line

Hm. If pv-grub starts then that's most of the way to stubdom. Are

there any other log messages?

Quoted 4 lines

PV-grub works fine with the most recent 2.6.29-rc8 and the most recent stubdom build. But, fs-backend is irresponsive. Stubdoms fail to start.

Make sure the backend modules are loaded, if you've made them modular. They don't load automatically (not for me, at least).

J

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#24 lore raw

Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)

In reply to Jeremy Fitzhardinge

Occasionally during VNC session CentOS 5.2 PV DomU crashes
Attempt to restart it remind hotplug scripts issue . Stack trace upon the crash during VNC session :-

Unable to handle kernel NULL pointer dereference at 000000000000013f RIP: 
 [<ffffffff88110a37>] :xennet:network_tx_buf_gc+0xea/0x1cf
PGD 742b8067 PUD 7429c067 PMD 0 
Oops: 0002 [1] SMP 
last sysfs file: /block/dm-1/range
CPU 0 
Modules linked in: ipv6 xfrm_nalgo crypto_api autofs4 hidp rfcomm l2cap bluetooth sunrpc xennet 
dm_multipath parport_pc lp parport pcspkr dm_snapshot dm_zero dm_mirror dm_mod xenblk ext3 jbd uhci_hcd ohci_hcd ehci_hcd
Pid: 0, comm: swapper Not tainted 2.6.18-92.1.22.el5xen #1
RIP: e030:[<ffffffff88110a37>]  [<ffffffff88110a37>] :xennet:network_tx_buf_gc+0xea/0x1cf
RSP: e02b:ffffffff8062fe78  EFLAGS: 00010046
RAX: 0000000000000078 RBX: ffff88007d438500 RCX: 0000000000000000
RDX: 000000000000006f RSI: 0000000000000000 RDI: ffff88007d439670
RBP: 0000000000000073 R08: ffffc20000000000 R09: 00000000ffff61ae
R10: ffff880075e4fac0 R11: 0000000000000246 R12: 000000000000006f
R13: ffff88007d438000 R14: 0000000000000fd0 R15: 0000000000000fcf
FS:  00002b8fc16d62d0(0000) GS:ffffffff805b0000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000
Process swapper (pid: 0, threadinfo ffffffff805f0000, task ffffffff804d8b00)
Stack:  0000006f00000001  ffff88007d438000  ffff88007d438500  0000000000000000 
 0000000000000109  ffffffff805f1ea8  ffffffff805f1ea8  ffffffff88111d46 
 ffff88007f1cfac0  0000000000000000 
Call Trace:
 <IRQ>  [<ffffffff88111d46>] :xennet:netif_int+0x2c/0x72
 [<ffffffff802112c1>] handle_IRQ_event+0x2d/0x60
 [<ffffffff802b1af5>] __do_IRQ+0xa4/0x103
 [<ffffffff8028fd9d>] _local_bh_enable+0x61/0xc5
 [<ffffffff8026db48>] do_IRQ+0xe7/0xf5
 [<ffffffff803a0c69>] evtchn_do_upcall+0x86/0xe0
 [<ffffffff802608d6>] do_hypervisor_callback+0x1e/0x2c
 <EOI>  [<ffffffff802063aa>] hypercall_page+0x3aa/0x1000
 [<ffffffff802063aa>] hypercall_page+0x3aa/0x1000
 [<ffffffff8026f139>] raw_safe_halt+0x84/0xa8
 [<ffffffff8026c683>] xen_idle+0x38/0x4a
 [<ffffffff8024aa8e>] cpu_idle+0x97/0xba
 [<ffffffff805fab09>] start_kernel+0x21f/0x224

Attempt to restart CentOS 5.2 PV DomU

Scanning and configuring dmraid supported devices Scanning logical volumes
  Reading all physical volumes.  This may take a while... No volume groups found
Activating logical volumes
  Volume group "VolGroup00" not found
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root' Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory Switching to new root and running init. unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory

Kernel panic - not syncing: Attempted to kill init!
 root@ServerIntrepid:/home/boris/vm# Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

F10 PV DomU also cannot be started after the accident due to Hotplug scripts not working.

VNC at Linux DomUs  worked fine with rc5 as far as i remember.

Boris.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#25 lore raw

Re: Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)

I believe i  have  to describe the issue in more details:-
1. Xen Unstable Dom0 with 2.6.29-rc8 pvops kernel is installed on top
of Ubuntu 8.10 Server with ubuntu desktop up and running. GDM service is running,
with gdm.conf configured to allow remote connections, xinetd is running Xvnc configured for remote connection as well.
2. This configuration  provides remote connection to Dom0 with pvops kernel via Gnome Desktop. Crash happens when i run VNC session opened via gnome terminal at remote Dom0's desktop ( it worked fine with rc5 or rc6 for sure). If i ussue :-

# vncviewer IP_DomU:1
from gnome terminal running on remote host (i.e. without any interaction with Ubuntu
specific X-Server clients services)  VNC session seems to be running stable.

Boris

--- On Thu, 3/26/09, Boris Derzhavets <[email protected]> wrote:
From: Boris Derzhavets <[email protected]>
Subject: [Xen-devel] Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)
To: "Jeremy Fitzhardinge" <[email protected]>
Cc: "Xen-devel" <[email protected]>
Date: Thursday, March 26, 2009, 10:54 AM

Occasionally during VNC session CentOS 5.2 PV DomU crashes
Attempt to restart it remind hotplug scripts issue . Stack trace upon the crash during VNC session :-

Unable to handle kernel NULL pointer dereference at 000000000000013f RIP: 
 [<ffffffff88110a37>] :xennet:network_tx_buf_gc+0xea/0x1cf
PGD 742b8067 PUD 7429c067 PMD 0 
Oops: 0002 [1] SMP 
last sysfs file: /block/dm-1/range
CPU 0 
Modules linked in: ipv6 xfrm_nalgo crypto_api autofs4 hidp rfcomm l2cap bluetooth sunrpc xennet 
dm_multipath parport_pc lp parport pcspkr dm_snapshot dm_zero dm_mirror dm_mod xenblk ext3 jbd uhci_hcd ohci_hcd ehci_hcd
Pid: 0, comm: swapper Not tainted 2.6.18-92.1.22.el5xen #1
RIP: e030:[<ffffffff88110a37>]  [<ffffffff88110a37>] :xennet:network_tx_buf_gc+0xea/0x1cf
RSP: e02b:ffffffff8062fe78  EFLAGS:
 00010046
RAX: 0000000000000078 RBX: ffff88007d438500 RCX: 0000000000000000
RDX: 000000000000006f RSI: 0000000000000000 RDI: ffff88007d439670
RBP: 0000000000000073 R08: ffffc20000000000 R09: 00000000ffff61ae
R10: ffff880075e4fac0 R11: 0000000000000246 R12: 000000000000006f
R13: ffff88007d438000 R14: 0000000000000fd0 R15: 0000000000000fcf
FS:  00002b8fc16d62d0(0000) GS:ffffffff805b0000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000
Process swapper (pid: 0, threadinfo ffffffff805f0000, task ffffffff804d8b00)
Stack:  0000006f00000001  ffff88007d438000  ffff88007d438500  0000000000000000 
 0000000000000109  ffffffff805f1ea8  ffffffff805f1ea8  ffffffff88111d46 
 ffff88007f1cfac0  0000000000000000 
Call Trace:
 <IRQ>  [<ffffffff88111d46>] :xennet:netif_int+0x2c/0x72
 [<ffffffff802112c1>]
 handle_IRQ_event+0x2d/0x60
 [<ffffffff802b1af5>] __do_IRQ+0xa4/0x103
 [<ffffffff8028fd9d>] _local_bh_enable+0x61/0xc5
 [<ffffffff8026db48>] do_IRQ+0xe7/0xf5
 [<ffffffff803a0c69>] evtchn_do_upcall+0x86/0xe0
 [<ffffffff802608d6>] do_hypervisor_callback+0x1e/0x2c
 <EOI>  [<ffffffff802063aa>] hypercall_page+0x3aa/0x1000
 [<ffffffff802063aa>] hypercall_page+0x3aa/0x1000
 [<ffffffff8026f139>] raw_safe_halt+0x84/0xa8
 [<ffffffff8026c683>] xen_idle+0x38/0x4a
 [<ffffffff8024aa8e>] cpu_idle+0x97/0xba
 [<ffffffff805fab09>] start_kernel+0x21f/0x224

Attempt to restart CentOS 5.2 PV DomU

Scanning and configuring dmraid supported devices Scanning logical volumes
  Reading all physical volumes.  This may take a while... No volume groups found
Activating logical
volumes
  Volume group "VolGroup00" not found
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root' Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory Switching to new root and running init. unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory

Kernel panic - not syncing: Attempted to kill init!
 root@ServerIntrepid:/home/boris/vm# Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

F10 PV DomU also cannot be started after the accident due to Hotplug scripts not working.

VNC at Linux DomUs  worked fine with rc5 as far as i
remember.

Boris.

      _______________________________________________

Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#26 lore raw

Re: Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)

Quoted 10 lines · Boris Derzhavets

I believe i have to describe the issue in more details:-
1. Xen Unstable Dom0 with 2.6.29-rc8 pvops kernel is installed on top
of Ubuntu 8.10 Server with ubuntu desktop up and running. GDM service is running,
with gdm.conf configured to allow remote connections, xinetd is running Xvnc configured for remote connection as well.
2. This configuration provides remote connection to Dom0 with pvops kernel via Gnome Desktop. Crash happens when i run VNC session opened via gnome terminal at remote Dom0's desktop ( it worked fine with rc5 or rc6 for sure). If i ussue :-

# vncviewer IP_DomU:1
from gnome terminal running on remote host (i.e. without any interaction with Ubuntu
specific X-Server clients services)  VNC session seems to be running stable.

That's a bit worrying, because it would suggest that networking in general is broken. If you don't start Xvnc (or whatever), but run some other network-intensive test, does that crash?

J

#27 lore raw

Re: Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)

OpenSolaris 2008.11 PV DomU may run  VNC session started
via gnome terminal invoked on remote pvops Dom0 desktop pretty stable.
So , OpenSolaris PV DomU is not affected.
Actually , any remote VNC session with CentOS 5.2 PV DomU doing "yum upgrade" may be considered as network-intensive test and it works. I don't think that network at DomU is broken in general.
But , path for vncviewer to  CentOS 5.2 DomU via vncserver at Dom0 and vncserver at DomU seems to be broken in meantime.

This doesn't work for CentOS 5.2 DomU:-

WS - Work Station (Linux , Ubuntu Desktop)

        WS  --------------------->Vncserver Dom0 ------- xm create -c DomU.pyrun----

          |                                                                                                                    |
          |  Vncviewer  1                                              Vncviewer  2                         |              |                                                                                                                     |
          |----------------------------> Gnome Desktop Dom0 ----------->Vncserver DomU

This works:-

        WS  -------------------->SSH conn to Dom0 ---- xm create -c DomU.pyrun-----


|
|

          |                                                                  Vncviewer                                 |            
|                                                                                                                    
|

          |----------------------------> Gnome Desktop WS --------------->Vncserver DomU

Boris

--- On Fri, 3/27/09, Jeremy Fitzhardinge <[email protected]> wrote:
From: Jeremy Fitzhardinge <[email protected]>
Subject: Re: [Xen-devel] Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)
To: [email protected]
Cc: "Xen-devel" <[email protected]>
Date: Friday, March 27, 2009, 7:21 PM

Quoted 3 lines · Boris Derzhavets

I believe i have to describe the issue in more details:-
1. Xen Unstable Dom0 with 2.6.29-rc8 pvops kernel is installed on top of Ubuntu 8.10 Server with ubuntu desktop up and running. GDM service is

running,

Quoted 1 line

with gdm.conf configured to allow remote connections, xinetd is running

Xvnc configured for remote connection as well.

Quoted 1 line

2. This configuration provides remote connection to Dom0 with pvops

kernel via Gnome Desktop. Crash happens when i run VNC session opened via gnome terminal at remote Dom0's desktop ( it worked fine with rc5 or rc6 for sure).

Quoted 3 lines

If i ussue :-

# vncviewer IP_DomU:1
from gnome terminal running on remote host (i.e. without any interaction

with Ubuntu

Quoted 1 line

specific X-Server clients services) VNC session seems to be running

stable.

Quoted 1 line

That's a bit worrying, because it would suggest that networking in general is broken. If you don't start Xvnc (or whatever), but run some other network-intensive test, does that crash?

J

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#28 lore raw

Re: Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)

Solaris Nevada b106 is also affected in schema bellow. Looks like hotplug scripts gets locked after VNC Session failure

   WS  -------------->Vncserver Dom0 ------ xm create -c SNV_DomU.pyrun-------

|                                                                                                             |

|  Vncviewer  1                                       Vncviewer
2                         |                  |
          |
          |---------------------> Gnome Desktop Dom0 ----------->Vncserver SNV_DomU

--- On Sat, 3/28/09, Boris Derzhavets <[email protected]> wrote:
From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)
To: "Jeremy Fitzhardinge" <[email protected]>
Cc: "Xen-devel" <[email protected]>
Date: Saturday, March 28, 2009, 4:41 AM

OpenSolaris 2008.11 PV DomU may run  VNC session started
via gnome terminal invoked on remote pvops Dom0 desktop pretty stable.
So , OpenSolaris PV DomU is not affected.
Actually , any remote VNC session with CentOS 5.2 PV DomU doing "yum upgrade" may be considered as network-intensive test and it works. I don't think that network at DomU is broken in general.
But , path for vncviewer to  CentOS 5.2 DomU via vncserver at Dom0 and vncserver at DomU seems to be broken in meantime.

This doesn't work for CentOS 5.2 DomU:-

WS - Work Station (Linux , Ubuntu Desktop)

        WS  --------------------->Vncserver Dom0 ------- xm create -c DomU.pyrun----

 |                                                                                                                    |
          |  Vncviewer  1                                              Vncviewer  2  
                       |              |                                                                                                                     |
          |----------------------------> Gnome Desktop Dom0 ----------->Vncserver DomU

This
works:-

        WS  -------------------->SSH conn to Dom0 ---- xm create -c DomU.pyrun-----


|
|

          |                                                                  Vncviewer                                 |            
|                                                                                                                    
|

          |----------------------------> Gnome Desktop WS --------------->Vncserver DomU

Boris

--- On Fri, 3/27/09, Jeremy Fitzhardinge <[email protected]> wrote:
From: Jeremy Fitzhardinge <[email protected]>
Subject: Re: [Xen-devel] Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)
To: [email protected]
Cc: "Xen-devel" <[email protected]>
Date: Friday, March 27, 2009, 7:21 PM

Quoted 3 lines · Boris Derzhavets

I believe i have to describe the issue in more details:-
1. Xen Unstable Dom0 with 2.6.29-rc8 pvops kernel is installed on top of Ubuntu 8.10 Server with ubuntu desktop up and running. GDM service is

running,

Quoted 1 line

with gdm.conf configured to allow remote connections, xinetd is running

Xvnc configured for remote connection as well.

Quoted 1 line

2.

This configuration provides remote connection to Dom0 with pvops
kernel via Gnome Desktop. Crash happens when i run VNC session opened via gnome terminal at remote Dom0's desktop ( it worked fine with rc5 or rc6 for sure).

Quoted 3 lines

If i ussue :-

# vncviewer IP_DomU:1
from gnome terminal running on remote host (i.e. without any interaction

with Ubuntu

Quoted 1 line

specific X-Server clients services) VNC session seems to be running

stable.

Quoted 1 line

That's a bit worrying, because it would suggest that networking in general is broken. If you don't start Xvnc (or whatever), but run some other network-intensive test, does that crash?

J

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

      _______________________________________________

Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#29 lore raw

Re: Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)

OK. After 20-25 min of extensive testing OS 2008.11 DomU crashed and dropped into stack trace, running VNC session,  started via gnome terminal at remote Dom0 desktop same way as Nevada 106 did. For now there is no any exception for this issue. But,  VNC session crash should not in general crash DomU.
Would be glad to troubleshoot, been instructed.

Boris.

--- On Sat, 3/28/09, Boris Derzhavets <[email protected]> wrote:
From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)
To: "Jeremy Fitzhardinge" <[email protected]>
Cc: "Xen-devel" <[email protected]>
Date: Saturday, March 28, 2009, 6:18 AM

Solaris Nevada b106 is also affected in schema bellow. Looks like hotplug scripts gets locked after VNC Session failure

   WS  -------------->Vncserver Dom0 ------ xm create -c SNV_DomU.pyrun-------

|                                                                                                             |

|  Vncviewer  1                                       Vncviewer
2                         |                  |
          |
          |---------------------> Gnome Desktop Dom0 ----------->Vncserver SNV_DomU

--- On Sat, 3/28/09, Boris Derzhavets <[email protected]> wrote:
From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)
To: "Jeremy Fitzhardinge" <[email protected]>
Cc: "Xen-devel" <[email protected]>
Date: Saturday, March 28, 2009, 4:41 AM

OpenSolaris 2008.11 PV DomU may run  VNC session started
via gnome terminal invoked on remote pvops Dom0 desktop pretty stable.
So , OpenSolaris PV DomU is not affected.
Actually , any remote VNC session with CentOS 5.2 PV DomU doing "yum upgrade" may be considered as network-intensive test and it works. I don't think that network at DomU is broken in general.
But , path for vncviewer to  CentOS 5.2 DomU via vncserver at Dom0 and vncserver at DomU seems to be broken in meantime.

This doesn't work for CentOS 5.2 DomU:-

WS - Work Station (Linux , Ubuntu Desktop)

        WS  --------------------->Vncserver Dom0 ------- xm create -c DomU.pyrun----

 |                                                                                                                    |
          |  Vncviewer  1                                              Vncviewer  2  
                       |              |                                                                                                                     |
          |----------------------------> Gnome Desktop Dom0 ----------->Vncserver DomU

This
works:-

        WS  -------------------->SSH conn to Dom0 ---- xm create -c DomU.pyrun-----


|
|

          |                                                                  Vncviewer                                 |            
|                                                                                                                    
|

          |----------------------------> Gnome Desktop WS --------------->Vncserver DomU

Boris

--- On Fri, 3/27/09, Jeremy Fitzhardinge <[email protected]> wrote:
From: Jeremy Fitzhardinge <[email protected]>
Subject: Re: [Xen-devel] Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)
To: [email protected]
Cc: "Xen-devel" <[email protected]>
Date: Friday, March 27, 2009, 7:21 PM

Quoted 3 lines · Boris Derzhavets

I believe i have to describe the issue in more details:-
1. Xen Unstable Dom0 with 2.6.29-rc8 pvops kernel is installed on top of Ubuntu 8.10 Server with ubuntu desktop up and running. GDM service is

running,

Quoted 1 line

with gdm.conf configured to allow remote connections, xinetd is running

Xvnc configured for remote connection as well.

Quoted 1 line

2.
This configuration provides remote connection to Dom0 with pvops
kernel via Gnome Desktop. Crash happens when i run VNC session opened via gnome terminal at remote Dom0's desktop ( it worked fine with rc5 or rc6 for sure).

Quoted 3 lines

If i ussue :-

# vncviewer IP_DomU:1
from gnome terminal running on remote host (i.e. without any interaction

with Ubuntu

Quoted 1 line

specific X-Server clients services) VNC session seems to be running

stable.

Quoted 1 line

That's a bit worrying, because it would suggest that networking in general is broken. If you don't start Xvnc (or whatever), but run some other network-intensive test, does that crash?

J

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

      _______________________________________________

Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

      _______________________________________________

Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#30 lore raw

Re: Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)

If under Xen Unstable Suse's 2.6.27-5 xen-ified kernel gets loaded,  instead of 2.6.29-rc8 (pvops),  problem disappears.
Finally seems like 2.6.29-rc8 issue.

Boris.

--- On Sat, 3/28/09, Boris Derzhavets <[email protected]> wrote:
From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)
To: "Jeremy Fitzhardinge" <[email protected]>
Cc: "Xen-devel" <[email protected]>
Date: Saturday, March 28, 2009, 7:45 AM

OK. After 20-25 min of extensive testing OS 2008.11 DomU crashed and dropped into stack trace, running VNC session,  started via gnome terminal at remote Dom0 desktop same way as Nevada 106 did. For now there is no any exception for this issue. But,  VNC session crash should not in general crash DomU.
Would be glad to troubleshoot, been instructed.

Boris.

--- On Sat, 3/28/09, Boris Derzhavets <[email protected]> wrote:
From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)
To: "Jeremy Fitzhardinge" <[email protected]>
Cc: "Xen-devel" <[email protected]>
Date: Saturday,
March 28, 2009, 6:18 AM

Solaris Nevada b106 is also affected in schema bellow. Looks like hotplug scripts gets locked after VNC Session failure

   WS  -------------->Vncserver Dom0 ------ xm create -c SNV_DomU.pyrun-------

|                                                                                                             |

|  Vncviewer  1                                       Vncviewer
2                         |                  |
          |
          |---------------------> Gnome Desktop Dom0 ----------->Vncserver SNV_DomU

--- On Sat, 3/28/09, Boris Derzhavets <[email protected]> wrote:
From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)
To: "Jeremy Fitzhardinge" <[email protected]>
Cc: "Xen-devel" <[email protected]>
Date: Saturday, March 28, 2009, 4:41 AM

OpenSolaris 2008.11 PV DomU may run  VNC session started
via gnome terminal invoked on remote pvops Dom0 desktop pretty stable.
So , OpenSolaris PV DomU is not affected.
Actually , any remote VNC session with CentOS 5.2 PV DomU doing "yum upgrade" may be considered as network-intensive test and it works. I don't think that network at DomU is broken in general.
But , path for vncviewer to  CentOS 5.2 DomU via vncserver at Dom0 and vncserver at DomU seems to be broken in meantime.

This doesn't work for CentOS 5.2 DomU:-

WS - Work Station (Linux , Ubuntu Desktop)

        WS  --------------------->Vncserver Dom0 ------- xm create -c DomU.pyrun----

 |                                                                                                                    |
          |  Vncviewer  1                                              Vncviewer  2  
                       |              |                                                                                                                     |
          |----------------------------> Gnome Desktop Dom0 ----------->Vncserver DomU

This
works:-

        WS  -------------------->SSH conn to Dom0 ---- xm create -c DomU.pyrun-----


|
|

          |                                                                  Vncviewer                                 |            
|                                                                                                                    
|

          |----------------------------> Gnome Desktop WS --------------->Vncserver DomU

Boris

--- On Fri, 3/27/09, Jeremy Fitzhardinge <[email protected]> wrote:
From: Jeremy Fitzhardinge <[email protected]>
Subject: Re: [Xen-devel] Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel)
To: [email protected]
Cc: "Xen-devel" <[email protected]>
Date: Friday, March 27, 2009, 7:21 PM

Quoted 3 lines · Boris Derzhavets

I believe i have to describe the issue in more details:-
1. Xen Unstable Dom0 with 2.6.29-rc8 pvops kernel is installed on top of Ubuntu 8.10 Server with ubuntu desktop up and running. GDM service is

running,

Quoted 1 line

with gdm.conf configured to allow remote connections, xinetd is running

Xvnc configured for remote connection as well.

Quoted 1 line

2.
This configuration provides remote connection to Dom0 with pvops
kernel via Gnome Desktop. Crash happens when i run VNC session opened via gnome terminal at remote Dom0's desktop ( it worked fine with rc5 or rc6 for sure).

Quoted 3 lines

If i ussue :-

# vncviewer IP_DomU:1
from gnome terminal running on remote host (i.e. without any interaction

with Ubuntu

Quoted 1 line

specific X-Server clients services) VNC session seems to be running

stable.

Quoted 1 line

That's a bit worrying, because it would suggest that networking in general is broken. If you don't start Xvnc (or whatever), but run some other network-intensive test, does that crash?

J

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

      _______________________________________________

Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

      _______________________________________________

Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

      _______________________________________________

Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel