Re: Solaris 10 doesn't work under KVM

Avi Kivity
2007-02-08T09:27:07Z

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.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.