Power Developer
https://powerdeveloper.org/forums/

Building kernel on iSeries
https://powerdeveloper.org/forums/viewtopic.php?f=7&t=475
Page 1 of 1

Author:  wolf [ Tue Jan 17, 2006 7:02 am ]
Post subject:  Building kernel on iSeries

Hello,

I've asked this before on debian-powerpc, to no avail. I am trying to build a 2.6.14-kernel for an iSeries, and I cannot figure out how to create an image with an initrd attached to it. What I've tried is:

make-kpkg --append-to-version test.1 kernel_image # works allright
dpkg -i /usr/src/linux-image-2.6.14....deb

The latter does not quite work. /etc/kernel/postinst.d/mkvmlinuz aborts since $bootloader evals to 'unknown'. If I force the execution of mkvmlinuz, it breaks pretty early in the script, because it cannot find dummy.o:
Code:
objcopy -R .comment //obj/dummy.o /tmp/tmp.wIIsHl/image.o
objcopy: '//obj/dummy.o': No such file
I am trying all of this within a sid chroot:
Code:
ppc:/# uname -a
Linux ppc 2.4.19-ul-SP1-iseries64-SMP #1 SMP Fri Jul 18 15:56:44 UTC 2003 ppc64 GNU/Linux
ppc:/# dpkg -l kernel-package mkvmlinuz | grep ^ii
ii kernel-package 10.032 A utility for building Linux kernel related Debian packages.
ii mkvmlinuz 18 create a kernel to boot a PowerPC machine from Open Firmware
Any help would be appreciated.

Regards, Wolf

Author:  bbrv [ Tue Jan 17, 2006 8:47 am ]
Post subject: 

Hi wolf, you are welcome here, but you might have more luck with that question over here:

http://www.power.org/phpbb/

We still encourage an answer from the readers here, but over there some one from IBM may notice faster (at least we can tell them as we Moderate over there too!).

R&B :)

Author:  wolf [ Tue Jan 17, 2006 9:54 am ]
Post subject: 

Thanks, I'll try it over there.

Regards,

Wolf

Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/