Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134751 - net-misc/iputils-021109-r3 broke ipv6 support with kernel 2.6.1x
Summary: net-misc/iputils-021109-r3 broke ipv6 support with kernel 2.6.1x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-29 04:41 UTC by Mekong
Modified: 2006-08-20 00:26 UTC (History)
1 user (show)

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


Attachments
Patch on iputils to fix broke IPv6 support (iputils-ss021109-kernel.patch,1.35 KB, patch)
2006-05-29 04:44 UTC, Mekong
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mekong 2006-05-29 04:41:37 UTC
emerge --info:

Portage 2.0.54-r2 (hardened/x86/2.6, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-hardened-r6 i686)
=================================================================
System uname: 2.6.16-hardened-r6 i686 Pentium II (Klamath)
Gentoo Base System version 1.12.0
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://distfiles.gentoo.org"
LINGUAS="en"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="berkdb bzip2 crypt dlloader expat fam gdbm hardened ipv6 ncurses nls nptl nptlonly pam pcre perl pic python readline ssl tcpd threads udev userlocales x86 zlib linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS

===
>ping6 someIPv6
can't receive hop limit: Protocol not available
>tracepath6 someIPv6
can't receive hop limit: Protocol not available
Comment 1 Mekong 2006-05-29 04:44:48 UTC
Created attachment 87793 [details, diff]
Patch on iputils to fix broke IPv6 support
Comment 2 SpanKY gentoo-dev 2006-06-08 03:48:47 UTC
that doesnt really explain anything

linux/in6.h from linux-headers should be properly defining those
Comment 3 Martin Jansa 2006-08-19 07:08:09 UTC
(In reply to comment #2)
> that doesnt really explain anything
> 
> linux/in6.h from linux-headers should be properly defining those
> 

should but ie headers 2.6.16 define those as
#define IPV6_ADDRFORM           1
#define IPV6_2292PKTINFO        2
#define IPV6_2292HOPOPTS        3
#define IPV6_2292DSTOPTS        4
#define IPV6_2292RTHDR          5
#define IPV6_2292PKTOPTIONS     6
#define IPV6_CHECKSUM           7
#define IPV6_2292HOPLIMIT       8
#define IPV6_NEXTHOP            9
#define IPV6_AUTHHDR            10      /* obsolete */
#define IPV6_FLOWINFO           11

and then iputils fails
Comment 4 SpanKY gentoo-dev 2006-08-20 00:15:10 UTC
then the correct fix is to try and use the new defines and if those dont exist, fall back to the older ones
Comment 5 SpanKY gentoo-dev 2006-08-20 00:26:24 UTC
should be fixed in cvs now