From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 4 21:59:47 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 093E2106567E; Tue, 4 Nov 2008 21:59:47 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by mx1.freebsd.org (Postfix) with ESMTP id 7086C8FC1C; Tue, 4 Nov 2008 21:59:45 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so3987580fkk.11 for ; Tue, 04 Nov 2008 13:59:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=EW3lw5cI/ECIedx1Ela0LsDJLALLsV9suGyza2FUHnU=; b=L5hLhHsaj0F5jc4d9pLbyyLyQcseWfDruXDCdDqDPpLvaEOXJRqO7TDHkZ39TOzVEU i7iYQriVQ/fVFgQmtuVUCz9T0PrsiMzwN0gems77BnFrb1Lst9bS9B8/HqB58ZzZSEPT xNHvT0JrfZapoSdYOrKNcBNiHSqXN1vn3H0pU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=iXKmWZRxFAqLlJ/N5n5qTG2IB6UIMOXQwD/SuND8dWsuPUO/9up4GNnavQ0U5Hg4nS 6t1jZcotROB5yh65Ufaf7XuSi9YsipS2moFHQxuL1ppEHgpkpnd55OJB5UoTmnZJx6BD L0f39Z//UvLrG6LIoQyTOQF9JF9JIlp8TX+sU= Received: by 10.181.158.3 with SMTP id k3mr23614bko.182.1225835979900; Tue, 04 Nov 2008 13:59:39 -0800 (PST) Received: by 10.181.36.5 with HTTP; Tue, 4 Nov 2008 13:59:39 -0800 (PST) Message-ID: <28283d910811041359obffe74auf0ee5b05b3a4eb6a@mail.gmail.com> Date: Tue, 4 Nov 2008 16:59:39 -0500 From: "matt donovan" To: "Mario Lobo" In-Reply-To: <200811031923.38317.mlobo@digiart.art.br> MIME-Version: 1.0 References: <200810280859.24048@aldan> <20081028181731.GA30591@saturn.kn-bremen.de> <200810302253.m9UMrXdF014739@saturn.kn-bremen.de> <200811031923.38317.mlobo@digiart.art.br> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-emulation@freebsd.org, freebsd-questions@freebsd.org, Juergen Lock Subject: Re: flash9 checklist X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 21:59:47 -0000 On Mon, Nov 3, 2008 at 5:23 PM, Mario Lobo wrote: > On Thursday 30 October 2008 19:53:33 Juergen Lock wrote: > > In article <49086F1A.2090500@comcast.net> you write: > > >Juergen Lock wrote: > > >> Preliminary checklist for getting flash9 to work in native firefox: > > >> (flash10 needs more ports work, I shall post about that seperately on > > >> -emulation...) If you have additions to this please post a followup > to > > >> this thread, keeping the Cc: (I'm not on -questions...) > > >> > > >> 1. You need RELENG_7 from at least Mon Oct 20 11:15:57 2008 UTC > > >> (the relevant MFC commits are: > > >> http://svn.freebsd.org/viewvc/base?view=revision&revision=183819 > > >> http://svn.freebsd.org/viewvc/base?view=revision&revision=184075 > > >> - a recent HEAD should also work of course.) There are linprocfs > > >> patches for RELENG_6 too (merging the former commit), but the latter > > >> commit can't be merged to 6 (and 7.0) since they lack the cpuset bits, > > >> so flash9 probably won't work on SMP there. (Although if you have SMP > > >> you probably should be running 7 anyway. :) Oh and if you do have SMP > > >> you also need to use the ULE scheduler, the cpuset syscalls are not > > >> supported with 4BSD. linprocfs patches for 6: > > >> http://people.freebsd.org/~nox/linprocfs-6.3.patch > > >> http://people.freebsd.org/~nox/linprocfs-6.4.patch > > >> > > >> 2. Your portstree needs to be from at least Sun Oct 19 17:37:28 2008 > UTC > > >> (the last www/linux-flashplugin9 commit is: > > >> > http://lists.freebsd.org/pipermail/cvs-ports/2008-October/158404.html > > >> ) > > >> > > >> 3. Make sure linprocfs is mounted to /compat/linux/proc . > > >> > > >> 4. Make sure www/nspluginwrapper, www/linux-flashplugin9 and > > >> dependencies are installed and up to date(!). (the default > > >> emulators/linux_base-fc4 should work, if you want to use a later one > > >> don't forget to set compat.linux.osrelease=2.6.16 in sysctl.conf and > > >> OVERRIDE_LINUX_BASE_PORT to whichever version you use in make.conf. > > >> Note however that on 6, only the default compat.linux.osrelease=2.4.2 > > >> really works.) > > >> > > >> 5. If the plugin doesnt show up in firefox' about:plugins, run > > >> nspluginwrapper -i > > >> /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so and restart > > >> firefox. > > >> > > >> 6. And remember there's a security advisory for the current version of > > >> flash9, > > >> > http://www.FreeBSD.org/ports/portaudit/78f456fd-9c87-11dd-a55e-00163e00 > > >>0016.html (if you use portaudit you need to `make > > >> -DDISABLE_VULNERABILITIES ...' to be able to install the port), and > fc4 > > >> seems to be eol'd too, so you probably want to install something like > > >> the noscript firefox extension, > > >> https://addons.mozilla.org/en-US/firefox/addon/722 > > >> and only allow plugins (and scripts, tho thats a different problem) on > > >> sites you trust... > > >> > > >> And finally, if you still get crashes after following the above even > > >> on pages that are reported to work now (like youtube) you probably > want > > >> to run `ktrace -di firefox...' and look at the output using > linux_kdump > > >> (thats the devel/linux_kdump port, you want to use a package), paying > > >> specific attention to the lines above `PSIG SIGSEGV' (or whichever > > >> signal you got), maybe there are still shlibs missing that the plugin > > >> needs (NAMI ...something.so...), and if this is the case tell us about > > >> it so the appropriate dependencies can be added to the relevant ports. > > >> If you can't figure it out I guess it doesn't hurt to post the last > > >> few 100 lines of the dump up to the relevant PSIG on -emulation... > > >> > > >> You may also want to check linked shlibs like this: > > >> /compat/linux/bin/sh /compat/linux/usr/bin/ldd > > >> /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so and > > >> /compat/linux/bin/sh /compat/linux/usr/bin/ldd > > >> /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin (if you see > `not > > >> found' in there you know something is wrong) - although that doesn't > > >> show libs that may be dlopen()d at runtime. > > > > > >Thanks for this. I was able to get linux-flashplugin9 working in native > > >Firefox 3.0.3 on FreeBSD 7-STABLE i386. The only additional thing I had > > >to do was copy > > >/usr/X11R6/lib/browser_plugins/npwrapper.libflashplayer.so into > > >~/.mozilla/plugins/ for Firefox to recognize the plugin. > > > > Yeah I forgot to note that you want to run nspluginwrapper -i > > as the user that will run the native browser, not as root, then the > > wrapper will go into ~/.mozilla/plugins/... > > > > > After that > > >Youtube, google video, and google maps (incl. street view) work fine, > > >but slow. A friend of mine with a very similar setup was not so lucky > > >and still has problems with flash9 locking up FF. > > > > Hmm, lockups I haven't seen yet here. > > > > HTH, > > Juergen > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > It works almost perfectly for me ! Thanks for this, Juergen !. > > I had to say "almost perfectly" because in myspace, for instance, it takes > a > while for the "flashies" to start. One thing I noticed is that if I > terminate > FF, npviewer.bin remains loaded and I have to kill it. > > Here is what I've got: > > CPU: Intel(R) Pentium(R) D CPU 3.20GHz (3199.66-MHz 686-class CPU) > real memory = 2146304000 (2046 MB) > nvidia0: on vgapci0 > FreeBSD 7.1-PRERELEASE #3: Wed Oct 29 18:37:07 BRT 2008 (i386) > > kern.ipc.shmmax: 33554432 -> 1036870912 > kern.ipc.shmall: 8192 -> 261072 > compat.linux.osrelease: 2.4.2 -> 2.6.16 > > firefox-3.0.3,1 AND 2.0.0.17 (both work!) > linux_base-fc-4_10 > nspluginwrapper-1.0.0 > linux-flashplugin-9.0r124_2 > > The mtv site worked fine all the way !! Great oldie stuff ! > > -- > Mario Lobo > http://www.mallavoodoo.com.br > FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Mario try linux_base_fc7 it should stop the freezing. but myself I m having issues with audio and can't figure out why.