Red Hat Bugzilla – Bug 431179
iproute does not work with the XEN kernel or kernel < 2.6.23
Last modified: 2011-08-16 16:34:35 EDT
iproute is missing a
Conflicts: kernel < 2.6.23
otherwise you end up with a non-functional system, because even the lo interface
cannot be brought up.
Thank you for your report. The build of iproute is at the moment dependent on
the rhbz#431182. I hope that I'll build it soon with updated spec file.
Now I fix the building problem in rawhide, but add conflicts into spec isn't
Testcase on my computer:
rpm -q iproute kernel
but I have reported problems in KVM with
kernel-2.6.21 and iproute-2.6.23
Iproute should be backward compatible. Could you tell me more about versions,
which were tested and aren't working?
rpm -q kernel kernel-xen iproute
just take rawhide:
this is x86_64
note, that rawhide's iproute is newer than your
I've hit the bug in current Rawhide in Xen.
It is fixed in upstream iproute already. I tested the patch and it helped. (I
had to comment out the generation of documentation in the specfile to workaround
the TeX problem).
Author: Patrick McHardy <firstname.lastname@example.org>
Date: Thu Oct 25 19:46:29 2007 +0200
iproute 2.6.23 incompatibility
Arkadiusz Miskiewicz wrote:
> People are reporting that
>> ip link set multicast on dev eth0 (Invalid argument)
>> no longer works when using iproute 2.6.23 on kernel 2.6.21.
>> On my testing machine it also fails:
>> # ./ip link set eth0 multicast on
>> RTNETLINK answers: Invalid argument
It seems it fails to properly detect that your kernel is missing
RTM_NEWLINK support. Apparently the reason is that the kernels
I tested with return a different error in this situation.
Signed-off-by: Patrick McHardy <email@example.com>
Signed-off-by: Stephen Hemminger <firstname.lastname@example.org>
diff --git a/ip/iplink.c b/ip/iplink.c
index 8e0ed2a..f28f91c 100644
@@ -107,7 +107,8 @@ static int accept_msg(const struct sockaddr_nl *who,
struct nlmsgerr *err = (struct nlmsgerr *)NLMSG_DATA(n);
- if (n->nlmsg_type == NLMSG_ERROR && err->error == -EOPNOTSUPP)
+ if (n->nlmsg_type == NLMSG_ERROR &&
+ (err->error == -EOPNOTSUPP || err->error == -EINVAL))
have_rtnl_newlink = 0;
have_rtnl_newlink = 1;
Thanks for patch.
Ok, I push the new version of iproute into rawhide.
*** Bug 377711 has been marked as a duplicate of this bug. ***
*** Bug 731180 has been marked as a duplicate of this bug. ***