[linux-f10] linux_socketcall... ERR#43 'Protocol not supported'

Chagin Dmitry dchagin at freebsd.org
Tue May 5 13:05:31 UTC 2009


On Tue, May 05, 2009 at 09:51:21AM +0400, Boris Samorodov wrote:
> 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 at 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.
> 
> 

Hi Boris,
Whether you somewhere can put a ping binary? And which glibc version f10 uses?

-- 
Have fun!
chd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20090505/0e676bf1/attachment.pgp


More information about the freebsd-emulation mailing list