WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: rtl8139  (Read 1273 times)

Offline giac_fab

  • Newbie
  • *
  • Posts: 23
rtl8139
« on: January 21, 2012, 02: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

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

Offline giac_fab

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

Offline Rich

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

Offline giac_fab

  • Newbie
  • *
  • Posts: 23
Re: rtl8139
« Reply #4 on: January 22, 2012, 11:27:48 AM »
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

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4119
Re: rtl8139
« Reply #5 on: January 22, 2012, 09:47:35 PM »
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: 587
Re: rtl8139
« Reply #6 on: March 03, 2012, 09:21:06 AM »
Have same nic card here...rtl8139 ...but it does not give any problems with tcl

x810 family of chips


V