Re: [Xen-devel] Error booting Xen

2016-02-03 Thread Konrad Rzeszutek Wilk
On Wed, Feb 03, 2016 at 02:17:26PM +0100, Dario Faggioli wrote: > On Wed, 2016-02-03 at 13:10 +, Andrew Cooper wrote: > > On 03/02/16 12:55, Dario Faggioli wrote: > > >  > > > tbox login: (d1) mapping kernel into physical memory > > > (d1) about to get started... > > > (XEN) traps.c:2684:d1v0 D

Re: [Xen-devel] Error booting Xen

2016-02-03 Thread Jan Beulich
>>> On 03.02.16 at 14:40, wrote: > $ ls -l /var/log/xen/ > total 48 > -rw-r--r-- 1 root adm 28 Jan 23 00:14 xen-hotplug.log > -rw-r--r-- 1 root adm 91 Feb 3 17:14 xl-ubuntu.pvlinux.log This date looks suspiciously new. Jan ___ Xen-devel mailing li

Re: [Xen-devel] Error booting Xen

2016-02-03 Thread Harmandeep Kaur
On Wed, Feb 3, 2016 at 6:25 PM, Dario Faggioli wrote: > On Wed, 2016-02-03 at 17:05 +0530, Harmandeep Kaur wrote: >> On Wed, Feb 3, 2016 at 1:53 PM, Dario Faggioli >> wrote: >> > >> Maybe I failed to shutdown a guest which was showing up >> on next boot. But there are no auto-starting guests. >>

Re: [Xen-devel] Error booting Xen

2016-02-03 Thread Dario Faggioli
On Wed, 2016-02-03 at 13:10 +, Andrew Cooper wrote: > On 03/02/16 12:55, Dario Faggioli wrote: > >  > > tbox login: (d1) mapping kernel into physical memory > > (d1) about to get started... > > (XEN) traps.c:2684:d1v0 Domain attempted WRMSR c081 > > from 0xe023e008 to 0x0023

Re: [Xen-devel] Error booting Xen

2016-02-03 Thread Andrew Cooper
On 03/02/16 12:55, Dario Faggioli wrote: > On Wed, 2016-02-03 at 17:05 +0530, Harmandeep Kaur wrote: >> On Wed, Feb 3, 2016 at 1:53 PM, Dario Faggioli >> wrote: >>> >> Maybe I failed to shutdown a guest which was showing up >> on next boot. But there are no auto-starting guests. >> Following lin

Re: [Xen-devel] Error booting Xen

2016-02-03 Thread Dario Faggioli
On Wed, 2016-02-03 at 17:05 +0530, Harmandeep Kaur wrote: > On Wed, Feb 3, 2016 at 1:53 PM, Dario Faggioli > wrote: > >  > Maybe I failed to shutdown a guest which was showing up > on next boot. But there are no auto-starting guests. > Following link goes to latest serial log > http://paste2.org/5

Re: [Xen-devel] Error booting Xen

2016-02-03 Thread Jan Beulich
>>> On 03.02.16 at 12:35, wrote: > On Wed, Feb 3, 2016 at 1:53 PM, Dario Faggioli > wrote: >> Hey Harmandeep, >> >> On Fri, 2016-01-29 at 03:13 -0700, Jan Beulich wrote: >>> > > > On 28.01.16 at 20:17, wrote: >>> > Latest set looks good. No boot issues. No resets. >>> > Full log at http://paste2

Re: [Xen-devel] Error booting Xen

2016-02-03 Thread Harmandeep Kaur
On Wed, Feb 3, 2016 at 1:53 PM, Dario Faggioli wrote: > Hey Harmandeep, > > On Fri, 2016-01-29 at 03:13 -0700, Jan Beulich wrote: >> > > > On 28.01.16 at 20:17, wrote: >> > Latest set looks good. No boot issues. No resets. >> > Full log at http://paste2.org/NxHNW4vn >> >> > Sorry I don't know muc

