Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel compilation/configuration error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
fender1212
Apprentice
Apprentice


Joined: 20 Sep 2004
Posts: 165

PostPosted: Mon Sep 20, 2004 1:00 am    Post subject: kernel compilation/configuration error Reply with quote

in the process of compiling my kernel (manual not genkernel) i recieved the following error:

ipsec_init.c:98:2: #error "kernel configuration must include ESP or AH"
make[2]: *** [ipsec_init.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r9/net/ipsec'
make[1]: *** [_subdir_ipsec] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r9/net'
make: *** [_dir_net] Error 2

i've rerun the kernel configuration and found no ESP or AH, and i have made sure to include all the devices and hardware and everything i needed and nothing i didn';t need, and re-compiled, but that same error keeps coming up. Anyone have any suggestions?
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Mon Sep 20, 2004 1:19 am    Post subject: Reply with quote

ESP and AH are used for IPSEC. Go to the networking section and disable all concerning IPSEC, AH, ESP, GRE it's in device drivers => networking => networking options.
Back to top
View user's profile Send private message
fender1212
Apprentice
Apprentice


Joined: 20 Sep 2004
Posts: 165

PostPosted: Mon Sep 20, 2004 1:33 am    Post subject: Reply with quote

thanks it's a big help
Back to top
View user's profile Send private message
fender1212
Apprentice
Apprentice


Joined: 20 Sep 2004
Posts: 165

PostPosted: Mon Sep 20, 2004 2:05 am    Post subject: Reply with quote

alright i made the changes, and recompiled and got this at the end

cd /lib/modules/2.4.26-gentoo-r9; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.26-gentoo-r9; fi
Knoppix linux #

now i'm not sure if thre was an error or not because it didn't say error, but it looks to abrupt
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Mon Sep 20, 2004 2:34 am    Post subject: Reply with quote

Nope looks fine. It's just about some dependencies, just go on according the gentoo manual. (I suggest a 2.6 kernel next time you feel up to compile one)
Back to top
View user's profile Send private message
fender1212
Apprentice
Apprentice


Joined: 20 Sep 2004
Posts: 165

PostPosted: Mon Sep 20, 2004 2:41 am    Post subject: Reply with quote

ok well thank you so much for your help, and i was wondering, on the subject of the 2.6 kernel, i thought the only difference was that the 2.6 supported multi processors?
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Mon Sep 20, 2004 2:56 am    Post subject: Reply with quote

No 2.4 already supported SMP. 2.6 is a new version (branch) and will be (is) the new standard kernel. It's stable, bring a little more speed on the ide layer, has much improved cryptolayer and a lot of other advantages.
Back to top
View user's profile Send private message
fender1212
Apprentice
Apprentice


Joined: 20 Sep 2004
Posts: 165

PostPosted: Mon Sep 20, 2004 3:04 am    Post subject: Reply with quote

well good to know since i'm gonna have to do stage-1 gentoo again in a week (getting a new motherboard + cpu). oh well at least i'll have knoppix games to pass the time
Back to top
View user's profile Send private message
fender1212
Apprentice
Apprentice


Joined: 20 Sep 2004
Posts: 165

PostPosted: Mon Sep 20, 2004 4:36 am    Post subject: Reply with quote

arghhhhhhh. alright so finished with gentoo up to the restart, and i restarted (did the whole install from knoppix) and when i restarted it gave me the following error "Kernel Panic:VFS:Unamble to mount root fs on 3:04" so i thought alright, i must have made an error in my grub.conf file. so i decided to just boot from the gentoo minimal livecd i had to quickly do this instead of going back into knoppix, and when i did i got lots of errors. basically it's like i never actually installed it. for instance i did "mount /dev/hda4 /mnt/gentoo" and i got "/mnt/gentoo does not exist; must specify file system" alright the must specify file system wasn't word for word what it said but it was along those lines. please help!!!
Back to top
View user's profile Send private message
Dmtalon1
n00b
n00b


Joined: 18 Oct 2004
Posts: 14

PostPosted: Mon Oct 18, 2004 4:59 pm    Post subject: Reply with quote

fender1212 wrote:

mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.26-gentoo-r9; fi

inode77 wrote:
Nope looks fine. It's just about some dependencies, just go on according the gentoo manual. (I suggest a 2.6 kernel next time you feel up to compile one)


I got this same error, and after running menuconfig probably 4 more times looking for something related to PCMCIA I just went on with the manual and things seemed/seem ok. But I was still a little worried about it which is how I found this thread. Good to see it's not a big deal, but I do wonder why it's there? I went through menuconfig with a fine tooth comb and don't see any pcmcia references checked as compile in or modules.

It also scared me because I was expecting a message telling me to move onto the next step which you don't get when you get that error.

Dallace
Back to top
View user's profile Send private message
ZeroX-NL
n00b
n00b


Joined: 16 Jul 2004
Posts: 35

PostPosted: Tue Oct 19, 2004 1:37 pm    Post subject: Reply with quote

Looks i've got the same error

tried to compile the kernel now for 4 times and everytime another kenel

so possible something wrong with the files?

Note: it worked 3 days ago fine for me, but had some other problems thats why i started over again
Back to top
View user's profile Send private message
Dmtalon1
n00b
n00b


Joined: 18 Oct 2004
Posts: 14

PostPosted: Tue Oct 19, 2004 1:52 pm    Post subject: Reply with quote

Well, I went ahead and continued on with the kernel as is. I am not having problems, *but* this box is a new box that is not really "on-line" yet. Just in the process of installing applications and configuring it. But I'm not getting any indication that there is any problems.

Dallace
Back to top
View user's profile Send private message
ZeroX-NL
n00b
n00b


Joined: 16 Jul 2004
Posts: 35

PostPosted: Tue Oct 19, 2004 5:02 pm    Post subject: Reply with quote

i thougt i tried that 2 but it wouldn't boot over here :/

i'm currently trying with genkernel hope i've got more succes this time.. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum