[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

make-kpkg kernel_image fails with current kernel (was: Compiling 2.6.16 kernel for ppc)



Adam Done <emlists@gmail.com> wrote:
> Adam Done wrote:
>>I have been trying today to compile a vanilla 2.6.16 kernel direct from
>>kernel.org and every time I get the same errors at the very end.

linux-2.6.17-rc4 from kernel.org, sarge, ibook G4 (sorry for the German locale):

# make-kpkg kernel_image

,----
| ...
|   INSTALL sound/soundcore.ko
| if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b /usr/src/linux-2.6.17-rc4/debian/tmp-image -r 2.6.17-rc4; fi
| WARNING: /usr/src/linux-2.6.17-rc4/debian/tmp-image/lib/modules/2.6.17-rc4/kernel/drivers/video/vga16fb.ko needs unknown symbol vgacon_remap_base
| make[2]: Verlasse Verzeichnis »/usr/src/linux-2.6.17-rc4«
| test ! -e debian/tmp-image/lib/modules/2.6.17-rc4/source ||                        \
|    mv debian/tmp-image/lib/modules/2.6.17-rc4/source ./debian/source-link
| test ! -e debian/tmp-image/lib/modules/2.6.17-rc4/build ||                         \
|    mv debian/tmp-image/lib/modules/2.6.17-rc4/build ./debian/build-link
| depmod -q -FSystem.map -b debian/tmp-image 2.6.17-rc4;
| test ! -e ./debian/source-link ||                                              \
|    mv ./debian/source-link debian/tmp-image/lib/modules/2.6.17-rc4/source
| test ! -e  ./debian/build-link ||                                              \
|    mv  ./debian/build-link debian/tmp-image/lib/modules/2.6.17-rc4/build
| cp vmlinux debian/tmp-image/boot/vmlinux-2.6.17-rc4
| chmod 644 debian/tmp-image/boot/vmlinux-2.6.17-rc4;
| cp arch/ppc/boot/images/vmlinux.coff   debian/tmp-image/boot/vmlinux.coff-2.6.17-rc4
| cp: Aufruf von stat fÃŒr â??arch/ppc/boot/images/vmlinux.coffâ?? nicht möglich: Datei oder Verzeichnis nicht gefunden
| make[1]: *** [real_stamp_image] Fehler 1
| make[1]: Verlasse Verzeichnis »/usr/src/linux-2.6.17-rc4«
| make: *** [kernel-image-deb] Fehler 2
| tglaptop:/usr/src/linux-2.6.17-rc4# diff .config ../config-linux-2.6.17-rc4.txt
`----

>>vmlinux.coff is not located anywhere in any directory

same here

> I am experiencing something out of the norm.  When I use xconfig and
> configure the kernel and then apply
> make-kpkg --append-to-version .ppc.pb1 -rev Custom.1 kernel_image
> ALL of my ppc settings are empty and I am promoted using the oldconfig
> method for every ppc setting.  Then once compiling the kernel and at the
> end I get the error (above) my .config file is altered with the ppc
> settings all blank.  I  even tried to chmod .config just only readable
> but I am still promoted asking me for the ppc settings.  Upon looking at
> the .config file even with
> I am still left with a changed .config with all the ppc settings and mac
> settings blank.

I copied my old .config from 2.6.15.1 and issued
# make oldconfig

then I made a backup of the new .config

http://www.tgunkel.de/it/hardware/doc/ibook_g4_linux_data/ibook_g4_kernel_config2.txt
(any comments about it? if you have different settings for an ibook G4 for a
recent kernel I'm interested)

After the make-kpkg kernel_image

my .config file is also modified:
,----
| < CONFIG_ADB_PMU=y
| < CONFIG_ADB=y
| < CONFIG_ARCH_FLATMEM_ENABLE=y
| < CONFIG_BOOTX_TEXT=y
| < CONFIG_CLASSIC32=y
| < CONFIG_CPU_FREQ_PMAC=y
| < CONFIG_EARLY_PRINTK=y
| < CONFIG_FB_OF=y
| < CONFIG_I2C_POWERMAC=m
| < CONFIG_INPUT_ADBHID=y
| < CONFIG_MAC_EMUMOUSEBTN=y
| < CONFIG_MPIC=y
| < CONFIG_PMAC_APM_EMU=y
| < CONFIG_PMAC_BACKLIGHT=y
| > CONFIG_PPCBUG_NVRAM=y
| < CONFIG_PPC_CHRP=y
| < CONFIG_PPC_MERGE=y
| < CONFIG_PPC_MPC106=y
| < CONFIG_PPC_MULTIPLATFORM=y
| < CONFIG_PPC_OF=y
| < CONFIG_PPC_PMAC=y
| > CONFIG_PPC_PREP=y
| < CONFIG_PPC_RTAS=y
| < CONFIG_PPC_STD_MMU_32=y
| < CONFIG_PPC_UDBG_16550=y
| < CONFIG_PROC_DEVICETREE=y
| < CONFIG_RTAS_PROC=y
| < CONFIG_THERM_WINDTUNNEL=m
`----

> -Adam

regards
 Thorsten
-- 
http://www.tgunkel.de



Reply to: