netgear fa311 nic issue

dkarpman at telocity.com dkarpman at telocity.com
Fri Nov 23 08:31:23 PST 2001


Hi All,

I followed all the steps in the book (3.0) exactly up to and including
building the kernel (2.4.8). I then made a boot disk by doing dd
if=/boot/lfskernel of=/dev/fd0 bs=8192 and booted from that disk.

My only problem is that I could not compile an old version of fa311.c
driver and a newer version on their web site was natsemi.c which did
compile but was extremely unreliable (50%-80% packet loss on an internal

network). The original driver compiled under RedHat 6.1 that uses 2.2.12

kernel and worked fine.

At this point I tried to downgrade to 2.2.12 by deleting
$LFS/usr/src/linux and $LFS/usr/include/linux and $LFS/usr/include/asm
direcrories and compile 2.2.12. But after I rebooted with a new boot
disk, the original driver failed to compile the same way as before.
Apparently there are still some dependencies that triggered the failure
even after I recreated /usr/include/linux.

Is there any chance to get networking working?

Thank you!
Dmitri

 below are the error messages (for the LFS wizards of compiling :) --
note it compiled fine under the original RH6.1 with 2.2.12.

gcc -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O -m486 -c fa311.c
In file included from /usr/include/linux/fs.h:266,
                 from /usr/include/linux/capability.h:13,
                 from /usr/include/linux/binfmts.h:5,
                 from /usr/include/linux/sched.h:8,
                 from /usr/include/linux/vmalloc.h:4,
                 from /usr/include/asm/io.h:101,
                 from fa311.c:226:
/usr/include/linux/hpfs_fs_i.h:5: parse error before `ino_t'
/usr/include/linux/hpfs_fs_i.h:5: warning: no semicolon at end of struct

or union

~snip

/usr/include/linux/coda.h:209: parse error before `Unique'
/usr/include/linux/coda.h:209: warning: data definition has no type or
storage class
/usr/include/linux/coda.h:210: warning: data definition has no type or
storage class
/usr/include/linux/coda.h:215: parse error before `coda_f2i'
/usr/include/linux/coda.h: In function `coda_f2i':
/usr/include/linux/coda.h:219: dereferencing pointer to incomplete type
/usr/include/linux/coda.h:219: dereferencing pointer to incomplete type

~snip

/usr/include/linux/coda.h:461: parse error before `}'
/usr/include/linux/coda.h:466: field `ih' has incomplete type
/usr/include/linux/coda.h:467: parse error before `ViceFid'
/usr/include/linux/coda.h:467: warning: no semicolon at end of struct or

union
/usr/include/linux/coda.h:472: parse error before `}'
/usr/include/linux/coda.h:476: parse error before `ViceFid'
/usr/include/linux/coda.h:476: warning: no semicolon at end of struct or

union
/usr/include/linux/coda.h:478: parse error before `}'
/usr/include/linux/coda.h:483: field `ih' has incomplete type

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list