From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francisco Rocha Subject: Re: (no subject) Date: Fri, 6 Apr 2012 16:02:10 +0100 Message-ID: <5E615268CEC26C4E920B9D9911A2307C0345ECC5B690@EXCCR03.campus.ncl.ac.uk> References: <5E615268CEC26C4E920B9D9911A2307C0345ECC5B68B@EXCCR03.campus.ncl.ac.uk>, <4F7DF441.5040104@amd.com> <5E615268CEC26C4E920B9D9911A2307C0345ECC5B68C@EXCCR03.campus.ncl.ac.uk>, <4F7E004D.5090908@amd.com>, <5E615268CEC26C4E920B9D9911A2307C0345ECC5B68D@EXCCR03.campus.ncl.ac.uk> <5E615268CEC26C4E920B9D9911A2307C0345ECC5B68F@EXCCR03.campus.ncl.ac.uk>, <4F7F0308.2090601@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4F7F0308.2090601@amd.com> Content-Language: en-GB List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "wei.huang2@amd.com" Cc: Andrew Cooper , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org ________________________________________ From: Wei Huang [wei.huang2@amd.com] Sent: 06 April 2012 15:51 To: Francisco Rocha Cc: Andrew Cooper; xen-devel@lists.xen.org Subject: Re: [Xen-devel] (no subject) Then I think your Dom0 (i.e. kernel 3.x.x) has some problems with xsave/xrstor. -Wei I didn't change the kernel, it's a fresh install. I tried the latest for Fedora 16 and Xubuntu 11.10 both rebooted the machine. Cheers, Francisco On 04/06/2012 09:53 AM, Francisco Rocha wrote: > ________________________________________ > From: Francisco Rocha > Sent: 05 April 2012 21:43 > To: wei.huang2@amd.com > Cc: Andrew Cooper; xen-devel@lists.xen.org > Subject: RE: [Xen-devel] (no subject) > > ________________________________________ > From: Wei Huang [wei.huang2@amd.com] > Sent: 05 April 2012 21:27 > To: Francisco Rocha > Cc: Andrew Cooper; xen-devel@lists.xen.org > Subject: Re: [Xen-devel] (no subject) > > On 04/05/2012 03:17 PM, Francisco Rocha wrote: >> ________________________________________ >> From: Wei Huang [wei.huang2@amd.com] >> Sent: 05 April 2012 20:36 >> To: Francisco Rocha >> Cc: Andrew Cooper; xen-devel@lists.xen.org >> Subject: Re: [Xen-devel] (no subject) >> >> On 04/05/2012 01:26 PM, Francisco Rocha wrote: >>> Date: Thu, 5 Apr 2012 18:44:14 +0100 >>> From: Andrew Cooper >>> To: >>> Subject: Re: [Xen-devel] lastest xen unstable crash >>> Message-ID:<4F7DD9EE.3080404@citrix.com> >>> Content-Type: text/plain; charset="ISO-8859-1" >>> >>> On 05/04/12 18:37, Francisco Rocha wrote: >>>> Hi everyone, >>>> >>>> I was trying to build a new machine but the system keeps rebooting. >>>> I used the lasted unstable version from xen-unstable.hg. >>>> >>>> I have tried with Fedora 16 (kernel 3.3.0-8) and Xubuntu 11.10 (3.0.0.17-generic). >>>> >>>> The output to my serial console is attached. >>>> >>>> Cheers, >>>> Francisco >>> What is your Linux command line? does it include "console=hvc0"? >>> Perhaps some early_printk settings are required. >>> >>> Please include my email in your replies, thank you. >>> >>> Yes, it includes hvc0. I used your tutorial to setup the SOL. >>> >>> title Xen 3.4.2 / pv_ops Linux dom0 2.6.31.6 with a serial console >>> root (hd0,0) >>> kernel /xen-3.4.gz dom0_mem=512M loglvl=all guest_loglvl=all sync_console console_to_ring com1=115200,8n1,0xe000,0 console=com1 >>> module /vmlinuz-2.6.31.6 ro root=/dev/vg00/lv01 console=hvc0 earlyprintk=xen nomodeset >>> module /initrd-2.6.31.6.img >>> >>> Something like this, I am not at the machine anymore. >>> >>> Francisco >>> >> It looks like xsave/xrstore instructions (xsetbv instruction in >> xstate_enable() function to be exact) related. You can try to disable >> xsave to to see if this helps. >> >> -Wei >> >> Sorry about the untitled message. >> >> Should I be the one disabling xsave or is that for Andrew to change something? >> How can I do that? > Xen-unstable supports xsave/xrstor. You are using kernel 3.x.x, which > should support xsave/xrstor too. You can try to set xsave=0 in xen.gz > line of grub entry and boot again. Something like this: > > kernel /boot/xen.gz blah blah xsave=0 > module blah blah > blah > > Oh, i see, it's some new functionality. I will try it tomorrow and then let you know how it goes. > > Thank you for the help. > > Francisco > > -Wei > >> Anyway, shouldn't Xen support it? >> >> cheers, >> Francisco > The xsave=0 command line parameter solves the problem. > > Thank you, > Francisco >