Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

compiling kernel 2.6...

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
twiggymoo
Posts: 38
Joined: 2006-05-19 12:56
Location: maryland

compiling kernel 2.6...

#1 Post by twiggymoo »

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-2.6.16.16.tar.bz2 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-2.6.16.16/scripts/gen_initramfs_list.sh: Cannot open 'y'
make[2]: *** [usr/initramfs_list] Error 1
make[1]: *** [usr] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.16'
make: *** [stamp-build] Error 2

What's the deal?

Twiggymoo

jjmac
Posts: 384
Joined: 2005-12-28 23:34
Location: Australia

#2 Post by jjmac »

Howdy,

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
or
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 ...

www.kernel.org/pub/linux/kernel/people/ck


jm
Humpty Dumpty Was Pushed !

Whale
Posts: 18
Joined: 2005-12-07 10:54
Location: Poland

#3 Post by Whale »

Hi check if you have installed this packages:
kernel-package,binutils, bzip2, fileutils, libc-dev, gcc, make, libncurses-dev, bin86

Post Reply