Hi, Looks like the fix for xVM running in Xen 3.2 Dom0 is not yet in snv87: root@guest-laptop:/home/xen-images/sol10snv87# xm create -c Solaris_inst.phy Using config file "./Solaris_inst.phy". Started domain Solaris module /platform/i86xpv/kernel/unix: text at [0xf4c00000, 0xf4ccbe97] data at 0xf5000000 module /kernel/genunix: text at [0xf4ccbe98, 0xf4e7beaf] data at 0xf5067da0 v3.2.0 chgset ''unavailable'' SunOS Release 5.11 Version snv_87 32-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. features: 10066c6<cpuid,sse2,sse,cx8,pae,mmx,cmov,msr,tsc> mem = 376832K (0x17000000) root nexus = i86xpv pseudo0 at root pseudo0 is /pseudo scsi_vhci0 at root scsi_vhci0 is /scsi_vhci panic[cpu0]/thread=d4a0fde0: BAD TRAP: type=e (#pf Page fault) rp=d4a0fcfc addr=18 occurred in module "unix" due to a NULL pointer dereference #pf Page fault Bad kernel fault at addr=0x18 pid=0, pc=0xf4c4737e, sp=0xd4a0fde0, eflags=0x10086 cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 660<xmme,fxsr,mce,pae> cr2: 18 gs: 1b1 fs: ffff0000 es: 161 ds: 161 edi: d496ede0 esi: d4a0fde0 ebp: d4a0fd54 esp: d4a0fd34 ebx: f502a248 edx: 0 ecx: ffffffff eax: 0 trp: e err: 0 eip: f4c4737e cs: 159 efl: 10086 usp: d4a0fde0 ss: f502a248 d4a0fc4c unix:die+98 (e, d4a0fcfc, 18, 0) d4a0fce8 unix:trap+12b9 (d4a0fcfc, 18, 0) d4a0fcfc unix:_cmntrap+aa (1b1, ffff0000, 161,) d4a0fd54 unix:pg_cmt_load+e (f502a248, ffffffff) d4a0fd84 unix:swtch+e0 (0, f4c01c58, d4a0fd) d4a0fd94 genunix:cv_wait+4e (f500b800, f500a7d0) d4a0fdc8 unix:balloon_worker_thread+aa (0, 0) d4a0fdd8 unix:thread_start+8 () skipping system dump - no dump device configured rebooting... root@guest-laptop:/home/xen-images/sol10snv87# xm info host : guest-laptop release : 2.6.18.8-xen version : #1 SMP Sat Apr 5 21:42:54 CEST 2008 machine : i686 nr_cpus : 1 nr_nodes : 1 cores_per_socket : 1 threads_per_core : 1 cpu_mhz : 1794 hw_caps : 3febf9ff:00000000:00000000:00000080 total_memory : 1022 free_memory : 368 node_to_cpu : node0:0 xen_major : 3 xen_minor : 2 xen_extra : .0 xen_caps : xen-3.0-x86_32p xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xf5800000 xen_changeset : unavailable cc_compiler : gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2 cc_compile_by : root cc_compile_domain : cc_compile_date : Sat Apr 5 22:43:34 CEST 2008 xend_config_format : 4 And the workaroudn using the kernel debugger does not work for this version regards Bernd -- Bernd Schemmer, Frankfurt am Main, Germany http://home.arcor.de/bnsmb/index.html M s temprano que tarde el mundo cambiar . Fidel Castro
On Thu, Apr 24, 2008 at 03:34:53PM +0200, Bernd Schemmer wrote:> d4a0fc4c unix:die+98 (e, d4a0fcfc, 18, 0) > d4a0fce8 unix:trap+12b9 (d4a0fcfc, 18, 0) > d4a0fcfc unix:_cmntrap+aa (1b1, ffff0000, 161,) > d4a0fd54 unix:pg_cmt_load+e (f502a248, ffffffff)This is : 6684164 fix for 6545999 breaks 32-bit dom0 fixed in b88 regards john
> Looks like the fix for xVM running in Xen 3.2 Dom0 is not yet in snv87: > > panic[cpu0]/thread=d4a0fde0: BAD TRAP: type=e (#pf Page fault) > rp=d4a0fcfc addr=18 occurred in module "unix" due to a NULL pointer > dereference > > #pf Page fault > Bad kernel fault at addr=0x18 > pid=0, pc=0xf4c4737e, sp=0xd4a0fde0, eflags=0x10086 > cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 660<xmme,fxsr,mce,pae> > cr2: 18 > gs: 1b1 fs: ffff0000 es: 161 ds: 161 > edi: d496ede0 esi: d4a0fde0 ebp: d4a0fd54 esp: d4a0fd34 > ebx: f502a248 edx: 0 ecx: ffffffff eax: 0 > trp: e err: 0 eip: f4c4737e cs: 159 > efl: 10086 usp: d4a0fde0 ss: f502a248 > > d4a0fc4c unix:die+98 (e, d4a0fcfc, 18, 0) > d4a0fce8 unix:trap+12b9 (d4a0fcfc, 18, 0) > d4a0fcfc unix:_cmntrap+aa (1b1, ffff0000, 161,) > d4a0fd54 unix:pg_cmt_load+e (f502a248, ffffffff) > d4a0fd84 unix:swtch+e0 (0, f4c01c58, d4a0fd) > d4a0fd94 genunix:cv_wait+4e (f500b800, f500a7d0) > d4a0fdc8 unix:balloon_worker_thread+aa (0, 0) > d4a0fdd8 unix:thread_start+8 ()That''s a new bug in snv_87: 6684164 "fix for 6545999 breaks 32-bit dom0". Should be fixed in snv_88. 32-bit dom0 and PV domU is broken in snv_87, on any version of the hypervisor ...
****************************************************************** SNV87 DomU works fine at 64-bit Xen 3.2 Ubuntu 7.10 (desktop) Dom0 ****************************************************************** root@boris-desktop:/etc/xen/vm# uname -a Linux boris-desktop 2.6.18.8-xen #1 SMP Mon Apr 14 12:53:09 MSD 2008 x86_64 GNU/Linux root@boris-desktop:/etc/xen/vm# xm info|grep xen_ xen_major : 3 xen_minor : 2 xen_extra : .0 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit xen_pagesize : 4096 xen_changeset : unavailable root@boris-desktop:/etc/xen/vm# xm create -c snv87.conf Using config file "./snv87.conf". Started domain Solaris87PVM v3.2.0 chgset ''unavailable'' SunOS Release 5.11 Version snv_87 64-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Hostname: dhcppc12 /dev/rdsk/c0d0s7 is clean Reading ZFS config: done. syslogd: line 45: WARNING: loghost could not be resolved dhcppc12 console login: root Password: Last login: Thu Apr 24 18:17:09 on console Apr 24 18:20:37 dhcppc12 login: ROOT LOGIN /dev/console Sun Microsystems Inc. SunOS 5.11 snv_87 January 2008 -bash-3.2# This message posted from opensolaris.org
*********************************************************** Same picture at 64-bit Xen 3.2 CentOS 5.1 Dom0 *********************************************************** [root@dhcppc1 vm]# uname -a Linux dhcppc1 2.6.18.8-xen #1 SMP Sun Mar 30 05:44:20 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux [root@dhcppc1 vm]# xm info host : dhcppc1 release : 2.6.18.8-xen version : #1 SMP Sun Mar 30 05:44:20 EDT 2008 machine : x86_64 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 3005 hw_caps : bfebfbff:20100800:00000000:00000140:0008e3fd:00000000:00000001 total_memory : 4095 free_memory : 128 node_to_cpu : node0:0-1 xen_major : 3 xen_minor : 2 xen_extra : .1-rc2 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : Fri Mar 28 17:59:32 2008 +0000 16830:962b23255cb7 cc_compiler : gcc version 4.1.2 20070626 (Red Hat 4.1.2-14) cc_compile_by : root cc_compile_domain : (none) cc_compile_date : Sun Mar 30 05:47:35 EDT 2008 xend_config_format : 4 [root@dhcppc1 vm]# xm create -c SNV87.conf Using config file "./SNV87.conf". Started domain Solaris87pvm v3.2.1-rc2 chgset ''Fri Mar 28 17:59:32 2008 +0000 16830:962b23255cb7'' SunOS Release 5.11 Version snv_87 64-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Hostname: dhcppc13 /dev/rdsk/c0d0s7 is clean Reading ZFS config: done. syslogd: line 45: WARNING: loghost could not be resolved dhcppc13 console login: root Password: Last login: Thu Apr 24 11:17:49 on console Apr 24 22:30:57 dhcppc13 login: ROOT LOGIN /dev/console Sun Microsystems Inc. SunOS 5.11 snv_87 January 2008 # This message posted from opensolaris.org