Article View: comp.os.linux.networking
Article #887Re: ne.o & 3c509.o compiled ???
From: ��d�W
Date: Sat, 20 Mar 1999 00:00
Date: Sat, 20 Mar 1999 00:00
143 lines
4835 bytes
4835 bytes
Thank you for giving me the reference Homepage:
http://www.redhat.com/support/docs/rhl/kernel-2.2/kernel2.2-upgrade-5.html#s
s5.2
Actually, I tried to follow a book's instruction to build the kernel.
After having a look on the Homepage,I find that I miss 3 procedures:
make mrproper
cp /usr/src/linux-2.2.3/System.map /boot/System.map-2.2.3
# put the kernel in the /boot partition/directory.
cd /boot
rm System.map
ln -s System.map-2.2.3 System.map
mkinitrd /boot/initrd-2.2.1.img 2.2.1
Also, I cannot find 1). System.map-2.2.3
2). initrd-2.2.3 by using the command:
find / -name System.map-2.2.3 -print
How can I do this 3 procedures now ?
Will it be too late for me the above procedure now ?
I have chosen [Y] for 1). NE2000 NIC support
2). 3Com NIC support in the make xconfig procedure !
P.S.
I use NE2000(ISA) and 3Com 3c905(PCI) as eth0 and eth1, respectively.
Do I need to use the file /etc/conf.modules now ?
How can I know if there are really be compiled in the kernel image ?
When I enter dmesg | grep eth
it report:
eth0: 3Com 3c905 Boomerang 100baseTx at 0x6000, 00:60:97:a1:f7:9d, IRQ
11
P.S.
3Com(PCI) can be detected and change from eth1 to eth0.
>Can you actually use the ethernet by running the
>new kernel?
No, I don't think so.
I can notice eth0 when I enter ifconfig -a.
But actually, I use NE2000 NIC for my ethernet LAN.
So, the LAN is completely dead now :.<
Please keep Helping !!!
Thank you !
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.
Technical Details
Message-ID:
<7cu8km$66f$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>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f798d,891747a90ae2df91 X-Google-Attributes: gidf798d,public X-Google-Thread: 10669a,891747a90ae2df91 X-Google-Attributes: gid10669a,public X-Google-Thread: f4db5,891747a90ae2df91 X-Google-Attributes: gidf4db5,public From: "��d�W" <ptto7@se.cuhk.edu.hk> Subject: Re: ne.o & 3c509.o compiled ??? Date: 1999/03/20 Message-ID: <7cu8km$66f$1@imsp009a.netvigator.com> X-Deja-AN: 456617818 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> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Netvigator Newsgroups: comp.os.linux.networking,hk.comp.os.linux,hk.comp.pc