View previous topic :: View next topic |
Author |
Message |
fender1212 Apprentice
Joined: 20 Sep 2004 Posts: 165
|
Posted: Mon Sep 20, 2004 1:00 am Post subject: kernel compilation/configuration error |
|
|
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 |
|
|
inode77 Veteran
Joined: 20 Jan 2004 Posts: 1303 Location: Heart of Europe
|
Posted: Mon Sep 20, 2004 1:19 am Post subject: |
|
|
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 |
|
|
fender1212 Apprentice
Joined: 20 Sep 2004 Posts: 165
|
Posted: Mon Sep 20, 2004 1:33 am Post subject: |
|
|
thanks it's a big help |
|
Back to top |
|
|
fender1212 Apprentice
Joined: 20 Sep 2004 Posts: 165
|
Posted: Mon Sep 20, 2004 2:05 am Post subject: |
|
|
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 |
|
|
inode77 Veteran
Joined: 20 Jan 2004 Posts: 1303 Location: Heart of Europe
|
Posted: Mon Sep 20, 2004 2:34 am Post subject: |
|
|
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 |
|
|
fender1212 Apprentice
Joined: 20 Sep 2004 Posts: 165
|
Posted: Mon Sep 20, 2004 2:41 am Post subject: |
|
|
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 |
|
|
inode77 Veteran
Joined: 20 Jan 2004 Posts: 1303 Location: Heart of Europe
|
Posted: Mon Sep 20, 2004 2:56 am Post subject: |
|
|
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 |
|
|
fender1212 Apprentice
Joined: 20 Sep 2004 Posts: 165
|
Posted: Mon Sep 20, 2004 3:04 am Post subject: |
|
|
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 |
|
|
fender1212 Apprentice
Joined: 20 Sep 2004 Posts: 165
|
Posted: Mon Sep 20, 2004 4:36 am Post subject: |
|
|
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 |
|
|
Dmtalon1 n00b
Joined: 18 Oct 2004 Posts: 14
|
Posted: Mon Oct 18, 2004 4:59 pm Post subject: |
|
|
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 |
|
|
ZeroX-NL n00b
Joined: 16 Jul 2004 Posts: 35
|
Posted: Tue Oct 19, 2004 1:37 pm Post subject: |
|
|
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 |
|
|
Dmtalon1 n00b
Joined: 18 Oct 2004 Posts: 14
|
Posted: Tue Oct 19, 2004 1:52 pm Post subject: |
|
|
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 |
|
|
ZeroX-NL n00b
Joined: 16 Jul 2004 Posts: 35
|
Posted: Tue Oct 19, 2004 5:02 pm Post subject: |
|
|
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 |
|
|
|