[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [dsdp-tm-dev] Problems With rseserver on FreeBSD
|
Excellent!
Perhaps we should add the "-p" for Linux specifically only,
and have all other OS's do without the -p.
Looking forward to your bug.
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
> -----Original Message-----
> From: dsdp-tm-dev-bounces@xxxxxxxxxxx
> [mailto:dsdp-tm-dev-bounces@xxxxxxxxxxx] On Behalf Of Ryan Ware
> Sent: Montag, 23. März 2009 16:55
> To: Target Management developer discussions
> Subject: Re: [dsdp-tm-dev] Problems With rseserver on FreeBSD
>
> Thanks Martin. I dug out the issue and now seem to have a working
> connection. :-) I'll still set up a request in the
> Bugzilla, but the
> issue seems to be that "-p" option to the 'su' command is not
> supported in FreeBSD. I added "freebsd" to the list of OS's
> (aix & HP-
> UX) that use an alternative option set and things work fine.
>
> I'll get the request in tonight.
>
> Ryan
>
> On Mar 23, 2009, at 4:46 PM, Oberhuber, Martin wrote:
>
> > Yes,
> >
> > first question is whether auth.pl is actually called. You can put
> > in some Perl equivalent to
> >
> > echo "I'm called" > /tmp/tracing.txt
> >
> > If it's called, look at the arguments being used. You can then
> > exect he very same command on comand-line to see what's going wrong.
> >
> > Cheers,
> > --
> > Martin Oberhuber, Senior Member of Technical Staff, Wind River
> > Target Management Project Lead, DSDP PMC Member
> > http://www.eclipse.org/dsdp/tm
> >
> >
> >
> >> -----Original Message-----
> >> From: dsdp-tm-dev-bounces@xxxxxxxxxxx
> >> [mailto:dsdp-tm-dev-bounces@xxxxxxxxxxx] On Behalf Of Ryan Ware
> >> Sent: Montag, 23. März 2009 16:28
> >> To: Target Management developer discussions
> >> Subject: Re: [dsdp-tm-dev] Problems With rseserver on FreeBSD
> >>
> >> Thanks Martin. Will do. I appreciate the response. And yes, I'm
> >> using the rseserver-unix package. I'l also try instrumenting the
> >> auth.pl script to see if I can figure anything out by the
> >> time I file
> >> the Enhancement request.
> >>
> >> Ryan
> >>
> >> On Mar 23, 2009, at 4:23 PM, Oberhuber, Martin wrote:
> >>
> >>> Ryan,
> >>>
> >>> here is what I think you need to do:
> >>>
> >>> 1. Try if it happens to work with rseserver-unix
> >>>
> >>> 2. If not, file an Enhancement request on bugzilla, asking
> >>> for adding FreeBSD support to dstore:
> >>>
> >> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Target%20M
> >> anagement&component=RSE
> >>>
> >>> 3. Further communication / discussons should be on the bug.
> >>> We'll help you there get the issue resolved. Most likely
> >>> you'll need to checkout the code from CVS:
> >>> http://www.eclipse.org/dsdp/tm/development/cvs_setup.php
> >>>
> >>> then search where auth.pl or auth.sh is called, and either
> >>> fix the call or the auth script itself for FreeBSD.
> >>>
> >>> Cheers,
> >>> --
> >>> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> >>> Target Management Project Lead, DSDP PMC Member
> >>> http://www.eclipse.org/dsdp/tm
> >>>
> >>>
> >>>
> >>>> -----Original Message-----
> >>>> From: dsdp-tm-dev-bounces@xxxxxxxxxxx
> >>>> [mailto:dsdp-tm-dev-bounces@xxxxxxxxxxx] On Behalf Of
> Ware, Ryan R
> >>>> Sent: Montag, 23. März 2009 14:02
> >>>> To: dsdp-tm-dev@xxxxxxxxxxx
> >>>> Subject: [dsdp-tm-dev] Problems With rseserver on FreeBSD
> >>>>
> >>>> Hello All,
> >>>>
> >>>> I'm a bit of a newbie with Eclipse in general and RSE
> specifically.
> >>>> I'm trying to get remote C/C++ development working with
> >>>> dstore. I've
> >>>> been pretty successful so far doing this with a Linux
> system, but I
> >>>> also do some development on FreeBSD and there's the difficulty.
> >>>>
> >>>> I've been able to get the connection to Linux working without any
> >>>> issues, but seemingly been having issues with rseserver
> on FreeBSD.
> >>>> Any suggestion on how to fix or debug this would be helpful.
> >>>>
> >>>> I've set java on both the Linux system and FreeBSD
> system to be as
> >>>> verbose as I know how. The flow on both systems is
> >> mirrored all the
> >>>> way to the following point:
> >>>>
> >>>> [Loaded java.lang.Process from
> /usr/local/jdk1.6.0/jre/lib/rt.jar]
> >>>> [Loaded java.lang.UNIXProcess from /usr/local/jdk1.6.0/jre/lib/
> >>>> rt.jar]
> >>>> [Dynamic-linking native method
> >> java.lang.UNIXProcess.initIDs ... JNI]
> >>>> [Loaded java.lang.UNIXProcess$Gate from
> >> /usr/local/jdk1.6.0/jre/lib/
> >>>> rt.jar]
> >>>> [Loaded java.lang.UNIXProcess$1 from
> >>>> /usr/local/jdk1.6.0/jre/lib/rt.jar]
> >>>> [Loaded java.lang.UNIXProcess$1$1 from
> /usr/local/jdk1.6.0/jre/lib/
> >>>> rt.jar]
> >>>> [Dynamic-linking native method
> >> java.lang.UNIXProcess.forkAndExec ...
> >>>> JNI]
> >>>> [Loaded java.lang.UNIXProcess$1$1$1 from
> >> /usr/local/jdk1.6.0/jre/lib/
> >>>> rt.jar]
> >>>> [Dynamic-linking native method
> >>>> java.lang.UNIXProcess.waitForProcessExit ... JNI]
> >>>>
> >>>> Unfortunately, behavior diverges at that point. On the Linux
> >>>> system I
> >>>> see "Launched new server on 10000". On the FreeBSD system, the
> >>>> following shows:
> >>>>
> >>>> [Dynamic-linking native method
> >>>> java.net.SocketOutputStream.socketWrite0 ... JNI]
> >>>> [Dynamic-linking native method
> >>>> java.net.PlainSocketImpl.socketClose0 ... JNI]
> >>>> [Dynamic-linking native method
> >>>> java.lang.UNIXProcess.destroyProcess ... JNI]
> >>>> [Dynamic-linking native method
> >>>> java.io.FileOutputStream.close0 ... JNI]
> >>>>
> >>>> My assumption is that whatever code was launched with the
> >>>> forkAndExec
> >>>> a few lines up immediately died so the waitForProcessExit happens
> >>>> immediately. However, I'm not Java savvy enough to root
> >> cause it to
> >>>> that as opposed to some issue with waitForProcessExit.
> >>>>
> >>>> Any suggestions on where to go from here would be helpful.
> >> Assundry
> >>>> version info:
> >>>>
> >>>> rseserver: both 1.0 and N20090319 for UNIX
> >>>> eclipse: 3.4.2 for MacOS
> >>>> java: 1.6.0_03-p4, 1.6.0_07 and 1.5.0_16-p9
> >>>>
> >>>> Thanks,
> >>>>
> >>>> Ryan
> >>>> _______________________________________________
> >>>> dsdp-tm-dev mailing list
> >>>> dsdp-tm-dev@xxxxxxxxxxx
> >>>> https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev
> >>>>
> >>> _______________________________________________
> >>> dsdp-tm-dev mailing list
> >>> dsdp-tm-dev@xxxxxxxxxxx
> >>> https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev
> >>
> >> _______________________________________________
> >> dsdp-tm-dev mailing list
> >> dsdp-tm-dev@xxxxxxxxxxx
> >> https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev
> >>
> > _______________________________________________
> > dsdp-tm-dev mailing list
> > dsdp-tm-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev
>
> _______________________________________________
> dsdp-tm-dev mailing list
> dsdp-tm-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev
>