Hi all, I''ve tried to use stubdom under xen 4.2. The same config that worked with xen 4.1, crashed with xen 4.2. I''ve added "device_model_stubdomain_override=1". It looks like stubdom crashes just at the beginning - gdb shows first line of main in vl.c. The same stubdomain binary started as separate PV domain at least boot and ends up on "Failed to read target." (which is expected). I''ve tried to compare libxl logs, but haven''t found anything significant. Any ideas? Attached both domains configs and logs from xl -v -v -v create. -- Best Regards / Pozdrawiam, Marek Marczykowski Invisible Things Lab _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
On Tue, 2013-04-09 at 15:27 +0100, Marek Marczykowski wrote:> Hi all, > > I''ve tried to use stubdom under xen 4.2. The same config that worked with xen > 4.1, crashed with xen 4.2.You mean the stubdom itself crashed? Are you able to capture its console? Ian.
On 10.04.2013 15:29, Ian Campbell wrote:> On Tue, 2013-04-09 at 15:27 +0100, Marek Marczykowski wrote: >> Hi all, >> >> I''ve tried to use stubdom under xen 4.2. The same config that worked with xen >> 4.1, crashed with xen 4.2. > > You mean the stubdom itself crashed?Yes.> Are you able to capture its console?It crashed before any output on console. Only visible with "c" state on xl list. When I''ve attached to it via gdbsx it point out first line of main(), so stubdom code doesn''t even begin to execute. I can provide core dump if it can help. -- Best Regards / Pozdrawiam, Marek Marczykowski Invisible Things Lab _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
On 10.04.2013 15:33, Marek Marczykowski wrote:> On 10.04.2013 15:29, Ian Campbell wrote: >> On Tue, 2013-04-09 at 15:27 +0100, Marek Marczykowski wrote: >>> Hi all, >>> >>> I''ve tried to use stubdom under xen 4.2. The same config that worked with xen >>> 4.1, crashed with xen 4.2. >> >> You mean the stubdom itself crashed? > > Yes. > >> Are you able to capture its console? > > It crashed before any output on console. Only visible with "c" state on xl > list. When I''ve attached to it via gdbsx it point out first line of main(), so > stubdom code doesn''t even begin to execute. I can provide core dump if it can > help.Can anyone send me working config for HVM with stubdom for xl (4.2)? -- Best Regards / Pozdrawiam, Marek Marczykowski Invisible Things Lab _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
On Mon, Apr 15, 2013 at 10:24 PM, Marek Marczykowski <marmarek@invisiblethingslab.com> wrote:> On 10.04.2013 15:33, Marek Marczykowski wrote: >> On 10.04.2013 15:29, Ian Campbell wrote: >>> On Tue, 2013-04-09 at 15:27 +0100, Marek Marczykowski wrote: >>>> Hi all, >>>> >>>> I''ve tried to use stubdom under xen 4.2. The same config that worked with xen >>>> 4.1, crashed with xen 4.2. >>> >>> You mean the stubdom itself crashed? >> >> Yes. >> >>> Are you able to capture its console? >> >> It crashed before any output on console. Only visible with "c" state on xl >> list. When I''ve attached to it via gdbsx it point out first line of main(), so >> stubdom code doesn''t even begin to execute. I can provide core dump if it can >> help. > > Can anyone send me working config for HVM with stubdom for xl (4.2)?Hi, if that help, I''ve got a stubdom config file, it run on xen-unstable, but I don''t expect there is any change, config file point of view, since 4.2. builder=''hvm'' memory = 512 name = "arch" #vif = [ ''bridge=br0,type=ioemu,mac=00:16:3e:5e:50:08'' ] disk = [ ''phy:/dev/vg42/guest_arch64,hda,w'' ] #, ''file:/root/vm/iso/archlinux-2012.08.04-dual.iso,hdc:cdrom,r'' ] device_model_stubdomain_override = 1 vcpus = 2 boot="cd" serial=''pty'' sdl = 1 vnc = 0 vnclister = ''0.0.0.0'' vncunused = 1 #vncpasswd = ''toto'' xen_platform_pci=1 -- Anthony PERARD
On 17.04.2013 17:54, Anthony PERARD wrote:> On Mon, Apr 15, 2013 at 10:24 PM, Marek Marczykowski > <marmarek@invisiblethingslab.com> wrote: >> On 10.04.2013 15:33, Marek Marczykowski wrote: >>> On 10.04.2013 15:29, Ian Campbell wrote: >>>> On Tue, 2013-04-09 at 15:27 +0100, Marek Marczykowski wrote: >>>>> Hi all, >>>>> >>>>> I''ve tried to use stubdom under xen 4.2. The same config that worked with xen >>>>> 4.1, crashed with xen 4.2. >>>> >>>> You mean the stubdom itself crashed? >>> >>> Yes. >>> >>>> Are you able to capture its console? >>> >>> It crashed before any output on console. Only visible with "c" state on xl >>> list. When I''ve attached to it via gdbsx it point out first line of main(), so >>> stubdom code doesn''t even begin to execute. I can provide core dump if it can >>> help. >> >> Can anyone send me working config for HVM with stubdom for xl (4.2)? > > Hi, > > if that help, I''ve got a stubdom config file, it run on xen-unstable, > but I don''t expect there is any change, config file point of view, > since 4.2.Thanks. I''ve found the problem. Backtrace was misleading, there was called do_exit(), not just at the beginning, but after some qemu initialization. And this do_exit() actually was inside of my code added to stubdom... I didn''t figured it out in the first place, because I''ve checked wrong log file. Sorry for the noise. -- Best Regards / Pozdrawiam, Marek Marczykowski Invisible Things Lab _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel