Hi all Opensolaris works perfectly, but I am not able to boot the xvm kernel on this hardware. I added the -k option in grub, but the system hangs before the hostname line without any debug info. I''ve tried snv from b94 to b99, with the same results. If I install Debian with xen kernel I am able to use pvm and hvm guests. What can I do ? thanks Giacomo -- This message posted from opensolaris.org
> Opensolaris works perfectly, but I am not able to > boot the xvm kernel on this hardware. > I added the -k option in grub, but the system hangs > before the hostname line without any debug info.Try it with the "-v" option, that should enable verbose kernel messages. You can also combine that with "-k", as "-kv". Or start the kernel with the kernel variable moddebug set to 80000000, to get debug messages for each module loaded. See http://blogs.sun.com/dmick/entry/diagnosing_kernel_hangs_panics_with Boot with options "-kdv", and in kmdb: moddebug/W 80000000 :c> I''ve tried snv from b94 to b99, with the same results.Just a wild guess: I do remember that I got such a hang with the xvm kernel on a Tecra S1 laptop. On that laptop switching into acpi mode has the side effect of stopping the the legacy pit timer. There was already a workaround available in the xvm hypervisor to fix such a problem; it is enabled by passing option "correct_pit" to the hypervisor, like this: kernel$ /boot/$ISADIR/xen.gz correct_pit -- This message posted from opensolaris.org
I have tried to use options that you advice to me: with b98 the system continue to hang itself at the banner: V3.1.4-XVM CHGSET..... SunOS Release 5.11 version snv_98 64bit Copyright.... Use is subject to license terms. the keyboard doesn''t work (for example I cannot disable the capslock) I tried all the combinations kernel$ /boot/$ISADIR/xen.gz correct_pit kernel$ /boot/$ISADIR/xen.gz -kdv kernel$ /boot/$ISADIR/xen.gz -kv correct_pit with the same results. With b99 when I try to boot xvm the system goes immediately in kernel panic (with every grub combinations), however the keyboard doesn''t work. The opensolaris kernel boots without problem. I am downloading b101, I''''l try with it. Giacomo -- This message posted from opensolaris.org
> I have tried to use options that you advice to me: > > with b98 the system continue to hang itself at the banner: > V3.1.4-XVM CHGSET..... > SunOS Release 5.11 version snv_98 64bit > Copyright.... > Use is subject to license terms. > > the keyboard doesn''t work (for example I cannot disable the capslock) > I tried all the combinations > kernel$ /boot/$ISADIR/xen.gz correct_pit > kernel$ /boot/$ISADIR/xen.gz -kdv > kernel$ /boot/$ISADIR/xen.gz -kv correct_pit > with the same results.The "-kdv" / "-kv" option must be passed to the Solaris dom0 kernel; append it at the end of the "module$" line containing the /platform/i86xpv/kernel/$ISADIR/unix binary. kernel$ /boot/$ISADIR/xen.gz correct_pit module$ /platform/i86xpv/kernel/$ISADIR/unix /platform/i86xpv/kernel/$ISADIR/unix -B $ZFS-BOOTFS -kdv ...> > With b99 when I try to boot xvm the system goes > immediately in kernel panic (with every grub > combinations), however the keyboard doesn''t work. > The opensolaris kernel boots without problem. > > I am downloading b101, I''''l try with it. > > Giacomo-- This message posted from opensolaris.org
bootadm give me an error if I try to put the options in the module line: bash-3.2# bootadm set-menu default=6 bootadm: module command on line 60 not recognized. while give no errors if I put those options in kernel line. Giacomo -- This message posted from opensolaris.org
> bootadm give me an error if I try to put the options in the module line: > > bash-3.2# bootadm set-menu default=6 > bootadm: module command on line 60 not recognized. > > while give no errors if I put those options in kernel line.Yep, I''ve noticed such a problem, too. I think a bug for this problem has already been filed: 6744273 Unable to bootadm set-menu default to xVM: "module command on line <x> not recognized" http://bugs.opensolaris.org/view_bug.do?bug_id=6744273 http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/boot/bootadm/bootadm.c#module_parser 2646 strcmp(arg, XEN_KERNEL_MODULE_LINE) == 0 || 2647 strcmp(arg, XEN_KERNEL_MODULE_LINE_ZFS) == 0) { This should probably use strstr() or strncmp() to detect the module$ lines containing the xvm / xen dom0 kernel -- This message posted from opensolaris.org
I LU to snv_101 and as you said: Booted with options "-kdv", and in kmdb: moddebug/W 80000000 :c and xvm is booted !!! bash-3.2# uname -a SunOS fantaman 5.11 snv_101 i86pc i386 i86xpv bash-3.2# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 3884 2 r----- 19439.2 Monday I will try to boot the server without debug options. can the moddebug/W 80000000 have adjusted something ? Or is because the b101 kernel ? thanks Giacomo -- This message posted from opensolaris.org
> I LU to snv_101 and as you said: > > Booted with options "-kdv", and in kmdb: > moddebug/W 80000000 > :c > > and xvm is booted !!! >...> can the moddebug/W 80000000 have adjusted something ?No, it shouldn''t. It enables some debug printfs, that''s all. And loading the kernel debugger with option "-k" shouldn''t change system behavior, either.> Or is because the b101 kernel ?Most likely. -- This message posted from opensolaris.org