Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2009 17:05:25 +0400
From:      Chagin Dmitry <dchagin@freebsd.org>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: [linux-f10] linux_socketcall... ERR#43 'Protocol not supported'
Message-ID:  <20090505130525.GA7564@dchagin.static.corbina.ru>
In-Reply-To: <81924694@bb.ipt.ru>
References:  <81924694@bb.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090505130525.GA7564>