Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Oct 2002 16:05:45 +0400
From:      Deiter Alex <tiamat@komi.mts.ru>
To:        Maxime Henrion <mux@FreeBSD.ORG>
Cc:        freebsd-sparc@FreeBSD.ORG, rwatson@FreeBSD.ORG
Subject:   Re: named: Can't assign requested address
Message-ID:  <3D998F99.7030707@komi.mts.ru>
References:  <Pine.NEB.3.96L.1020930122639.15622L-100000@fledge.watson.org> <3D997F22.8010507@komi.mts.ru> <20021001112050.GG57622@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Maxime Henrion wrote:

>Could you please run truss(1) or better, strace(1) on named ?  That
>would probably help detecting the bug.
>
on i386:
.....
fcntl(0x14,0x2,0x1)                              = 0 (0x0)
setsockopt(0x14,0xffff,0x4,0xbfbff97c,0x4)       = 0 (0x0)
getsockopt(0x14,0xffff,0x1002,0xbfbff978,0xbfbff974) = 0 (0x0)
setsockopt(0x14,0xffff,0x1001,0x80cac70,0x4)     = 0 (0x0)
bind(0x14,{ AF_INET 97.114.47.114:12150 },16)    = 0 (0x0)
fcntl(0x14,0x3,0x0)                              = 6 (0x6)
socket(0x2,0x1,0x0)                              = 6 (0x6)
fcntl(0x6,0x0,0x14)                              = 21 (0x15)
close(6)                                         = 0 (0x0)
fcntl(0x15,0x2,0x1)                              = 0 (0x0)
setsockopt(0x15,0xffff,0x4,0xbfbff97c,0x4)       = 0 (0x0)
bind(0x15,{ AF_INET 97.114.47.114:12150 },16)    = 0 (0x0)
fcntl(0x15,0x3,0x0)
.....

on sparc:
.....
fcntl(0x14,0x4,0x6)                              = 0 (0x0)
fcntl(0x14,0x2,0x1)                              = 0 (0x0)
setsockopt(0x14,0xffff,0x4,0x7fdfffff55c,0x4)    = 0 (0x0)
getsockopt(0x14,0xffff,0x1002,0x7fdfffff558,0x7fdfffff554) = 0 (0x0)
setsockopt(0x14,0xffff,0x1001,0x1897c4,0x4)      = 0 (0x0)
bind(0x14,{ AF_INET 97.114.47.114:12150 },16)    ERR#49 'Can't assign 
requested address'
gettimeofday(0x7fdfffff3c0,0x0)                  = 0 (0x0)
gettimeofday(0x7fdffffe2c0,0x0)                  = 0 (0x0)
getpid()                                         = 445 (0x1bd)
sendto(0x3,0x7fdffffe820,0x5d,0x0,0x0,0x0)       = 93 (0x5d)
gettimeofday(0x7fdfffff3e0,0x0)                  = 0 (0x0)
gettimeofday(0x7fdffffe2e0,0x0)                  = 0 (0x0)
getpid()                                         = 445 (0x1bd)
sendto(0x3,0x7fdffffe840,0x42,0x0,0x0,0x0)       = 66 (0x42)
close(20)                                        = 0 (0x0)
ioctl(4,SIOCGIFFLAGS,0x7fdfffff630)              = 0 (0x0)
ioctl(4,SIOCGIFNETMASK,0x7fdfffff630)            = 0 (0x0)
socket(0x2,0x2,0x0)                              = 6 (0x6)
fcntl(0x6,0x0,0x14)                              = 20 (0x14)
close(6)                                         = 0 (0x0)
fcntl(0x14,0x3,0x0)                              = 2 (0x2)
fcntl(0x14,0x4,0x6)                              = 0 (0x0)
fcntl(0x14,0x2,0x1)                              = 0 (0x0)
setsockopt(0x14,0xffff,0x4,0x7fdfffff55c,0x4)    = 0 (0x0)
getsockopt(0x14,0xffff,0x1002,0x7fdfffff558,0x7fdfffff554) = 0 (0x0)
setsockopt(0x14,0xffff,0x1001,0x1897c4,0x4)      = 0 (0x0)
bind(0x14,{ AF_INET 97.114.47.114:12150 },16)    = 0 (0x0)
fcntl(0x14,0x3,0x0)                              = 6 (0x6)
socket(0x2,0x1,0x0)                              = 6 (0x6)
fcntl(0x6,0x0,0x14)                              = 21 (0x15)
close(6)                                         = 0 (0x0)
.....

Thanks!

P.S. strace don't build on sparc:

# cd /usr/ports/devel/strace
selma# make
===>  Extracting for strace-4.4
 >> Checksum OK for strace_4.4-1.tar.gz.
===>  Patching for strace-4.4
===>  Applying FreeBSD patches for strace-4.4
===>  Configuring for strace-4.4
creating cache ./config.cache
checking host system type... sparc64-portbld-freebsd5.0
checking for supported operating system... freebsd
checking for supported architecture... configure: error: this 
architecture is not yet supported by strace
===>  Script "configure" failed unexpectedly.
      Please report the problem to alex@rinet.ru [maintainer] and attach the
      "/var/tmp/usr/ports/devel/strace/work/strace-4.4/config.log" including
      the output of the failure of your make command. Also, it might be 
a good
      idea to provide an overview of all packages installed on your system
      (e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/strace.

-- 
Deiter Alex,
Mobile TeleSystems, Komi Republic




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message




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