From owner-freebsd-emulation@FreeBSD.ORG Sun May 3 13:43:35 2009 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 A49AE106564A for ; Sun, 3 May 2009 13:43:35 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 0AFA68FC0C for ; Sun, 3 May 2009 13:43:34 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M0byf-0000T0-Kp; Sun, 03 May 2009 17:43:33 +0400 To: Pieter Donche References: From: Boris Samorodov Date: Sun, 03 May 2009 17:43:35 +0400 In-Reply-To: (Pieter Donche's message of "Fri\, 1 May 2009 11\:37\:11 +0200 \(CEST\)") Message-ID: <90901480@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: acroread9 and 8 not working 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: Sun, 03 May 2009 13:43:35 -0000 On Fri, 1 May 2009 11:37:11 +0200 (CEST) Pieter Donche wrote: > I have FreeBSD7/amd64 with linux_base-fc-4_14 Base set of packages needed > in Linux mode (for i386/amd64) > In /etc/rc.conf there I have linux_enable="YES" > Checked (from FreeBSD book chapter 10.2) > # kldstat > Id Refs Address Size Name > 1 7 0xffffffff80100000 ac7708 kernel > 2 1 0xffffffffb08e0000 18aea linux.ko > 3 1 0xffffffffb09cb000 496 star_saver.ko > I installed acroread9-9.1.0_2 (no errors) Acroread9 doesn't work even with current, some linux syscalls are missing. > # cd /usr/ports/print/acroread9 > # make install clean > OK. > but at > $ acroread & > I get: > (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module > file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory > (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: > Image type 'xpm' is not supported > (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module > file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory > (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: > Image type 'xpm' is not supported > (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module > file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory > (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: > Image type 'xpm' is not supported > (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion > `G_IS_OBJECT (object)' failed > (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion > `G_IS_OBJECT (object)' failed > (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion > `G_IS_OBJECT (object)' failed > (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion > `G_IS_OBJECT (object)' failed > (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion > `G_IS_OBJECT (object)' failed > (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion > `G_IS_OBJECT (object)' failed > (acroread:67581): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion > `GDK_IS_PIXBUF (pixbuf)' failed > (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion > `pixbuf != NULL' failed > (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: > assertion `pixbuf != NULL' failed > (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion > `pixbuf != NULL' failed > (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: > assertion `pixbuf != NULL' failed > (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion > `pixbuf != NULL' failed > (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: > assertion `pixbuf != NULL' failed > (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module > file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory > (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: > Image type 'xpm' is not supported > (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module > file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory > (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: > Image type 'xpm' is not supported > (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module > file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory > (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: > Image type 'xpm' is not supported > (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion > `G_IS_OBJECT (object)' failed > (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion > `G_IS_OBJECT (object)' failed > (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion > `G_IS_OBJECT (object)' failed > (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion > `G_IS_OBJECT (object)' failed > (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion > `G_IS_OBJECT (object)' failed > (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion > `G_IS_OBJECT (object)' failed > (acroread:67581): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion > `GDK_IS_PIXBUF (pixbuf)' failed > (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion > `pixbuf != NULL' failed > (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: > assertion `pixbuf != NULL' failed > (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion > `pixbuf != NULL' failed > (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: > assertion `pixbuf != NULL' failed > (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion > `pixbuf != NULL' failed > (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: > assertion `pixbuf != NULL' failed > (acroread:67581): Pango-WARNING **: No builtin or dynamically loaded > modules were found. Pango will not work correctly. This probably means > there was an error in the creation of: > '/etc/pango/pango.modules' > You may be able to recreate this file by running pango-querymodules. > (acroread:67581): Pango-CRITICAL **: _pango_engine_shape_shape: > assertion `PANGO_IS_FONT (font)' failed > Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: > (glyphs->num_glyphs > 0) > aborting... > [1]+ Exit 1 acroread > I do have: > /usr/compat/linux/etc/pango > drwxr-xr-x 2 root wheel 512 Apr 24 09:51 i686-redhat-linux-gnu > -rw-r--r-- 1 root wheel 11446 Apr 24 09:50 pangox.aliases > I tried with pkg_delete acroread9 and installing acroread8 from ports > - same problem. > What is wrong and how to remedy ? But acroread8 should be OK. I've just installed a vanilla 7-STABLE and acroread8 -- it just works. Can't say what's wrong with your system, but general recommendation here is to remove all linux applications/ports, unmount linux filesystems, remove /compat/linux/*, make clean print/acroread8, install it (and other linux applications), mount needed linux file systems. The ports infrastructure should DTRT. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Sun May 3 19:46:23 2009 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 0C470106566B for ; Sun, 3 May 2009 19:46:23 +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 BBF408FC16 for ; Sun, 3 May 2009 19:46:21 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 6EE271E00044; Sun, 3 May 2009 21:47:37 +0200 (CEST) Received: from triton.kn-bremen.de (noident@localhost [127.0.0.1]) by triton.kn-bremen.de (8.14.3/8.14.3) with ESMTP id n43JbDYP048945 for ; Sun, 3 May 2009 21:37:13 +0200 (CEST) (envelope-from nox@triton.kn-bremen.de) Received: (from nox@localhost) by triton.kn-bremen.de (8.14.3/8.14.3/Submit) id n43JbDH7048944 for freebsd-emulation@FreeBSD.org; Sun, 3 May 2009 21:37:13 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 3 May 2009 21:37:13 +0200 To: freebsd-emulation@FreeBSD.org Message-ID: <20090503193713.GA48793@triton.kn-bremen.de> References: <20090501205743.GA47177@triton.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090501205743.GA47177@triton.kn-bremen.de> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Subject: Re: want to test a qemu head snapshot (now 20090503_21)? 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: Sun, 03 May 2009 19:46:23 -0000 On Fri, May 01, 2009 at 10:57:43PM +0200, Juergen Lock wrote: > I haven't tested this much myself yet but so far it still seems to work: > http://people.freebsd.org/~nox/qemu/qemu-devel-20090501.patch > > Some patches could use cleanup tho, and bsd-user currently doesn't build. I've made another one, mainly to catch up with vnc-related commits: http://people.freebsd.org/~nox/qemu/qemu-devel-20090503.patch I hope vnc works better now... Juergen From owner-freebsd-emulation@FreeBSD.ORG Mon May 4 11:02:31 2009 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 328C0106566C for ; Mon, 4 May 2009 11:02:31 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id E251B8FC0C for ; Mon, 4 May 2009 11:02:30 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M0vwL-000G2q-Fm; Mon, 04 May 2009 15:02:29 +0400 To: yuri@rawbw.com References: <49FEBA7A.9030708@rawbw.com> From: Boris Samorodov Date: Mon, 04 May 2009 15:02:31 +0400 In-Reply-To: <49FEBA7A.9030708@rawbw.com> (yuri@rawbw.com's message of "Mon\, 04 May 2009 02\:50\:50 -0700") Message-ID: <12332424@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org Subject: Re: Skype got broken after the new linux ports infrastructure is introduced 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: Mon, 04 May 2009 11:02:31 -0000 (CCing to emulation@ ML) On Mon, 04 May 2009 02:50:50 -0700 Yuri wrote: > Hi, > Looks like outgoing skype calls are broken after the switch to the new > infrastructure. > Symptom is that time counter of the call counts seconds with much > lower than 1Hz frequency and all outgoing calls disconnect after 1 > minute. > Did linux libraries change with the infrastructure switch? > Skype binary itself didn't change. Before the switch it was working > and now I am have this problem. > Do you know what might be the cause of this problem? Can abybody comment on this? > Thank you, > Yuri WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Mon May 4 11:07:46 2009 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 3238D10656B2 for ; Mon, 4 May 2009 11:07:46 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E43A68FC16 for ; Mon, 4 May 2009 11:07:45 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n44B7jPT098512 for ; Mon, 4 May 2009 11:07:45 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n44B7iM8098505 for freebsd-emulation@FreeBSD.org; Mon, 4 May 2009 11:07:44 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 May 2009 11:07:44 GMT Message-Id: <200905041107.n44B7iM8098505@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-emulation@FreeBSD.org 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: Mon, 04 May 2009 11:07:46 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/130724 emulation [linprocfs] [patch] cpuinfo in linprocfs is dated, cau o kern/129169 emulation [linux] [patch] Linux Emulation ENOTCONN error using n f ports/127018 emulation Linuxulator incapable of using FreeBSD's LDAP environm o kern/126232 emulation [linux] Linux ioctl TCGETS (0x5401) always fails o ports/121800 emulation x11-toolkits/linux-openmotif - OpenMotif upgrade to 2. o kern/97326 emulation [linux] file descriptor leakage in linux emulation o ports/91318 emulation graphics/linux_dri: works on amd64 too o kern/91293 emulation [svr4] [patch] *Experimental* Update to the SVR4 emula o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/56451 emulation [linprocfs] /compat/linux/proc/cpuinfo gives wrong CPU o kern/41543 emulation [patch] [request] easier wine/w23 support o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 16 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon May 4 20:40:29 2009 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 73974106566B for ; Mon, 4 May 2009 20:40:29 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 3164D8FC0A for ; Mon, 4 May 2009 20:40:28 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from p578b68b8.dip0.t-ipconnect.de ([87.139.104.184] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1M14xa-0001ji-9w; Mon, 04 May 2009 22:40:22 +0200 Message-ID: <49FF52AC.7040703@gwdg.de> Date: Mon, 04 May 2009 22:40:12 +0200 From: Rainer Hurling User-Agent: Thunderbird 2.0.0.21 (X11/20090404) MIME-Version: 1.0 To: Nikos Ntarmos References: <49E98C97.9080602@gwdg.de> <91071496@serv3.int.kfs.ru> <49F4A031.5010500@gwdg.de> <200905041055.17812.jhb@freebsd.org> <49FF4A99.30605@gwdg.de> <20090504202025.GA24086@ace.cs.uoi.gr> In-Reply-To: <20090504202025.GA24086@ace.cs.uoi.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-emulation@freebsd.org Subject: Re: [not completely SOLVED] acroread8 does not print any more 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: Mon, 04 May 2009 20:40:29 -0000 Thanks, Nikos, but I tried this first before opening the thread. Unfortunately it does not solve the problem, no printing. Rainer Hurling On 04.05.2009 22:20 (UTC+2), Nikos Ntarmos wrote: > Hi there Rainer. > > Could you try moving ~/.adobe/Acrobat out of the way and retry > printing? > > Cheers. > > \n\n From owner-freebsd-emulation@FreeBSD.ORG Mon May 4 21:13:14 2009 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 2E5CD1065730 for ; Mon, 4 May 2009 21:13:13 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1CD298FC0C for ; Mon, 4 May 2009 21:13:13 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id B338646B64; Mon, 4 May 2009 17:13:12 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id A91E68A022; Mon, 4 May 2009 17:13:11 -0400 (EDT) From: John Baldwin To: Rainer Hurling Date: Mon, 4 May 2009 17:12:18 -0400 User-Agent: KMail/1.9.7 References: <49E98C97.9080602@gwdg.de> <200905041055.17812.jhb@freebsd.org> <49FF4A99.30605@gwdg.de> In-Reply-To: <49FF4A99.30605@gwdg.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905041712.18862.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 04 May 2009 17:13:11 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: freebsd-emulation@freebsd.org Subject: Re: [not completely SOLVED] acroread8 does not print any more 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: Mon, 04 May 2009 21:13:15 -0000 On Monday 04 May 2009 4:05:45 pm Rainer Hurling wrote: > John, thank you for answering. > > On 04.05.2009 16:55 (UTC+2), John Baldwin wrote: > > On Sunday 26 April 2009 1:56:01 pm Rainer Hurling wrote: > >> A few days ago I reported about problems when I try to print from > >> acroread8. For all but one of my systems the problem is solved now, see > >> below. > >> > >> On one system I also totally cleaned up the linux emulator part and > >> installed everything from the scratch. Now when I try to print I get the > >> following message: > >> > >> --------------------------------------------------------------- > >> Beim Drucken ist folgender Fehler aufgetreten... > >> '/libexec/ld-elf.so.1: /usr/local/lib/compat/libc.so.6: version > >> GLIBC_2.2.4 required by /usr/local/Adobe/Reader8/DEU/ > >> Adobe/Reader8/Reader/intellinux/lib/libgcc_s.so.1 not > >> defined' > >> --------------------------------------------------------------- > >> > >> libc.so.6 is from misc/compat6x. I am not able to detect any relevant > >> differences between my systems. > > > > You need a Linux libc.so.6 in /compat/linux. You need to install an RPM that > > contains this into /compat/linux (probably called something > > like 'compat-libc'). Probably it would be nice to have a port for this (or > > include it in the linux base port) for acroread8 to depend on. I think this > > is a ports@ issue though. > > > > On /compat/linux/lib I have 'libc-2.7.so' and a link 'libc.so.6 -> > libc-2.7.so'. > > #pkg_info -W /compat/linux/lib/libc-2.7.so > /compat/linux/lib/libc-2.7.so was installed by package linux_base-f8-8_11 > > But there is another libc.so.6: > > #pkg_info -W /usr/local/lib/compat/libc.so.6 > /usr/local/lib/compat/libc.so.6 was installed by package > compat6x-i386-6.4.604000.200810 > > I have the CURRENT systems with, as far as I can see, exact the same > configuration. On all my other systems printing from acroread8 is ok. > Because of that I opened this thread :-( > > I have no idea where to look next, I wonder if this is the problem of /usr/local/lib/compat being earlier in the ld include path than /lib? Do you have LD_LIBRARY_PATH set at all? -- John Baldwin From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 05:10:55 2009 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 890F4106564A; Tue, 5 May 2009 05:10:55 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 1AAC08FC13; Tue, 5 May 2009 05:10:54 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from p578b68b8.dip0.t-ipconnect.de ([87.139.104.184] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1M1Cvd-0004GZ-7l; Tue, 05 May 2009 07:10:53 +0200 Message-ID: <49FFCA54.6050800@gwdg.de> Date: Tue, 05 May 2009 07:10:44 +0200 From: Rainer Hurling User-Agent: Thunderbird 2.0.0.21 (X11/20090404) MIME-Version: 1.0 To: John Baldwin References: <49E98C97.9080602@gwdg.de> <200905041055.17812.jhb@freebsd.org> <49FF4A99.30605@gwdg.de> <200905041712.18862.jhb@freebsd.org> In-Reply-To: <200905041712.18862.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-emulation@freebsd.org Subject: Re: [not completely SOLVED] acroread8 does not print any more 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, 05 May 2009 05:10:55 -0000 On 04.05.2009 23:12 (UTC+2), John Baldwin wrote: > On Monday 04 May 2009 4:05:45 pm Rainer Hurling wrote: >> John, thank you for answering. >> >> On 04.05.2009 16:55 (UTC+2), John Baldwin wrote: >>> On Sunday 26 April 2009 1:56:01 pm Rainer Hurling wrote: >>>> A few days ago I reported about problems when I try to print from >>>> acroread8. For all but one of my systems the problem is solved now, see >>>> below. >>>> >>>> On one system I also totally cleaned up the linux emulator part and >>>> installed everything from the scratch. Now when I try to print I get the >>>> following message: >>>> >>>> --------------------------------------------------------------- >>>> Beim Drucken ist folgender Fehler aufgetreten... >>>> '/libexec/ld-elf.so.1: /usr/local/lib/compat/libc.so.6: version >>>> GLIBC_2.2.4 required by /usr/local/Adobe/Reader8/DEU/ >>>> Adobe/Reader8/Reader/intellinux/lib/libgcc_s.so.1 not >>>> defined' >>>> --------------------------------------------------------------- >>>> >>>> libc.so.6 is from misc/compat6x. I am not able to detect any relevant >>>> differences between my systems. >>> You need a Linux libc.so.6 in /compat/linux. You need to install an RPM > that >>> contains this into /compat/linux (probably called something >>> like 'compat-libc'). Probably it would be nice to have a port for this > (or >>> include it in the linux base port) for acroread8 to depend on. I think > this >>> is a ports@ issue though. >>> >> On /compat/linux/lib I have 'libc-2.7.so' and a link 'libc.so.6 -> >> libc-2.7.so'. >> >> #pkg_info -W /compat/linux/lib/libc-2.7.so >> /compat/linux/lib/libc-2.7.so was installed by package linux_base-f8-8_11 >> >> But there is another libc.so.6: >> >> #pkg_info -W /usr/local/lib/compat/libc.so.6 >> /usr/local/lib/compat/libc.so.6 was installed by package >> compat6x-i386-6.4.604000.200810 >> >> I have the CURRENT systems with, as far as I can see, exact the same >> configuration. On all my other systems printing from acroread8 is ok. >> Because of that I opened this thread :-( >> >> I have no idea where to look next, > > I wonder if this is the problem of /usr/local/lib/compat being earlier in the > ld include path than /lib? Do you have LD_LIBRARY_PATH set at all? > No, I have not set LD_LIBRARY_PATH. Rainer Hurling From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 05:51:23 2009 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 820FF1065672 for ; Tue, 5 May 2009 05:51:23 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 410748FC0A for ; Tue, 5 May 2009 05:51:22 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M1DYn-0004AX-PW for freebsd-emulation@FreeBSD.org; Tue, 05 May 2009 09:51:21 +0400 To: freebsd-emulation@FreeBSD.org From: Boris Samorodov Date: Tue, 05 May 2009 09:51:21 +0400 Message-ID: <81924694@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 05:51:23 -0000 Hello List, I'm working on Fedora 10 ports and almost all is fine (even google-earth seems to work)... But there is no resolving. I managed to find the culprit. Here it is: ----- bb% uname -a FreeBSD bb.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Apr 30 09:15:06 MSD 2009 root@bb.ipt.ru:/usr/obj/usr/src/sys/BB i386 bb% pkg_info -xI linux linux-f10-atk-1.24.0 Accessibility Toolkit, Linux/i386 binary (Linux Fedora 10) linux-f10-cairo-1.8.0 Vector graphics library Cairo (Linux Fedora 10) linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing library (Linux linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X Windows (Linux Fe linux-f10-gtk2-2.14.7 GTK+ library, version 2.X (Linux Fedora 10) linux-f10-hicolor-icon-theme-0.5 A high-color icon theme shell from the FreeDesktop project linux-f10-iputils-20071127 PLEASE, place a comment here linux-f10-jpeg-6b RPM of the JPEG lib (Linux Fedora 10) linux-f10-libcap-2.10 PLEASE, place a comment here linux-f10-libidn-0.6.14 Internationalized Domain Name support library (Linux Fedora linux-f10-pango-1.22.3 The pango library (Linux Fedora 10) linux-f10-png-1.2.35 RPM of the PNG lib (Linux Fedora 10) linux-f10-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora 10) linux-f10-xorg-libs-7.4 Xorg libraries (Linux Fedora 10) linux-seamonkey-1.1.16 The open source, standards compliant web browser linux_base-f10-10 Base set of packages needed in Linux mode for i386/amd64 (L linux_kdump-1.5_2 Linux-compatability ktrace.out processor bb% truss /compat/linux/bin/ping www.ru | head -3 linux_brk(0x0,0x33c71fd0,0x8049570,0xbfebfbff,0xbfbfffac,0x6) = 134631424 (0x8065000) linux_newuname(0xbfbfe3de,0x33c72284,0x33c71fd0,0x33c72648,0x33c72648,0x6) = 0 (0x0) linux_access(0x33c6db54,0x4,0x33c71fd0,0x33c6db54,0x33c72630,0x6) ERR#2 'No such file or directory' linux_open("/etc/ld.so.cache",0x0,00) = 3 (0x3) linux_fstat64(0x3,0xbfbfe01c,0x33c71fd0,0xffffffff,0x3,0x6) = 0 (0x0) linux_mmap2(0x0,0x2f0e,0x1,0x2,0x3,0x6) = 868691968 (0x33c73000) close(3) = 0 (0x0) linux_open("/lib/libidn.so.11",0x0,01001104535) = 3 (0x3) read(3,"\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0"...,512) = 512 (0x200) linux_fstat64(0x3,0xbfbfe084,0x33c71fd0,0x3,0x1,0x6) = 0 (0x0) [...] linux_open("/lib/libresolv.so.2",0x0,06370573370) = 3 (0x3) read(3,"\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0"...,512) = 512 (0x200) linux_fstat64(0x3,0xbfbfdd34,0x33c71fd0,0x3,0x2,0x6) = 0 (0x0) linux_mmap2(0x0,0x16848,0x5,0x802,0x3,0x6) = 870539264 (0x33e36000) linux_mmap2(0x33e49000,0x2000,0x3,0x812,0x3,0x6) = 870617088 (0x33e49000) linux_mmap2(0x33e4b000,0x1848,0x3,0x32,0xffffffff,0x6) = 870625280 (0x33e4b000) close(3) = 0 (0x0) linux_mprotect(0x33e49000,0x1000,0x1,0x807fe70,0x807fe70,0x6) = 0 (0x0) linux_mprotect(0x33e34000,0x1000,0x1,0x807fbf8,0x807fbf8,0x6) = 0 (0x0) munmap(0x33c73000,12046) = 0 (0x0) gettimeofday({1241502125.038245 },0x0) = 0 (0x0) linux_socketcall(0x1,0xbfbfd218,0x33e49ff4,0x80802c8,0x0,0x6) ERR#43 'Protocol not supported' gettimeofday({1241502125.038387 },0x0) = 0 (0x0) linux_socketcall(0x1,0xbfbfd218,0x33e49ff4,0x80802c8,0x0,0x6) ERR#43 'Protocol not supported' ping: unknown host www.ru write(2,"ping: unknown host www.ru\n",26) = 26 (0x1a) process exit, rval = 2 ----- Ktrace/linux_kdump gives this: ----- 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) 48833 ping RET linux_socketcall -1 errno 93 Unknown error: 93 48833 ping CALL gettimeofday(0xbfbfd2e0,0) 48833 ping RET gettimeofday 0 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) 48833 ping RET linux_socketcall -1 errno 93 Unknown error: 93 48833 ping CALL write(0x2,0xbfbfbf48,0x1a) 48833 ping GIO fd 2 wrote 26 bytes "ping: unknown host www.ru " 48833 ping RET write 26/0x1a 48833 ping CALL linux_exit_group(0x2) ---- If we manage to solve this, I'd say we are ready for f10. Thanks. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 07:59:02 2009 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 2FAE3106566B for ; Tue, 5 May 2009 07:59:02 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx10.syd.optusnet.com.au (fallbackmx10.syd.optusnet.com.au [211.29.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id B4B6C8FC23 for ; Tue, 5 May 2009 07:59:01 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail34.syd.optusnet.com.au (mail34.syd.optusnet.com.au [211.29.133.218]) by fallbackmx10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n457mVGx032561 for ; Tue, 5 May 2009 17:48:31 +1000 Received: from server.vk2pj.dyndns.org (c122-106-216-167.belrs3.nsw.optusnet.com.au [122.106.216.167]) by mail34.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n457mS16008902 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 5 May 2009 17:48:28 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id n457mRYX094052 for ; Tue, 5 May 2009 17:48:27 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id n457mRVG094051 for freebsd-emulation@freebsd.org; Tue, 5 May 2009 17:48:27 +1000 (EST) (envelope-from peter) Date: Tue, 5 May 2009 17:48:27 +1000 From: Peter Jeremy To: freebsd-emulation@freebsd.org Message-ID: <20090505074827.GA93977@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Flash issues on -current/i386 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, 05 May 2009 07:59:02 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I am trying to get flash running inside Firefox, primarily to be able to watch streaming video on my system running a 2-week old -current. I've tried enabling Linux 2.6.16 and installed Flash10 - this mostly works for youtube but fails for www.abc.net.au/iview (this link may not work outside .au) - reporting continual connection failures. (Audio does work though). I then tried revering to flash9 (still with 2.6.16 and fc8). This can successfully display video from both youtube and iview but has no audio - it consistently reports the following: ALSA lib confmisc.c:768:(parse_card) cannot find card '0' ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver r= eturned error: No such device ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat return= ed error: No such device ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returne= d error: No such device ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default ALSA lib pcm_hw.c:1207:(_snd_pcm_hw_open) Invalid value for card I tried installing the Linux binary for Firefox 3.0.10 with the same results. A search for the above error comes up with lots of hits but I haven't managed to find a resolution yet. Can anyone offer a solution (or some pointers on how to trace exactly what it is doing)? Please copy me on any responses. --=20 Peter Jeremy --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkn/70sACgkQ/opHv/APuIeaQwCgj+7yth/DLUHtFkQj59y7qEJS V7gAnArrQv58PsZr3AJHzKFHcNXXtUeq =mmTy -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 12:50:12 2009 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 3D70B106566B for ; Tue, 5 May 2009 12:50:12 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id D45398FC08 for ; Tue, 5 May 2009 12:50:11 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E3AD.dip.t-dialin.net [217.226.227.173]) by redbull.bpaserver.net (Postfix) with ESMTP id 913282E15C; Tue, 5 May 2009 14:50:03 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 07B9A5F8B4; Tue, 5 May 2009 14:49:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1241527797; bh=R2wYAAtLED0EwdsktO2l6whBUZeqiwW7svC5FQXvh+I=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=I1X6CW76fwbhODvf5rm1vogbjuXF9ktZWgtVrCNZEAQDKxH6rFdGQcU+29eU5TYRH ee5GPRpiFEoyzxJkVO/AYZGjJllMJYlv+FZsG+ezubTrfSRZSe/WJ2tmItPdFdpvIm GbOienwT2tSt/sdMggjD6D24Phc06hPAFH0zPAw/aQj7P3DsyHD46Bb0Tn+f0ftBzO VolroDgYkbaYggwD+3TOzGpo3RT7MjTmXJSg8WG21YFcBHjiWZF8/BZeUgDp83AsgG AADMrkQWlcx5O+3uPbTYm/Wb8TMAhplXvMjuxIpklsqroP1WNrISI5eKavuyQtDRiZ l4SItRcaSpNBA== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n45CntNi010559; Tue, 5 May 2009 14:49:55 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 05 May 2009 14:49:55 +0200 Message-ID: <20090505144955.16373k1b32dpaxo0@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Tue, 05 May 2009 14:49:55 +0200 From: Alexander Leidinger To: Boris Samorodov References: <81924694@bb.ipt.ru> In-Reply-To: <81924694@bb.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.3.3 / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 913282E15C.CFB85 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-15.4, required 6, autolearn=not spam, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@FreeBSD.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 12:50:12 -0000 Quoting Boris Samorodov (from Tue, 05 May 2009 09:51:21 +0400): > Hello List, > > > I'm working on Fedora 10 ports and almost all is fine (even > google-earth seems to work)... But there is no resolving. > I managed to find the culprit. Here it is: > Ktrace/linux_kdump gives this: > ----- > 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) > 48833 ping RET linux_socketcall -1 errno 93 Unknown error: 93 > 48833 ping CALL gettimeofday(0xbfbfd2e0,0) > 48833 ping RET gettimeofday 0 > 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) > 48833 ping RET linux_socketcall -1 errno 93 Unknown error: 93 > 48833 ping CALL write(0x2,0xbfbfbf48,0x1a) > 48833 ping GIO fd 2 wrote 26 bytes > "ping: unknown host www.ru > " > 48833 ping RET write 26/0x1a > 48833 ping CALL linux_exit_group(0x2) > ---- There was a commit after April 30 about linux socket stuff. I don't know if it is related or not. You can either update and test, or instrument the current code to print out the parameters to linux_socketcall in a human readable way. > If we manage to solve this, I'd say we are ready for f10. I suggest to add a COMMENT to some ports before... ;-) Bye, Alexander. -- A bird in the hand is worth what it will bring. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 12:56:02 2009 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 5D0B7106564A for ; Tue, 5 May 2009 12:55:54 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 044B98FC23 for ; Tue, 5 May 2009 12:55:53 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E3AD.dip.t-dialin.net [217.226.227.173]) by redbull.bpaserver.net (Postfix) with ESMTP id 2BA1F2E15C; Tue, 5 May 2009 14:55:48 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id BF9325F9FC; Tue, 5 May 2009 14:55:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1241528144; bh=8SBMTpzdRobq4bcXY+TqGpHS358XfXD3bo/8X/gANgk=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=UYlcsA+ZrSEZ0s9JKyw2GXiqgV3DVt0axdaVqyzUfDXUn9cJXaTwVIqbAWo/N8t9w WYhdypbVFJWC4DdSJAXB7wS86tOm675GDKvzCCjXXbd9zBQM/qdN5ojQct5LRAE8Hq MFF4tAeHIqiqe8S2vGt0ILCGmZjA9xIqqRARsQpLbieILHsTzoaTwb5YzZRVZcQX1q 3Mw8J/cH+IyRNN/apU+zBIappJ3+SWbJAKWHIa2Dsm16cqSzd0w8AAaJHDZhUhXvPN O4kDIvm6r908uX6YFrS4Kwx03d6F4S4Z5eLb00JzqZGvNDY6MYqqZSMA5d4ajktaFv 6kIsHumqBR83g== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n45CthJI012308; Tue, 5 May 2009 14:55:43 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 05 May 2009 14:55:43 +0200 Message-ID: <20090505145543.28393p52iyzgqu80@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Tue, 05 May 2009 14:55:43 +0200 From: Alexander Leidinger To: Peter Jeremy References: <20090505074827.GA93977@server.vk2pj.dyndns.org> In-Reply-To: <20090505074827.GA93977@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.3.3 / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 2BA1F2E15C.80C6E X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: Flash issues on -current/i386 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, 05 May 2009 12:56:07 -0000 Quoting Peter Jeremy (from Tue, 5 May 2009 17:48:27 +1000): > I then tried revering to flash9 (still with 2.6.16 and fc8). This > can successfully display video from both youtube and iview but has > no audio - it consistently reports the following: > ALSA lib confmisc.c:768:(parse_card) cannot find card '0' > ALSA lib conf.c:3510:(_snd_config_evaluate) function The flashsupport lib does not fit to your flash9. It is responsible to use OSS instead of ALSA. Look around on the emulation@ ML for places where you could try looking for it (if the ports doesn't provide it for your OS version). Bye, Alexander. -- BOFH excuse #241: _Rosin_ core solder? But... http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 13:05:30 2009 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 AFAAD1065677 for ; Tue, 5 May 2009 13:05:30 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 474198FC16 for ; Tue, 5 May 2009 13:05:29 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id C6AB2988C4; Tue, 5 May 2009 17:05:27 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1773788999; Tue, 05 May 2009 17:05:27 +0400 Received: from dchagin.static.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.static.corbina.ru (8.14.3/8.14.3) with ESMTP id n45D5RwB007589; Tue, 5 May 2009 17:05:27 +0400 (MSD) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.3/8.14.3/Submit) id n45D5Pnt007588; Tue, 5 May 2009 17:05:25 +0400 (MSD) (envelope-from dchagin) Date: Tue, 5 May 2009 17:05:25 +0400 From: Chagin Dmitry To: Boris Samorodov Message-ID: <20090505130525.GA7564@dchagin.static.corbina.ru> References: <81924694@bb.ipt.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: <81924694@bb.ipt.ru> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-emulation@freebsd.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 13:05:31 -0000 --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 05, 2009 at 09:51:21AM +0400, Boris Samorodov wrote: > Hello List, >=20 >=20 > I'm working on Fedora 10 ports and almost all is fine (even > google-earth seems to work)... But there is no resolving. > I managed to find the culprit. Here it is: >=20 > ----- > bb% uname -a > FreeBSD bb.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Apr 30 09:15:06= MSD 2009 root@bb.ipt.ru:/usr/obj/usr/src/sys/BB i386 >=20 > bb% pkg_info -xI linux > linux-f10-atk-1.24.0 Accessibility Toolkit, Linux/i386 binary (Linux Fedo= ra 10) > linux-f10-cairo-1.8.0 Vector graphics library Cairo (Linux Fedora 10) > linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing library= (Linux=20 > linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X Wind= ows (Linux Fe > linux-f10-gtk2-2.14.7 GTK+ library, version 2.X (Linux Fedora 10) > linux-f10-hicolor-icon-theme-0.5 A high-color icon theme shell from the F= reeDesktop project > linux-f10-iputils-20071127 PLEASE, place a comment here > linux-f10-jpeg-6b RPM of the JPEG lib (Linux Fedora 10) > linux-f10-libcap-2.10 PLEASE, place a comment here > linux-f10-libidn-0.6.14 Internationalized Domain Name support library (Li= nux Fedora > linux-f10-pango-1.22.3 The pango library (Linux Fedora 10) > linux-f10-png-1.2.35 RPM of the PNG lib (Linux Fedora 10) > linux-f10-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora 10) > linux-f10-xorg-libs-7.4 Xorg libraries (Linux Fedora 10) > linux-seamonkey-1.1.16 The open source, standards compliant web browser > linux_base-f10-10 Base set of packages needed in Linux mode for i386/am= d64 (L > linux_kdump-1.5_2 Linux-compatability ktrace.out processor >=20 > bb% truss /compat/linux/bin/ping www.ru | head -3 > linux_brk(0x0,0x33c71fd0,0x8049570,0xbfebfbff,0xbfbfffac,0x6) =3D 1346314= 24 (0x8065000) > linux_newuname(0xbfbfe3de,0x33c72284,0x33c71fd0,0x33c72648,0x33c72648,0x6= ) =3D 0 (0x0) > linux_access(0x33c6db54,0x4,0x33c71fd0,0x33c6db54,0x33c72630,0x6) ERR#2 '= No such file or directory' > linux_open("/etc/ld.so.cache",0x0,00) =3D 3 (0x3) > linux_fstat64(0x3,0xbfbfe01c,0x33c71fd0,0xffffffff,0x3,0x6) =3D 0 (0x0) > linux_mmap2(0x0,0x2f0e,0x1,0x2,0x3,0x6) =3D 868691968 (0x33c7300= 0) > close(3) =3D 0 (0x0) > linux_open("/lib/libidn.so.11",0x0,01001104535) =3D 3 (0x3) > read(3,"\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0"...,512) =3D 512 (0x200) > linux_fstat64(0x3,0xbfbfe084,0x33c71fd0,0x3,0x1,0x6) =3D 0 (0x0) > [...] > linux_open("/lib/libresolv.so.2",0x0,06370573370) =3D 3 (0x3) > read(3,"\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0"...,512) =3D 512 (0x200) > linux_fstat64(0x3,0xbfbfdd34,0x33c71fd0,0x3,0x2,0x6) =3D 0 (0x0) > linux_mmap2(0x0,0x16848,0x5,0x802,0x3,0x6) =3D 870539264 (0x33e3600= 0) > linux_mmap2(0x33e49000,0x2000,0x3,0x812,0x3,0x6) =3D 870617088 (0x33e4900= 0) > linux_mmap2(0x33e4b000,0x1848,0x3,0x32,0xffffffff,0x6) =3D 870625280 (0x3= 3e4b000) > close(3) =3D 0 (0x0) > linux_mprotect(0x33e49000,0x1000,0x1,0x807fe70,0x807fe70,0x6) =3D 0 (0x0) > linux_mprotect(0x33e34000,0x1000,0x1,0x807fbf8,0x807fbf8,0x6) =3D 0 (0x0) > munmap(0x33c73000,12046) =3D 0 (0x0) > gettimeofday({1241502125.038245 },0x0) =3D 0 (0x0) > linux_socketcall(0x1,0xbfbfd218,0x33e49ff4,0x80802c8,0x0,0x6) ERR#43 'Pro= tocol not supported' > gettimeofday({1241502125.038387 },0x0) =3D 0 (0x0) > linux_socketcall(0x1,0xbfbfd218,0x33e49ff4,0x80802c8,0x0,0x6) ERR#43 'Pro= tocol not supported' > ping: unknown host www.ru > write(2,"ping: unknown host www.ru\n",26) =3D 26 (0x1a) > process exit, rval =3D 2 > ----- >=20 > Ktrace/linux_kdump gives this: > ----- > 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) > 48833 ping RET linux_socketcall -1 errno 93 Unknown error: 93 > 48833 ping CALL gettimeofday(0xbfbfd2e0,0) > 48833 ping RET gettimeofday 0 > 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) > 48833 ping RET linux_socketcall -1 errno 93 Unknown error: 93 > 48833 ping CALL write(0x2,0xbfbfbf48,0x1a) > 48833 ping GIO fd 2 wrote 26 bytes > "ping: unknown host www.ru > " > 48833 ping RET write 26/0x1a > 48833 ping CALL linux_exit_group(0x2) > ---- >=20 > If we manage to solve this, I'd say we are ready for f10. > Thanks. >=20 >=20 Hi Boris, Whether you somewhere can put a ping binary? And which glibc version f10 us= es? --=20 Have fun! chd --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkoAOZIACgkQ0t2Tb3OO/O05SgCgqVk0iQgdMjmbH0Nm5NRN83Y+ 94UAnRu1z+dsps5OGXqVs11Ciydi+bkD =3XPN -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf-- From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 13:24:59 2009 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 DC723106564A for ; Tue, 5 May 2009 13:24:59 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from mailrelay004.isp.belgacom.be (mailrelay004.isp.belgacom.be [195.238.6.170]) by mx1.freebsd.org (Postfix) with ESMTP id 778488FC1A for ; Tue, 5 May 2009 13:24:59 +0000 (UTC) (envelope-from tijl@ulyssis.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Am8FABza/0lR9TFL/2dsb2JhbACBUM5zgjGBUAU Received: from 75.49-245-81.adsl-dyn.isp.belgacom.be (HELO kalimero.kotnet.org) ([81.245.49.75]) by relay.skynet.be with ESMTP; 05 May 2009 15:24:57 +0200 Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.14.3/8.14.3) with ESMTP id n45DOuVQ055936; Tue, 5 May 2009 15:24:56 +0200 (CEST) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: freebsd-emulation@freebsd.org Date: Tue, 5 May 2009 15:24:55 +0200 User-Agent: KMail/1.9.10 References: <20090505074827.GA93977@server.vk2pj.dyndns.org> <20090505145543.28393p52iyzgqu80@webmail.leidinger.net> In-Reply-To: <20090505145543.28393p52iyzgqu80@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905051524.56217.tijl@ulyssis.org> Cc: Alexander Leidinger , Peter Jeremy Subject: Re: Flash issues on -current/i386 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, 05 May 2009 13:25:00 -0000 On Tuesday 05 May 2009 14:55:43 Alexander Leidinger wrote: > Quoting Peter Jeremy (from Tue, 5 May > 2009 17:48:27 +1000): > >> I then tried revering to flash9 (still with 2.6.16 and fc8). This >> can successfully display video from both youtube and iview but has >> no audio - it consistently reports the following: >> ALSA lib confmisc.c:768:(parse_card) cannot find card '0' >> ALSA lib conf.c:3510:(_snd_config_evaluate) function > > The flashsupport lib does not fit to your flash9. It is responsible > to use OSS instead of ALSA. Look around on the emulation@ ML for > places where you could try looking for it (if the ports doesn't > provide it for your OS version). You can use libflashsupport from linux-f8-flashplugin10. From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 13:42:06 2009 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 97A47106568B for ; Tue, 5 May 2009 13:42:06 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 4DB5A8FC0A for ; Tue, 5 May 2009 13:42:06 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M1KuK-0009xU-AU; Tue, 05 May 2009 17:42:04 +0400 To: Chagin Dmitry References: <81924694@bb.ipt.ru> <20090505130525.GA7564@dchagin.static.corbina.ru> From: Boris Samorodov Date: Tue, 05 May 2009 17:42:03 +0400 In-Reply-To: <20090505130525.GA7564@dchagin.static.corbina.ru> (Chagin Dmitry's message of "Tue\, 5 May 2009 17\:05\:25 +0400") Message-ID: <14073412@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 13:42:08 -0000 On Tue, 5 May 2009 17:05:25 +0400 Chagin Dmitry wrote: > Whether you somewhere can put a ping binary? Here is a shar of linux_base-f10 and linux-f10-iputils: ftp://ftp.ipt.ru/pub/linux/f10+iputils.shar It is relative to /usr/ports, i.e.: # cd /usr/ports # sh > And which glibc version f10 uses? Seems to be glibc-2.9. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 13:44:56 2009 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 476991065697 for ; Tue, 5 May 2009 13:44:56 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 00FD78FC12 for ; Tue, 5 May 2009 13:44:55 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M1Kx4-0009zr-UN; Tue, 05 May 2009 17:44:55 +0400 To: Alexander Leidinger References: <81924694@bb.ipt.ru> <20090505144955.16373k1b32dpaxo0@webmail.leidinger.net> From: Boris Samorodov Date: Tue, 05 May 2009 17:44:54 +0400 In-Reply-To: <20090505144955.16373k1b32dpaxo0@webmail.leidinger.net> (Alexander Leidinger's message of "Tue\, 05 May 2009 14\:49\:55 +0200") Message-ID: <47993241@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 13:44:56 -0000 On Tue, 05 May 2009 14:49:55 +0200 Alexander Leidinger wrote: > Quoting Boris Samorodov (from Tue, 05 May 2009 09:51:21 +0400): > > I'm working on Fedora 10 ports and almost all is fine (even > > google-earth seems to work)... But there is no resolving. > > I managed to find the culprit. Here it is: > > Ktrace/linux_kdump gives this: > > ----- > > 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) > > 48833 ping RET linux_socketcall -1 errno 93 Unknown error: 93 > > 48833 ping CALL gettimeofday(0xbfbfd2e0,0) > > 48833 ping RET gettimeofday 0 > > 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) > > 48833 ping RET linux_socketcall -1 errno 93 Unknown error: 93 > > 48833 ping CALL write(0x2,0xbfbfbf48,0x1a) > > 48833 ping GIO fd 2 wrote 26 bytes > > "ping: unknown host www.ru > > " > > 48833 ping RET write 26/0x1a > > 48833 ping CALL linux_exit_group(0x2) > > ---- > There was a commit after April 30 about linux socket stuff. I don't > know if it is related or not. You can either update and test, or Thanks for the info, I'm updating now. > instrument the current code to print out the parameters to > linux_socketcall in a human readable way. Can you give a tiny example? > > If we manage to solve this, I'd say we are ready for f10. > I suggest to add a COMMENT to some ports before... ;-) Those were ports just for testing needs created by my bot. ;-) WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 14:08:41 2009 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 131F31065674 for ; Tue, 5 May 2009 14:08:41 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id B4A6A8FC18 for ; Tue, 5 May 2009 14:08:40 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E3AD.dip.t-dialin.net [217.226.227.173]) by redbull.bpaserver.net (Postfix) with ESMTP id C33DD2E0DC; Tue, 5 May 2009 16:08:33 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 8B3299E04D; Tue, 5 May 2009 16:08:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1241532508; bh=Z7xslIyKQjTwC5x2PlCm4pqez+A86QZjuTlE+op/f7Q=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=ubaVytj4bIucMmxxr7jQP6K4yDM/aW158IwEO19mvP6S435RHBPLk/kvlXfVgNEbs 4eporhRchLtho2uIY3FvGp0+P4y3xMmjHeFwY/TdHGCmxYmUggWVSXUgJiCdkVjCX1 cQ/WMY0ExWVvEFo8Y8LchG99Zt5xTMBrvGilKsGsEyG64yjljAJzRzHKkxIsIbnT38 MmWP14ZSHHSpD1bSVwPhy2r4nFZINrhCpx0Oi7VOISG8zBqIZeDcuiZLJ1bmqcCZBF hWyU2ST+Fs0OScy05Ik3LZ3rxYiGwfShqWwdC+eXriuChwRiW+p+dcFkTqAp5NQQB6 UkToVGyOv6Dbw== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n45E8SDG081350; Tue, 5 May 2009 16:08:28 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 05 May 2009 16:08:27 +0200 Message-ID: <20090505160827.1359651x47bqmxc8@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Tue, 05 May 2009 16:08:27 +0200 From: Alexander Leidinger To: Boris Samorodov References: <81924694@bb.ipt.ru> <20090505144955.16373k1b32dpaxo0@webmail.leidinger.net> <47993241@bb.ipt.ru> In-Reply-To: <47993241@bb.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.3.3 / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: C33DD2E0DC.6200C X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@FreeBSD.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 14:08:41 -0000 Quoting Boris Samorodov (from Tue, 05 May 2009 17:44:54 +0400): > On Tue, 05 May 2009 14:49:55 +0200 Alexander Leidinger wrote: >> Quoting Boris Samorodov (from Tue, 05 May 2009 >> 09:51:21 +0400): > >> > I'm working on Fedora 10 ports and almost all is fine (even >> > google-earth seems to work)... But there is no resolving. >> > I managed to find the culprit. Here it is: > >> > Ktrace/linux_kdump gives this: >> > ----- >> > 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) >> > 48833 ping RET linux_socketcall -1 errno 93 Unknown error: 93 >> > 48833 ping CALL gettimeofday(0xbfbfd2e0,0) >> > 48833 ping RET gettimeofday 0 >> > 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) >> > 48833 ping RET linux_socketcall -1 errno 93 Unknown error: 93 >> > 48833 ping CALL write(0x2,0xbfbfbf48,0x1a) >> > 48833 ping GIO fd 2 wrote 26 bytes >> > "ping: unknown host www.ru >> > " >> > 48833 ping RET write 26/0x1a >> > 48833 ping CALL linux_exit_group(0x2) >> > ---- > >> There was a commit after April 30 about linux socket stuff. I don't >> know if it is related or not. You can either update and test, or > > Thanks for the info, I'm updating now. > >> instrument the current code to print out the parameters to >> linux_socketcall in a human readable way. > > Can you give a tiny example? orig: ---snip--- switch (args->what) { case LINUX_SOCKET: return (linux_socket(td, arg)); case LINUX_BIND: return (linux_bind(td, arg)); ---snip--- modified (ugly): ---snip--- switch (args->what) { case LINUX_SOCKET: int ret = linux_socket(td, arg); printf("LINUX_SOCKET: %d\n", ret); return (ret); case LINUX_BIND: return (linux_bind(td, arg)); ---snip--- After this you should see in ktrace which one it tries to call. Revert to the orig one and instrument the corresponding function, for linux_socket thish would be: ---snip--- linux_socket(struct thread *td, struct linux_socket_args *args) { #ifdef INET6 INIT_VNET_INET6(curvnet); #endif struct socket_args /* { int domain; int type; int protocol; } */ bsd_args; int retval_socket; /* debug for bsam */ printf("linux_socket (LINUX): domain: %d, type: %d, protocol: %d\n", args->domain, args->type, args->protocol); bsd_args.protocol = args->protocol; bsd_args.type = args->type; bsd_args.domain = linux_to_bsd_domain(args->domain); /* debug for bsam */ printf("linux_socket (FreeBSD): domain: %d\n", bsd_args.domain); if (bsd_args.domain == -1) return (EINVAL); ---snip--- Bye, Alexander. -- The six great gifts of an Irish girl are beauty, soft voice, sweet speech, wisdom, needlework, and chastity. -- Theodore Roosevelt, 1907 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 14:28:45 2009 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 BCB781065672 for ; Tue, 5 May 2009 14:28:45 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 775608FC27 for ; Tue, 5 May 2009 14:28:45 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M1LdU-000AWl-6V; Tue, 05 May 2009 18:28:44 +0400 To: Alexander Leidinger References: <81924694@bb.ipt.ru> <20090505144955.16373k1b32dpaxo0@webmail.leidinger.net> <47993241@bb.ipt.ru> From: Boris Samorodov Date: Tue, 05 May 2009 18:28:43 +0400 In-Reply-To: <47993241@bb.ipt.ru> (Boris Samorodov's message of "Tue\, 05 May 2009 17\:44\:54 +0400") Message-ID: <58710436@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 14:28:46 -0000 On Tue, 05 May 2009 17:44:54 +0400 Boris Samorodov wrote: > On Tue, 05 May 2009 14:49:55 +0200 Alexander Leidinger wrote: > > Quoting Boris Samorodov (from Tue, 05 May 2009 09:51:21 +0400): > > > I'm working on Fedora 10 ports and almost all is fine (even > > > google-earth seems to work)... But there is no resolving. > > > I managed to find the culprit. Here it is: > > > Ktrace/linux_kdump gives this: > > > ----- > > > 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) > > > 48833 ping RET linux_socketcall -1 errno 93 Unknown error: 93 > > > 48833 ping CALL gettimeofday(0xbfbfd2e0,0) > > > 48833 ping RET gettimeofday 0 > > > 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) > > > 48833 ping RET linux_socketcall -1 errno 93 Unknown error: 93 > > > 48833 ping CALL write(0x2,0xbfbfbf48,0x1a) > > > 48833 ping GIO fd 2 wrote 26 bytes > > > "ping: unknown host www.ru > > > " > > > 48833 ping RET write 26/0x1a > > > 48833 ping CALL linux_exit_group(0x2) > > > ---- > > There was a commit after April 30 about linux socket stuff. I don't > > know if it is related or not. You can either update and test, or > Thanks for the info, I'm updating now. Didn't help. Go to instrumenting as you suggested. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 15:26:31 2009 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 223FF1065672 for ; Tue, 5 May 2009 15:26:31 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 69FB98FC18 for ; Tue, 5 May 2009 15:26:30 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M1MXN-000BEk-FD; Tue, 05 May 2009 19:26:29 +0400 To: Alexander Leidinger References: <81924694@bb.ipt.ru> <20090505144955.16373k1b32dpaxo0@webmail.leidinger.net> <47993241@bb.ipt.ru> <20090505160827.1359651x47bqmxc8@webmail.leidinger.net> From: Boris Samorodov Date: Tue, 05 May 2009 19:26:28 +0400 In-Reply-To: <20090505160827.1359651x47bqmxc8@webmail.leidinger.net> (Alexander Leidinger's message of "Tue\, 05 May 2009 16\:08\:27 +0200") Message-ID: <67678219@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 15:26:31 -0000 On Tue, 05 May 2009 16:08:27 +0200 Alexander Leidinger wrote: > Quoting Boris Samorodov (from Tue, 05 May 2009 17:44:54 +0400): > > On Tue, 05 May 2009 14:49:55 +0200 Alexander Leidinger wrote: > >> Quoting Boris Samorodov (from Tue, 05 May 2009 > >> 09:51:21 +0400): > > > >> > I'm working on Fedora 10 ports and almost all is fine (even > >> > google-earth seems to work)... But there is no resolving. > >> > I managed to find the culprit. Here it is: > > > >> > Ktrace/linux_kdump gives this: > >> > ----- > >> > 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) > >> > 48833 ping RET linux_socketcall -1 errno 93 Unknown error: 93 > >> > 48833 ping CALL gettimeofday(0xbfbfd2e0,0) > >> > 48833 ping RET gettimeofday 0 > >> > 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) > >> > 48833 ping RET linux_socketcall -1 errno 93 Unknown error: 93 > >> > 48833 ping CALL write(0x2,0xbfbfbf48,0x1a) > >> > 48833 ping GIO fd 2 wrote 26 bytes > >> > "ping: unknown host www.ru > >> > " > >> > 48833 ping RET write 26/0x1a > >> > 48833 ping CALL linux_exit_group(0x2) > >> > ---- > > > >> There was a commit after April 30 about linux socket stuff. I don't > >> know if it is related or not. You can either update and test, or > > > > Thanks for the info, I'm updating now. > > > >> instrument the current code to print out the parameters to > >> linux_socketcall in a human readable way. > > > > Can you give a tiny example? [Skip examples, thanks] The diff is: ----- --- linux_socket.c.orig 2009-05-05 18:35:31.000000000 +0400 +++ linux_socket.c 2009-05-05 19:02:42.000000000 +0400 @@ -595,9 +595,15 @@ } */ bsd_args; int retval_socket; + printf("bsam: linux_socket (LINUX): domain: %d, type: %d, protocol: %d\n", + args->domain, args->type, args->protocol); + bsd_args.protocol = args->protocol; bsd_args.type = args->type; bsd_args.domain = linux_to_bsd_domain(args->domain); + + printf("bsam: linux_socket (FreeBSD): domain: %d\n", bsd_args.domain); + if (bsd_args.domain == -1) return (EINVAL); @@ -1365,10 +1371,14 @@ linux_socketcall(struct thread *td, struct linux_socketcall_args *args) { void *arg = (void *)(intptr_t)args->args; + int ret; + printf("bsam: Entering linux_socketcall.\n"); switch (args->what) { case LINUX_SOCKET: - return (linux_socket(td, arg)); + ret = linux_socket(td, arg); + printf("bsam: LINUX_SOCKET: %d\n", ret); + return (ret); case LINUX_BIND: return (linux_bind(td, arg)); case LINUX_CONNECT: ----- Console diagnistic is: ----- May 5 19:10:33 bb kernel: bsam: Entering linux_socketcall. May 5 19:10:33 bb kernel: bsam: linux_socket (LINUX): domain: 2, type: 3, protocol: 1 May 5 19:10:33 bb kernel: bsam: linux_socket (FreeBSD): domain: 2 May 5 19:10:33 bb kernel: bsam: LINUX_SOCKET: 1 May 5 19:10:33 bb kernel: bsam: Entering linux_socketcall. May 5 19:10:33 bb kernel: bsam: linux_socket (LINUX): domain: 1, type: 526337, protocol: 0 May 5 19:10:33 bb kernel: bsam: linux_socket (FreeBSD): domain: 1 May 5 19:10:33 bb kernel: bsam: LINUX_SOCKET: 43 May 5 19:10:33 bb kernel: bsam: Entering linux_socketcall. May 5 19:10:33 bb kernel: bsam: linux_socket (LINUX): domain: 1, type: 526337, protocol: 0 May 5 19:10:33 bb kernel: bsam: linux_socket (FreeBSD): domain: 1 May 5 19:10:33 bb kernel: bsam: LINUX_SOCKET: 43 May 5 19:10:34 bb kernel: bsam: Entering linux_socketcall. May 5 19:10:34 bb kernel: bsam: linux_socket (LINUX): domain: 2, type: 2050, protocol: 0 May 5 19:10:34 bb kernel: bsam: linux_socket (FreeBSD): domain: 2 May 5 19:10:34 bb kernel: bsam: LINUX_SOCKET: 43 May 5 19:10:34 bb kernel: bsam: Entering linux_socketcall. May 5 19:10:34 bb kernel: bsam: linux_socket (LINUX): domain: 2, type: 2050, protocol: 0 May 5 19:10:34 bb kernel: bsam: linux_socket (FreeBSD): domain: 2 May 5 19:10:34 bb kernel: bsam: LINUX_SOCKET: 43 ----- Corresponding text for linux_kdump and truss: ftp://ftp.ipt.ru/pub/linux/linux_kdump.ping.txt ftp://ftp.ipt.ru/pub/linux/truss.ping.txt WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 16:04:25 2009 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 88913106567C for ; Tue, 5 May 2009 16:04:25 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 347D08FC1B for ; Tue, 5 May 2009 16:04:24 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id 86C5A97E7E; Tue, 5 May 2009 20:04:23 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1774021273; Tue, 05 May 2009 20:04:23 +0400 Received: from dchagin.static.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.static.corbina.ru (8.14.3/8.14.3) with ESMTP id n45G4NEh014721; Tue, 5 May 2009 20:04:23 +0400 (MSD) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.3/8.14.3/Submit) id n45G4HOb014720; Tue, 5 May 2009 20:04:17 +0400 (MSD) (envelope-from dchagin) Date: Tue, 5 May 2009 20:04:17 +0400 From: Chagin Dmitry To: Boris Samorodov Message-ID: <20090505160417.GA14703@dchagin.static.corbina.ru> References: <81924694@bb.ipt.ru> <20090505130525.GA7564@dchagin.static.corbina.ru> <14073412@bb.ipt.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <14073412@bb.ipt.ru> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-emulation@freebsd.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 16:04:27 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 05, 2009 at 05:42:03PM +0400, Boris Samorodov wrote: > On Tue, 5 May 2009 17:05:25 +0400 Chagin Dmitry wrote: >=20 > > Whether you somewhere can put a ping binary? >=20 > Here is a shar of linux_base-f10 and linux-f10-iputils: > ftp://ftp.ipt.ru/pub/linux/f10+iputils.shar > It is relative to /usr/ports, i.e.: > # cd /usr/ports > # sh =3D> Couldn't fetch it - please try to retrieve this iputils-20071127-6.fc10.i386.rpm >=20 > > And which glibc version f10 uses? >=20 > Seems to be glibc-2.9. >=20 good. --=20 Have fun! chd --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkoAY4EACgkQ0t2Tb3OO/O1n/ACgtmQDFC+Ud/TsP39ZR1Z38dp2 wYAAnjfM35QlqhBdmx9WZHqLiH0myHD9 =6+w+ -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB-- From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 16:07:32 2009 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 317521065670 for ; Tue, 5 May 2009 16:07:32 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id BE9F68FC0A for ; Tue, 5 May 2009 16:07:31 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id 19D8B959C1; Tue, 5 May 2009 20:07:30 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1774024848; Tue, 05 May 2009 20:07:29 +0400 Received: from dchagin.static.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.static.corbina.ru (8.14.3/8.14.3) with ESMTP id n45G7T5p014758; Tue, 5 May 2009 20:07:29 +0400 (MSD) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.3/8.14.3/Submit) id n45G7OKg014757; Tue, 5 May 2009 20:07:24 +0400 (MSD) (envelope-from dchagin) Date: Tue, 5 May 2009 20:07:24 +0400 From: Chagin Dmitry To: Boris Samorodov Message-ID: <20090505160724.GB14703@dchagin.static.corbina.ru> References: <81924694@bb.ipt.ru> <20090505144955.16373k1b32dpaxo0@webmail.leidinger.net> <47993241@bb.ipt.ru> <20090505160827.1359651x47bqmxc8@webmail.leidinger.net> <67678219@bb.ipt.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CUfgB8w4ZwR/yMy5" Content-Disposition: inline In-Reply-To: <67678219@bb.ipt.ru> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Alexander Leidinger , freebsd-emulation@freebsd.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 16:07:32 -0000 --CUfgB8w4ZwR/yMy5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 05, 2009 at 07:26:28PM +0400, Boris Samorodov wrote: > On Tue, 05 May 2009 16:08:27 +0200 Alexander Leidinger wrote: > > Quoting Boris Samorodov (from Tue, 05 May 2009 17:44:54 += 0400): > > > On Tue, 05 May 2009 14:49:55 +0200 Alexander Leidinger wrote: > > >> Quoting Boris Samorodov (from Tue, 05 May 2009 > > >> 09:51:21 +0400): > > > > > >> > I'm working on Fedora 10 ports and almost all is fine (even > > >> > google-earth seems to work)... But there is no resolving. > > >> > I managed to find the culprit. Here it is: > > > > > >> > Ktrace/linux_kdump gives this: > > >> > ----- > > >> > 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) > > >> > 48833 ping RET linux_socketcall -1 errno 93 Unknown error: = 93 > > >> > 48833 ping CALL gettimeofday(0xbfbfd2e0,0) > > >> > 48833 ping RET gettimeofday 0 > > >> > 48833 ping CALL linux_socketcall(0x1,0xbfbfd218) > > >> > 48833 ping RET linux_socketcall -1 errno 93 Unknown error: = 93 > > >> > 48833 ping CALL write(0x2,0xbfbfbf48,0x1a) > > >> > 48833 ping GIO fd 2 wrote 26 bytes > > >> > "ping: unknown host www.ru > > >> > " > > >> > 48833 ping RET write 26/0x1a > > >> > 48833 ping CALL linux_exit_group(0x2) > > >> > ---- > > > > > >> There was a commit after April 30 about linux socket stuff. I don't > > >> know if it is related or not. You can either update and test, or > > > > > > Thanks for the info, I'm updating now. > > > > > >> instrument the current code to print out the parameters to > > >> linux_socketcall in a human readable way. > > > > > > Can you give a tiny example? >=20 > [Skip examples, thanks] >=20 > The diff is: > ----- > --- linux_socket.c.orig 2009-05-05 18:35:31.000000000 +0400 > +++ linux_socket.c 2009-05-05 19:02:42.000000000 +0400 > @@ -595,9 +595,15 @@ > } */ bsd_args; > int retval_socket; > =20 > + printf("bsam: linux_socket (LINUX): domain: %d, type: %d, protocol: %d\= n", > + args->domain, args->type, args->protocol); > + > bsd_args.protocol =3D args->protocol; > bsd_args.type =3D args->type; > bsd_args.domain =3D linux_to_bsd_domain(args->domain); > + > + printf("bsam: linux_socket (FreeBSD): domain: %d\n", bsd_args.domain); > + > if (bsd_args.domain =3D=3D -1) > return (EINVAL); > =20 > @@ -1365,10 +1371,14 @@ > linux_socketcall(struct thread *td, struct linux_socketcall_args *args) > { > void *arg =3D (void *)(intptr_t)args->args; > + int ret; > =20 > + printf("bsam: Entering linux_socketcall.\n"); > switch (args->what) { > case LINUX_SOCKET: > - return (linux_socket(td, arg)); > + ret =3D linux_socket(td, arg); > + printf("bsam: LINUX_SOCKET: %d\n", ret); > + return (ret); > case LINUX_BIND: > return (linux_bind(td, arg)); > case LINUX_CONNECT: > ----- >=20 > Console diagnistic is: > ----- > May 5 19:10:33 bb kernel: bsam: Entering linux_socketcall. > May 5 19:10:33 bb kernel: bsam: linux_socket (LINUX): domain: 2, type: 3= , protocol: 1 > May 5 19:10:33 bb kernel: bsam: linux_socket (FreeBSD): domain: 2 > May 5 19:10:33 bb kernel: bsam: LINUX_SOCKET: 1 > May 5 19:10:33 bb kernel: bsam: Entering linux_socketcall. > May 5 19:10:33 bb kernel: bsam: linux_socket (LINUX): domain: 1, type: 5= 26337, protocol: 0 > May 5 19:10:33 bb kernel: bsam: linux_socket (FreeBSD): domain: 1 > May 5 19:10:33 bb kernel: bsam: LINUX_SOCKET: 43 > May 5 19:10:33 bb kernel: bsam: Entering linux_socketcall. > May 5 19:10:33 bb kernel: bsam: linux_socket (LINUX): domain: 1, type: 5= 26337, protocol: 0 > May 5 19:10:33 bb kernel: bsam: linux_socket (FreeBSD): domain: 1 > May 5 19:10:33 bb kernel: bsam: LINUX_SOCKET: 43 > May 5 19:10:34 bb kernel: bsam: Entering linux_socketcall. > May 5 19:10:34 bb kernel: bsam: linux_socket (LINUX): domain: 2, type: 2= 050, protocol: 0 > May 5 19:10:34 bb kernel: bsam: linux_socket (FreeBSD): domain: 2 > May 5 19:10:34 bb kernel: bsam: LINUX_SOCKET: 43 > May 5 19:10:34 bb kernel: bsam: Entering linux_socketcall. > May 5 19:10:34 bb kernel: bsam: linux_socket (LINUX): domain: 2, type: 2= 050, protocol: 0 > May 5 19:10:34 bb kernel: bsam: linux_socket (FreeBSD): domain: 2 > May 5 19:10:34 bb kernel: bsam: LINUX_SOCKET: 43 > ----- >=20 > Corresponding text for linux_kdump and truss: > ftp://ftp.ipt.ru/pub/linux/linux_kdump.ping.txt > ftp://ftp.ipt.ru/pub/linux/truss.ping.txt >=20 heh, it seems to me that SOCK_CLOEXEC, SOCK_NONBLOCK bits used. should be fixed. socketpair() also uses it since 2.6.29 --=20 Have fun! chd --CUfgB8w4ZwR/yMy5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkoAZDkACgkQ0t2Tb3OO/O1OfgCeOlFVdtcSvKeCE3mEDdoZ196a Aj4AoMZ+Rx/AN6PYzXPtd4Ki9PeUOGEW =3Zmx -----END PGP SIGNATURE----- --CUfgB8w4ZwR/yMy5-- From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 16:37:40 2009 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 7DC6C106568B; Tue, 5 May 2009 16:37:40 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 364AB8FC24; Tue, 5 May 2009 16:37:40 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M1NeE-000C6G-VI; Tue, 05 May 2009 20:37:39 +0400 To: Chagin Dmitry References: <81924694@bb.ipt.ru> <20090505130525.GA7564@dchagin.static.corbina.ru> <14073412@bb.ipt.ru> <20090505160417.GA14703@dchagin.static.corbina.ru> From: Boris Samorodov Date: Tue, 05 May 2009 20:37:38 +0400 In-Reply-To: <20090505160417.GA14703@dchagin.static.corbina.ru> (Chagin Dmitry's message of "Tue\, 5 May 2009 20\:04\:17 +0400") Message-ID: <01593949@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 16:37:42 -0000 On Tue, 5 May 2009 20:04:17 +0400 Chagin Dmitry wrote: > On Tue, May 05, 2009 at 05:42:03PM +0400, Boris Samorodov wrote: > > On Tue, 5 May 2009 17:05:25 +0400 Chagin Dmitry wrote: > > > > > Whether you somewhere can put a ping binary? > > > > Here is a shar of linux_base-f10 and linux-f10-iputils: > > ftp://ftp.ipt.ru/pub/linux/f10+iputils.shar > > It is relative to /usr/ports, i.e.: > > # cd /usr/ports > > # sh > => Couldn't fetch it - please try to retrieve this Any diagnostic? > iputils-20071127-6.fc10.i386.rpm WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 16:41:03 2009 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 964E5106564A; Tue, 5 May 2009 16:41:03 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 4E6428FC21; Tue, 5 May 2009 16:41:02 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M1NhW-000C8v-3i; Tue, 05 May 2009 20:41:02 +0400 To: Chagin Dmitry References: <81924694@bb.ipt.ru> <20090505144955.16373k1b32dpaxo0@webmail.leidinger.net> <47993241@bb.ipt.ru> <20090505160827.1359651x47bqmxc8@webmail.leidinger.net> <67678219@bb.ipt.ru> <20090505160724.GB14703@dchagin.static.corbina.ru> From: Boris Samorodov Date: Tue, 05 May 2009 20:41:01 +0400 In-Reply-To: <20090505160724.GB14703@dchagin.static.corbina.ru> (Chagin Dmitry's message of "Tue\, 5 May 2009 20\:07\:24 +0400") Message-ID: <35513746@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alexander Leidinger , freebsd-emulation@freebsd.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 16:41:03 -0000 On Tue, 5 May 2009 20:07:24 +0400 Chagin Dmitry wrote: > On Tue, May 05, 2009 at 07:26:28PM +0400, Boris Samorodov wrote: > > The diff is: > > ----- > > --- linux_socket.c.orig 2009-05-05 18:35:31.000000000 +0400 > > +++ linux_socket.c 2009-05-05 19:02:42.000000000 +0400 > > @@ -595,9 +595,15 @@ > > } */ bsd_args; > > int retval_socket; > > > > + printf("bsam: linux_socket (LINUX): domain: %d, type: %d, protocol: %d\n", > > + args->domain, args->type, args->protocol); > > + > > bsd_args.protocol = args->protocol; > > bsd_args.type = args->type; > > bsd_args.domain = linux_to_bsd_domain(args->domain); > > + > > + printf("bsam: linux_socket (FreeBSD): domain: %d\n", bsd_args.domain); > > + > > if (bsd_args.domain == -1) > > return (EINVAL); > > > > @@ -1365,10 +1371,14 @@ > > linux_socketcall(struct thread *td, struct linux_socketcall_args *args) > > { > > void *arg = (void *)(intptr_t)args->args; > > + int ret; > > > > + printf("bsam: Entering linux_socketcall.\n"); > > switch (args->what) { > > case LINUX_SOCKET: > > - return (linux_socket(td, arg)); > > + ret = linux_socket(td, arg); > > + printf("bsam: LINUX_SOCKET: %d\n", ret); > > + return (ret); > > case LINUX_BIND: > > return (linux_bind(td, arg)); > > case LINUX_CONNECT: > > ----- > > > > Console diagnistic is: > > ----- > > May 5 19:10:33 bb kernel: bsam: Entering linux_socketcall. > > May 5 19:10:33 bb kernel: bsam: linux_socket (LINUX): domain: 2, type: 3, protocol: 1 > > May 5 19:10:33 bb kernel: bsam: linux_socket (FreeBSD): domain: 2 > > May 5 19:10:33 bb kernel: bsam: LINUX_SOCKET: 1 > > May 5 19:10:33 bb kernel: bsam: Entering linux_socketcall. > > May 5 19:10:33 bb kernel: bsam: linux_socket (LINUX): domain: 1, type: 526337, protocol: 0 > > May 5 19:10:33 bb kernel: bsam: linux_socket (FreeBSD): domain: 1 > > May 5 19:10:33 bb kernel: bsam: LINUX_SOCKET: 43 > > May 5 19:10:33 bb kernel: bsam: Entering linux_socketcall. > > May 5 19:10:33 bb kernel: bsam: linux_socket (LINUX): domain: 1, type: 526337, protocol: 0 > > May 5 19:10:33 bb kernel: bsam: linux_socket (FreeBSD): domain: 1 > > May 5 19:10:33 bb kernel: bsam: LINUX_SOCKET: 43 > > May 5 19:10:34 bb kernel: bsam: Entering linux_socketcall. > > May 5 19:10:34 bb kernel: bsam: linux_socket (LINUX): domain: 2, type: 2050, protocol: 0 > > May 5 19:10:34 bb kernel: bsam: linux_socket (FreeBSD): domain: 2 > > May 5 19:10:34 bb kernel: bsam: LINUX_SOCKET: 43 > > May 5 19:10:34 bb kernel: bsam: Entering linux_socketcall. > > May 5 19:10:34 bb kernel: bsam: linux_socket (LINUX): domain: 2, type: 2050, protocol: 0 > > May 5 19:10:34 bb kernel: bsam: linux_socket (FreeBSD): domain: 2 > > May 5 19:10:34 bb kernel: bsam: LINUX_SOCKET: 43 > > ----- > > > > Corresponding text for linux_kdump and truss: > > ftp://ftp.ipt.ru/pub/linux/linux_kdump.ping.txt > > ftp://ftp.ipt.ru/pub/linux/truss.ping.txt > > > heh, it seems to me that SOCK_CLOEXEC, SOCK_NONBLOCK bits used. > should be fixed. socketpair() also uses it since 2.6.29 I'll be glad to test patches. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 16:50:57 2009 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 A8EAA106564A for ; Tue, 5 May 2009 16:50:57 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 56AB48FC08 for ; Tue, 5 May 2009 16:50:56 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id 272109867F; Tue, 5 May 2009 20:50:56 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1774080212; Tue, 05 May 2009 20:50:56 +0400 Received: from dchagin.static.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.static.corbina.ru (8.14.3/8.14.3) with ESMTP id n45GotOj015526; Tue, 5 May 2009 20:50:55 +0400 (MSD) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.3/8.14.3/Submit) id n45GooGL015525; Tue, 5 May 2009 20:50:50 +0400 (MSD) (envelope-from dchagin) Date: Tue, 5 May 2009 20:50:50 +0400 From: Chagin Dmitry To: Boris Samorodov Message-ID: <20090505165050.GA15487@dchagin.static.corbina.ru> References: <81924694@bb.ipt.ru> <20090505130525.GA7564@dchagin.static.corbina.ru> <14073412@bb.ipt.ru> <20090505160417.GA14703@dchagin.static.corbina.ru> <01593949@bb.ipt.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <01593949@bb.ipt.ru> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-emulation@freebsd.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 16:50:57 -0000 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 05, 2009 at 08:37:38PM +0400, Boris Samorodov wrote: > On Tue, 5 May 2009 20:04:17 +0400 Chagin Dmitry wrote: > > On Tue, May 05, 2009 at 05:42:03PM +0400, Boris Samorodov wrote: > > > On Tue, 5 May 2009 17:05:25 +0400 Chagin Dmitry wrote: > > >=20 > > > > Whether you somewhere can put a ping binary? > > >=20 > > > Here is a shar of linux_base-f10 and linux-f10-iputils: > > > ftp://ftp.ipt.ru/pub/linux/f10+iputils.shar > > > It is relative to /usr/ports, i.e.: > > > # cd /usr/ports > > > # sh >=20 > > =3D> Couldn't fetch it - please try to retrieve this >=20 > Any diagnostic? >=20 It seems that it does not search in a releases directory, looks only to updates :) I have copied a file manually. --=20 Have fun! chd --zhXaljGHf11kAtnf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkoAbmoACgkQ0t2Tb3OO/O0UkACgxA8Km2j5QXhik/URpApljt03 ojEAn0WGisXkhYBpTmwuzAn+XcBeI+O+ =7Pjc -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf-- From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 17:04:55 2009 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 B34B0106564A; Tue, 5 May 2009 17:04:55 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 6C7AC8FC14; Tue, 5 May 2009 17:04:55 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M1O4c-000CRm-Cv; Tue, 05 May 2009 21:04:54 +0400 To: Chagin Dmitry References: <81924694@bb.ipt.ru> <20090505130525.GA7564@dchagin.static.corbina.ru> <14073412@bb.ipt.ru> <20090505160417.GA14703@dchagin.static.corbina.ru> <01593949@bb.ipt.ru> <20090505165050.GA15487@dchagin.static.corbina.ru> From: Boris Samorodov Date: Tue, 05 May 2009 21:04:53 +0400 In-Reply-To: <20090505165050.GA15487@dchagin.static.corbina.ru> (Chagin Dmitry's message of "Tue\, 5 May 2009 20\:50\:50 +0400") Message-ID: <37272314@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 17:04:56 -0000 On Tue, 5 May 2009 20:50:50 +0400 Chagin Dmitry wrote: > On Tue, May 05, 2009 at 08:37:38PM +0400, Boris Samorodov wrote: > > On Tue, 5 May 2009 20:04:17 +0400 Chagin Dmitry wrote: > > > On Tue, May 05, 2009 at 05:42:03PM +0400, Boris Samorodov wrote: > > > > On Tue, 5 May 2009 17:05:25 +0400 Chagin Dmitry wrote: > > > > > > > > > Whether you somewhere can put a ping binary? > > > > > > > > Here is a shar of linux_base-f10 and linux-f10-iputils: > > > > ftp://ftp.ipt.ru/pub/linux/f10+iputils.shar > > > > It is relative to /usr/ports, i.e.: > > > > # cd /usr/ports > > > > # sh > > > > > => Couldn't fetch it - please try to retrieve this > > > > Any diagnostic? > > > It seems that it does not search in a releases directory, > looks only to updates :) > I have copied a file manually. Ah, yes! I've forgotten that I work with patched Mk/bsd.linux-* files! For those who don't want to fetch files manually, you may use the following diff: ftp://ftp.ipt.ru/pub/linux/Mk.f10.diff . WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 18:42:07 2009 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 75F6F106566C for ; Tue, 5 May 2009 18:42:07 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 22B3E8FC18 for ; Tue, 5 May 2009 18:42:06 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id B839B9918C; Tue, 5 May 2009 22:42:05 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1774236500; Tue, 05 May 2009 22:42:05 +0400 Received: from dchagin.static.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.static.corbina.ru (8.14.3/8.14.3) with ESMTP id n45Ig526018741; Tue, 5 May 2009 22:42:05 +0400 (MSD) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.3/8.14.3/Submit) id n45IfxF7018740; Tue, 5 May 2009 22:41:59 +0400 (MSD) (envelope-from dchagin) Date: Tue, 5 May 2009 22:41:59 +0400 From: Chagin Dmitry To: Boris Samorodov Message-ID: <20090505184159.GA18677@dchagin.static.corbina.ru> References: <81924694@bb.ipt.ru> <20090505144955.16373k1b32dpaxo0@webmail.leidinger.net> <47993241@bb.ipt.ru> <20090505160827.1359651x47bqmxc8@webmail.leidinger.net> <67678219@bb.ipt.ru> <20090505160724.GB14703@dchagin.static.corbina.ru> <35513746@bb.ipt.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <35513746@bb.ipt.ru> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Alexander Leidinger , freebsd-emulation@freebsd.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 18:42:07 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 05, 2009 at 08:41:01PM +0400, Boris Samorodov wrote: > On Tue, 5 May 2009 20:07:24 +0400 Chagin Dmitry wrote: > > On Tue, May 05, 2009 at 07:26:28PM +0400, Boris Samorodov wrote: >=20 > > > May 5 19:10:34 bb kernel: bsam: linux_socket (LINUX): domain: 2, typ= e: 2050, protocol: 0 > > > May 5 19:10:34 bb kernel: bsam: linux_socket (FreeBSD): domain: 2 > > > May 5 19:10:34 bb kernel: bsam: LINUX_SOCKET: 43 > > > May 5 19:10:34 bb kernel: bsam: Entering linux_socketcall. > > > May 5 19:10:34 bb kernel: bsam: linux_socket (LINUX): domain: 2, typ= e: 2050, protocol: 0 > > > May 5 19:10:34 bb kernel: bsam: linux_socket (FreeBSD): domain: 2 > > > May 5 19:10:34 bb kernel: bsam: LINUX_SOCKET: 43 > > > ----- > > >=20 > > > Corresponding text for linux_kdump and truss: > > > ftp://ftp.ipt.ru/pub/linux/linux_kdump.ping.txt > > > ftp://ftp.ipt.ru/pub/linux/truss.ping.txt > > >=20 >=20 > > heh, it seems to me that SOCK_CLOEXEC, SOCK_NONBLOCK bits used. > > should be fixed. socketpair() also uses it since 2.6.29 >=20 > I'll be glad to test patches. >=20 dchagin# ./ping ya.ru WARNING: setsockopt(ICMP_FILTER): Protocol not available WARNING: your kernel is veeery old. No problems. PING ya.ru (213.180.204.8) 56(84) bytes of data. ping: recvmsg: Invalid argument ping: recvmsg: Invalid argument So, more work nedeed. At least from 2.6.16 to 2.6.23 :) --=20 Have fun! chd --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkoAiHcACgkQ0t2Tb3OO/O2rCgCfaKgeIao8BjZmNCGvBuBXpH5N T/EAn0Rz4Pym8k6KawtFTDmxl8vWAWuy =hROq -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 19:11:50 2009 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 4735B1065673; Tue, 5 May 2009 19:11:50 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id F1DB98FC1C; Tue, 5 May 2009 19:11:49 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from gate.ipt.ru ([194.62.233.123] helo=h30.sp.ipt.ru) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M1Q3Q-000E69-4g; Tue, 05 May 2009 23:11:48 +0400 To: Chagin Dmitry References: <81924694@bb.ipt.ru> <20090505144955.16373k1b32dpaxo0@webmail.leidinger.net> <47993241@bb.ipt.ru> <20090505160827.1359651x47bqmxc8@webmail.leidinger.net> <67678219@bb.ipt.ru> <20090505160724.GB14703@dchagin.static.corbina.ru> <35513746@bb.ipt.ru> <20090505184159.GA18677@dchagin.static.corbina.ru> From: Boris Samorodov Date: Tue, 05 May 2009 23:11:47 +0400 In-Reply-To: <20090505184159.GA18677@dchagin.static.corbina.ru> (Chagin Dmitry's message of "Tue\, 5 May 2009 22\:41\:59 +0400") Message-ID: <80154524@h30.sp.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alexander Leidinger , freebsd-emulation@freebsd.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 19:11:50 -0000 On Tue, 5 May 2009 22:41:59 +0400 Chagin Dmitry wrote: > On Tue, May 05, 2009 at 08:41:01PM +0400, Boris Samorodov wrote: > > On Tue, 5 May 2009 20:07:24 +0400 Chagin Dmitry wrote: > > > On Tue, May 05, 2009 at 07:26:28PM +0400, Boris Samorodov wrote: > > > > > > May 5 19:10:34 bb kernel: bsam: linux_socket (LINUX): domain: 2, type: 2050, protocol: 0 > > > > May 5 19:10:34 bb kernel: bsam: linux_socket (FreeBSD): domain: 2 > > > > May 5 19:10:34 bb kernel: bsam: LINUX_SOCKET: 43 > > > > May 5 19:10:34 bb kernel: bsam: Entering linux_socketcall. > > > > May 5 19:10:34 bb kernel: bsam: linux_socket (LINUX): domain: 2, type: 2050, protocol: 0 > > > > May 5 19:10:34 bb kernel: bsam: linux_socket (FreeBSD): domain: 2 > > > > May 5 19:10:34 bb kernel: bsam: LINUX_SOCKET: 43 > > > > ----- > > > > > > > > Corresponding text for linux_kdump and truss: > > > > ftp://ftp.ipt.ru/pub/linux/linux_kdump.ping.txt > > > > ftp://ftp.ipt.ru/pub/linux/truss.ping.txt > > > > > > > > > heh, it seems to me that SOCK_CLOEXEC, SOCK_NONBLOCK bits used. > > > should be fixed. socketpair() also uses it since 2.6.29 > > > > I'll be glad to test patches. > dchagin# ./ping ya.ru > WARNING: setsockopt(ICMP_FILTER): Protocol not available > WARNING: your kernel is veeery old. No problems. > PING ya.ru (213.180.204.8) 56(84) bytes of data. > ping: recvmsg: Invalid argument > ping: recvmsg: Invalid argument > So, more work nedeed. At least from 2.6.16 to 2.6.23 :) If ya.ru is not listed at your /etc/hosts, that may be enough (for now). I got such result with localhost and it's FQDN, and programs (linux-seamonkey, etc.) work with them. Can you send me your patch(es)? WBR -- bsam From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 20:01:15 2009 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 B60511065673 for ; Tue, 5 May 2009 20:01:15 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail34.syd.optusnet.com.au (mail34.syd.optusnet.com.au [211.29.133.218]) by mx1.freebsd.org (Postfix) with ESMTP id 48AC08FC13 for ; Tue, 5 May 2009 20:01:15 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-216-167.belrs3.nsw.optusnet.com.au [122.106.216.167]) by mail34.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n45K1BWK007721 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 May 2009 06:01:13 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id n45K1B3G017278; Wed, 6 May 2009 06:01:11 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id n45K19Ln017277; Wed, 6 May 2009 06:01:09 +1000 (EST) (envelope-from peter) Date: Wed, 6 May 2009 06:01:09 +1000 From: Peter Jeremy To: Tijl Coosemans Message-ID: <20090505200109.GA13136@server.vk2pj.dyndns.org> References: <20090505074827.GA93977@server.vk2pj.dyndns.org> <20090505145543.28393p52iyzgqu80@webmail.leidinger.net> <200905051524.56217.tijl@ulyssis.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <200905051524.56217.tijl@ulyssis.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-emulation@freebsd.org Subject: Re: Flash issues on -current/i386 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, 05 May 2009 20:01:16 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-May-05 15:24:55 +0200, Tijl Coosemans wrote: >On Tuesday 05 May 2009 14:55:43 Alexander Leidinger wrote: >> Quoting Peter Jeremy (from Tue, 5 May =20 >> 2009 17:48:27 +1000): >>=20 >>> I then tried revering to flash9 (still with 2.6.16 and fc8). This >>> can successfully display video from both youtube and iview but has >>> no audio - it consistently reports the following: >>> ALSA lib confmisc.c:768:(parse_card) cannot find card '0' >>> ALSA lib conf.c:3510:(_snd_config_evaluate) function >>=20 >> The flashsupport lib does not fit to your flash9. It is responsible >> to use OSS instead of ALSA. Look around on the emulation@ ML for >> places where you could try looking for it (if the ports doesn't >> provide it for your OS version). > >You can use libflashsupport from linux-f8-flashplugin10. Interestingly, that puts me back in the situation where youtube works with audio but iview won't load. (And whilst iview states that it needs flash10, I was successfully using it with Flash 7 or thereabouts under Linux). I obviously need to do a lot more investigation :-(. --=20 Peter Jeremy --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkoAmwUACgkQ/opHv/APuIcZ/wCcCztk2qi7yWGiom7vKxQO/zCB HFcAn1N25QF+WALlA1vkfNmppTuC7zv6 =bnHw -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY-- From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 20:30:03 2009 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 8753F106564A for ; Tue, 5 May 2009 20:30:03 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from mailrelay004.isp.belgacom.be (mailrelay004.isp.belgacom.be [195.238.6.170]) by mx1.freebsd.org (Postfix) with ESMTP id 12BE98FC08 for ; Tue, 5 May 2009 20:30:02 +0000 (UTC) (envelope-from tijl@ulyssis.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUFAOQ+AEpR9TFL/2dsb2JhbACBUM9mgjGBUAU Received: from 75.49-245-81.adsl-dyn.isp.belgacom.be (HELO kalimero.kotnet.org) ([81.245.49.75]) by relay.skynet.be with ESMTP; 05 May 2009 22:30:01 +0200 Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.14.3/8.14.3) with ESMTP id n45KTsHc070005; Tue, 5 May 2009 22:29:54 +0200 (CEST) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: Peter Jeremy , freebsd-emulation@freebsd.org Date: Tue, 5 May 2009 22:29:53 +0200 User-Agent: KMail/1.9.10 References: <20090505074827.GA93977@server.vk2pj.dyndns.org> <200905051524.56217.tijl@ulyssis.org> <20090505200109.GA13136@server.vk2pj.dyndns.org> In-Reply-To: <20090505200109.GA13136@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905052229.54159.tijl@ulyssis.org> Cc: Subject: Re: Flash issues on -current/i386 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, 05 May 2009 20:30:03 -0000 On Tuesday 05 May 2009 22:01:09 Peter Jeremy wrote: > On 2009-May-05 15:24:55 +0200, Tijl Coosemans wrote: >> On Tuesday 05 May 2009 14:55:43 Alexander Leidinger wrote: >>> Quoting Peter Jeremy (from Tue, 5 May >>> 2009 17:48:27 +1000): >>>> I then tried revering to flash9 (still with 2.6.16 and fc8). This >>>> can successfully display video from both youtube and iview but has >>>> no audio - it consistently reports the following: >>>> ALSA lib confmisc.c:768:(parse_card) cannot find card '0' >>>> ALSA lib conf.c:3510:(_snd_config_evaluate) function >>> >>> The flashsupport lib does not fit to your flash9. It is responsible >>> to use OSS instead of ALSA. Look around on the emulation@ ML for >>> places where you could try looking for it (if the ports doesn't >>> provide it for your OS version). >> >> You can use libflashsupport from linux-f8-flashplugin10. > > Interestingly, that puts me back in the situation where youtube works > with audio but iview won't load. (And whilst iview states that it > needs flash10, I was successfully using it with Flash 7 or thereabouts > under Linux). I obviously need to do a lot more investigation :-(. Libflashsupport is open source, so if you want to play with it you can find all the relevant information in: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/127839 From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 21:17:45 2009 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 F2CE6106564A for ; Tue, 5 May 2009 21:17:45 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id DF5CF8FC0C for ; Tue, 5 May 2009 21:17:45 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from eagle.syrec.org (ppp-71-139-35-171.dsl.snfc21.pacbell.net [71.139.35.171]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n45L1DqJ031607; Tue, 5 May 2009 14:01:16 -0700 (PDT) Message-ID: <4A00A914.2040803@rawbw.com> Date: Tue, 05 May 2009 14:01:08 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.21 (X11/20090419) MIME-Version: 1.0 To: Boris Samorodov References: <49FEBA7A.9030708@rawbw.com> <12332424@bb.ipt.ru> In-Reply-To: <12332424@bb.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: Skype got broken after the new linux ports infrastructure is introduced X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2009 21:17:46 -0000 Boris Samorodov wrote: > > Can abybody comment on this? > I would add some info on this issue. Those relevant Linux ports installed besides skype: linux-alsa-lib-1.0.10.3_1 linux-atk-1.9.1_2 linux-cairo-1.0.2_1 linux-expat-1.95.8_1 linux-fontconfig-2.2.3_8 linux-gtk2-2.6.10_2 linux-hicolor-icon-theme-0.5_2 linux-jpeg-6b.34_1 linux-libsigc-2.0.17_1 linux-nvu-1.0_1 linux-pango-1.10.2_2 linux-png-1.2.8_3 linux-scim-gtk-fc4-1.4.4_1 linux-scim-libs-fc4-1.4.4_2 linux-tiff-3.7.1_1 linux-xorg-libs-6.8.2_6 linux_base-fc6-6_5 linux_dri-7.0 Also for some reason there is a potentially relevant line: OVERRIDE_LINUX_BASE_PORT=fc6 in /etc/make.conf. Yuri From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 21:41:05 2009 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 2691610656C5 for ; Tue, 5 May 2009 21:41:05 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id EC3928FC1F for ; Tue, 5 May 2009 21:41:04 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from eagle.syrec.org (ppp-71-139-35-171.dsl.snfc21.pacbell.net [71.139.35.171]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n45Lf4cn046556; Tue, 5 May 2009 14:41:04 -0700 (PDT) Message-ID: <4A00B26F.1020709@rawbw.com> Date: Tue, 05 May 2009 14:41:03 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.21 (X11/20090419) MIME-Version: 1.0 To: Boris Samorodov , freebsd-emulation@FreeBSD.org References: <49FEBA7A.9030708@rawbw.com> <12332424@bb.ipt.ru> <4A00A914.2040803@rawbw.com> In-Reply-To: <4A00A914.2040803@rawbw.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Skype got broken after the new linux ports infrastructure is introduced X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2009 21:41:05 -0000 Now I reinstalled skype with the following lines in make.conf: OVERRIDE_LINUX_BASE_PORT=f8 OVERRIDE_LINUX_NONBASE_PORTS=f8 Skype has the same problem. Plus in addition Cyrillic characters don't show up in contact names. Linux packages installed now are: linux-f8-alsa-lib-1.0.15 linux-f8-expat-2.0.1 linux-f8-fontconfig-2.4.2 linux-f8-libsigc++20-2.0.18 linux-f8-xorg-libs-7.3_2 linux_base-f8-8_11 linux_dri-7.0 Should I file a PR for Cyrillic characters broken with f8? Yuri From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 22:06:01 2009 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 DCA3C106564A for ; Tue, 5 May 2009 22:06:01 +0000 (UTC) (envelope-from prvs=1376b98bf5=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 605178FC14 for ; Tue, 5 May 2009 22:06:01 +0000 (UTC) (envelope-from prvs=1376b98bf5=killing@multiplay.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1241560537; x=1242165337; q=dns/txt; h=Received: Message-ID:From:To:Cc:References:Subject:Date:MIME-Version: Content-Type; bh=SX4Wg8C9HkYMVAzJwxhY9LGkfFtCYjw7xbJoNGI0vRw=; b=YkdcVyTHLbtPKYe3YCZ123yrqpGzK01BMjCuk9YVImDnbU/EeuKIzz8924r0DB dSWobLEhQbY6tCep46CWnKlmmrNyxAKE/tQTAPPQwKm7DnmSeMVYXFN40Ob+N/2L fe3w8gDE7hGC/ilQMteTMlqToE7mx0a5UeWacltDmVwSg= X-MDAV-Processed: mail1.multiplay.co.uk, Tue, 05 May 2009 22:55:37 +0100 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v10.0.4) with ESMTP id md50007462545.msg for ; Tue, 05 May 2009 22:55:36 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Tue, 05 May 2009 22:55:36 +0100 (not processed: message from trusted or authenticated source) X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 85.236.106.102 X-Return-Path: prvs=1376b98bf5=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-emulation@FreeBSD.org Message-ID: From: "Steven Hartland" To: "Alexander Leidinger" , "Boris Samorodov" References: <81924694@bb.ipt.ru><20090505144955.16373k1b32dpaxo0@webmail.leidinger.net> <47993241@bb.ipt.ru> Date: Tue, 5 May 2009 22:55:34 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0CDB_01C9CDD4.991104C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Cc: freebsd-emulation@FreeBSD.org Subject: Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported' 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, 05 May 2009 22:06:03 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0CDB_01C9CDD4.991104C0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Attached is some patches we use based off 7.0 which add a few additional Linux calls including sockets, so may help. Regards Steve ----- Original Message ----- From: "Boris Samorodov" >> instrument the current code to print out the parameters to >> linux_socketcall in a human readable way. > > Can you give a tiny example? ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. ------=_NextPart_000_0CDB_01C9CDD4.991104C0 Content-Type: application/octet-stream; name="syscalls.c.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="syscalls.c.patch" --- syscalls.c.orig 2008-07-13 22:34:30.000000000 +0100=0A= +++ syscalls.c 2008-11-22 02:27:12.000000000 +0000=0A= @@ -96,4 +96,8 @@=0A= { "readlink", 1, 3,=0A= { { Name, 0 } , { Readlinkres | OUT, 1 }, { Int, 2 }}},=0A= + { "linux_readlink", 1, 3,=0A= + { { Name, 0 } , { Name | OUT, 1 }, { Int, 2 }}},=0A= + { "linux_socketcall", 1, 2,=0A= + { { Int, 0 } , { LinuxSockArgs, 1 }}},=0A= { "lseek", 2, 3,=0A= { {Int, 0}, {Quad, 1 + QUAD_ALIGN},=0A= @@ -112,4 +116,6 @@=0A= { "linux_open", 1, 3,=0A= { { Name, 0 }, { Hex, 1}, { Octal, 2 }}},=0A= + { "linux_mkdir", 1, 2,=0A= + { { Name | IN, 0} , {Int, 1}}},=0A= { "close", 1, 1,=0A= { { Int, 0 } } },=0A= @@ -136,4 +142,6 @@=0A= { "stat", 1, 2,=0A= { { Name | IN, 0 }, { Stat | OUT, 1 }}},=0A= + { "linux_stat64", 1, 3,=0A= + { { Name | IN, 0 }, { Ptr | OUT, 1 }, { Ptr | IN, 1 }}},=0A= { "lstat", 1, 2,=0A= { { Name | IN, 0 }, { Stat | OUT, 1 }}},=0A= @@ -149,4 +157,5 @@=0A= { "exit", 0, 1, { { Hex, 0 }}},=0A= { "access", 1, 2, { { Name | IN, 0 }, { Int, 1 }}},=0A= + { "linux_access", 1, 2, { { Name, 0 }, { Int, 1 }}},=0A= { "sigaction", 1, 3,=0A= { { Signal, 0 }, { Sigaction | IN, 1 }, { Sigaction | OUT, 2 }}},=0A= @@ -667,4 +676,75 @@=0A= break;=0A= case Itimerval:=0A= + case LinuxSockArgs:=0A= + {=0A= +=0A= + struct linux_socketcall_args largs;=0A= + if ( get_struct(pid, (void *)args[sc->offset], (void *)&largs, = sizeof(largs)) =3D=3D -1)=0A= + {=0A= + err(1, "get_struct %p", (void *)args[sc->offset]);=0A= + }=0A= + const char *what;=0A= + char buf[30];=0A= +=0A= + switch (largs.what) {=0A= + case LINUX_SOCKET:=0A= + what =3D "LINUX_SOCKET";=0A= + break;=0A= + case LINUX_BIND:=0A= + what =3D "LINUX_BIND";=0A= + break;=0A= + case LINUX_CONNECT:=0A= + what =3D "LINUX_CONNECT";=0A= + break;=0A= + case LINUX_LISTEN:=0A= + what =3D "LINUX_LISTEN";=0A= + break;=0A= + case LINUX_ACCEPT:=0A= + what =3D "LINUX_ACCEPT";=0A= + break;=0A= + case LINUX_GETSOCKNAME:=0A= + what =3D "LINUX_GETSOCKNAME";=0A= + break;=0A= + case LINUX_GETPEERNAME:=0A= + what =3D "LINUX_GETPEERNAME";=0A= + break;=0A= + case LINUX_SOCKETPAIR:=0A= + what =3D "LINUX_SOCKETPAIR";=0A= + break;=0A= + case LINUX_SEND: =0A= + what =3D "LINUX_SEND";=0A= + break;=0A= + case LINUX_RECV: =0A= + what =3D "LINUX_RECV";=0A= + break;=0A= + case LINUX_SENDTO:=0A= + what =3D "LINUX_SENDTO";=0A= + break;=0A= + case LINUX_RECVFROM:=0A= + what =3D "LINUX_RECVFROM";=0A= + break;=0A= + case LINUX_SHUTDOWN:=0A= + what =3D "LINUX_SHUTDOWN";=0A= + break;=0A= + case LINUX_SETSOCKOPT:=0A= + what =3D "LINUX_SETSOCKOPT";=0A= + break;=0A= + case LINUX_GETSOCKOPT:=0A= + what =3D "LINUX_GETSOCKOPT";=0A= + break;=0A= + case LINUX_SENDMSG:=0A= + what =3D "LINUX_SENDMSG";=0A= + break;=0A= + case LINUX_RECVMSG:=0A= + what =3D "LINUX_RECVMSG";=0A= + break;=0A= + default:=0A= + sprintf( buf, "%d", largs.what );=0A= + what =3D buf;=0A= + break;=0A= + }=0A= + asprintf(&tmp, "(0x%lx)%s, 0x%lx", args[sc->offset], what, (long = unsigned int)largs.args );=0A= + }=0A= + break;=0A= {=0A= struct itimerval itv;=0A= ------=_NextPart_000_0CDB_01C9CDD4.991104C0 Content-Type: application/octet-stream; name="syscall.h.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="syscall.h.patch" --- /usr/src/usr.bin/truss/syscall.h.orig 2007-04-10 05:03:34.000000000 = +0100=0A= +++ /usr/src/usr.bin/truss/syscall.h 2008-06-30 13:16:01.000000000 +0100=0A= @@ -41,5 +41,5 @@=0A= Umtx, Sigset, Sigprocmask, Kevent, Sockdomain, Socktype, Open,=0A= Fcntlflag, Rusage, BinString, Shutdown, Resource, Rlimit, Timeval2,=0A= - Pathconf };=0A= + Pathconf, LinuxSockArgs };=0A= =0A= #define ARG_MASK 0xff=0A= @@ -65,2 +65,49 @@=0A= void print_syscall_ret(struct trussinfo *, const char *, int, char **, = int,=0A= long);=0A= +=0A= +/*=0A= + * Linux Socket defines=0A= + */=0A= +#define LINUX_SOCKET 1=0A= +#define LINUX_BIND 2=0A= +#define LINUX_CONNECT 3=0A= +#define LINUX_LISTEN 4=0A= +#define LINUX_ACCEPT 5=0A= +#define LINUX_GETSOCKNAME 6=0A= +#define LINUX_GETPEERNAME 7=0A= +#define LINUX_SOCKETPAIR 8=0A= +#define LINUX_SEND 9=0A= +#define LINUX_RECV 10=0A= +#define LINUX_SENDTO 11=0A= +#define LINUX_RECVFROM 12=0A= +#define LINUX_SHUTDOWN 13=0A= +#define LINUX_SETSOCKOPT 14=0A= +#define LINUX_GETSOCKOPT 15=0A= +#define LINUX_SENDMSG 16=0A= +#define LINUX_RECVMSG 17 =0A= +=0A= +#define PAD_(t) (sizeof(register_t) <=3D sizeof(t) ? \=0A= + 0 : sizeof(register_t) - sizeof(t))=0A= + =0A= +#if BYTE_ORDER =3D=3D LITTLE_ENDIAN=0A= +#define PADL_(t) 0=0A= +#define PADR_(t) PAD_(t)=0A= +#else=0A= +#define PADL_(t) PAD_(t)=0A= +#define PADR_(t) 0=0A= +#endif=0A= +=0A= +typedef int l_int;=0A= +typedef uint32_t l_ulong;=0A= +=0A= +struct linux_socketcall_args {=0A= + char what_l_[PADL_(l_int)]; l_int what; char what_r_[PADR_(l_int)];=0A= + char args_l_[PADL_(l_ulong)]; l_ulong args; char = args_r_[PADR_(l_ulong)];=0A= +};=0A= +=0A= +/*=0A= +struct linux_socketcall_args {=0A= + l_int what;=0A= + l_ulong args;=0A= +};=0A= +*/=0A= ------=_NextPart_000_0CDB_01C9CDD4.991104C0-- From owner-freebsd-emulation@FreeBSD.ORG Tue May 5 22:35:30 2009 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 4FA61106566B for ; Tue, 5 May 2009 22:35:30 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 21CCB8FC15 for ; Tue, 5 May 2009 22:35:29 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from eagle.syrec.org (ppp-71-139-35-171.dsl.snfc21.pacbell.net [71.139.35.171]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n45MZTwi079049; Tue, 5 May 2009 15:35:29 -0700 (PDT) Message-ID: <4A00BF30.30707@rawbw.com> Date: Tue, 05 May 2009 15:35:28 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.21 (X11/20090419) MIME-Version: 1.0 To: Boris Samorodov References: <49FEBA7A.9030708@rawbw.com> <12332424@bb.ipt.ru> In-Reply-To: <12332424@bb.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: Skype got broken after the new linux ports infrastructure is introduced X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2009 22:35:30 -0000 I did more experimenting, checked out ports from Mar 15, before the new infrastructure is introduced on Mar 19, installed skype and all linux ports from this ports tree from Mar 15 and still see the problem. Now I suspect that kernel changes caused it. I think skype stopped working for me after I updated and recompiled kernel-7.2-PRERELEASE on Apr 25. Previous kernel-7.1-STABLE from Feb 25 worked fine. Do you know if any Linux-related changes were merged into 7.X branch between Feb 25 and Apr 25? Yuri From owner-freebsd-emulation@FreeBSD.ORG Wed May 6 14:17:40 2009 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 45D05106564A for ; Wed, 6 May 2009 14:17:40 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id C43618FC15 for ; Wed, 6 May 2009 14:17:39 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so42088fgb.12 for ; Wed, 06 May 2009 07:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:disposition-notification-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; bh=Hj4Qf5hryqq6bZN4B2Z6aH8E8PFKM7vE4m/KqrTNuIA=; b=uwQpBsVL9Svz7lAQFbmTeTxqi5z0vHn4t4Jsy+jzGE+BOfH9rY4Xnqz1osPLVGUMsv kNrksLUvu6AWzNM24aPPtFqvM+T+aFXtORoWXr4Ru4WmD/7klYtC1iFByLJOHY4hbr4C gzDm/ydhMo3GUKqnp1lLc4k7b56G0THGSxbMg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to :disposition-notification-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=rC0bLwaAsaZeiip834XiBBUYFf1MSs0tMyNwKyVlDtiyhUhatXl2ElE+Oor8A9KAsX TjXZFBrrnwbUFb2J8+rAscyClB49rVntF2sUdrXk8NAMx4tNj4sSRyZUv7Rr0SbeBpIP 5Pw7bhvg3gjUgxj7nh7HtWZ3wetc2eDWJk2xY= Received: by 10.86.4.7 with SMTP id 7mr1322904fgd.46.1241618128778; Wed, 06 May 2009 06:55:28 -0700 (PDT) Received: from oleg.nevosoft.local ([195.182.128.54]) by mx.google.com with ESMTPS id 12sm11683242fgg.15.2009.05.06.06.55.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 06 May 2009 06:55:27 -0700 (PDT) From: subbsd To: freebsd-emulation@freebsd.org Date: Wed, 6 May 2009 17:55:23 +0400 User-Agent: KMail/1.11.2 (FreeBSD/8.0-CURRENT; KDE/4.2.2; i386; ; ) References: <49FEBA7A.9030708@rawbw.com> <4A00A914.2040803@rawbw.com> <4A00B26F.1020709@rawbw.com> In-Reply-To: <4A00B26F.1020709@rawbw.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905061755.24101.subbsd@gmail.com> Subject: Re: Skype got broken after the new linux ports infrastructure is introduced 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: Wed, 06 May 2009 14:17:40 -0000 On Wednesday 06 May 2009 01:41:03 Yuri wrote: > Now I reinstalled skype with the following lines in make.conf: > OVERRIDE_LINUX_BASE_PORT=f8 > OVERRIDE_LINUX_NONBASE_PORTS=f8 > > Skype has the same problem. > Plus in addition Cyrillic characters don't show up in contact names. > > Linux packages installed now are: > linux-f8-alsa-lib-1.0.15 > linux-f8-expat-2.0.1 > linux-f8-fontconfig-2.4.2 > linux-f8-libsigc++20-2.0.18 > linux-f8-xorg-libs-7.3_2 > linux_base-f8-8_11 > linux_dri-7.0 > > Should I file a PR for Cyrillic characters broken with f8? > I've get some problem after upgrading skype/linux-fc8 - blank square instead of cyrillic letters. Removing /compat/linux/root/.font.cache-\* and reinstall of linux-f8-fontconfig-2.4.2 helps for me. Also you can check pathdir in /compat/linux/etc/fonts/fonts.conf > Yuri > > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to > "freebsd-emulation-unsubscribe@freebsd.org" From owner-freebsd-emulation@FreeBSD.ORG Wed May 6 14:56:22 2009 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 C5E701065899 for ; Wed, 6 May 2009 14:56:22 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 8000E8FC35 for ; Wed, 6 May 2009 14:56:22 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M1iXk-0002mB-Pb; Wed, 06 May 2009 18:56:20 +0400 To: Juergen Lock References: <20090412201428.GA67309@triton.kn-bremen.de> From: Boris Samorodov Date: Wed, 06 May 2009 18:56:20 +0400 In-Reply-To: <20090412201428.GA67309@triton.kn-bremen.de> (Juergen Lock's message of "Sun\, 12 Apr 2009 22\:14\:28 +0200") Message-ID: <46225595@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org Subject: Re: got google earth running again, tho still with indirect rendering... 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: Wed, 06 May 2009 14:56:23 -0000 On Sun, 12 Apr 2009 22:14:28 +0200 Juergen Lock wrote: > The following alias seems to work here now with OVERRIDE_LINUX_NONBASE_PORTS > set to f8 after the astro/google-earth USE_LINUX_APPS+= dri commit: > alias googleearth="LIBGL_ALWAYS_INDIRECT=1 cpuset -l 0 googleearth" > Without LIBGL_ALWAYS_INDIRECT if often crashes right at startup (and if > not, says it switches to indirect rendering by itself), and without > cpuset it often seems to hang/deadlock after popping up its tips window. > (The latter can only make a difference on smp of course.) > Tested on 7-stable/amd64 with intel 965 and ati RV730 PRO using video-ati > (the second one without any gl at all of course.) > I guess all we need now is linux dri bits matching our version of native > xorg and possibly some needed linuxolator changes? I have some progress here (CURRENT with some yet uncommitted patches): ----- bb% /compat/linux/usr/bin/glxinfo | grep render direct rendering: Yes OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL bb% /compat/linux/usr/bin/glxgears Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. 9037 frames in 5.0 seconds = 1807.302 FPS 9055 frames in 5.0 seconds = 1810.829 FPS 9041 frames in 5.0 seconds = 1808.094 FPS ^C bb% pkg_info -xI linux linux-dri74 Place a comment here linux-f10-alsa-lib-1.0.19 The Advanced Linux Sound Architecture libraries (Linux Fedo linux-f10-aspell-0.60.6 Spelling checker with better logic than ispell (Linux Fedor linux-f10-atk-1.24.0 Accessibility Toolkit, Linux/i386 binary (Linux Fedora 10) linux-f10-cairo-1.8.0 Vector graphics library Cairo (Linux Fedora 10) linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing library (Linux linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X Windows (Linux Fe linux-f10-gtk2-2.14.7 GTK+ library, version 2.X (Linux Fedora 10) linux-f10-hicolor-icon-theme-0.5 A high-color icon theme shell from the FreeDesktop project linux-f10-iputils-20071127 PLEASE, place a comment here linux-f10-jpeg-6b RPM of the JPEG lib (Linux Fedora 10) linux-f10-libcap-2.10 PLEASE, place a comment here linux-f10-libidn-0.6.14 Internationalized Domain Name support library (Linux Fedora linux-f10-libsigc++20-2.2.2 Callback Framework for C++ (Linux Fedora 10) linux-f10-pango-1.22.3 The pango library (Linux Fedora 10) linux-f10-png-1.2.35 RPM of the PNG lib (Linux Fedora 10) linux-f10-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora 10) linux-f10-xorg-libs-7.4 Xorg libraries (Linux Fedora 10) linux-opera-9.64 A blazingly fast, full-featured, standards-compliant browse linux-seamonkey-1.1.16 The open source, standards compliant web browser linux-thunderbird-2.0.0.21 Mozilla Thunderbird is standalone mail and news that stands linux_base-f10-10 Base set of packages needed in Linux mode for i386/amd64 (L linux_kdump-1.5_2 Linux-compatability ktrace.out processor ----- linux-dri74 is a port with libraries and binaries for dri-7.4 from ubuntu-9.0.4. BTW, googleearth works like a charm even with cyrillic letters. But it crashes (only?) at exit: ----- bb% googleearth Google Earth has caught signal 11. Stacktrace from glibc: ./googleearth-bin [0x806c343] ./googleearth-bin [0x806c8b6] [0xbfbfffbb] ./libbase.so(_ZN5earth6System4joinEm+0x23) [0x351c8b93] ./libge_net.so(_ZN5earth3net18CurlHttpConnectionD2Ev+0x42) [0x3521d2e2] ./libge_net.so(_ZN5earth3net26CurlPasswordHttpConnectionD0Ev+0x2d) [0x3523b31d] ./libge_net.so(_ZN5earth3net20ConnectionRefCounterD0Ev+0x6e) [0x3521ecce] ./libge_net.so(_ZN5earth3net17ConnectionManager21ConnectionRequestPairD0Ev+0x7a) [0x3521b22a] ./libge_net.so(_ZNSt10_List_baseIN5earth6RefPtrINS0_3net17ConnectionManager21ConnectionRequestPairEEESaIS5_EE8_M_clearEv+0x118) [0x3523abd8] ./libge_net.so(_ZN5earth3net17ConnectionManagerD0Ev+0xf4) [0x3521e1e4] ./libge_net.so(_ZN5earth3net7Fetcher8shutdownEv+0x1fa) [0x35220a9a] ./libge_net.so(_ZN5earth3net8shutdownEv+0x1c) [0x35220f7c] ./libgoogleearth_lib.so(_ZN5earth6client11ApplicationD1Ev+0x244) [0x34f583e4] ./googleearth-bin(main+0x290) [0x806cdf0] /lib/libc.so.6(__libc_start_main+0xe5) [0x34fc36e5] ./googleearth-bin [0x806bad1] ----- WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Wed May 6 17:06:48 2009 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 C5C14106567B for ; Wed, 6 May 2009 17:06:48 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 851FA8FC1F for ; Wed, 6 May 2009 17:06:48 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M1kZz-0004NK-FW for freebsd-emulation@FreeBSD.org; Wed, 06 May 2009 21:06:47 +0400 To: freebsd-emulation@FreeBSD.org From: Boris Samorodov Date: Wed, 06 May 2009 21:06:47 +0400 Message-ID: <92627768@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: [call for testers] linux DRI 7.4 port (graphics/linux-dri74) 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: Wed, 06 May 2009 17:06:49 -0000 Hello List, I'd like to ask you to test a port I've created. This port is intended to replace graphics/linux_dri port (DRI 7.0) and linux-f8-dri port (DRO 7.0.2). Only compat.linux.osrelease 2.6.16 may be used. I think that it may be used at FreeBSD-7.2 (no idea about earlier 7.x versions). DRI drivers, libraries and binaries (glxinfo and glxgears) were taken from Ubuntu-9.0.4. The port lacks libglut and libglide3 libraries (I didn't find them for Ubuntu-9.0.4). Here it is: ftp://ftp.ipt.ru/pub/linux/linux-dri74.shar Get this shar file, and run it at /usr/ports: % (cd /usr/ports && sudo sh ) Then you should replace your existing linux dri port with this one. The port was tested at 8-current with linux-f8 and linux-f10 (not yet at official ports tree) and recent xorg. Here are the results: ----- bb% /compat/linux/usr/bin/glxinfo| grep render direct rendering: Yes OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL bb% /compat/linux/usr/bin/glxgears 9041 frames in 5.0 seconds = 1808.115 FPS 9056 frames in 5.0 seconds = 1811.171 FPS 9053 frames in 5.0 seconds = 1810.543 FPS ^C ----- Googleearth works for me but crashes at exitting. Please, test this port and give a feedback. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Fri May 8 03:45:40 2009 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69D9D1065674; Fri, 8 May 2009 03:45:40 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3E6008FC1C; Fri, 8 May 2009 03:45:40 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n483je02089638; Fri, 8 May 2009 03:45:40 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n483jeYI089634; Fri, 8 May 2009 03:45:40 GMT (envelope-from linimon) Date: Fri, 8 May 2009 03:45:40 GMT Message-Id: <200905080345.n483jeYI089634@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/134276: [linux][patch] MSG_NOSIGNAL not translated for recv(), socket timeout incorrect for 64-bit hosts 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: Fri, 08 May 2009 03:45:40 -0000 Synopsis: [linux][patch] MSG_NOSIGNAL not translated for recv(), socket timeout incorrect for 64-bit hosts Responsible-Changed-From-To: freebsd-bugs->freebsd-emulation Responsible-Changed-By: linimon Responsible-Changed-When: Fri May 8 03:45:32 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=134276 From owner-freebsd-emulation@FreeBSD.ORG Fri May 8 12:42:52 2009 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 6BFB21065674 for ; Fri, 8 May 2009 12:42:52 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 2BE058FC0C for ; Fri, 8 May 2009 12:42:51 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M2PPf-000AFG-3j for freebsd-emulation@FreeBSD.org; Fri, 08 May 2009 16:42:51 +0400 To: freebsd-emulation@FreeBSD.org From: Boris Samorodov Date: Fri, 08 May 2009 16:42:50 +0400 Message-ID: <92596693@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: [new port] graphics/linux-dri74 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: Fri, 08 May 2009 12:42:52 -0000 Hello List, I've just committed a new port graphics/linux-dri74. This port is intended to replace graphics/linux_dri and graphics/linux-f8-dri. The new port introduces linux DRI-7.4 drivers, libraries and binaries. One may use portupgrade/portmaster to switch to the new port: ----- # portupgrade -o graphics/linux-dri74 linux_dri ----- The port may be used with at least FreeBSD-7.2 and setting compat.linux.osrelease=2.6.16. Tested with recent xorg and drm. Use linux glxinfo to detect if direct rendering is enabled: ----- % /compat/linux/usr/bin/glxinfo| grep render direct rendering: Yes OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL ----- For those who like gears there is a linux binary: ----- % /compat/linux/usr/bin/glxgears Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. 9050 frames in 5.0 seconds = 1809.925 FPS 9060 frames in 5.0 seconds = 1811.917 FPS 9060 frames in 5.0 seconds = 1811.966 FPS ^C ----- Enjoy. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Fri May 8 17:37:52 2009 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9721106564A for ; Fri, 8 May 2009 17:37:52 +0000 (UTC) (envelope-from zeiztm@gmail.com) Received: from mail-fx0-f168.google.com (mail-fx0-f168.google.com [209.85.220.168]) by mx1.freebsd.org (Postfix) with ESMTP id 6B0E18FC13 for ; Fri, 8 May 2009 17:37:52 +0000 (UTC) (envelope-from zeiztm@gmail.com) Received: by fxm12 with SMTP id 12so1526423fxm.43 for ; Fri, 08 May 2009 10:37:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=oS1KFnGW06D6leRxcEQsRsX2Yfb0KPH9HDqJQSqKh0Q=; b=hNm4ZP2eaYzWZaQlyLG586FjxVK4VW8zkTsbDJP4Uftg7xd8MelMYarLyFKfK06ukI eVrEqxupMBSH8QC9xHnZLsB5/o6CfPTiGK6Xt6C4654/SMRr0V62WnQn4u+sLDrB8cwE tdcxe+J0OmLIet6vafZtxn/NwbSqdilLffCMk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=BIxyODZxio/oB5Y0auWF/XYVdGOldBn3oCZ8/O5aLopaXX4SZTaKHKLmfGdPv8tZTl 3f1e4HPxmnUE6Z7ivzNBdEANG4zWbdyez3g04XelcBOTHH+lALHN43G49+uxsGh3ahUW p3S+IBGtOly/P3dTMj8l9mEUMYQ4qU/lmp95c= MIME-Version: 1.0 Received: by 10.204.120.201 with SMTP id e9mr3768070bkr.187.1241803055970; Fri, 08 May 2009 10:17:35 -0700 (PDT) Date: Fri, 8 May 2009 13:17:35 -0400 Message-ID: From: Greg Wang To: emulation@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: FreeBSD Port: www/linux-f8-flashplugin10 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: Fri, 08 May 2009 17:37:53 -0000 I'm sorry for perhaps stupid question but how to install linux-f8-flashplugin10 on FreeBSD 7.2-RELEASE if it's known that the port marked as "Ignore" and the following message appears: linux-flashplugin-10.0r22 bsd.linux-apps.mk test failed: The component nss is not defined for LINUX_DIST_SUFFIX= (the corresponding variable nss_FILE is not defined). *** Error code 1 Regards, Walter. From owner-freebsd-emulation@FreeBSD.ORG Fri May 8 17:55:56 2009 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12B631065675; Fri, 8 May 2009 17:55:56 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DC53C8FC0C; Fri, 8 May 2009 17:55:55 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n48HttbJ049473; Fri, 8 May 2009 17:55:55 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n48HttTU049469; Fri, 8 May 2009 17:55:55 GMT (envelope-from linimon) Date: Fri, 8 May 2009 17:55:55 GMT Message-Id: <200905081755.n48HttTU049469@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: ports/134359: Missing version of libxml2 in Mk/bsd.linux-apps.mk 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: Fri, 08 May 2009 17:55:56 -0000 Old Synopsis: Missing version of libxml2 in bsd.linux-apps.mk New Synopsis: Missing version of libxml2 in Mk/bsd.linux-apps.mk Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-emulation Responsible-Changed-By: linimon Responsible-Changed-When: Fri May 8 17:55:07 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=134359 From owner-freebsd-emulation@FreeBSD.ORG Fri May 8 19:29:49 2009 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 911221065673; Fri, 8 May 2009 19:29:49 +0000 (UTC) (envelope-from bsam@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 669178FC12; Fri, 8 May 2009 19:29:49 +0000 (UTC) (envelope-from bsam@FreeBSD.org) Received: from freefall.freebsd.org (bsam@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n48JTn7X070074; Fri, 8 May 2009 19:29:49 GMT (envelope-from bsam@freefall.freebsd.org) Received: (from bsam@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n48JTnQg070070; Fri, 8 May 2009 19:29:49 GMT (envelope-from bsam) Date: Fri, 8 May 2009 19:29:49 GMT Message-Id: <200905081929.n48JTnQg070070@freefall.freebsd.org> To: happybsd@kiiroi.mimoza.jp, bsam@FreeBSD.org, freebsd-emulation@FreeBSD.org From: bsam@FreeBSD.org Cc: Subject: Re: ports/134359: Missing version of libxml2 in Mk/bsd.linux-apps.mk 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: Fri, 08 May 2009 19:29:50 -0000 Synopsis: Missing version of libxml2 in Mk/bsd.linux-apps.mk State-Changed-From-To: open->closed State-Changed-By: bsam State-Changed-When: Fri May 8 19:29:39 UTC 2009 State-Changed-Why: Committed, thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=134359 From owner-freebsd-emulation@FreeBSD.ORG Fri May 8 19:30:06 2009 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 327DC1065679 for ; Fri, 8 May 2009 19:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 20CA08FC0C for ; Fri, 8 May 2009 19:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n48JU5Jb070475 for ; Fri, 8 May 2009 19:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n48JU5aU070470; Fri, 8 May 2009 19:30:05 GMT (envelope-from gnats) Date: Fri, 8 May 2009 19:30:05 GMT Message-Id: <200905081930.n48JU5aU070470@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: ports/134359: commit references a PR X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2009 19:30:06 -0000 The following reply was made to PR ports/134359; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/134359: commit references a PR Date: Fri, 8 May 2009 19:29:12 +0000 (UTC) bsam 2009-05-08 19:29:03 UTC FreeBSD ports repository Modified files: Mk bsd.linux-apps.mk Log: Fix libxml library version. PR: ports/134359 Submitted by: Hidemi Yamashita Revision Changes Path 1.17 +2 -2 ports/Mk/bsd.linux-apps.mk _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From owner-freebsd-emulation@FreeBSD.ORG Fri May 8 19:37:33 2009 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50B29106566B for ; Fri, 8 May 2009 19:37:33 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 0D10B8FC0C for ; Fri, 8 May 2009 19:37:32 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from gate.ipt.ru ([194.62.233.123] helo=h30.sp.ipt.ru) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M2VdS-000F6X-JQ; Fri, 08 May 2009 23:21:30 +0400 To: Greg Wang References: From: Boris Samorodov Date: Fri, 08 May 2009 23:21:30 +0400 In-Reply-To: (Greg Wang's message of "Fri\, 8 May 2009 13\:17\:35 -0400") Message-ID: <37230453@h30.sp.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: emulation@FreeBSD.org Subject: Re: FreeBSD Port: www/linux-f8-flashplugin10 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: Fri, 08 May 2009 19:37:33 -0000 On Fri, 8 May 2009 13:17:35 -0400 Greg Wang wrote: > I'm sorry for perhaps stupid question but how to install > linux-f8-flashplugin10 on FreeBSD 7.2-RELEASE if it's known that the port > marked as "Ignore" and the following message appears: > linux-flashplugin-10.0r22 bsd.linux-apps.mk test failed: The component nss > is not defined for LINUX_DIST_SUFFIX= (the corresponding variable nss_FILE > is not defined). > *** Error code 1 This port needs a new linuxulator (linux kernel 2.6.x) which is default only at 8-CURRENT. You need to set the sysctl compat.linux.osrelease-2.6.16 and define at /etc/make.conf: ----- OVERRIDE_LINUX_BASE_PORT=f8 OVERRIDE_LINUX_NONBASE_PORTS=f8 ----- Note: If you have already installed any linux fc4 port you may need to upgrade to linux f8 ports. For more information look at /usr/ports/UPDATING and recent archieves of this mail list. WBR -- bsam From owner-freebsd-emulation@FreeBSD.ORG Fri May 8 20:20:03 2009 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BAEC106564A for ; Fri, 8 May 2009 20:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4EA838FC0C for ; Fri, 8 May 2009 20:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n48KK3pG037608 for ; Fri, 8 May 2009 20:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n48KK3Vn037607; Fri, 8 May 2009 20:20:03 GMT (envelope-from gnats) Date: Fri, 8 May 2009 20:20:03 GMT Message-Id: <200905082020.n48KK3Vn037607@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: Chagin Dmitry Cc: Subject: Re: kern/134276: [linux][patch] MSG_NOSIGNAL not translated for recv(), socket timeout incorrect for 64-bit hosts X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Chagin Dmitry List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2009 20:20:03 -0000 The following reply was made to PR kern/134276; it has been noted by GNATS. From: Chagin Dmitry To: Thomas Mueller Cc: freebsd-gnats-submit@freebsd.org Subject: Re: kern/134276: [linux][patch] MSG_NOSIGNAL not translated for recv(), socket timeout incorrect for 64-bit hosts Date: Sat, 9 May 2009 00:10:03 +0400 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 06, 2009 at 04:57:50PM +0000, Thomas Mueller wrote: >=20 > >Number: 134276 > >Category: kern > >Synopsis: [linux][patch] MSG_NOSIGNAL not translated for recv(), s= ocket timeout incorrect for 64-bit hosts > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-bugs > >State: open > >Quarter: =20 > >Keywords: =20 > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Wed May 06 17:00:07 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Thomas Mueller > >Release: 7.2-STABLE > >Organization: > >Environment: > FreeBSD tom.ulm.sysgo.com 7.2-STABLE FreeBSD 7.2-STABLE #16: Mon May 4 1= 5:12:43 CEST 2009 toor@tom.ulm.sysgo.com:/usr/obj/usr/src/sys/TOM amd64 > >Description: > I've encountered two socket related problems with the Linux emulation: >=20 > 1. A Linux application passing the MSG_NOSIGNAL flag in calls to=20 > recv() or recvfrom() will still receive a SIGPIPE if the condition > for sending the signal is met. >=20 > 2. An attempt to set socket timeouts with a call to setsocktopt() using t= he=20 > SO_RECVTIMEO or SO_SNDTIMEO option will fail with [EINVAL] on amd64. >=20 What the Linux application you have mentioned? I should know it to test patches. Thank you. --=20 Have fun! chd --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkoEkZoACgkQ0t2Tb3OO/O05SwCfaVw+4LflVkXIDk9CIM4I32Fh 7bMAnRg/VWcAMRQGEnTD9L+W6RuJkf4Q =md+G -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx-- From owner-freebsd-emulation@FreeBSD.ORG Sat May 9 07:00:04 2009 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDA6A106566C for ; Sat, 9 May 2009 07:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 909D08FC0C for ; Sat, 9 May 2009 07:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4970491019257 for ; Sat, 9 May 2009 07:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n49704gb019256; Sat, 9 May 2009 07:00:04 GMT (envelope-from gnats) Date: Sat, 9 May 2009 07:00:04 GMT Message-Id: <200905090700.n49704gb019256@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: Thomas Mueller Cc: Subject: Re: kern/134276: [linux][patch] MSG_NOSIGNAL not translated for recv(), socket timeout incorrect for 64-bit hosts X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thomas Mueller List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2009 07:00:05 -0000 The following reply was made to PR kern/134276; it has been noted by GNATS. From: Thomas Mueller To: Chagin Dmitry Cc: freebsd-gnats-submit@freebsd.org Subject: Re: kern/134276: [linux][patch] MSG_NOSIGNAL not translated for recv(), socket timeout incorrect for 64-bit hosts Date: Sat, 9 May 2009 08:30:53 +0200 On Sat, 9 May 2009 00:10:03 +0400, Chagin Dmitry wrote: > On Wed, May 06, 2009 at 04:57:50PM +0000, Thomas Mueller wrote: > > > > >Number: 134276 > > >Category: kern > > >Synopsis: [linux][patch] MSG_NOSIGNAL not translated for recv(), socket timeout incorrect for 64-bit hosts > > >Confidential: no > > >Severity: non-critical > > >Priority: low > > >Responsible: freebsd-bugs > > >State: open > > >Quarter: > > >Keywords: > > >Date-Required: > > >Class: sw-bug > > >Submitter-Id: current-users > > >Arrival-Date: Wed May 06 17:00:07 UTC 2009 > > >Closed-Date: > > >Last-Modified: > > >Originator: Thomas Mueller > > >Release: 7.2-STABLE > > >Organization: > > >Environment: > > FreeBSD tom.ulm.sysgo.com 7.2-STABLE FreeBSD 7.2-STABLE #16: Mon May 4 15:12:43 CEST 2009 toor@tom.ulm.sysgo.com:/usr/obj/usr/src/sys/TOM amd64 > > >Description: > > I've encountered two socket related problems with the Linux emulation: > > > > 1. A Linux application passing the MSG_NOSIGNAL flag in calls to > > recv() or recvfrom() will still receive a SIGPIPE if the condition > > for sending the signal is met. > > > > 2. An attempt to set socket timeouts with a call to setsocktopt() using the > > SO_RECVTIMEO or SO_SNDTIMEO option will fail with [EINVAL] on amd64. > > > > What the Linux application you have mentioned? > I should know it to test patches. Thank you. Sorry for not mentioning it in the PR. The applications are part of the LM-X License Manager package by X-Formation (http://www.x-formation.com/). It looks like they offer a trial download but require registration. When back in the office (next weeek), I could revert my local changes and provide you with an output of linux_kdump if that helps. I would also test patches. -- Thomas Mueller From owner-freebsd-emulation@FreeBSD.ORG Sat May 9 08:06:13 2009 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 5A5711065687 for ; Sat, 9 May 2009 08:06:13 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 087938FC1B for ; Sat, 9 May 2009 08:06:12 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id BECC29A49E; Sat, 9 May 2009 12:06:10 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1779253248; Sat, 09 May 2009 12:06:10 +0400 Received: from dchagin.static.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.static.corbina.ru (8.14.3/8.14.3) with ESMTP id n4986AVa004487; Sat, 9 May 2009 12:06:10 +0400 (MSD) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.3/8.14.3/Submit) id n49869Yl004486; Sat, 9 May 2009 12:06:09 +0400 (MSD) (envelope-from dchagin) Date: Sat, 9 May 2009 12:06:09 +0400 From: Chagin Dmitry To: Thomas Mueller Message-ID: <20090509080609.GA4415@dchagin.static.corbina.ru> References: <200905090700.n49704gb019256@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <200905090700.n49704gb019256@freefall.freebsd.org> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-emulation@freebsd.org Subject: Re: kern/134276: [linux][patch] MSG_NOSIGNAL not translated for recv(), socket timeout incorrect for 64-bit hosts 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: Sat, 09 May 2009 08:06:13 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 09, 2009 at 07:00:04AM +0000, Thomas Mueller wrote: > The following reply was made to PR kern/134276; it has been noted by GNAT= S. >=20 > From: Thomas Mueller > To: Chagin Dmitry > Cc: freebsd-gnats-submit@freebsd.org > Subject: Re: kern/134276: [linux][patch] MSG_NOSIGNAL not translated for > recv(), socket timeout incorrect for 64-bit hosts > Date: Sat, 9 May 2009 08:30:53 +0200 >=20 > > > I've encountered two socket related problems with the Linux emulatio= n: > > >=20 > > > 1. A Linux application passing the MSG_NOSIGNAL flag in calls to=20 > > > recv() or recvfrom() will still receive a SIGPIPE if the condition > > > for sending the signal is met. > > >=20 > > > 2. An attempt to set socket timeouts with a call to setsocktopt() us= ing the=20 > > > SO_RECVTIMEO or SO_SNDTIMEO option will fail with [EINVAL] on amd= 64. > > >=20 > >=20 > > What the Linux application you have mentioned? > > I should know it to test patches. Thank you. > =20 > Sorry for not mentioning it in the PR. The applications are part of the > LM-X License Manager package by X-Formation (http://www.x-formation.com/= ). > It looks like they offer a trial download but require registration. > =20 > When back in the office (next weeek), I could revert my local changes > and provide you with an output of linux_kdump if that helps. I would > also test patches. > =20 > =20 Thank you, Please, apply this two patches. http://people.freebsd.org/~dchagin/patches/commit-4952ce8.patch http://people.freebsd.org/~dchagin/patches/commit-6355ebf.patch --=20 Have fun! chd --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkoFOW4ACgkQ0t2Tb3OO/O1rGQCeNlj9RQrrl1e8Cp4i/WQRzzzY 8pwAn3pQ5EhToyBiMB1vmwYDYKP/YEN0 =inBe -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- From owner-freebsd-emulation@FreeBSD.ORG Sat May 9 17:39:49 2009 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 1FA10106564A for ; Sat, 9 May 2009 17:39:49 +0000 (UTC) (envelope-from jamie@bishopston.net) Received: from pacha.mail.bishopston.net (pacha.mail.bishopston.net [66.148.74.41]) by mx1.freebsd.org (Postfix) with ESMTP id D082D8FC0C for ; Sat, 9 May 2009 17:39:48 +0000 (UTC) (envelope-from jamie@bishopston.net) X-Catflap-Envelope-From: X-Catflap-Envelope-To: Received: from catflap.bishopston.net (jamie@localhost [127.0.0.1]) by catflap.bishopston.net (8.14.3/8.14.3) with ESMTP id n49HHjpC000399 for ; Sat, 9 May 2009 18:17:45 +0100 (BST) (envelope-from jamie@catflap.bishopston.net) Received: (from jamie@localhost) by catflap.bishopston.net (8.14.3/8.12.9/Submit) id n49HHj5C000398 for freebsd-emulation@freebsd.org; Sat, 9 May 2009 18:17:45 +0100 (BST) From: Jamie Landeg Jones Message-Id: <200905091717.n49HHj5C000398@catflap.bishopston.net> Date: Sat, 09 May 2009 18:17:45 +0100 Organization: http://www.bishopston.com/jamie/ To: freebsd-emulation@freebsd.org User-Agent: Heirloom mailx 12.3 7/15/07 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-4.0.1 (catflap.bishopston.net [127.0.0.1]); Sat, 09 May 2009 18:17:45 +0100 (BST) X-Virus-Scanned: clamav-milter 0.95 at catflap.bishopston.net X-Virus-Status: Clean Subject: Re: wine, mixer pcm volume reset to 0:0 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: Sat, 09 May 2009 17:39:49 -0000 Not a fix, but a workaround on FreeBSD, that doesn't require you to switch to emulated sound 1) Create a new group "nomixer" by editting /etc/group e.g. nomixer:*:2000: 2) Add the following 2 lines to /etc/devfs.conf: own mixer root:nomixer perm mixer 0606 3) Modify the wine binary as such: chgrp nomixer /usr/local/bin/wine chmod g+s /usr/local/bin/wine This basically means that wine doesn't have access to /dev/mixer so can't alter anything. You as a user still retain access, and also, any wine apps that have a volume control STILL work, because that volume is not changed using /dev/mixer