--------------60C514E48A9AC08B136F188B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Help, I have a red hat 6.0 server with dual processors and a Kingston KNE100TX network adapter (21143 chip set). It is hooked up to a 10 base T network (we are migrating to a linux server from netware 4.1). The following error pops up every 10 seconds or so: > eth0: 21140 transmit timed out, status f0120000, SIA 000000c6 ffff0001 fffbff7f > 8ff0c008, resetting... > eth0: transmit timed out, switching to 100baseTx media. > The link led is lit and the 100 led is off on the network card. So I downloaded the latest driver (tulip.c-v0.91 and tulip.c-0.91e). The following compile line (cut and paste from the comments at the bottom of the source code) gives me the following error: > gcc -D__SMP__ -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS` > /usr/include/asm/smp.h: In function `hard_smp_processor_id': > In file included from /usr/include/linux/smp.h:11, > from /usr/include/linux/sched.h:20, > from tulip.c:69: > /usr/include/asm/smp.h:209: warning: implicit declaration of function `GET_APIC_ID' > /usr/include/asm/smp.h:209: `APIC_BASE' undeclared (first use in this function) > /usr/include/asm/smp.h:209: (Each undeclared identifier is reported only once > /usr/include/asm/smp.h:209: for each function it appears in.) > /usr/include/asm/smp.h:209: `APIC_ID' undeclared (first use in this function) > tulip.c: In function `tulip_probe': > tulip.c:471: warning: suggest explicit braces to avoid ambiguous `else' > tulip.c: In function `select_media': > tulip.c:1538: warning: suggest explicit braces to avoid ambiguous `else' > If I remove the "-D__SMP__", the module compiles perfectly, but won't "insmod" due to my dual processors and everything else being loaded as SMP. Just for fun, I tried compiling the tulip.c that came with rh 6 and got the same error. Anyone have any ideas? Many thanks, --Tony aewell@sierra.net --------------60C514E48A9AC08B136F188B Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> Help,I have a red hat 6.0 server with dual processors and a Kingston KNE100TX
network adapter (21143 chip set). It is hooked up to a 10 base T network
(we are migrating to a linux server from netware 4.1). The following error
pops up every 10 seconds or so:eth0: 21140 transmit timed out, status f0120000, SIA 000000c6 ffff0001 fffbff7f 8ff0c008, resetting... eth0: transmit timed out, switching to 100baseTx media.
The link led is lit and the 100 led is off on the network card.So I downloaded the latest driver (tulip.c-v0.91 and tulip.c-0.91e). The following
compile line (cut and paste from the comments at the bottom of the source
code) gives me the following error:gcc -D__SMP__ -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS` /usr/include/asm/smp.h: In function `hard_smp_processor_id': In file included from /usr/include/linux/smp.h:11, from /usr/include/linux/sched.h:20, from tulip.c:69: /usr/include/asm/smp.h:209: warning: implicit declaration of function `GET_APIC_ID' /usr/include/asm/smp.h:209: `APIC_BASE' undeclared (first use in this function) /usr/include/asm/smp.h:209: (Each undeclared identifier is reported only once /usr/include/asm/smp.h:209: for each function it appears in.) /usr/include/asm/smp.h:209: `APIC_ID' undeclared (first use in this function) tulip.c: In function `tulip_probe': tulip.c:471: warning: suggest explicit braces to avoid ambiguous `else' tulip.c: In function `select_media': tulip.c:1538: warning: suggest explicit braces to avoid ambiguous `else'
If I remove the "-D__SMP__", the module compiles perfectly, but won't "insmod" due
to my dual processors and everything else being loaded as SMP.Just for fun, I tried compiling the tulip.c that came with rh 6 and got the same error.
Anyone have any ideas?
Many thanks,
--Tony
aewell@sierra.net