WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: rtl8139  (Read 3943 times)

Offline giac_fab

  • Newbie
  • *
  • Posts: 24
rtl8139
« on: January 21, 2012, 05:57:08 PM »
Hi

I have a rtl8139 ethernet PCI card.
lsmod tells me that 8139too mod is loaded

It works but everytime I try to download a "big" file the download stalls ( with tce-load appears "stalled" after 2-3 MB , also with browser if I try to see a youtube video it hangs )

Instuctions suggest to compile the driver attached, I hope that will solve the problem.

I downloaded compiletc + linuxheaders + linuxheadersapi

but :

rtl8139.c:46:26: fatal error: linux/config.h: No such file or directory
compilation terminated.

What should I download ( I searched that header into my system but I didn't find it) ?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11706
Re: rtl8139
« Reply #1 on: January 21, 2012, 09:51:23 PM »
Hi giac_fab
I believe  config.h  was replaced with  autoconf.h, search for that.

Offline giac_fab

  • Newbie
  • *
  • Posts: 24
Re: rtl8139
« Reply #2 on: January 22, 2012, 06:04:05 AM »
I can't find also autoconf.h ???

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11706
Re: rtl8139
« Reply #3 on: January 22, 2012, 01:18:50 PM »
Hi giac_fab
See if this returns anything:
Code: [Select]
find /usr -name autoconf.h

Offline giac_fab

  • Newbie
  • *
  • Posts: 24
Re: rtl8139
« Reply #4 on: January 22, 2012, 02:27:48 PM »
mhmhm

it's not where aspected

/usr/local/src/linux-headers-3.0.3-tinycore/include/generated/autoconf.h

the source search "config.h" it under /usr/local/src/linux-headers-3.0.3-tinycore/include/linux

Do you suggest I symlink it as "config.h" ???

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11706
Re: rtl8139
« Reply #5 on: January 23, 2012, 12:47:35 AM »
Hi giac_fab
You might want to see if you can find a newer version of this driver. This version contains:
#include <linux/bios32.h>
which seems to have disappeared somewhere around kernel version 2.1 or 2.2. I don't think this
file will compile without major rework.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: rtl8139
« Reply #6 on: March 03, 2012, 12:21:06 PM »
Have same nic card here...rtl8139 ...but it does not give any problems with tcl

x810 family of chips


V