Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99462 - Kernel 2.6.12 r6 unable to detect second ethernet card.
Summary: Kernel 2.6.12 r6 unable to detect second ethernet card.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-18 14:01 UTC by Daniel E. Wilson
Modified: 2005-07-29 16:53 UTC (History)
0 users

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


Attachments
Kernel .config file. (danw.config,35.61 KB, text/plain)
2005-07-18 14:06 UTC, Daniel E. Wilson
Details
Output of dmesg for 2.6.12 r4 kernel (dmesg.txt,15.13 KB, text/plain)
2005-07-19 02:06 UTC, Daniel E. Wilson
Details
Output of dmesg from 2.5.12 r6 kernel. (dmesg.txt,15.13 KB, text/plain)
2005-07-19 02:15 UTC, Daniel E. Wilson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel E. Wilson 2005-07-18 14:01:25 UTC
The natsemi driver can not detect a second DP83815 ethernet card.
The 2.6.12 r4 kernel detects it just fine.

Here is the result of lspci on the old kernel which is the same on the new
kernel except for 0000:00:10.0 not showing up.

0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
0000:00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
0000:00:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000
Controller (PHY/Link)
0000:00:09.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 50)
0000:00:09.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 50)
0000:00:09.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
0000:00:0f.0 Ethernet controller: National Semiconductor Corporation DP83815
(MacPhyter) Ethernet Controller
0000:00:10.0 Ethernet controller: National Semiconductor Corporation DP83815
(MacPhyter) Ethernet Controller
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 23)
0000:00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 23)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2 MX
100 DDR/200 DDR] (rev b2)


Reproducible: Always
Steps to Reproduce:
1. Build kernel using genkernel --udev --menuconfig all
2. Reboot
3. Use lspci to show the PCI devices.
Actual Results:  
The second card which is eth1 did not show up on lspci and the system us unable
to configure eth1.

Expected Results:  
The second ethernet card (eth1) should have been present and configured.

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.6.12
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -pipe
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://open-systems.ufl.edu/mirrors/gentoo http://ftp.gentoo.or.kr/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts cdr
crypt cups curl devmap doc dvd dvdr emacs emboss encode esd exif fam flac
font-server foomaticdb fortran ftp gd gdbm gif gimpprint gnome gphoto2 gpm gtk
gtk2 imagemagick imap imlib ipv6 java javascript jpeg junit kde leim libg++
libwww mad maildir mbox mikmod mime ming mmx mng motif mozilla mp3 mpeg mule
ncurses nls nptl nvidia ogg oggvorbis opengl oss pam pdflib perl png posix
postgres ppds python qt quicktime readline sdl sockets spell sse ssl svga tcltk
tcpd tetex threads tiff truetype truetype-fonts type1-fonts usb vcd vorbis
wxwindows x86 xine xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Daniel E. Wilson 2005-07-18 14:06:01 UTC
Created attachment 63730 [details]
Kernel .config file.

Here is the kernel configuration I am using for both kernel 2.6.12 r4 and
2.6.12 r6.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2005-07-18 16:41:39 UTC
That's really odd if it's not even appearing in lspci. Does rebooting into the
older kernel definately fix it?

Please attach dmesg output from both kernels.
Comment 3 Daniel E. Wilson 2005-07-19 02:06:11 UTC
Created attachment 63758 [details]
Output of dmesg for 2.6.12 r4 kernel

Result of dmesg for working kernel.
Comment 4 Daniel E. Wilson 2005-07-19 02:15:16 UTC
Created attachment 63760 [details]
Output of dmesg from 2.5.12 r6 kernel.

Output from the kernel having problems.
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2005-07-19 03:03:40 UTC
Your logs from the r6 kernel show both cards being detected:

natsemi eth0: NatSemi DP8381[56] at 0xd4000000 (0000:00:0f.0),
00:02:e3:14:dd:42, IRQ 18, port TP.
natsemi eth1: NatSemi DP8381[56] at 0xd3800000 (0000:00:10.0),
00:40:f4:6c:cd:2e, IRQ 19, port TP.
eth0: DSPCFG accepted after 0 usec.
eth0: link up.
eth0: Setting full-duplex based on negotiated link capability.
eth1: DSPCFG accepted after 0 usec.
eth1: link up.
eth1: Setting full-duplex based on negotiated link capability.

Are you really sure that it isn't working?

Perhaps you could attach the "ifconfig -a" output and the "lspci -vvv" output
from the -r6 kernel.

Comment 6 Daniel E. Wilson 2005-07-26 01:43:54 UTC
This kernel was giving consistant failures.  Now for the last few days
is has been working.  I will keep trying to get the failure to appear.

It seems to me that the bug will have to marked as FIXED since I can't repeat
the failures.  This annoys me since I don't like wasting your time.
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2005-07-29 16:53:27 UTC
Ok, please reopen if it happens again :)