You are not logged in.

#1 2002-11-04 13:40:19

dariball
Member
From: Germany - Frankfurt
Registered: 2002-10-20
Posts: 118
Website

Kernel compiling

Well, ahm I tried to compile a new kernel and EVERY configuration I choosed was not able to boot, mostly the system freezes and reboots directly after lilo is loading the kernel ....

SO, the only kernel that runs fine is the original one from the cd, but my Realtek Network Card seems to be not supported ( correct me if I'm wrong ) ....

now.... can anyone give/post/upload/send me the original kernel config file so that i can maybe build a kernel that works...

Or am I making something wrong???
That's the way I compile my kernel :

cd /usr/src/linux  // where the full source is in
make clean
make menuconfig
make dep
make bzImage
make modules // if there are modules
make modules_install // if there are modules

the cp the bzImage to my boot dir....

thx

bye


nothing,
maybe I have a perfect signature _someday_

Offline

#2 2002-11-04 16:09:32

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: Kernel compiling

don't forget to re-run lilo for your new kernel.

what kind of realtek card do you have?

Offline

#3 2002-11-04 16:13:53

dariball
Member
From: Germany - Frankfurt
Registered: 2002-10-20
Posts: 118
Website

Re: Kernel compiling

Well, I also run lilo .. smile


and my realtek card : RTL 8139(A) PCI-Fast Ethernet
Actually I don't really knows that this is really THIS card, because its just the name what appears in the win32 device-manager.


nothing,
maybe I have a perfect signature _someday_

Offline

#4 2002-11-04 17:00:20

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Kernel compiling

also i did not see you mention that you copied the System.map over to /boot either. you would have to edit lilo.conf and run lilo as well if your are compiling your own kernel. renaming your /lib/modules/2.4.19 to 2.4.19-old or something helps greatly in not getting errors upon reboot.

anyway if you do indeed have a realtek 8139 then just try:

modprobe 8139too

as root of course then lsmod to see if you card module is listed. the arch kernel already has the module for your card compiled in. (i know because that is the card i and many many othe r linux folks have so it is very standard to have it enabled as a module in the kernel)


AKA uknowme

I am not your friend

Offline

#5 2002-11-05 11:12:28

dariball
Member
From: Germany - Frankfurt
Registered: 2002-10-20
Posts: 118
Website

Re: Kernel compiling

Fine, modprobe 8139too worked fine and so after all my network is running smile

thx....


nothing,
maybe I have a perfect signature _someday_

Offline

#6 2002-11-05 11:25:38

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Kernel compiling

now you will want to put:

alias eth0 8139too

in /etc/modules.conf

or

modprobe 8139too

in /etc/rc.local

this will bring up the card at boot.


AKA uknowme

I am not your friend

Offline

#7 2002-11-05 12:16:20

dariball
Member
From: Germany - Frankfurt
Registered: 2002-10-20
Posts: 118
Website

Re: Kernel compiling

yes, i wrote it in my rc.local.....
thx


nothing,
maybe I have a perfect signature _someday_

Offline

#8 2002-11-05 13:11:09

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Kernel compiling

just making sure wink


AKA uknowme

I am not your friend

Offline

#9 2002-11-05 16:05:05

ody
Member
From: Manchester, UK
Registered: 2002-08-12
Posts: 216
Website

Re: Kernel compiling

Have you tried using abs for building the kernel? if not, as root do:

mkdir /usr/abs
cd /usr/abs
abs

then once thats done:

cd base/kernel

download the latest kernel source and unpack it, copy the .config from the kernel directory into the source u just unpacked and make menuconfig and make the changes to support your card, then exit the menu install and copy the .config back to ../

rm -rf kernel-source dir

makepkg

and you should have a nice packaged kernel waiting to be:

pacman -U kernel...pkg.tar.gz

Offline

#10 2002-11-11 03:49:14

mordantly
Member
From: Westside - CenCAL
Registered: 2002-08-16
Posts: 83
Website

Re: Kernel compiling

hello, dariball. did u ever manage to compile the kernel correctly?? i have the same problem. i recieved the original file used fur Arch's 2.4.19 and still no dice. im just curious what u managed to do to solve the problem, as mine is still in the unsolved file.


try to be a man and some day, you'll understand   -ccr
oh dont u worry.. ill be eating ur balls fur lunch tomorrow.   -Hugh "HughMan" Stahl
MoRdAnTlY [Mr. Wolf '91 - '11]

Offline

#11 2002-11-12 04:25:03

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Kernel compiling

i have had no troubles compiling kernels since i first went through the method ody describes.

i have since compiled my own kernel without using the arch method. the important thingts to remember are to first remove the existing /usr/src/linux and relinking it to the kernel source you download.

also important is renameing of the /lib/modules/2.4.19 to 2.4.19 old. Be sure that if you are not going to be using the default config file in /usr/abs/base/kernel that you remember to enable devfs under the file systems options. further if you are unsure of which modules need to be enabled that already were in the installed kernel just look through the config file mentioned above.

be sure to make a new lilo entry for your new kernel and to run lilo upon completion of installing your kernel.


AKA uknowme

I am not your friend

Offline

#12 2002-11-14 00:37:14

mordantly
Member
From: Westside - CenCAL
Registered: 2002-08-16
Posts: 83
Website

Re: Kernel compiling

ive done all things correctly as i recall... but have finally decided to blame VIA Technologies and there damn southbridges. thanks fur ideas though.. eventually when my mobo is replaced, ill take em fur a test run.


try to be a man and some day, you'll understand   -ccr
oh dont u worry.. ill be eating ur balls fur lunch tomorrow.   -Hugh "HughMan" Stahl
MoRdAnTlY [Mr. Wolf '91 - '11]

Offline

#13 2002-11-14 01:06:24

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Kernel compiling

what sort of errors were you getting or problems were you having?


AKA uknowme

I am not your friend

Offline

Board footer

Powered by FluxBB