Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2007 13:46:31 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-java@FreeBSD.org
Cc:        Ken Yamada <ken@tydfam.jp>
Subject:   Re: Please test the 'current' jdk 1.5 patchset
Message-ID:  <200706061346.44484.jkim@FreeBSD.org>
In-Reply-To: <20070606143847.GA90628@misty.eyesbeyond.com>
References:  <20070605062508.GA46961@misty.eyesbeyond.com> <20070606.152136.74755063.ken@tydfam.jp> <20070606143847.GA90628@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary-00=_DMvZGAsz4n58kuZ
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Wednesday 06 June 2007 10:38 am, Greg Lewis wrote:
> On Wed, Jun 06, 2007 at 03:21:36PM +0900, Ken Yamada wrote:
> >   Thank you! 'lower priority' sounds more comfortable than
> > unsupported.
> >
> >   I still see something wrong with file access on SMP kernel
> > while it works fineon uniprocess kernel.  I created jdk1.5.0-p4
> > on uniprocess kernel using linux-sun-jdk1.5.0 which runs fine,
> > tomcat, jboss4 and eclipse.  However, I rebooted with SMP and ran
> > the same jdk1.5.0-p4 all these three did not start with messages
> > like "cannot access to XXX". SMP kernel does not have any problem
> > in buildworld even with -j's, and it looks like jdk1.5.0 sees
> > file system or permissions differently....
> >
> >   I am using Opteron(dual-core) X 2 - i386 mode, xorg7.2 and
> > gnome2.
>
> What file system are you using?  UFS2 or ZFS?

While you are at it, can you run the attached shell script on the 
build file system and see if it complains?

Jung-uk Kim

--Boundary-00=_DMvZGAsz4n58kuZ
Content-Type: text/plain;
  charset="iso-8859-1";
  name="test-fs.sh"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="test-fs.sh"

#!/bin/sh
TCOUNT=0
TMPFILE=`mktemp ./test-fs.XXXXXX`
if [ $? -ne 0 ]; then
	echo "Test file cannot be created. Exiting." >&2
	exit 1
fi

sighandler() {
	rm -f ${TMPFILE}
	echo
	echo "Test interrupted after ${TCOUNT} runs."
	echo "No problem encountered."
	exit 0
}

echo "Starting open(2)/unlink(2) test."
echo -n "Press ^C to stop the test. "
trap sighandler int
while true; do
	TCOUNT=$(( ${TCOUNT} + 1 ))
	touch ${TMPFILE}
	if [ ! -f ${TMPFILE} ]; then
		echo "Test file does not exist. This is wrong!" >&2
		exit 1
	fi
	rm -f ${TMPFILE}
	if [ -f ${TMPFILE} ]; then
		echo "Test file should not exist. This is wrong!" >&2
		exit 1
	fi
done

--Boundary-00=_DMvZGAsz4n58kuZ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706061346.44484.jkim>