routecommand hangs on x86 2.8

Andy_Bach at wiwb.uscourts.gov Andy_Bach at wiwb.uscourts.gov
Thu Jun 9 11:36:56 EDT 2005


<resending as it seems to have been eaten by the list>

Hi.

I got a couple hints to try, ldd, truss and pstack (but I get no further 
w/ these results): 

ldd on
/usr/sbin/route:
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2

 truss route add route 192.168.0.240 exp2 0 &
[1]     24879

ecf2: / #  execve("/usr/sbin/route", 0x08047C44, 0x08047C60)  argc = 6
resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16
open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
sysconfig(_CONFIG_PAGESIZE)                     = 4096
xstat(2, "/opt/sfw/lib/libsocket.so.1", 0x080476A8) Err#2 ENOENT
xstat(2, "/usr/local/lib/libsocket.so.1", 0x080476A8) Err#2 ENOENT
xstat(2, "/usr/lib/libsocket.so.1", 0x080476A8) = 0
resolvepath("/usr/lib/libsocket.so.1", "/usr/lib/libsocket.so.1", 1023) = 
23
open("/usr/lib/libsocket.so.1", O_RDONLY)       = 3
mmap(0x00000000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 
0xDFBC0000
mmap(0x00000000, 110592, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, 
-1, 0) = 0xDFBA0000
mmap(0xDFBA0000, 38889, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) 
= 0xDFBA0000
mmap(0xDFBBA000, 2916, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xDFBBA000
munmap(0xDFBAA000, 65536)                       = 0
mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_ANON, -1, 0) = 0xDFB90000
memcntl(0xDFBA0000, 12064, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
xstat(2, "/opt/sfw/lib/libnsl.so.1", 0x080476A8) Err#2 ENOENT
xstat(2, "/usr/local/lib/libnsl.so.1", 0x080476A8) Err#2 ENOENT
xstat(2, "/usr/lib/libnsl.so.1", 0x080476A8)    = 0
resolvepath("/usr/lib/libnsl.so.1", "/usr/lib/libnsl.so.1", 1023) = 20
open("/usr/lib/libnsl.so.1", O_RDONLY)          = 3
mmap(0xDFBC0000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 
0xDFBC0000
mmap(0xDFBF2EC0, 606208, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, 
-1, 0) = 0xDFAF0000
mmap(0xDFAF0000, 485488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) 
= 0xDFAF0000
mmap(0xDFB77000, 20948, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED, 3, 487424) = 0xDFB77000
mmap(0xDFB7D000, 27272, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xDFB7D000
munmap(0xDFB67000, 65536)                       = 0
memcntl(0xDFAF0000, 53292, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
xstat(2, "/opt/sfw/lib/libdl.so.1", 0x080476A8) Err#2 ENOENT
xstat(2, "/usr/local/lib/libdl.so.1", 0x080476A8) Err#2 ENOENT
xstat(2, "/usr/lib/libdl.so.1", 0x080476A8)     = 0
resolvepath("/usr/lib/libdl.so.1", "/usr/lib/libdl.so.1", 1023) = 19
open("/usr/lib/libdl.so.1", O_RDONLY)           = 3
mmap(0xDFBC0000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 
0xDFBC0000
mmap(0xDFB90338, 4096, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 
0) = 0xDFAE0000
mmap(0xDFAE0000, 2216, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xDFAE0000
close(3)                                        = 0
xstat(2, "/opt/sfw/lib/libc.so.1", 0x080476A8)  Err#2 ENOENT
xstat(2, "/usr/local/lib/libc.so.1", 0x080476A8) Err#2 ENOENT
xstat(2, "/usr/lib/libc.so.1", 0x080476A8)      = 0
resolvepath("/usr/lib/libc.so.1", "/usr/lib/libc.so.1", 1023) = 18
open("/usr/lib/libc.so.1", O_RDONLY)            = 3
mmap(0xDFBC0000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 
0xDFBC0000
mmap(0xDFB906E4, 651264, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, 
-1, 0) = 0xDFA30000
mmap(0xDFA30000, 551780, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) 
= 0xDFA30000
mmap(0xDFAC7000, 22848, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED, 3, 552960) = 0xDFAC7000
mmap(0xDFACD000, 4856, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xDFACD000
munmap(0xDFAB7000, 65536)                       = 0
memcntl(0xDFA30000, 95232, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
xstat(2, "/opt/sfw/lib/libmp.so.2", 0x080476A8) Err#2 ENOENT
xstat(2, "/usr/local/lib/libmp.so.2", 0x080476A8) Err#2 ENOENT
xstat(2, "/usr/lib/libmp.so.2", 0x080476A8)     = 0
resolvepath("/usr/lib/libmp.so.2", "/usr/lib/libmp.so.2", 1023) = 19
open("/usr/lib/libmp.so.2", O_RDONLY)           = 3
mmap(0xDFBC0000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 
0xDFBC0000
mmap(0xDFB90A3C, 81920, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 
0) = 0xDFA10000
mmap(0xDFA10000, 9811, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 
0xDFA10000
mmap(0xDFA23000, 604, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED, 3, 12288) = 0xDFA23000
munmap(0xDFA13000, 65536)                       = 0
mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_ANON, -1, 0) = 0xDFA00000
memcntl(0xDFA10000, 2644, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
munmap(0xDFBC0000, 4096)                        = 0
sysi86(SI86FPHW, 0xDFACE28C, 0x08047C00, 0xDFBF0DC0) = 0x00000000
getpid()                                        = 24880 [24879]
getuid()                                        = 0 [0]

exp2:/ # pstack 191
191:    /usr/sbin/route -n add -interface 224.0/4 ecf2
 dfa5b89c _so_socket (18, 4, 0, 1) + c
 dfba8c18 socket   (18, 4, 0) + 20
 0805157a main     (6, 8047db0, 8047dcc) + f6
 08051340 ???????? ()

exp2: / #  kill -9 191

exp2: / #  pstack 191
191:    /usr/sbin/route -n add -interface 224.0/4 ecf2
 dfa5b89c _so_socket (18, 4, 0, 1) + c
 dfba8c18 socket   (18, 4, 0) + 20
 0805157a main     (6, 8047db0, 8047dcc) + f6
 08051340 ???????? ()

exp2: / #  pstack 20832
20832:  route add default 192.168.0.240 1
 dfa5b89c _so_socket (18, 4, 0, 1) + c
 dfba8c18 socket   (18, 4, 0) + 20
 0805157a main     (5, 8047c48, 8047c60) + f6
 08051340 ???????? ()

exp2: / #  kill -9 20832

exp2: / #  pstack 20832
20832:  route add default 192.168.0.240 1
 dfa5b89c _so_socket (18, 4, 0, 1) + c
 dfba8c18 socket   (18, 4, 0) + 20
 0805157a main     (5, 8047c48, 8047c60) + f6
 08051340 ???????? ()

a


Andy Bach, Sys. Mangler
Internet: andy_bach at wiwb.uscourts.gov 
VOICE: (608) 261-5738  FAX 264-5932

self-reference, n. - See self-reference 



More information about the sunmanagers mailing list