AR (aka AleiPhoenix)
2013-Oct-09 11:27 UTC
domU keep crashing when install ubuntu as pv domU
I''m using xen 4.3 with gentoo as dom0. the kernel and ramdisk file is taken from http://ftp.jaist.ac.jp/pub/Linux/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/xen/ the pv domU config file (according to the ubuntu xen documentation https://help.ubuntu.com/community/Xen) precise.cfg name = "precise" kernel = "/xen/kernels/precise/vmlinuz" ramdisk = "/xen/kernels/precise/initrd.gz" # builder = "linux" # bootloader = "pygrub" memory = 512 extra = "debian-installer/exit/always_halt=true -- console=hvc0" # device_model_override = "/usr/lib64/xen/bin/qemu-dm" vif = [''bridge=br0'',] # disk = [''file:/xen/livecd/ubuntu-12.04-server-amd64.iso,xvdc:cdrom,r'', ''phy:/dev/vg/precise_root,xvda,w'', ''phy:/dev/vg/precise_swap,xvdb,w''] disk = [''phy:/dev/vg/precise_root,xvda,w'', ''phy:/dev/vg/precise_swap,xvdb,w''] # root = "/dev/xvdc" vfb = [''type=vnc,vnclisten=0.0.0.0,vncunused=1''] vcpus = 2 boot = "d" vnclisten = "0.0.0.0" # on_reboot = ''restart'' # on_crash = ''restart'' When i type "xl create precise.cfg", the domU started and simply get crashed. and try to boot domU as hvm builder = "hvm" the iso booted very well, but report i686 cpu detected. I''m running on an Intel Core 2 E7500 CPU , and VT-x is turned on. I''m confused. Someone could help me out, thanks! -- Silence is golden. twitter: @AccelReality wikipedia: AleiPhoenix blog: weblog.areverie.org wiki: wiki.areverie.org _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Wed, Oct 09, 2013 at 07:27:28PM +0800, AR (aka AleiPhoenix) wrote:> I''m using xen 4.3 with gentoo as dom0. > > the kernel and ramdisk file is taken from > http://ftp.jaist.ac.jp/pub/Linux/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/xen/ > > the pv domU config file (according to the ubuntu xen documentation > https://help.ubuntu.com/community/Xen) > > precise.cfg > > name = "precise" > kernel = "/xen/kernels/precise/vmlinuz" > ramdisk = "/xen/kernels/precise/initrd.gz" > # builder = "linux" > # bootloader = "pygrub" > memory = 512 > extra = "debian-installer/exit/always_halt=true -- console=hvc0" > # device_model_override = "/usr/lib64/xen/bin/qemu-dm" > vif = [''bridge=br0'',] > # disk = [''file:/xen/livecd/ubuntu-12.04-server-amd64.iso,xvdc:cdrom,r'', > ''phy:/dev/vg/precise_root,xvda,w'', ''phy:/dev/vg/precise_swap,xvdb,w''] > disk = [''phy:/dev/vg/precise_root,xvda,w'', > ''phy:/dev/vg/precise_swap,xvdb,w''] > # root = "/dev/xvdc" > vfb = [''type=vnc,vnclisten=0.0.0.0,vncunused=1''] > vcpus = 2 > boot = "d" > > vnclisten = "0.0.0.0" > > # on_reboot = ''restart'' > # on_crash = ''restart'' > > > > When i type "xl create precise.cfg", the domU started and simply get > crashed. >Any log? Wei.
>________________________________ > From: AR (aka AleiPhoenix) <aleiphoenix@gmail.com> >To: xen-users@lists.xen.org >Sent: Wednesday, 9 October 2013, 12:27 >Subject: [Xen-users] domU keep crashing when install ubuntu as pv domU > > > >I''m using xen 4.3 with gentoo as dom0. > >the kernel and ramdisk file is taken from http://ftp.jaist.ac.jp/pub/Linux/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/xen/ > >the pv domU config file (according to the ubuntu xen documentation https://help.ubuntu.com/community/Xen) > >precise.cfg > >name = "precise" >kernel = "/xen/kernels/precise/vmlinuz" >ramdisk = "/xen/kernels/precise/initrd.gz" ># builder = "linux" ># bootloader = "pygrub" >memory = 512 >extra = "debian-installer/exit/always_halt=true -- console=hvc0" ># device_model_override = "/usr/lib64/xen/bin/qemu-dm" >vif = [''bridge=br0'',] ># disk = [''file:/xen/livecd/ubuntu-12.04-server-amd64.iso,xvdc:cdrom,r'', ''phy:/dev/vg/precise_root,xvda,w'', ''phy:/dev/vg/precise_swap,xvdb,w''] >disk = [''phy:/dev/vg/precise_root,xvda,w'', ''phy:/dev/vg/precise_swap,xvdb,w''] ># root = "/dev/xvdc" >vfb = [''type=vnc,vnclisten=0.0.0.0,vncunused=1''] >vcpus = 2 >boot = "d" > >vnclisten = "0.0.0.0" > ># on_reboot = ''restart'' ># on_crash = ''restart'' > > > >When i type "xl create precise.cfg", the domU started and simply get crashed.Does it end up in an -sc- state? or a -b- state according to xl list? I have had something similar on seemed to be just certain kernels. I had this most recently trying to install Ubuntu 12.04 on PV (12.10 seemed fine.) What I discovered was that I was using my own personal list of prerequisites for Xen. Looking back at the wiki, my private list was quite outdated and I was by now missing quite a bit of stuff, so I installed what I was missing, recompiled, etc., and the problem went away. Hope this helps.> > > > > >and try to boot domU as hvm > > >builder = "hvm" > > >the iso booted very well, but report i686 cpu detected. > >I''m running on an Intel Core 2 E7500 CPU , and VT-x is turned on. > >I''m confused. > >Someone could help me out, thanks! > >-- >Silence is golden. > >twitter: @AccelReality >wikipedia: AleiPhoenix >blog: weblog.areverie.org >wiki: wiki.areverie.org >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xen.org >http://lists.xen.org/xen-users > >
AR (aka AleiPhoenix)
2013-Oct-10 01:49 UTC
Re: domU keep crashing when install ubuntu as pv domU
On Wed, Oct 9, 2013 at 8:32 PM, Wei Liu <wei.liu2@citrix.com> wrote:> > Any log? > > Wei. >xl dmesg [1] xl log [2] On Wed, Oct 9, 2013 at 9:15 PM, Ian Murray <murrayie@yahoo.co.uk> wrote:> > Does it end up in an -sc- state? or a -b- state according to xl list? > > I have had something similar on seemed to be just certain kernels. I had > this most recently trying to install Ubuntu 12.04 on PV (12.10 seemed > fine.) What I discovered was that I was using my own personal list of > prerequisites for Xen. Looking back at the wiki, my private list was quite > outdated and I was by now missing quite a bit of stuff, so I installed what > I was missing, recompiled, etc., and the problem went away. > > > Hope this helps. > >Yes, it''s -sc- Name ID Mem VCPUs State Time(s) Domain-0 0 6707 2 r----- 495.2 precise 114 512 1 ---sc- 0.1 I''ve found your situation [3]. I will try with 13.04 vmlinuz , then compile xen by hand, to find out what I''m missing. Thanks! [1]: http://bpaste.net/show/139219/ [2]: http://bpaste.net/show/139220/ [3]: http://www.gossamer-threads.com/lists/xen/users/292672#292672 -- Silence is golden. twitter: @AccelReality wikipedia: AleiPhoenix blog: weblog.areverie.org wiki: wiki.areverie.org _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Thu, Oct 10, 2013 at 09:49:18AM +0800, AR (aka AleiPhoenix) wrote:> On Wed, Oct 9, 2013 at 8:32 PM, Wei Liu <wei.liu2@citrix.com> wrote: > > > > > Any log? > > > > Wei. > > > > xl dmesg [1] > xl log [2] >AFAICT those logs aren''t very useful. You can increase verbosity to get more info. It would also be useful to get guest kernel crash dump. Wei.> On Wed, Oct 9, 2013 at 9:15 PM, Ian Murray <murrayie@yahoo.co.uk> wrote: > > > > > Does it end up in an -sc- state? or a -b- state according to xl list? > > > > I have had something similar on seemed to be just certain kernels. I had > > this most recently trying to install Ubuntu 12.04 on PV (12.10 seemed > > fine.) What I discovered was that I was using my own personal list of > > prerequisites for Xen. Looking back at the wiki, my private list was quite > > outdated and I was by now missing quite a bit of stuff, so I installed what > > I was missing, recompiled, etc., and the problem went away. > > > > > > Hope this helps. > > > > > Yes, it''s -sc- > > Name ID Mem VCPUs State Time(s) > Domain-0 0 6707 2 r----- > 495.2 > precise 114 512 1 ---sc- > 0.1 > > I''ve found your situation [3]. I will try with 13.04 vmlinuz , then compile > xen by hand, to find out what I''m missing. > > Thanks! > > [1]: http://bpaste.net/show/139219/ > [2]: http://bpaste.net/show/139220/ > [3]: http://www.gossamer-threads.com/lists/xen/users/292672#292672 > > -- > Silence is golden. > > twitter: @AccelReality > wikipedia: AleiPhoenix > blog: weblog.areverie.org > wiki: wiki.areverie.org
On 10/10/13 02:49, AR (aka AleiPhoenix) wrote:> On Wed, Oct 9, 2013 at 8:32 PM, Wei Liu <wei.liu2@citrix.com > <mailto:wei.liu2@citrix.com>> wrote: > > > Any log? > > Wei. > > > xl dmesg [1] > xl log [2] > > On Wed, Oct 9, 2013 at 9:15 PM, Ian Murray <murrayie@yahoo.co.uk > <mailto:murrayie@yahoo.co.uk>> wrote: > > > Does it end up in an -sc- state? or a -b- state according to xl list? > > I have had something similar on seemed to be just certain kernels. > I had this most recently trying to install Ubuntu 12.04 on PV > (12.10 seemed fine.) What I discovered was that I was using my own > personal list of prerequisites for Xen. Looking back at the wiki, > my private list was quite outdated and I was by now missing quite > a bit of stuff, so I installed what I was missing, recompiled, > etc., and the problem went away. > > > Hope this helps. > > > Yes, it''s -sc- > > Name ID Mem VCPUsStateTime(s) > Domain-0 0 6707 2 r----- > 495.2 > precise 114 512 1 ---sc- > 0.1 > > I''ve found your situation [3]. I will try with 13.04 vmlinuz , then > compile xen by hand, to find out what I''m missing. > > Thanks!No problem. Second time I had this, using a different kernel didn''t help (although, that might have been a different issue, because it may have sat as -b- but never progressed, rather than -sc-). The recompile might be a wild goose chase. Where are you currently getting Xen from? I presumed you had compiled by hand, but maybe not...> > [1]: http://bpaste.net/show/139219/ > [2]: http://bpaste.net/show/139220/ > [3]: http://www.gossamer-threads.com/lists/xen/users/292672#292672 > > -- > Silence is golden. > > twitter: @AccelReality > wikipedia: AleiPhoenix > blog: weblog.areverie.org <http://weblog.areverie.org> > wiki: wiki.areverie.org <http://wiki.areverie.org> > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users