On Mon, 22 Sep 2003, Manoj Srivastava wrote: > Hi, > On Mon, 22 Sep 2003 05:21:32 +0300, Martin-Iric Racine <[EMAIL PROTECTED]> > said: > > > IIRC yaboot does not support zImage or bzImage, yet kernel-package > > inists upon trying to produce compressed kernels, which fails and > > makes the kernel build process abort. > > > Firstly, not all powerpc subarches use yaboot; quik is > available for some of them, and it handles compressed images just > fine.
I'm aware of that, thank you. > KPKG_SUBARCH:=pmac > kimage := vmlinux > loader depends on whether it is a new world pmac, or not. What I typed to get those errors was: X8---- sudo tar zxf linux-2.4.22.tar.gz sudo cp config-2.4.22 linux-2.4.22/.config sudo rsync -avz --delete rsync.penguinppc.org::linux-2.4-benh linux-2.4.22 sudo cp config-2.4.22 linux-2.4.22/.config cd linux-2.4.22 sudo make-kpkg --config menuconfig --subarch pmac --revision omena.3 kernel_image X8---- ...which always leads to: X8---- gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/usr/src/linux-2.4.22/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -fno-builtin -D__BOOTER__ -I/usr/src/linux-2.4.22/arch/ppc/boot/include -nostdinc -iwithprefix include -DKBUILD_BASENAME=of1275 -c -o of1275.o of1275.c gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.22/include -I/usr/src/linux-2.4.22/arch/ppc -D__BOOTER__ -c -o ../common/util.o ../common/util.S ../common/util.S: Assembler messages: ../common/util.S:207: Warning: setting incorrect section attributes for .relocate_code ../common/util.o: File truncated ../common/util.S:268: FATAL: Can't write ../common/util.o: File truncated make[3]: *** [../common/util.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.22/arch/ppc/boot/prep' make[2]: *** [zImage] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.22/arch/ppc/boot' make[1]: *** [zImage] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.22' make: *** [stamp-build] Error 2 X8---- From that perspective, it doesn't matter exactly which kind of powermac I have; the point is thta building the kernel fails - whether I try the vanilla kernel from upstream or Herbert's kernel-source-2.4.22, they both fail. -- Martin-Éric Racine http://www.pp.fishpool.fi/~q-funk/