Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622082 - net-misc/networkmanager-1.8.0: ethernet by USB, connection lost after 20-25s
Summary: net-misc/networkmanager-1.8.0: ethernet by USB, connection lost after 20-25s
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-18 10:04 UTC by LE GARREC Vincent
Modified: 2018-04-01 16:29 UTC (History)
2 users (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 LE GARREC Vincent 2017-06-18 10:04:20 UTC
I upgraded from net-misc/networkmanager-1.4.4-r1 and gnome-extra/nm-applet-1.4.6-r1 to net-misc/networkmanager-1.8.0 and gnome-extra/nm-applet-1.8.0.

My android phone shares Internet by USB with my computer. With version 1.4, the connection is stable but with 1.8, I'm loosing connection after around 20s.

dmesg with Netwo1.4 : 
[  939.693008] usb 5-2: USB disconnect, device number 4
[  940.126615] usb 5-2: new high-speed USB device number 5 using xhci_hcd
[  940.297363] usb 5-2: New USB device found, idVendor=22b8, idProduct=2e24
[  940.297367] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  940.297369] usb 5-2: Product: Moto G (4)
[  940.297371] usb 5-2: Manufacturer: motorola
[  940.297373] usb 5-2: SerialNumber: XXXXXXXX
[  940.299833] rndis_host 5-2:1.0 usb0: register 'rndis_host' at usb-0000:06:00.0-2, RNDIS device, 0a:3c:9f:fd:fa:16
[  940.316129] rndis_host 5-2:1.0 enp6s0u2: renamed from usb0
[  940.390592] IPv6: ADDRCONF(NETDEV_UP): enp6s0u2: link is not ready
[  942.466670] protocol 0003 is buggy, dev enp6s0u2
[  944.174107] protocol 0003 is buggy, dev enp6s0u2
[  945.705686] protocol 0003 is buggy, dev enp6s0u2
[  947.706966] protocol 0003 is buggy, dev enp6s0u2
[  949.709367] protocol 0003 is buggy, dev enp6s0u2

With 1.8.0 :
[ 1722.758353] usb 5-2: USB disconnect, device number 6
[ 1723.193331] usb 5-2: new high-speed USB device number 7 using xhci_hcd
[ 1723.364090] usb 5-2: New USB device found, idVendor=22b8, idProduct=2e24
[ 1723.364094] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1723.364096] usb 5-2: Product: Moto G (4)
[ 1723.364098] usb 5-2: Manufacturer: motorola
[ 1723.364099] usb 5-2: SerialNumber: ZY22396F3M
[ 1723.366609] rndis_host 5-2:1.0 usb0: register 'rndis_host' at usb-0000:06:00.0-2, RNDIS device, b6:61:93:61:6e:05
[ 1723.380149] rndis_host 5-2:1.0 enp6s0u2: renamed from usb0
[ 1723.457105] IPv6: ADDRCONF(NETDEV_UP): enp6s0u2: link is not ready
[ 1727.453374] protocol 0003 is buggy, dev enp6s0u2
[ 1729.169171] protocol 0003 is buggy, dev enp6s0u2
[ 1730.804923] protocol 0003 is buggy, dev enp6s0u2
[ 1732.805376] protocol 0003 is buggy, dev enp6s0u2
[ 1734.807063] protocol 0003 is buggy, dev enp6s0u2
[ 1755.028170] IPVS: Creating netns size=1840 id=7

The disconnection appears with the line : "IPVS: Creating netns".

Reproducible: Always




emerge --info
Portage 2.3.6 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-6.3.0, glibc-2.23-r2, 4.11.4-gentoo x86_64)
=================================================================
System uname: Linux-4.11.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.3
KiB Mem:    16385236 total,  11667324 free
KiB Swap:    9767516 total,   9767516 free
Timestamp of repository gentoo: Fri, 16 Jun 2017 18:30:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.28 p1.2) 2.28
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo, 3.6.1-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.27.1::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r3::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28-r2::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

crossdev
    location: /home/legarrec/info/overlay
    masters: gentoo
    priority: 0

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O0 -ggdb2 -g2 -pipe -fno-omit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O0 -ggdb2 -g2 -pipe -fno-omit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j9 --load-average=9"
FCFLAGS="-march=native -O0 -ggdb2 -g2 -pipe -fno-omit-frame-pointer"
FEATURES="assume-digests binpkg-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news noclean parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O0 -ggdb2 -g2 -pipe -fno-omit-frame-pointer"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O0"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/home/legarrec/info"
USE="X a52 aac accessibility acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli colord cracklib crypt cuda cups cxx dbus dhcpcd dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gtk gtk3 iconv introspection ipv6 jpeg lcms ldap libav libnotify libsecret mad mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opencl opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline sdl seccomp session spell ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="fr en ja" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LINGUAS="fr en ja" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

nm-applet:
     Installed versions:  1.8.0(13:44:11 18/06/2017)(introspection -gcr -modemmanager -selinux -teamd)

net-misc/networkmanager:
     Installed versions:  1.8.0(13:43:24 18/06/2017)(dhcpcd introspection modemmanager ncurses nss policykit ppp systemd wext wifi -audit -bluetooth -connection-sharing -consolekit -dhclient -elogind -gnutls -json -ofono -resolvconf -selinux -teamd -test -vala ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" KERNEL="linux")
Comment 1 LE GARREC Vincent 2017-06-18 10:05:53 UTC
net-misc/networkmanager:
     Installed versions:  1.4.4-r1(13:54:49 18/06/2017)(introspection modemmanager ncurses nss ppp systemd wext wifi -audit -bluetooth -connection-sharing -consolekit -dhclient -gnutls -json -ofono -resolvconf -selinux -teamd -test -vala ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" KERNEL="linux")

gnome-extra/nm-applet:
     Installed versions:  1.4.6-r1(13:55:47 18/06/2017)(introspection -modemmanager -teamd)
Comment 2 LE GARREC Vincent 2017-06-18 10:13:43 UTC
And just to be exhaustive, the line :

IPVS: Creating netns size=1840 id=X

also appears with 1.4 but do not cut the connexion.
Comment 3 Jonas Stein gentoo-dev 2017-06-22 20:31:07 UTC
It is sad to read that you have problems with the software. The situation seems to be a bit more complicate and requires some analysis.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. 

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3].
I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4].
Please reopen the ticket in order to provide an indication for an error in the ebuild.

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/
Comment 4 LE GARREC Vincent 2018-04-01 16:29:41 UTC
Dear,

Just for the record. Now with networkmanager 1.10.2 (I didn't try with other) and nm-applet-1.8.6 every thing is better. I'm still disconnected after 20s but then the reconnection is automatic and the line is good after that.