[tulip-bug] Linksys LNE100TX 10/100 EtherFast 10/100 LAN Card
none ofyerbizness
chameleon_wa@yahoo.com
Tue, 26 Jun 2001 01:34:33 -0700 (PDT)
This is what I tried this evening:
1. copied kern_compat.h, tulip.c, pci-scan.c,
pci-scan.h from ftp://ftp.scyld.com/pub/network/
2. DOS2UNIX on the files
3. copied to a linux directory
4. kgcc -DMODULE -I/usr/src/linux/include -Wall
-Wstrict-prototypes -O6 -c tulip.c (this one is at the
end of the tulip.c file)
kgcc -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall
-Wstrict-prototypes -O6 -c pci-scan.c
-I/usr/src/linux/include
(this one is at the bottom of the pci-scan.c file)
Both resulted in warnings such as
'smp_num_cpus' redefined...
/usr/src/linux/include/linux/modules/i386_ksyms.ver:28:
warning: this is the location of the previous
definition
Warning: Ignoring changed section attributes for
.modinfo
But resulted in .o files
5. insmod pci-scan.o
insmod tulip.o
install -m 644 pci-scan.o tulip.o
/lib/modules/2.2.16-22/net/
depmod -a
ifup eth0
Result was the usage error:
usage: ifup <device name>
--- Donald Harter <dharter@lycos.com> wrote:
> I don't know what is wrong. Make sure you get the
> latest source code from Becker's site. Try that.
> There is a diagnostic program that you can ru. He
> also has documentation on installing the drivers.
> At the end of each driver source file there is a
> comment statement that tells you how to compile it.
> For REdHat 7._ you have to ada special -I parameter
> so that it finds the correct libraries.
>
> When you did "ifup eth0", the kernel probably did
> not detect the card after the insmod.
>
> --
>
> On Mon, 25 Jun 2001 20:00:16
> none ofyerbizness wrote:
> >I tried the --force option and received no visible
> >errors. Then tried depmod -a and rebooted and still
> >no ethernet recognized.
> >
> >I got the drivers disk that came with the Linksys
> >ethernet card and tried to compile their code using
> >kgcc (I just changed a line in their Makefile).
> >It gave tnos of warnings such as
> >warning: 'synchronize_bh' redefined
> >warning: Ignoring changed section attributes for
> >.modinfo
> >
> >It did produce some .o object files though.
> >
> >Then, following their advice, I did:
> >insmod pci-scan.o
> >insmod tulip.o
> >depmod -a
> >ifup eth0
> >
> >the ifup eth0 gives me a usage error:
> >usage: ifup <device name>
> >
> >Am I missing some crucial step to have this
> >eth0 device recognized? I have only done
> >exactly what I mentioned in these emails
> >since installing linux this morning.
> >
> >1. tried rpm with the file provided on scyld.com
> >2. used rpm -i --force on the same rpm file
> >3. compiled and tried to install modules from
> >the linksys installation floppy
> >
> >
> >--- Donald Harter <dharter@lycos.com> wrote:
> >> The documentation tells how to compile for
> RedHat
> >> 7._ That version of RedHat uses an experimental
> >> compiler. There is another compiler present also
> >> which is the one you want to use. I think it is
> >> named kgcc.
> >> The conflict is probably the tulip.o module that
> you
> >> want to use from the rpm and the one that is
> >> compiled from the kernel. You could give it a
> rpm
> >> --force option so that it overwrites it. You
> could
> >> also save the old one before you do that. Then
> you
> >> would not have to worry about compiling your own
> >> module.
> >>
> >> --
> >>
> >> On Mon, 25 Jun 2001 18:16:49
> >> none ofyerbizness wrote:
> >> >Hello,
> >> >
> >> >I'm pretty new to Linux and managed to install
> my
> >> PCI
> >> >modem so far but now I am stuck on the NIC
> >> >installation.
> >> >
> >> >Here's what I've done so far.
> >> >
> >> >1. Already had Linksys LNE100TX 10/100 EtherFast
> >> >10/100 LAN Card version 4 in the machine.
> >> (According
> >> >to the Red Hat HCL, version 4 may be
> incompatible
> >> with
> >> >red hat linux 7.x and that's what I am trying to
> >> find
> >> >out. Should I give up and get a different brand
> of
> >> >ethernet cards?)
> >> >
> >> >
> >> >2. Installed Red Hat Linux 7.0 (kernel is
> >> 2.2.16-22)
> >> >and I installed everything. No ethernet card was
> >> >detected during linux installation even though
> it
> >> was
> >> >there and works fine with the dual-booting Win
> 95 I
> >> >have on the machine to test such things. So
> there
> >> was
> >> >no ethernet/network setup done during the
> >> installation
> >> >of linux.
> >> >
> >> >
> >> >3. /sbin/lspci returns the following:
> >> >
> >> >...
> >> >00:0d.0 Ethernet Controller: Bridgecom, Inc:
> >> Unknown
> >> >device 0985 (rev 11)
> >> >...
> >> >
> >> >(where ... denote listings for other devices)
> >> >
> >> >
> >> >4. cat /proc/pci returns the following:
> >> >
> >> >...
> >> >Ethernet controller: Unknown vendor Unknown
> device
> >> >(rev 17).
> >> >Vendor id=1317. Device id=985.
> >> >Medium devsel. Fast back-to-back capable. IRQ 9.
> >> >Master Capable. Latency=66. Min Gnt=255.Max
> >> Lat=255.
> >> >I/O at 0xf000 [f001].
> >> >Non-prefetchable 32 bit memory at 0xfffbe800
> >> >[0xfffbe800].
> >> >Bus 0, device 14, function 0:
> >> >...
> >> >
> >> >5. rpm -i netdrivers-rh70.i386.rpm (i just
> >> downloaded
> >> >this file from your site)
> >> >
> >> >This returned a bunch of conflict messages, eg:
> >> >
> >> >file /lib/modules/2.2.16-22/net/tulip.o from
> >> install
> >> >of netdriver-2.1-2 conflicts with file from
> package
> >> >kernel-2.2.16-22
> >> >
> >> >Should this netdrivers-rh70.i386.rpm install the
> >> >module /driver for this card and persist it so
> it
> >> will
> >> >be there whenever i reboot?
> >> >
> >> >
> >> >6. dmesg | grep eth0 returns nothing.
> >> >
> >> >
> >> >Can someone tell me step by step how to get this
> >> >ethernet card recognized and configured?
> >> >
> >> >
> >> >Thanks
> >> >
> >> >Chameleon
> >> >- Still working from Windows 2000...
> >> >
> >> >
> >> >p.s. i also tried following instructions found
> on
> >> the
> >> >linksys site and in a couple of books...
> >> >
> >>
> >__________________________________________________
> >> >Do You Yahoo!?
> >> >Get personalized email addresses from Yahoo!
> Mail
> >> >http://personal.mail.yahoo.com/
> >> >
> >> >_______________________________________________
> >> >tulip-bug mailing list, tulip-bug@scyld.com
> >> >To change to digest mode or unsubscribe visit
> >> >http://www.scyld.com/mailman/listinfo/tulip-bug
> >> >
> >>
> >>
> >> Get 250 color business cards for FREE!
> >> http://businesscards.lycos.com/vp/fastpath/
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Get personalized email addresses from Yahoo! Mail
> >http://personal.mail.yahoo.com/
> >
> >_______________________________________________
> >tulip-bug mailing list, tulip-bug@scyld.com
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/