Re: [Xen-devel] Error booting Xen

2016-02-03 Thread Dario Faggioli
Hey Harmandeep, On Fri, 2016-01-29 at 03:13 -0700, Jan Beulich wrote: > > > > On 28.01.16 at 20:17, wrote: > > Latest set looks good. No boot issues. No resets. > > Full log at http://paste2.org/NxHNW4vn  >  > > Sorry I don't know much about source of last few > > lines. I was just tracing in xen

Re: [Xen-devel] Error booting Xen

2016-02-03 Thread Shuai Ruan
On Tue, Feb 02, 2016 at 10:39:09AM +, Andrew Cooper wrote: > On 02/02/16 04:43, Shuai Ruan wrote: > > > >>> I tried booting staging branch but results were identical. Following > >>> line repeats endlessly. > >>> (XEN) traps.c:3290: GPF (): 82d0801c1cce -> 82d080252e5c > >>> > >>> $

Re: [Xen-devel] Error booting Xen

2016-02-02 Thread Shuai Ruan
On Tue, Feb 02, 2016 at 10:39:09AM +, Andrew Cooper wrote: > On 02/02/16 04:43, Shuai Ruan wrote: > > > >>> I tried booting staging branch but results were identical. Following > >>> line repeats endlessly. > >>> (XEN) traps.c:3290: GPF (): 82d0801c1cce -> 82d080252e5c > >>> > >>> $

Re: [Xen-devel] Error booting Xen

2016-02-02 Thread Andrew Cooper
On 02/02/16 04:43, Shuai Ruan wrote: > >>> I tried booting staging branch but results were identical. Following >>> line repeats endlessly. >>> (XEN) traps.c:3290: GPF (): 82d0801c1cce -> 82d080252e5c >>> >>> $ 'addr2line -e xen-syms 82d0801c1cce' returns >>> 'xen/xen/arch/x86/xstat

Re: [Xen-devel] Error booting Xen

2016-02-01 Thread Shuai Ruan
On Wed, Jan 20, 2016 at 03:06:09AM -0700, Jan Beulich wrote: > >>> On 19.01.16 at 20:55, wrote: Sorry for late response. I am away from the mail list for a couple weeks. > > I tried booting staging branch but results were identical. Following > > line repeats endlessly. > > (XEN) traps.c:3290: GP

Re: [Xen-devel] Error booting Xen

2016-01-29 Thread Jan Beulich
>>> On 28.01.16 at 20:17, wrote: > Latest set looks good. No boot issues. No resets. > Full log at http://paste2.org/NxHNW4vn Thanks! > Sorry I don't know much about source of last few > lines. I was just tracing in xen when these came. > I was unable to create them again. I will inform > you i

Re: [Xen-devel] Error booting Xen

2016-01-28 Thread Harmandeep Kaur
Latest set looks good. No boot issues. No resets. Full log at http://paste2.org/NxHNW4vn Sorry I don't know much about source of last few lines. I was just tracing in xen when these came. I was unable to create them again. I will inform you if I get these again. Regards, Harmandeep On Wed, Jan 27

Re: [Xen-devel] Error booting Xen

2016-01-27 Thread Jan Beulich
>>> On 27.01.16 at 14:28, wrote: > I tried to apply your patches but it seems > to have some merge conflicts with latest > staging branch. > > ~/xen$ git apply ~/Downloads/x86-xsaves-init.patch > error: patch failed: xen/arch/x86/hvm/hvm.c:2094 > error: xen/arch/x86/hvm/hvm.c: patch does not appl

Re: [Xen-devel] Error booting Xen

2016-01-27 Thread Harmandeep Kaur
I tried to apply your patches but it seems to have some merge conflicts with latest staging branch. ~/xen$ git apply ~/Downloads/x86-xsaves-init.patch error: patch failed: xen/arch/x86/hvm/hvm.c:2094 error: xen/arch/x86/hvm/hvm.c: patch does not apply Do you mind having a look ? Regards, Harmand

