Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309423 - natsemi kernel driver increased tx threshold
Summary: natsemi kernel driver increased tx threshold
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-14 22:57 UTC by Benny Pedersen
Modified: 2010-04-25 18:25 UTC (History)
0 users

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


Attachments
as requested (dmesg,32.95 KB, text/plain)
2010-03-23 22:12 UTC, Benny Pedersen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benny Pedersen 2010-03-14 22:57:23 UTC
# grep txcfg /var/log/messages
Mar 14 22:58:00 home kernel: eth0: increased tx threshold, txcfg 0xd0f01004.
Mar 14 22:58:00 home kernel: eth0: increased tx threshold, txcfg 0xd0f01006.
Mar 14 22:58:00 home kernel: eth0: increased tx threshold, txcfg 0xd0f01008.
Mar 14 22:58:00 home kernel: eth0: increased tx threshold, txcfg 0xd0f0100a.
Mar 14 22:58:36 home kernel: eth0: increased tx threshold, txcfg 0xd0f0100c.
Mar 14 22:58:36 home kernel: eth0: increased tx threshold, txcfg 0xd0f0100e.
Mar 14 22:58:36 home kernel: eth0: increased tx threshold, txcfg 0xd0f01010.
Mar 14 22:58:36 home kernel: eth0: increased tx threshold, txcfg 0xd0f01012.
Mar 14 23:22:43 home kernel: eth0: increased tx threshold, txcfg 0xd0f01014.
Mar 14 23:22:43 home kernel: eth0: increased tx threshold, txcfg 0xd0f01016.
Mar 14 23:23:45 home kernel: eth0: increased tx threshold, txcfg 0xd0f01018.

# ethtool -i eth0
driver: natsemi
version: 2.1
firmware-version: 
bus-info: 0000:02:00.0

# ifconfig eth0
# xx is mangled
eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:x.x.x.x  Bcast:x.x.x.x  Mask:x.x.x.x
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12522 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12231 errors:11 dropped:0 overruns:11 carrier:11
          collisions:0 txqueuelen:1000 
          RX bytes:6728995 (6.4 MiB)  TX bytes:8419694 (8.0 MiB)
          Interrupt:18 Base address:0xe000 

# emerge --info
Portage 2.1.7.17 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.33-gentoo x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-x86_64-AMD_Opteron-tm-_Processor_246-with-gentoo-1.12.13
Timestamp of tree: Sun, 14 Mar 2010 19:45:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4-r1
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://91.121.125.139/gentoo-distfiles/"
LANG="en_US"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="us da en uk"
MAKEOPTS="-j1"
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="/usr/local/portage/layman/sunrise /usr/local/portage/layman/gentoo-bsd /usr/local/portage/layman/localhost"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip amavis amd64 animgif apache2 ares authlib bacula-console bash-completion bcmath big-tables bzip2 cdb cgi clamav clamd clamdtop cli colordiff cracklib crypt ctype curl cvs cxx dbm dbus dovecot-sasl dri embedded exif expat extensions extra-tools fbcon filter fpx ftp gd gdbm gif git gmp gnutls gocr gpm graphviz gs hash iconv icq icu idn imagemagick imap irc jabber javascript jpeg json latin1 logrotate lzo managesieve math mbox mcve mhash mimencode mmx modules mpeg msn mudflap multilib mysql mysqli ncurses nls noaudio normalizemime nptl nptlonly nss ocrad openmp pam pcmcia pcre perl php png pop3d posix pppd python pyzord razor readline reflection resolvconf restrict rle sasl sdl sensord session sieve simplexml slang snmp soap sockets spamassassin spl sse sse2 ssl subversion symlink sysfs sysvipc tcpd tesseract tidy tools unicode usb webdav xinetd xml xmlreader xmlrpc xmlwriter xsl yaz zip zlib" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="us da en uk" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always




have always being a problem for me here, like to get problem resolved now, had hoped it was in 2.6.33 but no :/
Comment 1 George Kadianakis (RETIRED) gentoo-dev 2010-03-23 21:33:51 UTC
Please attach a full copy of your dmesg.

Thanks :)
Comment 2 Benny Pedersen 2010-03-23 22:12:33 UTC
Created attachment 224949 [details]
as requested
Comment 3 George Kadianakis (RETIRED) gentoo-dev 2010-03-23 22:53:02 UTC
(In reply to comment #2)
> Created an attachment (id=224949) [details]
> as requested
> 

Do you have a dmesg log with the "increased tx threshold" lines in it as well?

If not, are you _absolutely_ sure that there is nothing useful between the end of the log file that you gave me and the start of the "increased tx threshold" messages? If you are not sure, please reproduce your problem and attach a new dmesg log.
Comment 4 Benny Pedersen 2010-03-28 21:12:08 UTC
after it have runned since without any  increased tx threshold in logs now i belive its just the way it works this driver, some sort of autoconfig ?

if so i would like to know if it can be minimized when reboot to not be that long to get the right tx value set in sysctl or in driver parms from reboot

i will still let it be monitored here so i can report if it would hit still after 24 hours of rebooting

the card is a lan1641 with 4 nic on one single pci card ( http://soekris.eu/shop/lan_boards_en/ )

Comment 5 George Kadianakis (RETIRED) gentoo-dev 2010-04-02 17:11:59 UTC
So, how is it going? Did the "increased tx threshold" messages stop appearing?
Comment 6 Benny Pedersen 2010-04-02 19:21:08 UTC
its last seen on my lan interface the 21 mar, and 17 mar on the wan interface

so it here seems it stabalize over time, and i have not seen the same problem with other drivers, just still unsure if its my own fault :(
Comment 7 Mike Pagano gentoo-dev 2010-04-25 18:25:02 UTC
Ok, feel free to reopen if this problem still exists.