From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Joerg Roedel" Subject: Re: Solaris 10 doesn't work under KVM Date: Thu, 8 Feb 2007 11:19:45 +0100 Message-ID: <20070208101945.GB5204@amd.com> References: <20070128144052.GA5069@waba> <45BDDF32.3010607@qumranet.com> <20070201214924.GB7489@waba> <20070202191942.GB8804@amd.com> <20070204183141.GB13914@waba> <45C99EE9.3010306@qumranet.com> <20070207230427.GA7946@waba> <45CAECEB.4000701@qumranet.com> <20070208095816.GA5204@amd.com> <45CAF5C6.8020104@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Waba To: "Avi Kivity" Return-path: In-Reply-To: <45CAF5C6.8020104-atKUWr5tajBWk0Htik3J/w@public.gmane.org> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Thu, Feb 08, 2007 at 12:04:54PM +0200, Avi Kivity wrote: > Joerg Roedel wrote: > >On Thu, Feb 08, 2007 at 11:27:07AM +0200, Avi Kivity wrote: > > > >>Waba wrote: > >> > >>>On Wed, Feb 07, 2007 at 11:42:01AM +0200, Avi Kivity wrote: > >>> > >>>>ok. please keep the patch applied, and an addition: > >>>> > >>>>- change '#undef AUDIT' to '#define AUDIT' in mmu.c > >>>>- in the same file, change 'static int dbg = 1;' to 'static int dbg = 0;' > >>>>- 'echo 9 > /proc/sysrq-trigger' > >>>> > >>>>and run again. Note that kvm will be very slow with this. Watch dmesg for errors from > >>>>kvm. > >>>> > >>>When you say 'very slow', you mean it :) I couldn't reproduce the bug in > >>>the usual fashion because the involved processes timed out and were > >>>killed by the service manager. > >>> > >>>However, simply invoking "svccfg" at the prompt seems to bring in Java or > >>>whatever heavy stuff is causing our problem, and I got a nice SIGILL > >>>this way. > >>> > >>>Sadly, nothing interesting appeared in the log: > >>> > >>>[ 8544.402301] Loglevel set to 9 > >>>[ 8548.697286] cr0_wp: 1 (before) > >>>[ 9868.532303] kvm: emulating exchange as write > >>>[16785.771040] SysRq : Changing Loglevel > >>>[16785.771049] Loglevel set to 0 > >>> > >>> > >>>Please tell me if there is anything else I can try out. > >>> > >>Can you try to isolate the process which fails? > >> > >>e.g. install with qemu, start in kvm in single user mode, and use truss or something > >>similar. > >> > > > >When I tried it I got a the SIGILL ever I invoked a new program. The > >first SIGILL is in the starting process which is killed then. Afterwards > >I get a shell. Every simple command there (like ls for example) caused a > >SIGILL then. > > > > > > Was this with the cr0.wp patch applied (commit 4348)? Yes. It was with kvm-current from last friday. The patch was already in there. -- Joerg Roedel Operating System Research Center AMD Saxony LLC & Co. KG ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642