Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280508 - sys-kernel/openvz-sources-2.6.27.2.1-r2: SIT ipv6 tunnel module missing in VE, works on HN. Worked on both in 2.6.24
Summary: sys-kernel/openvz-sources-2.6.27.2.1-r2: SIT ipv6 tunnel module missing in VE...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-05 22:03 UTC by Steinar Seljevold
Modified: 2009-11-04 19:36 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 Steinar Seljevold 2009-08-05 22:03:14 UTC
I have just upgraded from 2.6.24-openvz-006.5 to openvz-sources-2.6.27.2.1-r2, and the sit module (ipv6-in-ipv4 tunnel driver) stopped to work in the VE. Works fine on the HN. Its built into the kernel, not loaded as module.

vps ~ # uname -a
Linux login5 2.6.27-openvz-briullov.1-r2 #1 SMP Wed Aug 5 22:45:55 CEST 2009 x86_64 Intel(R) Pentium(R) Dual CPU E2200 @ 2.20GHz GenuineIntel GNU/Linux


Reproducible: Always

Steps to Reproduce:
Comment 1 James Earl Spahlinger 2009-08-06 00:59:43 UTC
Please paste the output of 'emerge --info' into a bugzilla comment to assist the maintainers in resolving this issue
Comment 2 Steinar Seljevold 2009-08-06 13:39:09 UTC
hn ~ # emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-openvz-briullov.1-r2 x86_64)
=================================================================
System uname: Linux-2.6.27-openvz-briullov.1-r2-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2200_@_2.20GHz-with-glibc2.2.5
Timestamp of tree: Fri, 24 Jul 2009 11:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6, 2.5.4-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.gentoo.se/ ftp://mirror.mdfnet.se/gentoo http://mirror.bytemark.co.uk/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="no nb_NO en en_GB en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 apache2 bash-completion berkdb bzip2 cdio cli cracklib crypt dbus dri dts encode esd flac fortran gd gdbm gpm gtk hal iconv imap ipv6 isdnlog jpeg libnotify lzo midi mmx modplug mp2 mp3 mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png pppd pulseaudio python rar readline reflection rtc sdl session spl srt sse sse2 ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype unicode v4l v4l2 vorbis wma x264 xcb xcomposite xml xorg xscreensaver xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_http" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="no nb_NO en en_GB en_US" USERLAND="GNU" VIDEO_CARDS="nv nvidia i810 intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2009-08-26 17:44:17 UTC
Could you try to build kernel with CONFIG_SYSFS_DEPRECATED_V2 option? According to upstream http://bugzilla.openvz.org/show_bug.cgi?id=1253 it should fix this problem. Does it?
Comment 4 Steinar Seljevold 2009-08-26 18:15:43 UTC
Its already on.

hn linux-2.6.27-openvz-briullov.1-r2 # grep SYSFS .config
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
CONFIG_ACPI_SYSFS_POWER=y
CONFIG_SYSFS=y
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2009-08-27 06:54:07 UTC
Well. Then could you give a more details what do you mean by "stopped working"?
Comment 6 Steinar Seljevold 2009-08-27 14:00:16 UTC
vps ~ # ip tunnel add v6link mode sit remote 192.168.0.1
ioctl: No such device


vps ~ # ip tunnel
gre0: gre/ip  remote any  local any  ttl inherit  nopmtudisc
vps ~ #

host ~ # ip tunnel
sit0: ipv6/ip  remote any  local any  ttl 64  nopmtudisc
gre0: gre/ip  remote any  local any  ttl inherit  nopmtudisc
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2009-11-04 08:24:25 UTC
BTW, what happens if you revert the following patch:

http://git.openvz.org/?p=linux-2.6.26-openvz;a=commit;h=bd5e8068db8448a24b87f096622a5f4dac93b31a

? I guess it's just disabled and there is no way to enable it.
Comment 8 Steinar Seljevold 2009-11-04 18:05:00 UTC
After reading the bugreport you linked to, I found that vzctl 3.0.23 or later is required to enable sit in VE's.

vzctl set 101 --features sit:on --save

Works now :)
Comment 9 Peter Volkov (RETIRED) gentoo-dev 2009-11-04 19:36:53 UTC
Great! I'm not using this feature but I'm happy it works for you. )