On Monday 24 July 2006 19:39, Richard Fish wrote: # strace -f ifconfig -a execve("/sbin/ifconfig", ["ifconfig", "-a"], [/* 61 vars */]) = 0 uname({sys="Linux", node="varky", ...}) = 0 brk(0) = 0x8057000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=90931, ...}) = 0 mmap2(NULL, 90931, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f8f000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\200"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1209816, ...}) = 0 mmap2(0x49cc3000, 1146076, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x49cc3000 madvise(0x49cc3000, 1146076, MADV_SEQUENTIAL|0x1) = 0 mmap2(0x49dd5000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| MAP_DENYWRITE, 3, 0x112) = 0x49dd5000 mmap2(0x49dd9000, 7388, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| MAP_ANONYMOUS, -1, 0) = 0x49dd9000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f8e000 mprotect(0x49dd5000, 4096, PROT_READ) = 0 mprotect(0x494a2000, 4096, PROT_READ) = 0 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f8ea90, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 munmap(0xb7f8f000, 90931) = 0 open("/dev/urandom", O_RDONLY) = 3 read(3, "\366\370\264\224", 4) = 4 close(3) = 0 brk(0) = 0x8057000 brk(0x8078000) = 0x8078000 uname({sys="Linux", node="varky", ...}) = 0 access("/proc/net", R_OK) = 0 access("/proc/net/unix", R_OK) = 0 socket(PF_FILE, SOCK_DGRAM, 0) = 3 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4 access("/proc/net/if_inet6", R_OK) = -1 ENOENT (No such file or directory) access("/proc/net/ax25", R_OK) = -1 ENOENT (No such file or directory) access("/proc/net/rose", R_OK) = -1 ENOENT (No such file or directory) access("/proc/net/ipx", R_OK) = -1 ENOENT (No such file or directory) access("/proc/net/appletalk", R_OK) = -1 ENOENT (No such file or directory) access("/proc/sys/net/econet", R_OK) = -1 ENOENT (No such file or directory) access("/proc/sys/net/ash", R_OK) = -1 ENOENT (No such file or directory) access("/proc/net/x25", R_OK) = -1 ENOENT (No such file or directory) write(2, "No usable address families found"..., 34No usable address families found. ) = 34 write(2, "socket: No such file or director"..., 34socket: No such file or directory ) = 34 exit_group(1) = ? Process 11166 detached
> Well everything in kernel-land looks ok to me. Can you send the output of: > > strace -f ifconfig -a > > -Richard -- Best Regards, Adrian Vraciu -- gentoo-user@gentoo.org mailing list