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