Trouble compiling tulip.c
Toby Batch
tobias@jcp.co.uk
Wed Feb 2 09:05:04 2000
When I try to compile the tulip.c driver file I get the following list
of warnings:
In file included from /usr/include/linux/sched.h:20,
from tulip.c:119:
/usr/include/linux/smp.h:77: warning: `smp_num_cpus' redefined
/usr/include/linux/modules-smp/i386_ksyms.ver:72: warning: this is the
location of the previous definition
/usr/include/linux/smp.h:83: warning: `smp_call_function' redefined
/usr/include/linux/modules-smp/i386_ksyms.ver:98: warning: this is the
location of the previous definition
In file included from /usr/include/linux/sched.h:74,
from tulip.c:119:
/usr/include/asm/processor.h:96: warning: `cpu_data' redefined
/usr/include/linux/modules-smp/i386_ksyms.ver:62: warning: this is the
location of the previous definition
In file included from /usr/include/linux/interrupt.h:51,
from tulip.c:125:
/usr/include/asm/hardirq.h:23: warning: `synchronize_irq' redefined
/usr/include/linux/modules-smp/i386_ksyms.ver:78: warning: this is the
location of the previous definition
In file included from /usr/include/linux/interrupt.h:52,
from tulip.c:125:
/usr/include/asm/softirq.h:72: warning: `synchronize_bh' redefined
/usr/include/linux/modules-smp/i386_ksyms.ver:80: warning: this is the
location of the previous definition
As these are only warnings, I ignored them and tried to add the compiled
module to my kernel using insmod. I did all this and the card refused
to come up, but on reboot I got a set of errors very similar to those
reported by Kevin M. Myer in his submission to this list.
The oops looks similar to this but obvioulsy with different values.
Oops: 0002
CPU: 0
EIP: 0010:[<c01f2298>]
EFLAGS: 00010206
eax: 00000000 ebx: 00000000 ecx: c9006000 edx: 7fffffff
esi: 00000000 edi: c126fb00 ebp: c9006000 esp: c30adeb4
ds: 0018 es: 0018 ss: 0018
Process ifconfig (pid: 1227, stackpage=c30ad000)
Stack: c9006030 c126f800 c9006030 c01f23e1 c1276400 0000000a c1276400
c126fc98
00001043 c1276400 00001042 00000000 c018a7b2 c1276400 00001043
c1276400
c018b2b5 c1276400 c1276400 00008914 00000000 c30adf4c c018b3ce
c1276400
Call Trace: [<c01f23e1>] [<c018a7b2>] [<c018b2b5>] [<c018b3ce>]
[<c018b89e>] [<c01b3e47>] [<c0186cd1>]
[<c0137a57>] [<c010be64>]
Code: ff 4a 74 0f 94 c0 84 c0 74 09 52 e8 44 6e f9 ff 83 c4 04 c7
Other relevant info:
RedHar 6.1
Twin CPU Intel P3 450
Arsus P2B-DS
128 Mb
Kernel 2.2.12-20smp
Network Card Cnet Pro120
(http://www.cnet.com.tw/products/nic-pro120c.html)
What have I done wrong?
-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-tulip-request@beowulf.org