Hi, The first reason I got in this nigthmare is because I have 2 NIK's (one is new on this machin), and the kernel can't handel 2 RealTek 8139 NIK (I think...because the second I plug the second NIK errors start poping up, errors like : kernel: eth0: PCI Bus error 8139. kernel: eth0: Too much work at interrupt, IntrStatus=0x000 over and over....), all the googlling point to one conclusion, new diver...
BTW, there are 2 drivers, the first one, from realtek and the second one is from http://sourceforge.net/projects/gkernel/... If anyone can give me a direction, a spot of ligth, or just a good advise... Gili ----- Original Message ----- From: "Oren Held" <[EMAIL PROTECTED]> To: "RedBar0n" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 10:47 PM Subject: Re: Compiling RealTek 8139 driver whit error > Hi, > > Where did you get this rtl8139 driver from? Is it supposed to compile > with Linux 2.4.18 at all? > > Best thing would be using the driver that comes with the kernel; thus, > if you have problems with 2.4.18, just upgrade the whole kernel. > > - Oren > > On Wed, 2003-10-15 at 01:21, RedBar0n wrote: > > Hi list, > > I'm trying to compile the new driver fir my RealTek 8139 (because of another > > problem), and I'm getting an error msg: > > the command I use: gcc -DMODULE -D__KERNEL__ -O6 -c 8139too.c > > in /usr/src/linux-2.4.18-14/drivers/net > > --------- > > : > > : > > : > > 8139too.c:2627: unknown field `name' specified in initializer > > 8139too.c:2627: warning: excess elements in struct initializer > > 8139too.c:2627: warning: (near initialization for `rtl8139_pci_driver') > > 8139too.c:2628: unknown field `id_table' specified in initializer > > 8139too.c:2628: warning: excess elements in struct initializer > > 8139too.c:2628: warning: (near initialization for `rtl8139_pci_driver') > > 8139too.c:2629: unknown field `probe' specified in initializer > > 8139too.c:2629: warning: excess elements in struct initializer > > 8139too.c:2629: warning: (near initialization for `rtl8139_pci_driver') > > 8139too.c:2630: unknown field `remove' specified in initializer > > 8139too.c:2630: warning: excess elements in struct initializer > > 8139too.c:2630: warning: (near initialization for `rtl8139_pci_driver') > > 8139too.c: In function `rtl8139_init_module': > > 8139too.c:2644: `KERN_INFO' undeclared (first use in this function) > > 8139too.c:2644: parse error before string constant > > 8139too.c: At top level: > > 8139too.c:586: storage size of `thr_exited' isn't known > > 8139too.c:590: storage size of `mii' isn't known > > 8139too.c:2626: storage size of `rtl8139_pci_driver' isn't known > > ----------- > > but if I take the Makefile from the driver + all *.c files TAR into the > > /usr/src/...../drivers/net and the hit the comman "make" I'll get this: > > --------- > > gcc -O2 -fomit-frame-pointer -D__KERNEL__ -I/usr/src/linux-2.4/include/ -DCP > > U=586 -march=i586 -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-st > > rict-aliasing -pipe -DMODULE -c 8139too.c > > 8139too.c: In function `netdev_ethtool_ioctl': > > 8139too.c:2407: `ETHTOOL_GSTATS' undeclared (first use in this function) > > 8139too.c:2407: (Each undeclared identifier is reported only once > > 8139too.c:2407: for each function it appears in.) > > 8139too.c:2408: variable `estats' has initializer but incomplete type > > 8139too.c:2408: warning: excess elements in struct initializer > > 8139too.c:2408: warning: (near initialization for `estats') > > 8139too.c:2408: storage size of `estats' isn't known > > 8139too.c:2408: warning: unused variable `estats' > > make: *** [8139too.o] Error 1 > > -------- > > I don't knew if this is the best way to do this, but all the in all the > > googling time is spend I found those advices... > > I'm using RH 8.0 GCC version 3.2... > > TIA... > > > > P.S. I have a strange filling that the cause of all this is the gcc 3.X, but > > this is just a hinch > > > > ================================================================= > > To unsubscribe, send mail to [EMAIL PROTECTED] with > > the word "unsubscribe" in the message body, e.g., run the command > > echo unsubscribe | mail [EMAIL PROTECTED] > > > > > > ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]