All of lore.kernel.org
 help / color / mirror / Atom feed
From: bert hubert ahu@ds9a.nl
To: lartc@vger.kernel.org
Subject: [LARTC] Getting "ip" command to work
Date: Thu, 26 Oct 2000 22:02:57 +0000	[thread overview]
Message-ID: <marc-lartc-98373938216853@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373938216852@msgid-missing>

<PRE>On Thu, Oct 26, 2000 at 05:03:01PM -0400, David Zoll wrote:

&gt;<i> I'm running a Debian 2.2 system with the iproute package installed.  I
</I>&gt;<i> first tried with the included kernel, but it wouldn't work, so I rolled
</I>&gt;<i> my own (version 2.2.17) to see if that would let me use the command.  I
</I>&gt;<i> think I've turned everything required on:
</I>
Did the included version give the exact same error?

This is very weird. Can you verify with 'uname -a' that you are running the
kernel you think you are running?

Attached is the output of 'strace /sbin/ip link list', which you can verify
with yours to see what is happening differently.

Regards,

bert hubert

execve(&quot;/sbin/ip&quot;, [&quot;/sbin/ip&quot;, &quot;link&quot;, &quot;list&quot;], [/* 30 vars */]) = 0
brk(0)                                  = 0x805dce4
open(&quot;/etc/ld.so.preload&quot;, O_RDONLY)    = -1 ENOENT (No such file or directory)
open(&quot;/etc/ld.so.cache&quot;, O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0644, st_size\x19370, ...}) = 0
old_mmap(NULL, 19370, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40014000
close(4)                                = 0
open(&quot;/lib/libresolv.so.2&quot;, O_RDONLY)   = 4
fstat(4, {st_mode=S_IFREG|0644, st_sizeF576, ...}) = 0
read(4, &quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \'\0\000&quot;..., 4096) = 4096
old_mmap(NULL, 59420, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40019000
mprotect(0x40024000, 14364, PROT_NONE)  = 0
old_mmap(0x40024000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0xa000) = 0x40024000
old_mmap(0x40026000, 6172, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40026000
close(4)                                = 0
open(&quot;/lib/libc.so.6&quot;, O_RDONLY)        = 4
fstat(4, {st_mode=S_IFREG|0755, st_sizeˆ8596, ...}) = 0
read(4, &quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\244\213&quot;..., 4096) = 4096
old_mmap(NULL, 902972, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40028000
mprotect(0x400fd000, 30524, PROT_NONE)  = 0
old_mmap(0x400fd000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0xd4000) = 0x400fd000
old_mmap(0x40101000, 14140, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40101000
close(4)                                = 0
munmap(0x40014000, 19370)               = 0
personality(PER_LINUX)                  = 0
getpid()                                = 32233
socket(PF_NETLINK, SOCK_RAW, 0)         = 4
bind(4, {sin_family¯_NETLINK, {sa_family\x16, sa_data=&quot;\0\0\0\0\0\0\0\0\0\0\205\234\0@&quot;}, 12) = 0
getsockname(4, {sin_family¯_NETLINK, {sa_family\x16, sa_data=&quot;\0\0\351}\0\0\0\0\0\0\205\234\0@&quot;}, [12]) = 0
time(NULL)                              = 972594780
sendto(4, &quot;\24\0\0\0\22\0\1\3]\236\3709\0\0\0\0\21\0\0\0&quot;, 20, 0, {sin_family¯_NETLINK, {sa_family\x16, sa_data=&quot;\0\0\0\0\0\0\0\0\0\0\24\0\0\0&quot;}, 12) = 20
recvmsg(4, {msg_name(12)={sin_family¯_NETLINK, {sa_family\x16, sa_data=&quot;\0\0\0\0\0\0\0\0\0\0\264\0\0\0&quot;}, msg_iov(1)=[{&quot;\264\0\0\0\20\0\2\0]\236\3709\351}\0\0\0\0\4\3\1\0\0\0&quot;..., 8192}], msg_controllen=0, msg_flags=0}, 0) = 368
brk(0)                                  = 0x805dce4
brk(0x805ddb4)                          = 0x805ddb4
brk(0x805e000)                          = 0x805e000
recvmsg(4, {msg_name(12)={sin_family¯_NETLINK, {sa_family\x16, sa_data=&quot;&amp;\301\0\0\0\0\0\0\0\0\24\0\0\0&quot;}, msg_iov(1)=[{&quot;\24\0\0\0\3\0\2\0]\236\3709\351}\0\0\0\0\0\0\1\0\0\0I\0&quot;..., 8192}], msg_controllen=0, msg_flags=0}, 0) = 20
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(3, 1), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 5
ioctl(5, 0x8942, 0xbfffe9ac)            = 0
close(5)                                = 0
write(1, &quot;1: lo: &lt;LOOPBACK,UP&gt; mtu 16192 q&quot;..., 46) = 46
write(1, &quot;    link/loopback 00:00:00:00:00&quot;..., 58) = 58
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 5
ioctl(5, 0x8942, 0xbfffe9ac)            = 0
close(5)                                = 0
write(1, &quot;2: eth0: &lt;BROADCAST,MULTICAST,UP&quot;..., 69) = 69
write(1, &quot;    link/ether 00:00:e8:58:b6:31&quot;..., 55) = 55
munmap(0x40014000, 4096)                = 0
_exit(0)                                = ?


-- 
PowerDNS                     Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet


</PRE>

  parent reply	other threads:[~2000-10-26 22:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-26 21:03 [LARTC] Getting "ip" command to work David
2000-10-26 21:49 ` David
2000-10-26 22:02 ` bert [this message]
2000-10-26 22:50 ` David
2000-10-26 22:59 ` bert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-98373938216853@msgid-missing \
    --to=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.