Article View: comp.os.linux.networking
Article #881Re: ne.o & 3c509.o compiled ???
From: ��d�W
Date: Mon, 22 Mar 1999 00:00
Date: Mon, 22 Mar 1999 00:00
170 lines
6333 bytes
6333 bytes
>> Besides, rebuild the Kernel and choose [M] for NIC support.
>> Is there any other method to obtain the files ne.o and 3c59x.o ?
>
>Yes, I compile them and send to you. ^_~
>Please check your e-mail now.
>(I assume that <ptto7@se.cuhk.edu.hk> is a valid e-mail address.)
Sorry, I cannot receive the files ne.o and 3c59x.o ?
Would you please send it again to me ?
ptto7@se.cuhk.edu.hk is really a valid e-mail address.
>In fact, if you have not do 'make clean' after you compile
>the kernel, it only takes a short time to compile the modules.
How can I obtain the ne.o and 3c59x.o modules for kernel 2.2.3 ?
Can I compile it from /usr/src/linux-2.2.3/drivers/net/3c59x.c
and /usr/src/linux-2.2.3/drivers/net/ne.c after
built kernel ?
How to compile ?
Thanks very much !
>> Enbugger ���g��峹 <7d0kfi$117$1@imsp009a.netvigator.com>...
>> >
>> >
>> >"��d�W" wrote:
>> >>
>> >> would you mind telling me what is initrd image ?
>> >> I haven't done this step.
>> >> Is it too late for me to do this now ?
>> >>
>> >
>> >initrd image is the image of the "Initial RAM disk" which contains
>> >some of the kernel modules that are necessary to boot up the system,
>> >e.g. some block devices: SCSI drivers, sound card drivers, etc.
>> >
>> >> Another Question is that:
>> >> How can I obtain the ne.o and 3c59x.o modules for kernel 2.2.3 ?
>> >> Can I compile it from /usr/src/linux-2.2.3/drivers/net/3c59x.c
>> >> and /usr/src/linux-2.2.3/drivers/net/ne.c
>> after
>> >> built kernel ?
>> >> How to compile ?
>> >
>> >As you stated in your past messages, you have built the modules _INTO_
>> >the kernel image, i.e. bzImage.
>> >
>> >If you _do_ want to build them as loadable modules instead, you can do:
>> > make xconfig <OR> make config <Whatever you want>
>> > Select the drivers: NE2000 and 3C59x as modules [M] (instead of [Y])
>> > make modules
>> > make modules_install
>> >
>> >However, please refer to my last message. In it, you can find a way
>> >to force the kernel to detect your NE2000.
>> >
>> >Ref.
>> >news:7cuasi%2478c%241%40imsp009a.netvigator.com
>> >
>> >> Enbugger ���g��峹 <7ctuhj$kss$1@imsp009a.netvigator.com>...
>> >> >Have you re-built the initrd image by using
>> >> >mkinitrd ?
>> >> >
>> >> >If you have set
>> >> >[Y] in both 3com NIC support and NE2000
>> >> >[Y] Enable IPv4 packet forwarding
>> >> >when building the kernel, they are already
>> >> >compiled into the kernel image.
>> >> >
>> >> >You can check the eth drivers by
>> >> >dmesg |grep eth
>> >> >
>> >> >Can you actually use the ethernet by running the
>> >> >new kernel?
>> >> >
>> >> >
>> >> >
>> >> >HTH
>> >> >
>> >> >"��d�W" wrote:
>> >> >>
>> >> >> I have done this la !
>> >> >>
>> >> >> Enbugger ���g��峹 <7ctncl$l52$1@imsp009a.netvigator.com>...
>> >> >> >I am not sure if you are using RedHat.
>> >> >> >If you are, please refer to this document for
>> >> >> >version 2.2 kernel upgrade:
>> >> >> >
>> >> >>
>> >http://www.redhat.com/support/docs/rhl/kernel-2.2/kernel2.2-upgrade.html
>> >> >> >
>> >> >> >Hints:
>> >> >> >Have you done:
>> >> >> > make modules
>> >> >> >and
>> >> >> > make modules_install
>> >> >> >?
>> >> >> >
>> >> >> >"��d�W" wrote:
>> >> >> >>
>> >> >> >> Before, I haven't build the kernel.
>> >> >> >> I need to prepare the file /etc/conf.modules:
>> >> >> >>
>> >> >> >> alias eth0 ne
>> >> >> >> options ne io=0x300
>> >> >> >> alias eth1 3c59x
>> >> >> >>
>> >> >> >> And today, I try to build the kernel.
>> >> >> >> I have chosen the [Y] in both 3com NIC support and NE2000
support.
>> >> >> >> So, I won't got this two modules(ne.o and 3c59x.o) any more
during
>> >> >> building.
>> >> >> >> Then, the problem happened !!!
>> >> >> >> On starting:
>> >> >> >> ...
>> >> >> >> Enable IPv4 packet forwarding.
>> >> >> >> modprobe: can't locate module net-pf-5
>> >> >> >> ...
>> >> >> >> eth1: unknown interface. (NE2000 NIC change from eth0 to
eth1)
>> >> >> >> modprobe: can't locate module net-pf-5
>> >> >> >>
>> >> >> >> What's more, I try to copy back the files:
>> >> >> >> ne.o to /lib/modules/2.2.3/net/ne.o
>> >> >> >> 3c59x.o to /lib/modules/2.2.3/net/3c59x.o
>> >> >> >>
>> >> >> >> Then the system report:
>> >> >> >> ...
>> >> >> >> modprobe: can't locate module net-pf-5
>> >> >> >> insmod: /lib/modules/2.2.3/net/3c59x.o: kernel module version
>> mismatch
>> >> >> >> /lib/modules/2.2.3/net/3c59x.o was compiled for
kernel
>> >> >> version
>> >> >> >> 2.0.36 while this kernel is version 2.2.3.
>> >> >> >> eht1: unknown interface.
>> >> >> >> modprobe: can't locate module net-pf-5
>> >> >> >> ...
>> >> >> >>
>> >> >> >> What should I do now, is that supports been compiled to kernel
yet
>> ???
>> >> >> >> I have chosen [Y] for these 2 NIC support already !!!
>> >> >> >> Would you please offer your Kindly Help ?
>> >> >> >
>> >> >> >--
>> >> >> >Enbugger
>> >> >> >
>> >> >> >p.s. Remove /NO-SPAM/ for e-mail.
>> >> >
>> >> >--
>> >> >Enbugger
>> >> >
>> >> >p.s. Remove /NO-SPAM/ for e-mail.
>> >
>> >--
>> >Enbugger
>> >
>> >p.s. Remove /NO-SPAM/ for e-mail.
>
>--
>Enbugger
>
>p.s. Remove /NO-SPAM/ for e-mail.
Technical Details
Message-ID:
<7d3dra$t0k$1@imsp009a.netvigator.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7ct558$1ho$1@imsp009a.netvigator.com> <7ctncl$l52$1@imsp009a.netvigator.com> <7cttko$71m$1@imsp009a.netvigator.com> <7ctuhj$kss$1@imsp009a.netvigator.com> <7d0ig0$tg4$1@imsp009a.netvigator.com> <7d0kfi$117$1@imsp009a.netvigator.com> <7d0nmi$f4u$1@imsp009a.netvigator.com> <7d1v0m$lrn$1@imsp009a.netvigator.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f798d,891747a90ae2df91 X-Google-Attributes: gidf798d,public X-Google-Thread: f4db5,891747a90ae2df91 X-Google-Attributes: gidf4db5,public X-Google-Thread: 10669a,891747a90ae2df91 X-Google-Attributes: gid10669a,public From: "��d�W" <ptto7@se.cuhk.edu.hk> Subject: Re: ne.o & 3c509.o compiled ??? Date: 1999/03/22 Message-ID: <7d3dra$t0k$1@imsp009a.netvigator.com> X-Deja-AN: 457285190 References: <7ct558$1ho$1@imsp009a.netvigator.com> <7ctncl$l52$1@imsp009a.netvigator.com> <7cttko$71m$1@imsp009a.netvigator.com> <7ctuhj$kss$1@imsp009a.netvigator.com> <7d0ig0$tg4$1@imsp009a.netvigator.com> <7d0kfi$117$1@imsp009a.netvigator.com> <7d0nmi$f4u$1@imsp009a.netvigator.com> <7d1v0m$lrn$1@imsp009a.netvigator.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Netvigator Newsgroups: comp.os.linux.networking,hk.comp.os.linux,hk.comp.pc