Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Marc Singer <elf@netcom.com>
Subject: strace's on Install Buggy
Date: Thu, 17 Oct 1996 11:47:10 -0700 (PDT)	[thread overview]
Message-ID: <199610171847.LAA26793@netcom13.netcom.com> (raw)
In-Reply-To: <Pine.LNX.3.93.961017105710.24212J-100000@redhat.com>

> 
> On Wed, 16 Oct 1996, Marc Singer wrote:
> 
> > The command that hangs the system is 
> > 
> >   route add default gw ${GATEWAY}
> 
> Somewhat. An "strace" of that command running would be nice as well. 

OK.  This is the trace for the route command:

It seems that it is having problems with the nameserver.  Oddly, I can
use nslookup just fine.  I can ping, and I can hum a short melody.
(?!)  I did an strace, not included here, on the command

  ifconfig sl0 127.0.0.1

which hangs, too.  I'm not sure what is going on with the domain name
service, but I'd guess that this is a request for IP to name
translation.

When I look at the nslookup command's strace I notice that it does not
load libnss_dns.so.1 nor does it use libresolv.so.2.  I have no man
page for nsswitch.conf and I've not encountered it before.

BTW, strace is cool.

Enough already?

----------------------------------------------------------------------
execve("/sbin/route", ["route", "add", "default", "gw", "10.1.2.10"], [/* 22 vars */]) = 0
brk(0)                                  = 0x12010a610
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3451, ...}) = 0
mmap(0, 4831836144, PROT_READ, 0 /* MAP_??? */, 0, 0) = 0x15555570000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
mmap(0, 0, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x15555572000
munmap(0x15555572000, 8192)             = 0
mmap(0, 8192, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x15555672000
mprotect(0x15555720000, 1308928, PROT_NONE) = 0
mmap(0x15555772000, 1308928, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x15555772000
mmap(0x15555828000, 1308928, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x15555828000
close(3)                                = 0
personality(PER_LINUX)                  = 0
osf_getsysinfo(0x2d, 0x11ffffc48, 0x11ffffcc8, 0, 0x2) = 0
osf_setsysinfo(0xe, 0x11ffffc48, 0x11ffffcc8, 0, 0x2) = 0
getxpid()                               = 66
brk(0)                                  = 0x12010a610
brk(0x120110610)                        = 0x120110610
brk(0x120111000)                        = 0x120111000
brk(0x120112000)                        = 0x120112000
open("/etc/nsswitch.conf", O_RDONLY)    = -1 ENOENT (No such file or directory)
brk(0x120113000)                        = 0x120113000
brk(0x120114000)                        = 0x120114000
open("/usr/lib/libnss_dns.so.1", O_RDONLY) = 3
mmap(0, 0, PROT_NONE, 0 /* MAP_??? */, 2, 0) = 0x15555572000
brk(0x120115000)                        = 0x120115000
munmap(0x15555572000, 8192)             = 0
mmap(0, 8192, PROT_NONE, 0 /* MAP_??? */, 2, 0) = 0x15555860000
mprotect(0x15555864000, 1045656, PROT_NONE) = 0
mmap(0x15555960000, 1045656, PROT_NONE, 0 /* MAP_??? */, 2, 0) = 0x15555960000
close(3)                                = 0
open("/usr/lib/libresolv.so.2", O_RDONLY) = 3
mmap(0, 0, PROT_NONE, 0 /* MAP_??? */, 2, 0) = 0x15555572000
munmap(0x15555572000, 8192)             = 0
mmap(0, 8192, PROT_NONE, 0 /* MAP_??? */, 2, 0) = 0x15555964000
mprotect(0x15555974000, 1062083, PROT_NONE) = 0
mmap(0x15555a64000, 1062083, PROT_NONE, 0 /* MAP_??? */, 2, 0) = 0x15555a64000
mmap(0x15555a76000, 1062083, PROT_NONE, 0 /* MAP_??? */, 2, 0) = 0x15555a76000
close(3)                                = 0
gettimeofday({845552245, 581456}, NULL) = 0
getxpid()                               = 66
brk(0x120116000)                        = 0x120116000
open("/etc/resolv.conf", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=43, ...}) = 0
brk(0x120118000)                        = 0x120118000
read(3, "search straylight.com\nnameserve"..., 8192) = 43
read(3, "", 8192)                       = 0
close(3)                                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sin_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("10.1.2.10")}, 16) = 0
send(3, "\305h\1\0\0\1\0\0\0\0\0\0\00210\001"..., 27, 0) = 27
select(4, [3], NULL, NULL, {5, 0})      = 0 (Timeout)
close(3)                                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sin_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("10.1.2.10")}, 16) = 0
send(3, "\305h\1\0\0\1\0\0\0\0\0\0\00210\001"..., 27, 0) = 27
select(4, [3], NULL, NULL, {10, 0} <unfinished ...>
----------------------------------------------------------------------

-- Marc Singer

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

       reply	other threads:[~1996-10-17 18:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.93.961017105710.24212J-100000@redhat.com>
1996-10-17 18:47 ` Marc Singer [this message]
1996-10-17 19:09 strace's on Install Buggy David Mosberger
1996-10-17 22:05 ` Marc Singer
  -- strict thread matches above, loose matches on Subject: below --
1996-10-17 22:38 David Mosberger
1996-10-17 22:48 ` Erik Troan
1996-10-18 12:26 ` Jim Nance
     [not found] <Pine.LNX.3.93.961017184807.1042C-100000@redhat.com>
1996-10-18  0:22 ` Marc Singer
1996-10-18  0:25   ` Erik Troan
     [not found] <Pine.LNX.3.93.961017202458.11374B-100000@redhat.com>
1996-10-18  6:10 ` Marc Singer
     [not found] <9610181226.AA07788@scooter>
1996-10-18 18:00 ` Marc Singer
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox