From: Boris Derzhavets Subject: Re: Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unstable ( 2.6.29-rc8 kernel) Date: Thu, 26 Mar 2009 09:14:53 -0700 (PDT) Message-ID: <401200.86008.qm@web56105.mail.re3.yahoo.com> References: <510750.11906.qm@web56103.mail.re3.yahoo.com> Reply-To: bderzhavets@yahoo.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0339179560==" Return-path: In-Reply-To: <510750.11906.qm@web56103.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org --===============0339179560== Content-Type: multipart/alternative; boundary="0-754256562-1238084093=:86008" --0-754256562-1238084093=:86008 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I believe i=A0 have=A0 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 ru= nning, with gdm.conf configured to allow remote connections, xinetd is running Xvn= c configured for remote connection as well.=20 2. This configuration=A0 provides remote connection to Dom0 with pvops kern= el 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 sur= e).=20 If i ussue :- # vncviewer IP_DomU:1 from gnome terminal running on remote host (i.e. without any interaction wi= th Ubuntu specific X-Server clients services)=A0 VNC session seems to be running stab= le. Boris --- On Thu, 3/26/09, Boris Derzhavets wrote: From: Boris Derzhavets Subject: [Xen-devel] Failure to setup VNC at CentOS 5.2 PV DomU at Xen Unst= able ( 2.6.29-rc8 kernel) To: "Jeremy Fitzhardinge" Cc: "Xen-devel" 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 c= rash during VNC session :- Unable to handle kernel NULL pointer dereference at 000000000000013f RIP:= =20 =A0[] :xennet:network_tx_buf_gc+0xea/0x1cf PGD 742b8067 PUD 7429c067 PMD 0=20 Oops: 0002 [1] SMP=20 last sysfs file: /block/dm-1/range CPU 0=20 Modules linked in: ipv6 xfrm_nalgo crypto_api autofs4 hidp rfcomm l2cap blu= etooth sunrpc xennet=20 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:[]=A0 [] :xennet:network_tx_b= uf_gc+0xea/0x1cf RSP: e02b:ffffffff8062fe78=A0 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:=A0 00002b8fc16d62d0(0000) GS:ffffffff805b0000(0000) knlGS:0000000000000= 000 CS:=A0 e033 DS: 0000 ES: 0000 Process swapper (pid: 0, threadinfo ffffffff805f0000, task ffffffff804d8b00= ) Stack:=A0 0000006f00000001=A0 ffff88007d438000=A0 ffff88007d438500=A0 00000= 00000000000=20 =A00000000000000109=A0 ffffffff805f1ea8=A0 ffffffff805f1ea8=A0 ffffffff8811= 1d46=20 =A0ffff88007f1cfac0=A0 0000000000000000=20 Call Trace: =A0=A0 [] :xennet:netif_int+0x2c/0x72 =A0[] handle_IRQ_event+0x2d/0x60 =A0[] __do_IRQ+0xa4/0x103 =A0[] _local_bh_enable+0x61/0xc5 =A0[] do_IRQ+0xe7/0xf5 =A0[] evtchn_do_upcall+0x86/0xe0 =A0[] do_hypervisor_callback+0x1e/0x2c =A0=A0 [] hypercall_page+0x3aa/0x1000 =A0[] hypercall_page+0x3aa/0x1000 =A0[] raw_safe_halt+0x84/0xa8 =A0[] xen_idle+0x38/0x4a =A0[] cpu_idle+0x97/0xba =A0[] start_kernel+0x21f/0x224 Attempt to restart CentOS 5.2 PV DomU Scanning and configuring dmraid supported devices Scanning logical volumes =A0 Reading all physical volumes.=A0 This may take a while... =A0 No volume groups found Activating logical volumes =A0 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! =A0root@ServerIntrepid:/home/boris/vm# Error: Device 0 (vif) could not be c= onnected. Hotplug scripts not working. F10 PV DomU also cannot be started after the accident due to Hotplug script= s not working. VNC at Linux DomUs=A0 worked fine with rc5 as far as i remember. Boris. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-754256562-1238084093=:86008 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
I believe i  have  to describe the = issue in more details:-
1. Xen Unstable Dom0 with 2.6.29-rc8 pvops kerne= l is installed on top
of Ubuntu 8.10 Server with ubuntu desktop up and r= unning. GDM service is running,
with gdm.conf configured to allow remote= connections, xinetd is running Xvnc configured for remote connection as we= ll.
2. This configuration  provides remote connection to Dom0 with= pvops kernel via Gnome Desktop. Crash happens when i run VNC session opene= d 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 ter= minal running on remote host (i.e. without any interaction with Ubuntu
s= pecific X-Server clients services)  VNC session seems to be running st= able.

