Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99195 - Genkernel 3.2.5 PPC: MISSING arch/ppc/boot/images/ramdisk.image.gz
Summary: Genkernel 3.2.5 PPC: MISSING arch/ppc/boot/images/ramdisk.image.gz
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Gentoo Genkernel Maintainers
Depends on:
Reported: 2005-07-16 04:04 UTC by Jorge Fuertes AKA Queru
Modified: 2005-07-16 11:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Jorge Fuertes AKA Queru 2005-07-16 04:04:23 UTC
The genkernel cannot produce a kernel because an error with the "zImage.initrd" target.

Reproducible: Always
Steps to Reproduce:
1. cd /usr/src/linux
2. genkernel all

Actual Results:  
localhost linux # genkernel all
* Gentoo Linux Genkernel; Version 3.2.5
* Running with options: all

* Linux Kernel 2.6.12-gentoo-r5 for ppc...
* kernel: >> Running mrproper...
* config: Using config from /usr/share/genkernel/ppc/kernel-config-2.6
*         Previous config backed up to .config.bak
*         >> Running oldconfig...
* kernel: >> Cleaning...
*         >> Compiling 2.6.12-gentoo-r5 vmlinux...
*         >> Starting supplimental compile of 2.6.12-gentoo-r5: zImage.initrd...
* ERROR: Failed to compile the "zImage.initrd" target...

* -- Grepping log... --

  SCSI generic support (CHR_DEV_SG) [Y/n/m/?] y
  * Some SCSI devices (e.g. CD jukebox) support multiple LUNs
  Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [Y/n/?] y
  Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) [N/y/?] n
  CC      arch/ppc/platforms/pmac_smp.o
  LD      arch/ppc/lib/built-in.o
  CC      arch/ppc/platforms/chrp_smp.o
  CC      arch/ppc/syslib/prep_nvram.o
arch/ppc/platforms/pmac_smp.c: In function `smp_core99_kick_cpu':
arch/ppc/platforms/pmac_smp.c:505: warning: 'new_vector' might be used uninitialized in this 
  CC      kernel/workqueue.o
  CC      kernel/pid.o
  CC      kernel/rcupdate.o
  CC      mm/bootmem.o
  CC      kernel/intermodule.o
kernel/intermodule.c:179: warning: `inter_module_register' is deprecated (declared at kernel/
kernel/intermodule.c:180: warning: `inter_module_unregister' is deprecated (declared at kernel/
kernel/intermodule.c:182: warning: `inter_module_put' is deprecated (declared at kernel/
  CC      kernel/power/process.o
  CC      mm/highmem.o
  CC      kernel/power/console.o
  CC      kernel/power/pm.o
  CC      mm/madvise.o
kernel/power/pm.c:259: warning: `pm_register' is deprecated (declared at kernel/power/pm.c:62)
kernel/power/pm.c:260: warning: `pm_unregister' is deprecated (declared at kernel/power/pm.c:86)
kernel/power/pm.c:261: warning: `pm_unregister_all' is deprecated (declared at kernel/power/pm.c:
kernel/power/pm.c:262: warning: `pm_send_all' is deprecated (declared at kernel/power/pm.c:234)
  LD      drivers/scsi/sym53c8xx_2/sym53c8xx.o
  LD      drivers/scsi/sym53c8xx_2/built-in.o
  CC      drivers/scsi/mesh.o
  CC      fs/xfs/xfs_dir2_block.o
drivers/scsi/mesh.c: In function `mesh_probe':
drivers/scsi/mesh.c:1963: warning: ignoring return value of `scsi_add_host', declared with attribute 
  AS      arch/ppc/boot/simple/head.o
  CC      arch/ppc/boot/openfirmware/dummy.o
  AS      arch/ppc/boot/simple/relocate.o
  MISSING arch/ppc/boot/images/ramdisk.image.gz
          RAM disk image must be provided separately
make[2]: *** [arch/ppc/boot/images/ramdisk.image.gz] Error 1
make[1]: *** [openfirmware] Error 2
        -R .stabstr -R .sysmap
arch/ppc/boot/utils/mkprep -pbp arch/ppc/boot/simple/zvmlinux.initrd arch/ppc/boot/images/
arch/ppc/boot/utils/mkbugboot arch/ppc/boot/simple/zvmlinux.initrd arch/ppc/boot/images/
cp -f arch/ppc/boot/simple/zvmlinux.initrd arch/ppc/boot/images/zImage.initrd.elf
rm -f arch/ppc/boot/simple/zvmlinux.initrd
make: *** [zImage.initrd] Error 2
* Gentoo Linux Genkernel; Version 3.2.5
* Running with options: all
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" prepare

* ERROR: Failed to compile the "zImage.initrd" target...

* -- End log... --

* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.

* Report any genkernel bugs to and
* assign your bug to Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
* Please do *not* report compilation failures as genkernel bugs!

Expected Results:  
Compiled and instaled kernel.

# --------------------------
#  /etc/make.conf
#  MacMini -
#  Julio 2005.
# --------------------------

CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"

USE="apache2 bash-completion cdb chroot clamav gd gd-external \
     ipv6 jpeg2k maildir mime pdf php threads vhosts X509 acl libclamav \
     -ldap -kerberos alsa arts avi -fortran \
     gpm -gtk -gtk2 kde -gnome qt dvd cdr \
     -tcltk ruby \


Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-07-16 10:41:55 UTC
You need to run genkernel with --genzimage.
Comment 2 Jorge Fuertes AKA Queru 2005-07-16 10:51:41 UTC
Really? Ufffff... A change of this size must be reflected in the documentation and the genkernel should say 
'You need --genzimage!' when this error appears.
Comment 3 Jorge Fuertes AKA Queru 2005-07-16 11:13:41 UTC
With --genzimage works. Thanks for solution.