Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199766 - gentoo-sources-2.6.23-r2 - via-rhine ethernet controller doesn't work after resuming from S3
Summary: gentoo-sources-2.6.23-r2 - via-rhine ethernet controller doesn't work after r...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-20 13:01 UTC by Andrey Melentyev
Modified: 2008-05-06 11:59 UTC (History)
1 user (show)

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


Attachments
dmesg output (dmesg-2.6.23-gentoo-r2,15.09 KB, text/plain)
2007-11-20 13:03 UTC, Andrey Melentyev
Details
dmesg output after resuming (dmesg-2.6.23-gentoo-r2-after-resuming,15.30 KB, text/plain)
2007-11-20 13:03 UTC, Andrey Melentyev
Details
kernel config for 2.6.23-gentoo-r2 (config-2.6.23-gentoo-r2,35.81 KB, text/plain)
2007-11-20 22:02 UTC, Andrey Melentyev
Details
ifconfig output after resuming and trying to bring eth0 up (ifconfig-2.6.24-rc3-after-resuming,818 bytes, text/plain)
2007-11-22 14:36 UTC, Andrey Melentyev
Details
ifconfig output a few seconds later (ifconfig-2.6.24-rc3-after-resuming-4,820 bytes, text/plain)
2007-11-22 14:37 UTC, Andrey Melentyev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Melentyev 2007-11-20 13:01:54 UTC
I'm using gentoo-sources-2.6.23-r2 on my laptop. Here's my lspci output:
# lspci
00:00.0 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. PT890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:06.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
00:0c.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
01:00.0 VGA compatible controller: VIA Technologies, Inc. UniChrome Pro IGP (rev 01)

When I resume laptop from S3 state, almost everything seems to be ok, except my ethernet controller doesn't work. The suspicious lines is dmesg after resuming are:

via-rhine: Reset not complete yet. Trying harder.
eth0: link up, 100Mbps, full-duplex, lpa 0xFFFF
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timed out, status ffff, PHY status ffff, resetting...
via-rhine: Reset not complete yet. Trying harder.
eth0: link up, 100Mbps, full-duplex, lpa 0xFFFF

After rebooting the ethernet adapter works again, no errors in dmesg.

Reproducible: Always

Steps to Reproduce:
1. Compile kernel with support for via-rhine
2. run s2ram (or put system in S3 some other way)
3. resume the system

Actual Results:  
After resuming ethernet adapter doesn't transmit or recieve any data. I mean doesn't really work.

Expected Results:  
I hope it should work somehow.

# emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.23-gentoo-r2 i686)
=================================================================
System uname: 2.6.23-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1500MHz
Timestamp of tree: Tue, 20 Nov 2007 09:16:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
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-r2
ACCEPT_KEYWORDS="x86 ~x86"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol"
ANT_HOME="/usr/share/ant-core"
ARCH="x86"
AUTOCLEAN="yes"
CAMERAS="canon"
CBUILD="i686-pc-linux-gnu"
CCACHE_SIZE="2G"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISPLAY=":0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="-v"
EMERGE_WARNING_DELAY="10"
FEATURES="autoaddcvs collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -c -t 1 -T 5 --passive-ftp ${URI} -P ${DISTDIR}"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="ftp://kos.local/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.2.2/info"
INPUT_DEVICES="mouse keyboard synaptics evdev"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KDEDIRS="/usr:/usr/local:/usr/kde/3.5"
KDE_IS_PRELINKED="1"
KERNEL="linux"
LANG="ru_RU.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS="-Wl,--hash-style=gnu"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="ru en"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
MAKEOPTS="-j2"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.2.2/man:/etc/java-config/system-vm/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man:/opt/opera/share/man"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.2.2:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_JABBERFROM="portage@jabber.ru:portage"
PORTAGE_ELOG_JABBERSUBJECT="Fresh elog info from portage@laptop"
PORTAGE_ELOG_JABBERTO="rikz@jabber.ru"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save jabber"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="19"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
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 --filter=H_**/files/digest-*"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TMPFS="/dev/shm"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/sunrise /usr/portage/local/layman/x11 /usr/portage/local/openchrome /usr/portage/local/overlay"
PORT_LOGDIR="/var/log/portage"
PWD="/home/rikz"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 1 -T 5 --passive-ftp ${URI} -P ${DISTDIR}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.2.2:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
RPMDIR="/usr/portage/rpm"
SANE_CONFIG_DIR="/etc/sane.d"
SBCL_HOME="/usr/lib/sbcl"
SBCL_SOURCE_ROOT="/usr/lib/sbcl/src"
SHELL="/bin/bash"
SHLVL="1"
STAGE1_USE="nptl nptlonly unicode"
SUDO_COMMAND="/bin/su"
SUDO_GID="100"
SUDO_UID="1000"
SUDO_USER="rikz"
SYNC="rsync://mirror.yandex.ru/gentoo-portage"
TERM="screen-bce"
USB_DEVFS_PATH="/dev/bus/usb"
USE="X a52 aac acpi alsa bash-completion beagle berkdb bitmap-fonts bluetooth bzip2 cairo cdr chardet cli cracklib crypt cscope cups dbus dga djvu dri dvd dvdr emboss encode exif exiv2 fam ffmpeg flac ftp fuse galago gdbm gif gimp glut gnome gphoto2 gpm gsf gstreamer gtk gtkhtml hal hashstyle icc iconv imagemagick inotify isdnlog javascript jpeg kdeenablefinal lcms libnotify logrotate mad midi mikmod mmap mmx mmxext mono mp3 mpeg mudflap musicbrainz ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcmcia pcre pdf png pppd python qt3 qt3support qt4 quicktime readline real reflection samba sasl scanner sdl session slang speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg t1lib taglib tetex tiff truetype truetype-fonts type1-fonts unicode usb videos vim vim-syntax vnc vorbis wifi win32codecs x264 x86 xattr xcomposite xine xml xorg xosd xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="openchrome vesa via"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="openchrome vesa via"
XARGS="xargs -r"
XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share"
_="/usr/bin/emerge"
Comment 1 Andrey Melentyev 2007-11-20 13:03:01 UTC
Created attachment 136483 [details]
dmesg output
Comment 2 Andrey Melentyev 2007-11-20 13:03:55 UTC
Created attachment 136485 [details]
dmesg output after resuming
Comment 3 Maarten Bressers (RETIRED) gentoo-dev 2007-11-20 21:16:29 UTC
Can you please post your kernel .config? Also, can you test with the latest development kernel, 2.6.23-rc3 as of this writing? Thanks.
Comment 4 Andrey Melentyev 2007-11-20 22:02:04 UTC
Created attachment 136551 [details]
kernel config for 2.6.23-gentoo-r2

Soon I'll try to reproduce the bug on 2.6.24-rc3
Comment 5 Andrey Melentyev 2007-11-20 22:31:06 UTC
(In reply to comment #3)
> Can you please post your kernel .config? Also, can you test with the latest
> development kernel, 2.6.23-rc3 as of this writing? Thanks.
> 

I've just tried 2.6.24-rc3 with almost the same config, the bug is gone. I did suspend and resume multiple times and after that ethernet controller worked fine. I'm very sorry for posting this bug, I just thought that 2.6.23 is more stable than 2.6.24-rc. Should we now close the bug, or this issue has to be fixed in gentoo-sources-2.6.23 too?

Anyway, thank you for the help.
Comment 6 Mike Pagano gentoo-dev 2007-11-21 16:49:28 UTC
Well, I looked at the git-logs and could not determine a specific fix that might have solved the issue. I have emailed the maintainer to see if he could provide some insight.

If we could identify the fixing patch, we can attempt a backport to 2.6.23.

If not, and you have the time and motivation, you can perform a reverse git-bisect to identify the patch fix.  But let's wait before we even think about going there.

Comment 7 Roger Luethi 2007-11-21 19:14:32 UTC
The maintainer would be me. If the fix happened between 2.6.23.1 and 2.6.24-rc3, then it's hardly in the via-rhine driver. If you do a git bisect it will satisfy my curiosity, too :-).
Comment 8 Andrey Melentyev 2007-11-21 20:07:26 UTC
It seems that I didn't heed all the conditions when the bug is reproducible. I just checked my 2.6.23-gentoo-r2 and couldn't reproduce it once more at home. I didn't change anything kernel-related since I noticed the bug, so the only thing that is different is what network did I use.

1) The bug was found when I was connected via crossover cable to Windows XP machine with D-Link ethernet adapter.

2)  Now I can't reproduce it at home where I have different network configuration - I'm connected to Internet through D-Link DI-604 ethernet router.

So I can try to reproduce the bug on the first network configuration. I can do it tomorrow, I will certainly try to reproduce it on 2.6.23-gentoo-r2 once more, and on 2.6.24-rc3, just in case. 