Re: [Xen-devel] Error booting Xen

2016-01-27 Thread Jan Beulich
>>> On 26.01.16 at 19:02, wrote: > Last time, I did absolutely nothing. System was idle > and it crashed just after the login. Now, I booted the > system again and this time, there is no reset. But, > performance of the system is very slow. Browser > (Mozilla Firefox) freezes a lot. Also, before a

Re: [Xen-devel] Error booting Xen

2016-01-27 Thread Jan Beulich
>>> On 26.01.16 at 19:02, wrote: > Last time, I did absolutely nothing. System was idle > and it crashed just after the login. Now, I booted the > system again and this time, there is no reset. But, > performance of the system is very slow. Browser > (Mozilla Firefox) freezes a lot. Also, before a

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Harmandeep Kaur
On Tue, Jan 26, 2016 at 11:58 PM, Dario Faggioli wrote: > On Tue, 2016-01-26 at 23:32 +0530, Harmandeep Kaur wrote: >> Last time, I did absolutely nothing. System was idle >> and it crashed just after the login. Now, I booted the >> system again and this time, there is no reset. But, >> performanc

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Dario Faggioli
On Tue, 2016-01-26 at 23:32 +0530, Harmandeep Kaur wrote: > Last time, I did absolutely nothing. System was idle > and it crashed just after the login. Now, I booted the > system again and this time, there is no reset. But, > performance of the system is very slow. Browser > (Mozilla Firefox) freez

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Harmandeep Kaur
Last time, I did absolutely nothing. System was idle and it crashed just after the login. Now, I booted the system again and this time, there is no reset. But, performance of the system is very slow. Browser (Mozilla Firefox) freezes a lot. Also, before applying patches, when I used to disabe xsave

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Jan Beulich
>>> On 26.01.16 at 18:01, wrote: > I tried 3rd patch together with earlier two. I'm > afraid the problem is not solved completely. > Full log goes here, http://paste2.org/KEAetMHb Well, wait - we can't solve all problems at once. The crash here is in the context of do_domctl(), i.e. makes me ass

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Harmandeep Kaur
I tried 3rd patch together with earlier two. I'm afraid the problem is not solved completely. Full log goes here, http://paste2.org/KEAetMHb Regards, Harmandeep On Tue, Jan 26, 2016 at 6:53 PM, Jan Beulich wrote: On 26.01.16 at 14:13, wrote: >> The patch as I already said is letting me boo

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Jan Beulich
>>> On 26.01.16 at 14:13, wrote: > The patch as I already said is letting me boot > into the Xen, but the system is now resetting > stating XSAVE as the cause. I have attached > links to two cases where system was reset as > the result. I don't think that problem is fully > solved yet. > http://pa

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Jan Beulich
>>> On 26.01.16 at 13:51, wrote: > I tried the patch and I am very happy to inform you > all that the patch has solved my problem. Now I am > able to boot Xen without disabling XSAVE. I have > full log of boot at http://paste2.org/gVW0Z9nm (if > any one is interested. also "XXX Hello, this is my >

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Harmandeep Kaur
The patch as I already said is letting me boot into the Xen, but the system is now resetting stating XSAVE as the cause. I have attached links to two cases where system was reset as the result. I don't think that problem is fully solved yet. http://paste2.org/Ky56Z92g http://paste2.org/3hcbG6L7 Re

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Harmandeep Kaur
Hi guys, I tried the patch and I am very happy to inform you all that the patch has solved my problem. Now I am able to boot Xen without disabling XSAVE. I have full log of boot at http://paste2.org/gVW0Z9nm (if any one is interested. also "XXX Hello, this is my first mod :)" is printed by my mod,

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Dario Faggioli
On Mon, 2016-01-25 at 06:42 -0700, Jan Beulich wrote: > > > > On 21.01.16 at 16:14, wrote: > > On Wed, 2016-01-20 at 03:06 -0700, Jan Beulich wrote: > > > But of course another question then is why the XRSTORS faults > > > in the first place. I guess we'll need a debugging patch to dump > > > the

