Re: ports/166907: repocopy: emulators/linux_base-f10 -> emulators/linux_base-c6

2012-04-14 Thread netchild
Synopsis: repocopy: emulators/linux_base-f10 -> emulators/linux_base-c6

Responsible-Changed-From-To: emulation->portmgr
Responsible-Changed-By: netchild
Responsible-Changed-When: Sat Apr 14 13:36:50 UTC 2012
Responsible-Changed-Why: 
Over to portmgr for action.

http://www.freebsd.org/cgi/query-pr.cgi?pr=166907
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


Re: [PATCH] pipe2 for Linuxulator

2012-04-14 Thread Alexander Leidinger
On Tue, 10 Apr 2012 18:56:43 -0400 Jung-uk Kim  wrote:

> Th attached patch implements pipe2 syscall for Linuxulator, which is 
> quite trivial.  Although it was added in Linux 2.6.27 (thanks, 
> netchild!), it is often used by popular Linux applications, e.g., 
> Adobe Flash plugin.  Please note linux_pipe() was moved from MD files 
> to sys/compat/linux/linux_file.c because both amd64 and i386 versions 
> looked the same and I failed to see any reason.  I also changed file 
> descriptor argument from l_ulong * to l_int *, which seemed more 
> appropriate.  Any objections?

Do you have the resources to run a before/after test of the LTP on
amd64 and i386? This is mostly to make sure the MD -> MI move does not
cause regressions.

Bye,
Alexander.

-- 
http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


Re: [PATCH] pipe2 for Linuxulator

2012-04-14 Thread Alexander Leidinger
On Fri, 13 Apr 2012 20:32:22 + Alexander Best 
wrote:

> i'm having problems with the patch. beforehand, playing music from
> www.mixcloud.com worked. now the flash based player is initialising
> forever.

> just drop me a note with exact instructions and i can give you more
> verbose information or debugging stats. again: this issue might be
> futex related and not a result of your patch.

Are you running -current? If yes I Looks try to get some time to commit
the linuxulator-dtrace probes, now that SDT probes can be loaded
dynamically there is no risk to panic the system when the linuxulator
is loaded after boot and dtrace is used. This could help looking at
problems with locks.

Bye,
Alexander.

-- 
http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


Re: [PATCH] pipe2 for Linuxulator

2012-04-14 Thread Alexander Best
On Sat Apr 14 12, Alexander Leidinger wrote:
> On Fri, 13 Apr 2012 20:32:22 + Alexander Best 
> wrote:
> 
> > i'm having problems with the patch. beforehand, playing music from
> > www.mixcloud.com worked. now the flash based player is initialising
> > forever.
> 
> > just drop me a note with exact instructions and i can give you more
> > verbose information or debugging stats. again: this issue might be
> > futex related and not a result of your patch.
> 
> Are you running -current? If yes I Looks try to get some time to commit
> the linuxulator-dtrace probes, now that SDT probes can be loaded
> dynamically there is no risk to panic the system when the linuxulator
> is loaded after boot and dtrace is used. This could help looking at
> problems with locks.

yes i'm running a very recent HEAD on amd64.

cheers.
alex

> 
> Bye,
> Alexander.
> 
> -- 
> http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
> http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


Re: [PATCH] pipe2 for Linuxulator

2012-04-14 Thread Alexander Leidinger
On Sat, 14 Apr 2012 20:32:56 + Alexander Best 
wrote:

> On Sat Apr 14 12, Alexander Leidinger wrote:
> > On Fri, 13 Apr 2012 20:32:22 + Alexander Best
> >  wrote:
> > 
> > > i'm having problems with the patch. beforehand, playing music from
> > > www.mixcloud.com worked. now the flash based player is
> > > initialising forever.
> > 
> > > just drop me a note with exact instructions and i can give you
> > > more verbose information or debugging stats. again: this issue
> > > might be futex related and not a result of your patch.
> > 
> > Are you running -current? If yes I Looks try to get some time to
> > commit the linuxulator-dtrace probes, now that SDT probes can be
> > loaded dynamically there is no risk to panic the system when the
> > linuxulator is loaded after boot and dtrace is used. This could
> > help looking at problems with locks.
> 
> yes i'm running a very recent HEAD on amd64.

I'm in the process of merging all the new stuff from HEAD into my SVN
branch. With a slow system and a slow line this may take a while. I
hope to at least update my branch in SVN
(users/netchild/linuxulator-dtrace) today. I don't know if I get the
time to merge it to HEAD today.

Bye,
Alexander.

-- 
http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


linuxulator dtrace probes

2012-04-14 Thread Alexander Leidinger
Hi,

