[tulip] Recognizing the new driver at bootup

james hill dragonking7@mediaone.net
Fri, 24 Nov 2000 15:22:53 -0500


Hey Phil,

The difference I can see between what have done I have is that custom
install. I install the source code after the fact. I will do another
clean install for the umpteenth time ;)

Jimmy


----- Original Message -----
From: "Phil Barone" <pbarone@cfl.rr.com>
To: <tulip@scyld.com>; "Donald Becker" <becker@scyld.com>
Sent: Friday, November 24, 2000 2:22 PM
Subject: [tulip] Recognizing the new driver at bootup


> Hi All,
>   I sure appreciate all the help so far. Talk about confusing. See
some
> notes about what I have done to get this far at the bottom of this
email.
>
>  My question utimately is how to get my RH7.0 box to function
correctly with
> my cable modem. I am reading the cable modem how-to but am stuck.
>
>   First how do I get my eth0 interface to be recognized at boot time?
It
> seems that what I am doing with the modprobe eth0 is causing eth0 to
be seen
> for the moment but as soon as I reboot, eth0 disappears. See below to
see
> what I've done so far.
>
> What is the standard way of making eth0 available after the reboot?
>
>
> NOTES: NC100 Linksys/Network Everywhere card
> 1.) Do custom install of RH 7.0, using all components(kernel
development is
> I think the key here).
> 2.) Get copies of tulip.c, pci-scan.c, pci-scan.h, kern_comapt.h. Put
them
> in a empty directory, hint: /usr/src/modules
> 3.) cd /usr/src/modules
> 4.) Using the compile instructions at the end of pci-scan.c and
tulip.c with
> the following slight modifications.
>   a.) for pci-scan.c do:
>
kgcc -I/usr/src/linux/include -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wal
l -W
> strict-prototypes -O6 -c pci-scan.c
>   b.) for tulip.c do:
>
kgcc -I/usr/src/linux/include -DMODULE -Wall -Wstrict-prototypes -O6 -c
> tulip.c
>  NOTE: Both compiles generated some warnings, not sure if the are any
real
> problem as the .o's were generated, they are as follows:
> ********************  pci-scan.c
> [root@localhost modules]#
>
kgcc -I/usr/src/linux/include -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wal
l -W
> strict-prototypes -O6 -c pci-scan.c
> In file included from /usr/src/linux/include/linux/sched.h:20,
>                  from /usr/src/linux/include/linux/mm.h:4,
>                  from pci-scan.c:60:
> /usr/src/linux/include/linux/smp.h:77: warning: `smp_num_cpus'
redefined
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:28: warning: this
is the
> location of the previous definition
> /usr/src/linux/include/linux/smp.h:83: warning: `smp_call_function'
> redefined
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:118: warning: this
is
> the location of the previous definition
> In file included from /usr/src/linux/include/linux/sched.h:74,
>                  from /usr/src/linux/include/linux/mm.h:4,
>                  from pci-scan.c:60:
> /usr/src/linux/include/asm/processor.h:96: warning: `cpu_data'
redefined
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:6: warning: this
is the
> location of the previous definition
> /tmp/ccJKraer.s: Assembler messages:
> /tmp/ccJKraer.s:26: Warning: Ignoring changed section attributes for
> .modinfo
> [root@localhost modules]#
>
> *******************  tulip.c
> [root@localhost modules]#
>
kgcc -I/usr/src/linux/include -DMODULE -Wall -Wstrict-prototypes -O6 -c
> tulip.c
> In file included from /usr/src/linux/include/linux/sched.h:20,
>                  from /usr/src/linux/include/linux/mm.h:4,
>                  from /usr/src/linux/include/linux/slab.h:14,
>                  from /usr/src/linux/include/linux/malloc.h:4,
>                  from tulip.c:147:
> /usr/src/linux/include/linux/smp.h:77: warning: `smp_num_cpus'
redefined
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:28: warning: this
is the
> location of the previous definition
> /usr/src/linux/include/linux/smp.h:83: warning: `smp_call_function'
> redefined
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:118: warning: this
is
> the location of the previous definition
> In file included from /usr/src/linux/include/linux/sched.h:74,
>                  from /usr/src/linux/include/linux/mm.h:4,
>                  from /usr/src/linux/include/linux/slab.h:14,
>                  from /usr/src/linux/include/linux/malloc.h:4,
>                  from tulip.c:147:
> /usr/src/linux/include/asm/processor.h:96: warning: `cpu_data'
redefined
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:6: warning: this
is the
> location of the previous definition
> In file included from /usr/src/linux/include/linux/interrupt.h:51,
>                  from tulip.c:148:
> /usr/src/linux/include/asm/hardirq.h:23: warning: `synchronize_irq'
> redefined
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:138: warning: this
is
> the location of the previous definition
> In file included from /usr/src/linux/include/linux/interrupt.h:52,
>                  from tulip.c:148:
> /usr/src/linux/include/asm/softirq.h:75: warning: `synchronize_bh'
redefined
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:142: warning: this
is
> the location of the previous definition
> /tmp/ccXuPF9I.s: Assembler messages:
> /tmp/ccXuPF9I.s:131: Warning: Ignoring changed section attributes for
> .modinfo
> [root@localhost modules]#
> ********************
>
> 5.) Copied the .o's to ../net using:
>  install -m 644 pci-scan.o tulip.o /lib/modules/`uname -r`/net
> 6.) Did a depmod -a
> 7.) Added an entry in /etc/modules.conf: alias eth0 tulip
> 8.) Did a modprobe eth0
> 9.) Now what!
>
> Thanks again.
> Phil Barone (e-mail: pbarone@cfl.rr.com)
>
>
> _______________________________________________
> tulip mailing list
> tulip@scyld.com
> http://www.scyld.com/mailman/listinfo/tulip