If I will successfully reproduce it - what additional info should I collect?
Comment 9 Andrey Melentyev 2007-11-22 14:34:43 UTC
Ok, I found one more condition needed to reproduce the bug. At least on the first network configuration (didn't test it on the second yet):

Bug is always reproducible if eth0 network interface was down before entering S3 state. When the system is resumed, after trying to bring the interface up it doesn't work. With the message that I showed earlier. It is reproducible both on 2.6.23-gentoo-r2 and on 2.6.24-rc3. When I try to bring eth0 up after resuming in this case, ifconfig reports that interface is up. But there are no successfully recieved packets and the value for "dropped" RX packets is growing fastly.

Bug is NOT reproducible if eth0 interface was up before suspending. If eth0 was up, after resuming it is still up and working.

Comment 10 Andrey Melentyev 2007-11-22 14:36:26 UTC
Created attachment 136678 [details]
ifconfig output after resuming and trying to bring eth0 up
Comment 11 Andrey Melentyev 2007-11-22 14:37:14 UTC
Created attachment 136679 [details]
ifconfig output a few seconds later
Comment 12 Andrey Melentyev 2007-11-22 14:43:56 UTC
I don't know if it is importaint, but when ethernet adapter is working fine, in ifconfig output I have different value for "Base address": 

# ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:40:CA:E0:E3:22  
          inet addr:192.168.0.7  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1097 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1042 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:859219 (839.0 Kb)  TX bytes:239614 (233.9 Kb)
          Interrupt:18 Base address:0x400 
Comment 13 Andrey Melentyev 2007-11-22 17:47:21 UTC
(In reply to comment #8)

Just reproduced the bug on the second network configuration. So my comment #8 is to be ignored.
Comment 14 Roger Luethi 2007-11-23 17:59:47 UTC
So is it still true that the problem is gone in 2.6.24-rc3, or was it the interface state all along?
Comment 15 Andrey Melentyev 2007-11-23 18:19:37 UTC
(In reply to comment #14)
> So is it still true that the problem is gone in 2.6.24-rc3, or was it the
> interface state all along?
> 

No, its not true, the problem exists in 2.6.23-gentoo-r2 and in 2.6.24-rc3. It depends on the interface state before entering S3 state.
Comment 16 Mike Pagano gentoo-dev 2008-01-23 01:39:00 UTC
Andrey, are you still having issues?

Roger, is he is still having issues, is there any more information or any testing you would like him to perform?
Comment 17 Andrey Melentyev 2008-01-23 08:07:08 UTC
Mike, yes. I'm currently using gentoo-sources-2.6.23-r5, same issue there.
Comment 18 Roger Luethi 2008-01-23 09:53:43 UTC
(In reply to comment #16)
> Roger, is he is still having issues, is there any more information or any
> testing you would like him to perform?

Sorry, I'm swamped at work, and my own testing gear doesn't get anywhere with S3. A simple way for narrowing down the issue would be to find the exact circumstances that make it work/break (e.g. does it work if the driver is loaded and the interface is just downed (via ifconfig) prior to suspending?). Then check the code in rhine_close, rhine_shutdown, and rhine_suspend. If downing the interface breaks resume, trial and error (commenting code out) might show you what makes the difference. Once that is known, it should be easier to think of a remedy.
Comment 19 Mike Pagano gentoo-dev 2008-02-02 19:57:57 UTC
Andrey, are you willing/able to to the testing Roger has requested?
Comment 20 Andrey Melentyev 2008-02-02 20:18:08 UTC
(In reply to comment #19)
> Andrey, are you willing/able to to the testing Roger has requested?
> 

Unfortunately I'm not skilled enought to modify driver's source code myself. But I can provide results of suspending laptop with via-rhine module loaded/unloaded and interface up/down in ifconfig. 

Please give me one or two days to find a place with wired connection for testing.
Comment 21 Andrey Melentyev 2008-02-21 20:08:30 UTC
Sorry for a long silence.
If module is loaded and interface is down via ifconfig, then after resuming network doesn't work. 
If module is loaded and interface is up, then after resuming network works. 
If module is unloaded, I can put laptop into S3 state, the wake it up and then, after loading module, network works just fine.

I know that it is a very small amount of information, but I'm really not good at hacking driver's source code :(
Comment 22 Mike Pagano gentoo-dev 2008-04-30 00:54:44 UTC
Are you still having trouble with this driver in later kernels?
Comment 23 Andrey Melentyev 2008-05-06 11:59:20 UTC
(In reply to comment #22)
> Are you still having trouble with this driver in later kernels?
> 

I don't use ethernet much, so I guess we can close the bug. Seems that nobody else is experiencing the same issue, so it's not a big deal.