From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Rister Subject: Re: modify_ldt errors on x86_64 Date: Mon, 14 Nov 2005 09:49:45 -0600 Message-ID: <200511140949.45427.kmr@us.ibm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Ian Pratt List-Id: xen-devel@lists.xenproject.org On Saturday 12 November 2005 7:06 am, Ian Pratt wrote: > > I am trying to run some Java tests in a dom0 running on > > x86_64 and I am receiving the following error message: > > > > setupLdt: modify_ldt: Invalid argument > > > > After 2 of these the JVM just hangs and I have to kill it. > > This does not happen when booting the systerm without Xen. I > > have tried several different changesets from the past few > > days and have seen the same thing on all of them. My current > > changeset is 7746. Has anyone else seen this? > > No, this is the first report. > > Which version of Java are you using. Have you a simple test case? "java -version" returns the following on baremetal Linux, this simple test is enough to cause the problem in domain0 java version "1.4.2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2) Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142sr1a-20050209 (JIT enabled: jitc)) An strace on the java process shows these two messages being dumped over and over again in a loop: rt_sigprocmask(SIG_UNBLOCK, [ILL TRAP BUS FPE SEGV], ~[KILL USR2 STOP RTMIN RT_1], 8) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- > > Can you repro in domain0? As noted above, yes. > > Have you modified the default kernel config? Yes. The following options were appended to the kernel config file: CONFIG_MD=y CONFIG_BLK_DEV_MD=y CONFIG_MD_LINEAR=y CONFIG_MD_RAID0=y CONFIG_MD_RAID1=y CONFIG_MD_RAID5=y CONFIG_BLK_DEV_DM=y CONFIG_ACPI=y CONFIG_AGP=n CONFIG_SCSI_FC_ATTRS=y CONFIG_SCSI_QLA2300=y CONFIG_FUSION=y CONFIG_FUSION_CTL=y CONFIG_E1000=m CONFIG_PROFILING=y CONFIG_OPROFILE=m CONFIG_TIGON3=m CONFIG_CRYPTO=n CONFIG_CRYPTO_CRC32C=n CONFIG_CRC32=n CONFIG_LIBCRC32C=n CONFIG_SCSI_ADP94XX=y > > Thanks, > Ian > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel -- Karl Rister