Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: giac_fab on January 21, 2012, 02:57:08 PM

Title: rtl8139
Post by: giac_fab 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) ?
Title: Re: rtl8139
Post by: Rich on January 21, 2012, 06:51:23 PM
Hi giac_fab
I believe  config.h  was replaced with  autoconf.h, search for that.
Title: Re: rtl8139
Post by: giac_fab on January 22, 2012, 03:04:05 AM
I can't find also autoconf.h ???
Title: Re: rtl8139
Post by: Rich on January 22, 2012, 10:18:50 AM
Hi giac_fab
See if this returns anything:
Code: [Select]
find /usr -name autoconf.h
Title: Re: rtl8139
Post by: giac_fab 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" ???
Title: Re: rtl8139
Post by: Rich 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.
Title: Re: rtl8139
Post by: cast-fish 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