Date: Thu, 11 Jul 2002 15:07:48 -0700 From: Shannon -jj Behrens <jj@nttmcl.com> To: Don Bowman <don@sandvine.com>, freebsd-stable@freebsd.org, freebsd-java@freebsd.org Subject: linux JRE 1.4 under linux compatibility only runs as root Message-ID: <20020711150748.B14694@alicia.nttmcl.com> In-Reply-To: <20020711214742.C259A37B406@hub.freebsd.org>; from owner-freebsd-stable@FreeBSD.ORG on Thu, Jul 11, 2002 at 02:47:42PM -0700 References: <20020711214742.C259A37B406@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > I know several other people have run into the problem where > > the (Linux) JDK or JRE 1.4 will only run as root. > > Tracing this with 'ktrace', the issue is a statfs call, > > which returns 'RESTART'. I don't see that errno listed on > > the man page for statfs, I guess it must come from the > > linux_statfs in compat/linux. > > > > 48927 java CALL statfs(0xbf1f) > > 48927 java RET statfs RESTART > > OK, after having found out that 'ktrace' isn't appropriate > for linux executables (use truss or linux_kdump), I found that > the culprit is actually: > > linux_sched_getscheduler(0xcb18) ERR#1 'Operation not > permitted' > > when root, this is permitted. When non-root, this is not-permitted. > > Suggestions? Is this a problem with the linux emulation? Or is > there a permissions difference between linux & freebsd here? I'm having the same problem. It looks like this has been discussed on -STABLE, -JAVA, -HACKERS, and -QUESTIONS, but to no avail: <http://www.freebsd.org/cgi/getmsg.cgi?fetch=437107+0+/usr/local/www/db/text/2002/freebsd-bugs/20020519.freebsd-bugs> I'm sorry for the redundant cross-post, but this looks like a hard one to solve. -jj -- Real programmers don't draw flowcharts. Flowcharts are, after all, the illiterate's form of documentation. Cavemen drew flowcharts; look how much good it did them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020711150748.B14694>