Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29504 - Cannot get Realtek Rtl8139 Fast Ethernet PC Card to work
Summary: Cannot get Realtek Rtl8139 Fast Ethernet PC Card to work
Status: RESOLVED DUPLICATE of bug 29638
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Keychain (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-24 05:43 UTC by Miroslav Šulc
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Miroslav Šulc gentoo-dev 2003-09-24 05:43:53 UTC
I cannot get Realtek Rtl8139 Fast Ethernet PC Card to work. It works under
RedHat without problem but with Gentoo I am not able to get it to work. I think
the problem may be connected with hotplug. In RedHat hotplug gets its part in
the card initialization but in Gentoo it doesn't. I found that when comparing
Gentoo and RedHat log files.

I have tested the card on two notebooks with Gentoo and one notebook with
RedHat. One Gentoo is up to date, the other is freshly installed from LiveCD 1.4
(pentium 3). None of the Gentoos can work with the card.

/etc/pcmcia/config didn't contain any information about Realtek so I added this
to it:

device "8139too"
  class "network" module "cb_enabler", "8139too"

card "Realtek Rtl8139"
  manfid 0x0000, 0x024C
  bind "8139too"


Any help is appreciated.

Here are the logs from Gentoo and from RedHat.

Gentoo log:

Sep 24 13:48:56 [kernel] Linux PCMCIA Card Services 3.2.4
Sep 24 13:48:56 [kernel] Intel ISA/PCI/CardBus PCIC probe:
Sep 24 13:48:56 [kernel]     ISA irqs (default) = 3,4,5,7 PCI status changes
Sep 24 13:48:56 [cardmgr] watching 2 sockets
Sep 24 13:48:56 [cardmgr] starting, version is 3.2.4
Sep 24 13:48:57 [kernel] cs: memory probe 0xa0000000-0xa0ffffff: clean.
Sep 24 13:48:57 [cardmgr] socket 1: Serial or Modem
Sep 24 13:48:57 [cardmgr] executing: 'modprobe serial_cs'
Sep 24 13:48:57 [kernel] isapnp: Scanning for PnP cards...
Sep 24 13:48:57 [kernel] Serial driver version 5.05c (2001-07-08) with
MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
Sep 24 13:48:57 [cardmgr] executing: './serial start ttyS1'
Sep 24 13:48:57 [kernel] cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207
0x220-0x22f 0x330-0x337 0x378-0x37f 0x388-0x38f 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
Sep 24 13:50:07 [cardmgr] socket 0: Realtek Rtl8139
Sep 24 13:50:07 [kernel] cs: cb_alloc(bus 2): vendor 0x10ec, device 0x8139
Sep 24 13:50:07 [cardmgr] executing: 'modprobe cb_enabler'
Sep 24 13:50:07 [cardmgr] executing: 'modprobe 8139too'
Sep 24 13:50:07 [kernel] 8139too Fast Ethernet driver 0.9.26
Sep 24 13:50:07 [cardmgr] +
/lib/modules/2.4.22_pre2-gss/kernel/drivers/net/8139too.o: init_module: No such
device
Sep 24 13:50:07 [cardmgr] +
/lib/modules/2.4.22_pre2-gss/kernel/drivers/net/8139too.o: insmod
/lib/modules/2.4.22_pre2-gss/kernel/drivers/net/8139too.o failed
Sep 24 13:50:07 [cardmgr] +
/lib/modules/2.4.22_pre2-gss/kernel/drivers/net/8139too.o: insmod 8139too failed
Sep 24 13:50:07 [cardmgr] + Hint: insmod errors can be caused by incorrect
module parameters, including invalid IO or IRQ parameters.
Sep 24 13:50:07 [cardmgr] +       You may find more information in syslog or the
output from dmesg
Sep 24 13:50:07 [cardmgr] modprobe exited with status 255
Sep 24 13:50:07 [cardmgr] module /lib/modules/2.4.22_pre2-gss/pcmcia/8139too.o
not available
Sep 24 13:50:08 [cardmgr] get dev info on socket 0 failed: Resource temporarily
unavailable


RedHat log:

Sep 24 13:26:55 gandalf kernel: cs: cb_free(bus 2)
Sep 24 13:26:55 gandalf /etc/hotplug/pci.agent: PCI remove event not supported
Sep 24 13:26:59 gandalf kernel: cs: cb_alloc(bus 2): vendor 0x10ec, device 0x8139
Sep 24 13:26:59 gandalf kernel: PCI: Enabling device 02:00.0 (0000 -> 0003)
Sep 24 13:26:59 gandalf cardmgr[514]: socket 0: CardBus hotplug device
Sep 24 13:26:59 gandalf /etc/hotplug/pci.agent: Setup 8139cp for PCI slot 02:00.0
Sep 24 13:26:59 gandalf kernel: 8139cp 10/100 PCI Ethernet driver v0.0.7 (Feb
27, 2002)
Sep 24 13:26:59 gandalf kernel: 8139cp: pci dev 02:00.0 (id 10ec:8139 rev 10) is
not an 8139C+ compatible chip
Sep 24 13:26:59 gandalf kernel: 8139cp: Try the "8139too" driver instead.
Sep 24 13:26:59 gandalf insmod:
/lib/modules/2.4.18-14/kernel/drivers/net/8139cp.o: init_module: No such device
Sep 24 13:26:59 gandalf insmod: Hint: insmod errors can be caused by incorrect
module parameters, including invalid IO or IRQ parameters.       You may find
more information in syslog or the output from dmesg
Sep 24 13:26:59 gandalf insmod:
/lib/modules/2.4.18-14/kernel/drivers/net/8139cp.o: insmod
/lib/modules/2.4.18-14/kernel/drivers/net/8139cp.o failed
Sep 24 13:26:59 gandalf insmod:
/lib/modules/2.4.18-14/kernel/drivers/net/8139cp.o: insmod 8139cp failed
Sep 24 13:26:59 gandalf /etc/hotplug/pci.agent: ... can't load module 8139cp
Sep 24 13:26:59 gandalf /etc/hotplug/pci.agent: missing kernel or user mode
driver 8139cp
Sep 24 13:31:32 gandalf kernel: 8139too Fast Ethernet driver 0.9.25
Sep 24 13:31:32 gandalf kernel: PCI: Setting latency timer of device 02:00.0 to 64
Sep 24 13:31:32 gandalf kernel: eth0: RealTek RTL8139 Fast Ethernet at
0xcc924000, 00:08:a1:3e:3f:64, IRQ 11
Sep 24 13:31:32 gandalf insmod: Warning: ignoring irq=11, no such parameter in
this module
Sep 24 13:31:32 gandalf insmod: Module 8139too loaded, with warnings
Sep 24 13:31:32 gandalf /etc/hotplug/net.agent: invoke ifup eth0
Sep 24 13:31:33 gandalf kernel: eth0: Setting 100mbps full-duplex based on
auto-negotiated partner ability 45e1.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




# emerge info
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22_pre2-gss)
=================================================================
System uname: 2.4.22_pre2-gss i686 Pentium III (Coppermine)
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://download.nautilus.startnet.cz/gentoo-mirror/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.easynet.nl/mirror/gentoo/
http://212.219.247.20/sites/www.ibiblio.org/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://212.219.247.10/sites/www.ibiblio.org/gentoo/
http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo
http://212.219.247.21/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg ncurses nls pdflib png quicktime spell truetype xmms xv zlib alsa gdbm
berkdb slang readline arts tetex svga java sdl gpm tcpd pam libwww ssl perl
python esd imlib oggvorbis motif opengl mozilla gphoto2 ldap cdr scanner X kde
qt gd xml xml2 curl flash freetds imap mysql snmp tiff mcal samba -gnome gtk gtk2"
Comment 1 Brian Jackson (RETIRED) gentoo-dev 2003-09-25 12:24:07 UTC
So all you've tried to do to fix this is edit /etc/pcmcia/config

I'm afraid you going to help us out a little bit more. Start with more info:
lsmod
lspci

Do you have hotplug installed?
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2003-09-25 12:45:08 UTC
Can you please try another kernel, such as gentoo-sources?
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-09-29 13:17:57 UTC

*** This bug has been marked as a duplicate of 29638 ***