Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134808 - forcedeth death after reboot between winXP and gentoo
Summary: forcedeth death after reboot between winXP and gentoo
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-29 11:38 UTC by Thomas Kohler
Modified: 2006-08-20 09:26 UTC (History)
0 users

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


Attachments
dmesg after warm restart (dmesg_notworking.txt,25.76 KB, text/plain)
2006-05-30 13:37 UTC, Thomas Kohler
Details
dmesg after cold start (dmesg_workwell.txt,25.76 KB, text/plain)
2006-05-30 13:38 UTC, Thomas Kohler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kohler 2006-05-29 11:38:01 UTC
After a reboot directly from "WindowsXP Home, SP2" to gentoo via grub the ethernet-connection over the onboard-interface is death. Ping to a local machine  connected there show "Destination host unreachable". 

But when I make a shutdown from XP, switch of the power for 10 sec. and switch on and boot to gentoo via grub directly the connection works great.

First a few results if it works OK:
*result from "dmesg | grep eth"
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.49.
eth0: forcedeth.c: subsystem: 01462:7207 bound to 0000:00:14.0bridge-eth0: enabling the bridge
bridge-eth0: up
bridge-eth0: already up
bridge-eth0: attached

*result from "cat /proc/interrupts"
16:      84246   IO-APIC-level  HDA Intel, eth0

Hardware:
Board: K8NGM2-FID
Bios:  v3.2 (2006-02-08)
kernel: 2.6.15-gentoo-r7
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2006-05-29 12:14:04 UTC
Please reproduce this with the latest kernel, currently 2.6.16
Also, post "emerge --info" to every bug that you file, like the form asks.
Comment 2 Thomas Kohler 2006-05-29 12:46:43 UTC
So, now I have tested the bad case: rebooted from XP directly. Following answers I get:

"dmesg | grep eth"
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.49.
eth0: forcedeth.c: subsystem: 01462:7207 bound to 0000:00:14.0
bridge-eth0: enabling the bridge
bridge-eth0: up
bridge-eth0: already up
bridge-eth0: attached

"cat /proc/interrupts"
16:      29311   IO-APIC-level  HDA Intel, eth0


Looks like the same as the other answers, but:

ping localmachine
...... icmp_seq=4 Destination Host Unreachable

--- localmachine.homenet ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4000ms
, pipe 3

Should I test something different things?
Comment 3 Thomas Kohler 2006-05-29 12:55:32 UTC
(In reply to comment #1)
> Please reproduce this with the latest kernel, currently 2.6.16
> Also, post "emerge --info" to every bug that you file, like the form asks.
> 
Sorry, my mistake I'm wrote the false kernel-number!

I have updated to the latest kernel yesterday. Now 2.6.16-gentoo-r7, but the same result with the oldone (2.6.15-gentoo-r7).

And now the other infos:

emerge --info
Portage 2.0.54-r2 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.16-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -mmmx -msse -msse3 -m3dnow"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo "
LANG="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa audiofile avi berkdb bitmap-fonts bonobo bzip2 cdr cli crypt cups curl dri dts dvd dvdread eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gif gimp glut gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imagemagick imlib ipv6 isdnlog jack jpeg kde lcms ldap lzw lzw-tiff mad matroska mikmod mng mozilla mp3 mpeg ncurses nls nptl nptlonly nvidia ogg openal opengl oss pam pcre pdflib perl png ppds pppd python qt quicktime readline reflection samba scanner sdl session slang spell spl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vorbis xine xml xml2 xmms xorg xpm xv zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2006-05-29 13:06:55 UTC
Ok, please attach full dmesg from working and from not working.

Also, go into windows and note down the MAC address of your card. Then reboot into Linux (the card will not work here) and note down the MAC address from Linux.
Then power down to cold, boot into Linux (the card will work here), and note down the MAC address again.

Do all 3 match?
Comment 5 Thomas Kohler 2006-05-30 13:37:28 UTC
Created attachment 87907 [details]
dmesg after warm restart
Comment 6 Thomas Kohler 2006-05-30 13:38:35 UTC
Created attachment 87908 [details]
dmesg after cold start
Comment 7 Thomas Kohler 2006-05-30 13:40:41 UTC
(In reply to comment #4)
> Ok, please attach full dmesg from working and from not working.
See both attachements. But looks like the same (Differences only in CPU-timing and vmware-part).

> Also, go into windows and note down the MAC address of your card. Then reboot
> into Linux (the card will not work here) and note down the MAC address from
> Linux.
> Then power down to cold, boot into Linux (the card will work here), and note
> down the MAC address again.
> 
> Do all 3 match?
> 
Yes, completly the same in all 6 parts.

What to do now?
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2006-06-01 14:34:37 UTC
Please test the latest development kernel, currently 2.6.17-rc5. I am fairly sure this issue has been fixed there.
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2006-06-15 11:41:27 UTC
please reopen when the latest development kernel has been tested
Comment 10 Thomas Kohler 2006-08-20 09:26:01 UTC
I have tested with gentoo-sources-2.6.17-r4 and it is ok now.

Thank you for your informations.