Re: [Xen-devel] Error booting Xen

2016-01-25 Thread Jan Beulich
>>> On 21.01.16 at 16:14, wrote: > On Wed, 2016-01-20 at 03:06 -0700, Jan Beulich wrote: >> > > > On 19.01.16 at 20:55, wrote: >> > >> > $ 'addr2line -e xen-syms 82d0801c1cce' returns >> > 'xen/xen/arch/x86/xstate.c:387' which again points to >> > xsave. Also, adding 'xsave=0' makes it boot

Re: [Xen-devel] Error booting Xen

2016-01-21 Thread Harmandeep Kaur
On Thu, Jan 21, 2016 at 8:44 PM, Dario Faggioli wrote: > On Wed, 2016-01-20 at 03:06 -0700, Jan Beulich wrote: >> > > > On 19.01.16 at 20:55, wrote: >> > >> > $ 'addr2line -e xen-syms 82d0801c1cce' returns >> > 'xen/xen/arch/x86/xstate.c:387' which again points to >> > xsave. Also, adding 'xs

Re: [Xen-devel] Error booting Xen

2016-01-21 Thread Dario Faggioli
On Wed, 2016-01-20 at 03:06 -0700, Jan Beulich wrote: > > > > On 19.01.16 at 20:55, wrote: > >  > > $ 'addr2line -e xen-syms 82d0801c1cce' returns > > 'xen/xen/arch/x86/xstate.c:387' which again points to > > xsave. Also, adding 'xsave=0' makes it boot just fine. > > Ah, I think I see the iss

Re: [Xen-devel] Error booting Xen

2016-01-20 Thread Jan Beulich
>>> On 19.01.16 at 20:55, wrote: > I tried booting staging branch but results were identical. Following > line repeats endlessly. > (XEN) traps.c:3290: GPF (): 82d0801c1cce -> 82d080252e5c > > $ 'addr2line -e xen-syms 82d0801c1cce' returns > 'xen/xen/arch/x86/xstate.c:387' which a

Re: [Xen-devel] Error booting Xen

2016-01-19 Thread Harmandeep Kaur
On Tue, Jan 19, 2016 at 10:38 PM, Dario Faggioli wrote: > On Tue, 2016-01-19 at 17:02 +, Andrew Cooper wrote: >> On 19/01/16 16:47, Jan Beulich wrote: >> > > > > On 19.01.16 at 17:27, wrote: >> > > Adding 'xsave=0' is working for now. Thank you >> > > all for your help :) >> > But that means

Re: [Xen-devel] Error booting Xen

2016-01-19 Thread Andrew Cooper
On 19/01/16 17:08, Dario Faggioli wrote: > On Tue, 2016-01-19 at 17:02 +, Andrew Cooper wrote: >> On 19/01/16 16:47, Jan Beulich wrote: >> On 19.01.16 at 17:27, wrote: Adding 'xsave=0' is working for now. Thank you all for your help :) >>> But that means we actually should get to

Re: [Xen-devel] Error booting Xen

2016-01-19 Thread Dario Faggioli
On Tue, 2016-01-19 at 17:02 +, Andrew Cooper wrote: > On 19/01/16 16:47, Jan Beulich wrote: > > > > > On 19.01.16 at 17:27, wrote: > > > Adding 'xsave=0' is working for now. Thank you > > > all for your help :) > > But that means we actually should get to the bottom of your > > problem! > > T

Re: [Xen-devel] Error booting Xen

2016-01-19 Thread Andrew Cooper
On 19/01/16 16:47, Jan Beulich wrote: On 19.01.16 at 17:27, wrote: >> Adding 'xsave=0' is working for now. Thank you >> all for your help :) > But that means we actually should get to the bottom of your problem! There was some discussion on IRC. `xrstror` was repeatedly taking the same faul

