Netgear FA310TX -D1 RH 6 and SMP

Paul Nelson pnelson@riverdale.k12.or.us
Wed May 12 13:14:02 1999


Hello Folks,

I'm having trouble getting FA310TX -D1 to work on a new RH 6.0 box
(Dual 200 PPro PR440FX motherboard). I think the problem lies in compiling
an SMP version of tulip.o.  It could also be that I have no idea what I'm
doing so any help would be appreciated.  ;-)

I downloaded the tulip.c source (tulip.c:v0.91 4/14/99 ) from
http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html

After copying the source to /usr/src/modules I ran the "compile-command:
"gcc -DMODULE -D__KERNEL..." command and got a new tulip.o just fine.

When I went to /lib/modules/ there are three directories listed:
2.2.5-15    2.2.5-15BOOT 2.2.5-15smp

I tried copying the new tulip.o module to the net dir in all three of these
directories (at this point you can see I'm not sure what I'm doing at
all...)  ;-)  and rebooted, still nothing. Ifconfig shows the card but it
won't ping anything - yes the cable and port are ok...

I tried the "SMP-compile-command: "gcc -D__SMP..." compile and got error
messages:

[root@server2 modules]#
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:118:
/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)

When I did a /sbin/depmod -a I got:

[root@server2 modules]# /sbin/depmod -a
/lib/modules/2.2.5-15smp/net/tulip.o: unresolved symbol(s)


Any ideas or suggestions would be appreciated.

;-) Paul
==========================================================
Paul Nelson................... pnelson@riverdale.k12.or.us
Riverdale School, 11733 SW Breyman Ave, Portland, OR 97219
school (503)636-4511.....................fax (503)635-6342
Riverdale Web Page......... http://www.riverdale.k12.or.us
==========================================================