From owner-freebsd-current@FreeBSD.ORG Sat Mar 27 20:18:29 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3999E1065672; Sat, 27 Mar 2010 20:18:29 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id E8D7E8FC1E; Sat, 27 Mar 2010 20:18:28 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 72FD91E000E3; Sat, 27 Mar 2010 21:18:27 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.3/8.14.3) with ESMTP id o2RK4csN080030; Sat, 27 Mar 2010 21:04:38 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.3/8.14.3/Submit) id o2RK4cFC080029; Sat, 27 Mar 2010 21:04:38 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sat, 27 Mar 2010 21:04:38 +0100 To: freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org Message-ID: <20100327200438.GA79454@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: So I tried a Firefox alpha in the Linuxolator... (unix domain socket patches) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2010 20:18:29 -0000 ...hoping that the out of process plugin code would help the java plugin hangs, but I only got flash working, java still is broken. :( (Java does seem to work in linux-opera so it can't be the Linuxolator's fault alone...) I did have to do some patches first tho because Firefox now uses SO_PASSCRED on unix domain SOCK_SEQPACKET sockets, the first patch is here, I've added some notes at the top that I'll quote: http://people.freebsd.org/~nox/linux-so_passcred.patch --------snip------ Looks like this part from dchagin's patch http://lists.freebsd.org/pipermail/freebsd-emulation/2008-September/005273.html didn't get applied, at least alpha versions of Linux Firefox 3.7 needs it http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ because of this code: http://mxr.mozilla.org/mozilla-central/source/toolkit/crashreporter/google-breakpad/src/client/linux/crash_generation/crash_generation_server.cc#239 That Firefox also needs a small patch to allow setsockopt() with SOCK_SEQPACKET, I've put that here: http://people.freebsd.org/~nox/afunix_seqpacket_sockopt.patch ..and if you aren't running head you also need to merge this commit first: http://svn.freebsd.org/viewvc/base?view=revision&revision=197775 I'v put an 8-stable patch for that here: http://people.freebsd.org/~nox/afunix_seqpacket-8stable.patch (But the java plugin still doesn't work, only flash...) --------snip------ Oh and ff also attempts to use /proc/self/fd which is not yet in stable and the epoll_create syscall which I think isn't even in head yet, but it seems to have fallback code for those so they are not as important. Cheers, Juergen