Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128512 - make zImage.initrd with kernel 2.6.16 fails on the Pegasos
Summary: make zImage.initrd with kernel 2.6.16 fails on the Pegasos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-02 06:19 UTC by Lars Weiler (RETIRED)
Modified: 2006-09-11 14:06 UTC (History)
2 users (show)

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


Attachments
zImage.initrd errorlog (zImage.initrd.log,7.56 KB, text/plain)
2006-04-02 06:20 UTC, Lars Weiler (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Weiler (RETIRED) gentoo-dev 2006-04-02 06:19:20 UTC
The target zImage.initrd (needed by genkernel) in the 2.6.16-kernel fails on the Pegasos with the following error:

elrohir linux # make zImage.initrd
  CHK     include/linux/version.h
  CHK     include/linux/compile.h
  CHK     usr/initramfs_list
make[1]: *** No rule to make target `arch/powerpc/boot/ramdisk.image.gz', needed by `arch/powerpc/boot/kernel-initrd.gz'.  Stop
.                                                                                                                              make: *** [zImage.initrd] Error 2
elrohir linux # 

I'll attach a file with verbose enabled.

I checked the Makefiles for 2.6.15 and 2.6.16 but can't find the target ramdisk.image.gz in any of these files, although it works on 2.6.15.
Comment 1 Lars Weiler (RETIRED) gentoo-dev 2006-04-02 06:20:37 UTC
Created attachment 83708 [details]
zImage.initrd errorlog
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2006-04-02 06:23:07 UTC
And finally, my system-info:

Portage 2.1_pre7-r2 (default-linux/ppc/ppc32/2006.0/G4/Pegasos, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r1 ppc)
=================================================================
System uname: 2.6.15-gentoo-r1 ppc 7447/7457, altivec supported
Gentoo Base System version 1.6.14
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes" 
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=G4 -mcpu=G4 -maltivec -mabi=altivec -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=G4 -mcpu=G4 -maltivec -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache cvs digest distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS=" http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"             
LINGUAS="en de" 
MAKEOPTS="-j2"  
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="ppc X X509 a52 aac alsa altivec apache2 bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 cdr cli crypt cscope ctype cups dba dbus dmx dri dts dvd dvdr eds emboss encode esd exif expat fastbuild fbcon ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gimpprint gnome gpm gs gstreamer gtk gtk2 gtkhtml hal howl idn ieee1394 imagemagick imap imlib ipv6 jabber java jpeg kde kdeenablefinal kdepim kdexdeltas latex ldap libg++ libwww mad maildir memlimit mikmod mime motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg4 ncurses new-login nls nntp nptl nptlonly nsplugin ogg opengl pam pcre
pdf pdflib perl png posix python qt quicktime readline recode ruby samba scanner sdl session simplexml slang soap sockets speex spell spl ssl svg tcltk tcpd tetex theora threads tokenizer truetype truetype-fonts type1-fonts udev unicode usb videos vorbis wmf xine xinerama xml xml2 xosd xprint xscreensaver xsl xv xvid zeroconf zlib elibc_glibc kernel_linux linguas_en linguas_de userland_GNU"    
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS
                
Comment 3 John Mylchreest (RETIRED) gentoo-dev 2006-04-02 07:52:41 UTC
from Makefile:

quiet_cmd_ramdisk = RAMDISK $@
      cmd_ramdisk = $(obj)/addRamDisk $(obj)/ramdisk.image.gz $< $@

$(obj)/vmlinux.initrd: vmlinux.strip $(obj)/addRamDisk $(obj)/ramdisk.image.gz
        $(call if_changed,ramdisk)

I think this is tied into an additional bug im looking at anyways,
Comment 4 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2006-04-19 03:26:46 UTC
Any progress on this?
Comment 5 Lars Weiler (RETIRED) gentoo-dev 2006-04-19 04:20:20 UTC
I guess, this is an upstream bug.  But unfortunately I can't propose a fix...
Comment 6 John Mylchreest (RETIRED) gentoo-dev 2006-04-19 12:23:41 UTC
this looks to be a broken makefile, nothing too major I should hope.
I'll try look into this tomorrow ifno one else can
Comment 7 John Mylchreest (RETIRED) gentoo-dev 2006-05-05 06:28:09 UTC
sorry I've not had chance to review this, and it will be a few weeks before I will be in a position to address this I suspect. 
Comment 8 Lars Weiler (RETIRED) gentoo-dev 2006-09-11 14:06:57 UTC
I think we can close this bug now, as I already fixed it in genkernel.  Works now again.