Boris

--- On Thu, 3/26/09, Boris Derzhavets <bderzhavets@yahoo.com> wrote:
Cc: "Xen-d= evel" <xen-devel@lists.xensource.com>
Date: Thursday, March 26, 20= 09, 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:
 [<ff= ffffff88110a37>] :xennet:network_tx_buf_gc+0xea/0x1cf
PGD 742b8067 PU= D 7429c067 PMD 0
Oops: 0002 [1] SMP
last sysfs file: /block/dm-1/ra= nge
CPU 0
Modules linked in: ipv6 xfrm_nalgo crypto_api autofs4 hidp= rfcomm l2cap bluetooth sunrpc xennet
dm_multipath parport_pc lp parpor= t 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  EFL= AGS: 00010046
RAX: 0000000000000078 RBX: ffff88007d438500 RCX: 0000000000000= 000
RDX: 000000000000006f RSI: 0000000000000000 RDI: ffff88007d439670RBP: 0000000000000073 R08: ffffc20000000000 R09: 00000000ffff61ae
R10: = ffff880075e4fac0 R11: 0000000000000246 R12: 000000000000006f
R13: ffff88= 007d438000 R14: 0000000000000fd0 R15: 0000000000000fcf
FS:  00002b8= fc16d62d0(0000) GS:ffffffff805b0000(0000) knlGS:0000000000000000
CS:&nbs= p; e033 DS: 0000 ES: 0000
Process swapper (pid: 0, threadinfo ffffffff80= 5f0000, task ffffffff804d8b00)
Stack:  0000006f00000001  ffff8= 8007d438000  ffff88007d438500  0000000000000000
 0000000= 000000109  ffffffff805f1ea8  ffffffff805f1ea8  ffffffff88111= d46
 ffff88007f1cfac0  0000000000000000
Call Trace:
&n= bsp;<IRQ>  [<ffffffff88111d46>] :xennet:netif_int+0x2c/0x7= 2
 [<ffffffff802112c1>] handle_IRQ_event+0x2d/0x60
 [<ffffffff802b1af5>] __do_IRQ+0x= a4/0x103
 [<ffffffff8028fd9d>] _local_bh_enable+0x61/0xc5
=  [<ffffffff8026db48>] do_IRQ+0xe7/0xf5
 [<ffffffff803= a0c69>] evtchn_do_upcall+0x86/0xe0
 [<ffffffff802608d6>] d= o_hypervisor_callback+0x1e/0x2c
 <EOI>  [<ffffffff802= 063aa>] hypercall_page+0x3aa/0x1000
 [<ffffffff802063aa>] = hypercall_page+0x3aa/0x1000
 [<ffffffff8026f139>] raw_safe_ha= lt+0x84/0xa8
 [<ffffffff8026c683>] xen_idle+0x38/0x4a
&nbs= p;[<ffffffff8024aa8e>] cpu_idle+0x97/0xba
 [<ffffffff805fa= b09>] start_kernel+0x21f/0x224

Attempt to restart CentOS 5.2 PV D= omU

Scanning and configuring dmraid supported devices
Scanning lo= gical volumes
  Reading all physical volumes.  This may take a= while...
  No volume groups found
Activating logical volumes
  Volume group "VolGroup00" not found
Creating root dev= ice.
Mounting root filesystem.
mount: could not find filesystem '/dev= /root'
Setting up other filesystems.
Setting up new root fs
setupr= oot: moving /dev failed: No such file or directory
no fstab.sys, mountin= g internal defaults
setuproot: error mounting /proc: No such file or dir= ectory
setuproot: error mounting /sys: No such file or directory
Swit= ching to new root and running init.
unmounting old /dev
unmounting ol= d /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 conn= ected. Hotplug scripts not working.

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

VNC at Lin= ux DomUs  worked fine with rc5 as far as i remember.

Boris.

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

=0A=0A --0-754256562-1238084093=:86008-- --===============0339179560== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0339179560==--