compiling kernel 2.6...

If none of the more specific forums is the right place to ask

compiling kernel 2.6...

Postby twiggymoo » 2006-06-03 18:09

I've read all the howto's on this site and others and must be missing something because it never completes the process.
I downloaded linux- and did all the actions.
After make-kpkg kernel_image it scrolled a bit and ended with

....HOSTCC usr/gen_init_cpio
CHK usr/initramfs_list
/usr/src/linux- Cannot open 'y'
make[2]: *** [usr/initramfs_list] Error 1
make[1]: *** [usr] Error 2
make[1]: Leaving directory `/usr/src/linux-'
make: *** [stamp-build] Error 2

What's the deal?

Posts: 38
Joined: 2006-05-19 12:56
Location: maryland

Postby jjmac » 2006-06-06 00:45


Could be a permission problem. I only do manual builds for the kernel but all other deb builds have needed a fakeroot environment ...

fakeroot make-kpkg etc.

Just a wild guess. Backup any .config file you might have, removing the "dot" ...

Do a ...

make mrproper
cp the backed up .config file back, with the dot restored.
Bring up one of the graphical configure processes ...

make gconfig
make xconfig

Go through that and save, generating a new .config file to backup, then do

make V=1 2>&1 |tee zmake-<date>.log

The z prefix is just to allow it to be found at the bottom of the directory so you don't have to go trapsing around for it.
Do that manually as a user !!!

It should take arount 10 mins for a 1 or 2 Ghz processor ... longer for less.

Any errors ???

If not, then the problem will be in the way make-kpkg is set up on your system, or the correct permissions arn't being satisfied.

Cannot open 'y

Sounds like permissions to me, or some syntax quirk cropping up.
Programs really need to generate more explicit error messages i recon, do they not.

Anyhow, try the manual test for the comparision :) I would be surprised if that failed on you.

Incidently, the vanilla sources do tend to be a bit bland, you might find it interesting to exp with some of the maintainer patches.

I'm a great fan of Con Koliva so i'll give a plug for him :), they are excellent additions ...

Humpty Dumpty Was Pushed !
Posts: 387
Joined: 2005-12-28 23:34
Location: Australia

Postby Whale » 2006-06-07 05:45

Hi check if you have installed this packages:
kernel-package,binutils, bzip2, fileutils, libc-dev, gcc, make, libncurses-dev, bin86
Posts: 18
Joined: 2005-12-07 10:54
Location: Poland

Return to General Questions

Who is online

Users browsing this forum: No registered users and 11 guests