Can anyone else reproduce opensolaris PV domU hangs during domU boot, when the domU is using an root filesystem on an nfs server and the domU is configured with more than one vcpu?
Test system 1: - AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ / 2GB memory - dom0 running opensolaris snv_83 bits (64-bit) - PV domU opensolaris snv_83 bits (64-bit), with an nfs root filesystem Test system 2: - Core(TM)2 Quad CPU Q6600 / 8GB memory - dom0 running gentoo 2.6.20 linux (32-bit) - PV domU opensolaris snv_83 bits (32-bit), with an nfs root filesystem Config file for the PV domU is something like this: # cat /etc/xen/solaris-nfs name = "solaris" memory = 512 vcpus = 1 localtime = 1 kernel = '/export/root/xen/platform/i86xpv/kernel/amd64/unix' ramdisk = '/export/root/xen/platform/i86pc/amd64/boot_archive' extra = '/platform/i86xpv/kernel/amd64/unix -kv' nfs_server = '192.168.2.20' nfs_root = 'moritz:/export/root/xen' vif = [ 'mac=0:8:c7:d2:82:63' ] on_shutdown = 'destroy' on_reboot = 'destroy' on_crash = 'destroy' With this configuration (note: vcpus=1) the snv_83 domU boots ok. But with vcpus=2, the domU hangs during the boot, after / while cpu#1 is initialized: # xm create solaris-nfs -c vcpus=2 Using config file "/etc/xen/solaris-nfs". Started domain solaris module /platform/i86xpv/kernel/amd64/unix: text at [0xfffffffffb800000, 0xfffffffffb9205f3] data at 0xfffffffffbc00000 module /kernel/amd64/genunix: text at [0xfffffffffb920600, 0xfffffffffbb55047] data at 0xfffffffffbca2000 Loading kmdb... module /kernel/misc/amd64/kmdbmod: text at [0xfffffffffbb55050, 0xfffffffffbbe42bf] data at 0xfffffffffbd0aa70 module /kernel/misc/amd64/ctf: text at [0xfffffffffbbe42c0, 0xfffffffffbbee1bf] data at 0xfffffffffbd25d40 v3.0.4-1-xvm chgset 'Mon Oct 29 23:19:32 2007 -0700 13226:b0c4d9d28fee' SunOS Release 5.11 Version wos_b83 64-bit Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. features: 10e66c6<cpuid,cx16,sse3,nx,sse2,sse,cx8,pae,mmx,cmov,msr,tsc> mem = 524288K (0x20000000) root nexus = i86xpv pseudo0 at root pseudo0 is /pseudo scsi_vhci0 at root scsi_vhci0 is /scsi_vhci pseudo-device: dld0 dld0 is /pseudo/dld at 0 xpvd0 at root /xpvd/xnf at 0 (xnf0) online Requesting Internet address for 0:8:c7:d2:82:63 Found my IP address: 2802a8c0 (192.168.2.40) hostname: xen domainname: gandalf.net root on moritz:/export/root/xen fstype nfsdyn /cpus (cpunex0) online xencons at 0, xencons0 xencons0 is /xpvd/xencons at 0 cpu0: x86 (AuthenticAMD 40FB2 family 15 model 75 step 2 clock 2210 MHz) cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ cpu1: x86 (AuthenticAMD 40FB2 family 15 model 75 step 2 clock 2210 MHz) cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ NFS server moritz not responding still trying <<<<< hangs here / no more progress >>>>> Workaround: Disable the "cpudrv" module; now the domU is able to boot with vcpus=2: extra = '/platform/i86xpv/kernel/amd64/unix -B disable-cpudrv=true -kv' This message posted from opensolaris.org