Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40230 - Kernel 2.6 - IPRoute2: Several qdisc fail initialisation
Summary: Kernel 2.6 - IPRoute2: Several qdisc fail initialisation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-02 16:33 UTC by Sebastian Werner
Modified: 2004-04-06 08:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Werner 2004-02-02 16:33:05 UTC
in 2.6 pkt_sched.h changed.

so iproute2 compiles, BUT qdiscs like sfq fail initialising with
RTNETLINK answers: Invalid argument.

After replacing iproute2/include/linux/pkt_sched.h by the actual kernel pkt_sched.h iproute2 compiled and worked successfully.

So: Please add some kernel check in iproute2 ebuild to ensure it will still work in 2.6.

Reproducible: Always
Steps to Reproduce:
1. Get kernel 2.6.x
2. Install iproute2 ebuild
3. Try to get "tc qdisc add dev eth0 root sfq perturb 10" working

Actual Results:  
RTNETLINK answers: Invalid argument

Expected Results:  
Create a working qdisc :)

Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r7,2.3.2-r9, 2.6.1)
=================================================================
System uname: 2.6.1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.10
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -fomit-frame-pointer -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.hawo.stw.uni-erlangen.de/pub/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://ipv6.rrze.uni-erlangen.de/gentoo-portage"
USE="X aalib acl apache2 apm arts avi berkdb bonobo cdr crypt cups dga encode
esd ethereal foomaticdb gd gdbm gif gnome gpm gtk gtk2 gtkhtml guile imap imlib
ipv6 java jpeg kde libg++ libwww lirc mad maildir mikmod motif mozilla
moznocompose moznoirc moznomail mpeg mysql ncurses nls oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline samba sdl slang socks5 spell ssl
svga tcltk tcpd tetex transcode truetype usagi usb v4l x86 xfs xml2 xmms xv zlib"
Comment 1 SpanKY gentoo-dev 2004-04-06 08:14:21 UTC
not a kernel bug
Comment 2 SpanKY gentoo-dev 2004-04-06 08:15:14 UTC
iproute-20010824-r5 should address this