Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 161907

Summary: kernel-2.6.19-gentoo-r4 does not pickup ipv6 addresses
Product: Gentoo Linux Reporter: Graham Murray <graham>
Component: New packagesAssignee: Daniel Drake (RETIRED) <dsd>
Severity: normal CC: kernel, marcel, uberlord
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard: linux-2.6.19-regression
Package list:
Runtime testing required: ---
Attachments: suspected bad patch

Description Graham Murray 2007-01-13 15:33:32 UTC
I have radvd running on another system on my LAN. Kernels prior to 2.6.19-r4 pick up the IPv6 address from that at boot - showing eth0 with both 2001: (glocal) and fe80: (local) addresses and sets up the ipv6 routing via the system running radvd.

With kernel-2.6.19-gentoo-r4, it does not see the IPv6 router and just assigns the fe80: address. I built 2.6.19-gentoo-r4 from the same config as 2.6.19-r3 by running 'make oldconfig' which did not prompt for any manual input. I am sure that it is the kernel not baselayout (which has also received a number of updates recently) as when I boot into 2.6.19-gentoo-r3 IPv6 works correctly and when I boot into 2.6.19-gentoo-r4 it does not.

emerge --info
Portage 2.1.2_rc4-r8 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r3 i686)
System uname: 2.6.19-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.8
Last Sync: Fri, 12 Jan 2007 21:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r1
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
CFLAGS="-O2 -march=nocona -mtune=nocona -pipe -ggdb"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=nocona -mtune=nocona -pipe -ggdb"
FEATURES="autoconfig distlocks installsources metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise /usr/portage/local/layman/musicbrainz"
USE="X a52 aac aalib acl acpi aim alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo browserplugin bzip2 bzlib cairo caps cdparanoia cdr cjk cli cracklib crypt cups curl dbus dlloader doc dri dts dvd dvdr dvdread eds emacs emboss encode esd ethereal examples exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran gcj gd gdbm gif glut gmp gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal iconv icq idn ieee1394 imagemagick imlib ipv6 isdnlog jabber jack java javascript jbig jce jpeg jpeg2k junit kde kdehiddenvisibility lcms leim libg++ libgda libnotify libsamplerate lm_sensors logrotate lua mad matroska mbox mikmod milter mime mmap mmx mng mono mp3 mpeg mpi msn ncurses nls nptl nptlonly nsplugin offensive ogg oggvorbis openal opengl oscar oss pam pcntl pcre pdf perl png postgres ppds pppd profile python qt3 qt4 quicktime readline recode reflection ruby sdl seamonkey session sharedmem sndfile snmp sockets sox speex spell spl sse sse2 ssl svg sysvipc tcl tcltk tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts udev uicktime unicode usb v4l vim-syntax vorbis win32codecs wmf wxwindows x264 x86 xface xine xml xml2 xorg xv xvid yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev"
Comment 1 Marcel Klein 2007-01-13 16:28:03 UTC
I have the same problem, too.
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-01-14 09:04:57 UTC
Confirmed that automatic client ip6 detection fails. -r3 works btw.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2007-01-14 23:09:06 UTC
Created attachment 107016 [details, diff]
suspected bad patch

Please try reverting this patch and see if it helps.

If it doesn't, it would be good if someone could confirm that the bug doesn't exist in vanilla and was introduced in vanilla
Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-01-15 00:53:57 UTC
(In reply to comment #3)
> Please try reverting this patch and see if it helps.

Reverting that fixes :)
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2007-01-15 18:48:59 UTC
Created attachment 107087 [details, diff]

Please reapply that patch and then apply this one on top, and confirm that the problem does not reappear
Comment 6 Roy Marples (RETIRED) gentoo-dev 2007-01-15 21:14:00 UTC
(In reply to comment #5)
> Please reapply that patch and then apply this one on top, and confirm that the
> problem does not reappear

Confirmed :)

Comment 7 Daniel Drake (RETIRED) gentoo-dev 2007-01-29 18:17:58 UTC
Fixed in gentoo-sources-2.6.19-r5