Re: [Xen-devel] Error booting Xen

2016-01-19 Thread Jan Beulich
>>> On 19.01.16 at 17:27, wrote: > Adding 'xsave=0' is working for now. Thank you > all for your help :) But that means we actually should get to the bottom of your problem! Jan ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/

Re: [Xen-devel] Error booting Xen

2016-01-19 Thread Harmandeep Kaur
Hi, Adding 'xsave=0' is working for now. Thank you all for your help :) Regards, Harman On Tue, Jan 19, 2016 at 8:37 PM, Andrew Cooper wrote: > On 19/01/16 14:51, Dario Faggioli wrote: >> On Tue, 2016-01-19 at 06:36 -0700, Jan Beulich wrote: >> On 18.01.16 at 19:29, wrote: Yeah,

Re: [Xen-devel] Error booting Xen

2016-01-19 Thread Andrew Cooper
On 19/01/16 14:51, Dario Faggioli wrote: > On Tue, 2016-01-19 at 06:36 -0700, Jan Beulich wrote: > On 18.01.16 at 19:29, wrote: >>> >>> Yeah, but again, it was booting as dom0 with another Xen... doesn't >>> that mean that Xen at least has a role in exposing it? >>> >>> Also, what would you

Re: [Xen-devel] Error booting Xen

2016-01-19 Thread Dario Faggioli
On Tue, 2016-01-19 at 06:36 -0700, Jan Beulich wrote: > > > > On 18.01.16 at 19:29, wrote: > >  > > Yeah, but again, it was booting as dom0 with another Xen... doesn't > > that mean that Xen at least has a role in exposing it? > > > > Also, what would you think it's better to try next... try anot

Re: [Xen-devel] Error booting Xen

2016-01-19 Thread Harmandeep Kaur
> On Mon, 2016-01-18 at 18:09 +, Andrew Cooper wrote: > > On 18/01/16 18:03, Harmandeep Kaur wrote: > > > Hi, > > > > > > I tried to boot Xen (cloned from git clone > > > git://xenbits.xen.org/xen.git), but it stucks > > > in a infinite loop. I got the log via serial. > > > You can inspect it a

Re: [Xen-devel] Error booting Xen

2016-01-19 Thread Jan Beulich
>>> On 18.01.16 at 19:29, wrote: > On Mon, 2016-01-18 at 18:09 +, Andrew Cooper wrote: >> On 18/01/16 18:03, Harmandeep Kaur wrote: >> > I tried to boot Xen (cloned from git clone >> > git://xenbits.xen.org/xen.git), but it stucks >> > in a infinite loop. I got the log via serial. >> > You can

Re: [Xen-devel] Error booting Xen

2016-01-18 Thread Dario Faggioli
On Mon, 2016-01-18 at 18:09 +, Andrew Cooper wrote: > On 18/01/16 18:03, Harmandeep Kaur wrote: > > Hi, > > > > I tried to boot Xen (cloned from git clone > > git://xenbits.xen.org/xen.git), but it stucks > > in a infinite loop. I got the log via serial. > > You can inspect it at > > http://pa

Re: [Xen-devel] Error booting Xen

2016-01-18 Thread Andrew Cooper
On 18/01/16 18:03, Harmandeep Kaur wrote: > Hi, > > I tried to boot Xen (cloned from git clone > git://xenbits.xen.org/xen.git), but it stucks > in a infinite loop. I got the log via serial. > You can inspect it at > http://paste2.org/YCpkzbpG > > If anybody has encountered this issue > before, I w

[Xen-devel] Error booting Xen

2016-01-18 Thread Harmandeep Kaur
Hi, I tried to boot Xen (cloned from git clone git://xenbits.xen.org/xen.git), but it stucks in a infinite loop. I got the log via serial. You can inspect it at http://paste2.org/YCpkzbpG If anybody has encountered this issue before, I will appreciate any help. Regards, Harmandeep Kaur Outreachy