can someone please test a little bit
http://www.leidinger.net/FreeBSD/current-patches/linuxulator-dtrace-20120414.diff
on amd64 and i386? Reviews are welcome too. With this you get some
static dtrace probes in the linuxulator and some dtrace scripts which
check for various things in the linuxulator. You need to run a linux
program to test them, off course.

You need to have at least r233552, else you may experience a panic if
you have loaded the linux module after booting and want to do something
with dtrace (even if it is just listing the probes).

The diff is relative to /usr/src/sys.

Bye,
Alexander.

-- 
http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


Re: [PATCH] pipe2 for Linuxulator

2012-04-14 Thread Alexander Leidinger
On Sat, 14 Apr 2012 22:47:46 +0200 Alexander Leidinger
 wrote:

> On Sat, 14 Apr 2012 20:32:56 + Alexander Best
>  wrote:
> 
> > On Sat Apr 14 12, Alexander Leidinger wrote:
> > > On Fri, 13 Apr 2012 20:32:22 + Alexander Best
> > >  wrote:
> > > 
> > > > i'm having problems with the patch. beforehand, playing music
> > > > from www.mixcloud.com worked. now the flash based player is
> > > > initialising forever.
> > > 
> > > > just drop me a note with exact instructions and i can give you
> > > > more verbose information or debugging stats. again: this issue
> > > > might be futex related and not a result of your patch.
> > > 
> > > Are you running -current? If yes I Looks try to get some time to
> > > commit the linuxulator-dtrace probes, now that SDT probes can be
> > > loaded dynamically there is no risk to panic the system when the
> > > linuxulator is loaded after boot and dtrace is used. This could
> > > help looking at problems with locks.
> > 
> > yes i'm running a very recent HEAD on amd64.
> 
> I'm in the process of merging all the new stuff from HEAD into my SVN
> branch. With a slow system and a slow line this may take a while. I
> hope to at least update my branch in SVN
> (users/netchild/linuxulator-dtrace) today. I don't know if I get the
> time to merge it to HEAD today.

Hmmm... do I remember correctly that I already gave a dtrace patch to
you to check for futex problems? I think I changed the locking-probes
since I gave the patch to you, but I'm not sure. Anyway, the patch
against a recent -current is available from
http://www.leidinger.net/FreeBSD/current-patches now.

Bye,
Alexander.

-- 
http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


Re: [PATCH] pipe2 for Linuxulator

2012-04-14 Thread Alexander Best
On Sun Apr 15 12, Alexander Leidinger wrote:
> On Sat, 14 Apr 2012 22:47:46 +0200 Alexander Leidinger
>  wrote:
> 
> > On Sat, 14 Apr 2012 20:32:56 + Alexander Best
> >  wrote:
> > 
> > > On Sat Apr 14 12, Alexander Leidinger wrote:
> > > > On Fri, 13 Apr 2012 20:32:22 + Alexander Best
> > > >  wrote:
> > > > 
> > > > > i'm having problems with the patch. beforehand, playing music
> > > > > from www.mixcloud.com worked. now the flash based player is
> > > > > initialising forever.
> > > > 
> > > > > just drop me a note with exact instructions and i can give you
> > > > > more verbose information or debugging stats. again: this issue
> > > > > might be futex related and not a result of your patch.
> > > > 
> > > > Are you running -current? If yes I Looks try to get some time to
> > > > commit the linuxulator-dtrace probes, now that SDT probes can be
> > > > loaded dynamically there is no risk to panic the system when the
> > > > linuxulator is loaded after boot and dtrace is used. This could
> > > > help looking at problems with locks.
> > > 
> > > yes i'm running a very recent HEAD on amd64.
> > 
> > I'm in the process of merging all the new stuff from HEAD into my SVN
> > branch. With a slow system and a slow line this may take a while. I
> > hope to at least update my branch in SVN
> > (users/netchild/linuxulator-dtrace) today. I don't know if I get the
> > time to merge it to HEAD today.
> 
> Hmmm... do I remember correctly that I already gave a dtrace patch to
> you to check for futex problems? I think I changed the locking-probes
> since I gave the patch to you, but I'm not sure. Anyway, the patch
> against a recent -current is available from
> http://www.leidinger.net/FreeBSD/current-patches now.

yeah you're right. i've applied the patch and compiled and installed the
kernel. i'm not very experienced with dtrace, so i'll need some instructions
on how to proceed.

cheers.
alex

btw: i saw some of these warnings:

ctfconvert -L VERSION -g ieee80211_sta.o
ERROR: ieee80211_sta.c: die 41029: failed to retrieve array bounds

...i hope their aren't anything to worry about.

> 
> Bye,
> Alexander.
> 
> -- 
> http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
> http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"