Skip site navigation (1)Skip section navigation (2)
Date:      3 Dec 1999 19:38:59 -0000
From:      gary@aaa-mainstreet.nl
To:        emulation@freebsd.org
Subject:   VA for Java (linux under BSD)
Message-ID:  <19991203193859.23074.qmail@abc.aaa-mainstreet.nl>

next in thread | raw e-mail | index | archive | help
OK,

The story so far.  I can run X programs from linux machines.  But can't
run VA for Java from IBM.  I've done a ktrace, this time tracing
children, since the previous problem was do to a signal from a child.

I get lots of output.  One suspiscous bit of output looks like this:

  9540 ide      CALL  linux_pipe(0xbfbfd704)
  9540 ide      RET   linux_pipe 0
  9540 ide      CALL  linux_clone(0xf00,0x83088a8)
  9540 ide      RET   linux_clone 9543/0x2547
  9540 ide      CALL  write(0x27,0xbfbfd78c,0x94)
  9540 ide      GIO   fd 39 wrote 148 bytes
  9540 ide      RET   write 148/0x94
  9540 ide      CALL  linux_rt_sigprocmask(0x2,0,0xbfbfd8c4,0x8)
  9540 ide      RET   linux_rt_sigprocmask 0
  9540 ide      CALL  write(0x27,0xbfbfd8b0,0x94)
  9540 ide      GIO   fd 39 wrote 148 bytes
  9540 ide      RET   write 148/0x94
  9540 ide      CALL  linux_rt_sigprocmask(0x2,0,0xbfbfd830,0x8)
  9540 ide      RET   linux_rt_sigprocmask 0
  9540 ide      CALL  #179
  9540 ide      PSIG  SIGSYS SIG_DFL
  9540 ide      NAMI  "ide.core"

What is this linux_clone() business?
Could the program be detecting that it is not running under linux and
bombing out?

Process 9540 is one of the ones dumping core.  In this case,
the other process was 9544, and a grep of 9544 on the linux_kdump
output gives:
                                                                           
  9543 ide      RET   linux_clone 9544/0x2548
  9544 ide      RET   linux_fork 0
  9544 ide      CALL  getpid
  9544 ide      RET   getpid 9544/0x2548
  9544 ide      CALL  linux_rt_sigprocmask(0x2,0xbf3ffedc,0,0x8)
  9544 ide      RET   linux_rt_sigprocmask 0
  9544 ide      CALL  linux_rt_sigaction(0x1d,0xbf3ff9a4,0,0x8)
  9544 ide      RET   linux_rt_sigaction 0
  9544 ide      CALL  linux_rt_sigprocmask(0,0,0xbf3ffba8,0x8)
  9544 ide      RET   linux_rt_sigprocmask 0
  9544 ide      CALL  #179
  9544 ide      PSIG  SIGSYS SIG_DFL
  9544 ide      NAMI  "ide.core"

Other questions:

	Is the linux /proc filesystem implemented correctly under FreeBSD?

	Why can't I find any 'exec's in the kdump output - is this
	program just forking and not exec'ing?  (quite possible I assume,
	I just wanted to check that execs don't appear as something
	else in kdump output).



Any suggestions on where to look now, given the above snippets?

I *must* run VA for Java for my work, and if I can't I have to install
linux :-(

Gary


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




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