RTNETLINK answers: Invalid argument

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On this Fedora Core Devel (Raw Hide) system, if I boot on a distribution
kernel (based on 2.6.12rc1-bk2) the network is fine. If I build a custom
2.6.12-rc1-V0.7.43-06 or 2.6.12-rc1-mm4 kernel the network interface
fails to initialise on boot with RTNETLINK answers: Invalid argument.

What can possibly cause this ?

My kernel config should be mostly fine - I used it extensively at a time
and diffing it with Red Hat does not show any obvious suspects (to me)).
Thoug I haven't built any custom kernels for a few months, so possibly
some Fedora or kernel bits changed.

My iproute version should be fairly current :  iproute-2.6.11-1


I've attached an strace of the problem command if it can help shed some
light on this

Regards,

-- 
Nicolas Mailhot
execve("/sbin/ip", ["/sbin/ip", "route", "replace", "169.254.0.0/16", "dev", "eth0"], [/* 36 vars */]) = 0
uname({sys="Linux", node="rousalka.dyndns.org", ...}) = 0
brk(0)                                  = 0x8067000
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=58029, ...}) = 0
old_mmap(NULL, 58029, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f58000
close(3)                                = 0
open("/lib/libresolv.so.2", 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\320Cm\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=76336, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f57000
old_mmap(0x6d2000, 75880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x6d2000
old_mmap(0x6e1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x6e1000
old_mmap(0x6e3000, 6248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x6e3000
close(3)                                = 0
open("/lib/tls/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\332>\277"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1465764, ...}) = 0
old_mmap(0xbdf000, 1190876, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xbdf000
old_mmap(0xcfc000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11d000) = 0xcfc000
old_mmap(0xd00000, 7132, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xd00000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f56000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f566c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0x6e1000, 4096, PROT_READ)     = 0
mprotect(0xcfc000, 8192, PROT_READ)     = 0
mprotect(0xbdb000, 4096, PROT_READ)     = 0
munmap(0xb7f58000, 58029)               = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 3
setsockopt(3, SOL_SOCKET, SO_SNDBUF, [32768], 4) = 0
setsockopt(3, SOL_SOCKET, SO_RCVBUF, [32768], 4) = 0
bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(3, {sa_family=AF_NETLINK, pid=5665, groups=00000000}, [12]) = 0
time(NULL)                              = 1112445811
sendto(3, "\24\0\0\0\22\0\1\3t\223NB\0\0\0\0\0\200\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\344\0\0\0\20\0\2\0t\223NB!\26\0\0\0Z\4\3\1\0\0\0\10\0"..., 16384}], msg_controllen=0, msg_flags=0}, 0) = 696
brk(0)                                  = 0x8067000
brk(0x8088000)                          = 0x8088000
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0t\223NB!\26\0\0\0\0\0\0\1\0\0\0\10\0\0"..., 16384}], msg_controllen=0, msg_flags=0}, 0) = 20
sendmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{",\0\0\0\30\0\5\5u\223NB\0\0\0\0\2\20\0\0\376\3\375\1\0"..., 44}], msg_controllen=0, msg_flags=0}, 0) = 44
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"$\0\0\0\2\0\0\0u\223NB!\26\0\0\352\377\377\377,\0\0\0\30"..., 16384}], msg_controllen=0, msg_flags=0}, 0) = 36
dup(2)                                  = 4
fcntl64(4, F_GETFL)                     = 0x8001 (flags O_WRONLY|O_LARGEFILE)
close(4)                                = 0
write(2, "RTNETLINK answers: Invalid argum"..., 36RTNETLINK answers: Invalid argument
) = 36
exit_group(2)                           = ?

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux