Author Topic: Error while making opie-image  (Read 2157 times)

oxstone

  • Newbie
  • *
  • Posts: 26
    • View Profile
Error while making opie-image
« on: October 07, 2004, 05:42:11 pm »
Hello,

I'm trying to compile my own openzaurus initrd.bin and zimage. I
followed instructions given in the oe_wiki:
http://www.openembedded.org/oe_wiki/index.php/RDay5500

However, when I type:
oemake opie-image
, the process is killed! Here's the last lines of the output:

DEBUG: bindir-libdir bindir-libdir.patch
NOTE: import patch
'/mnt/IBMLinux/src/packages/python/python-native-2.3.3/bindir-libdir.patch'
as 'bindir-libdir.patch'
DEBUG: cross-distutils cross-distutils.patch
NOTE: import patch
'/mnt/IBMLinux/src/packages/python/python-native-2.3.3/cross-distutils.patch'
as 'cross-distutils.patch'
NOTE: package python-native-2.3.3-r0: task do_patch completed
NOTE: package python-native-2.3.3-r0: task do_configure started
NOTE: package python-native-2.3.3-r0: task do_configure completed
NOTE: package python-native-2.3.3-r0: task do_compile started
Killed

I tried several times (each time, I deleted the tmp directory contents),
and I always got that "Killed" message. I NEVER cancelled the process.

What could be wrong?

Thanks for the help.

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Error while making opie-image
« Reply #1 on: October 08, 2004, 10:27:21 am »
Quote
Hello,

I'm trying to compile my own openzaurus initrd.bin and zimage. I
followed instructions given in the oe_wiki:
http://www.openembedded.org/oe_wiki/index.php/RDay5500

However, when I type:
oemake opie-image
, the process is killed! Here's the last lines of the output:

DEBUG: bindir-libdir bindir-libdir.patch
NOTE: import patch
'/mnt/IBMLinux/src/packages/python/python-native-2.3.3/bindir-libdir.patch'
as 'bindir-libdir.patch'
DEBUG: cross-distutils cross-distutils.patch
NOTE: import patch
'/mnt/IBMLinux/src/packages/python/python-native-2.3.3/cross-distutils.patch'
as 'cross-distutils.patch'
NOTE: package python-native-2.3.3-r0: task do_patch completed
NOTE: package python-native-2.3.3-r0: task do_configure started
NOTE: package python-native-2.3.3-r0: task do_configure completed
NOTE: package python-native-2.3.3-r0: task do_compile started
Killed

I tried several times (each time, I deleted the tmp directory contents),
and I always got that "Killed" message. I NEVER cancelled the process.

What could be wrong?

Thanks for the help.
Maybe you are experiencing the kernel OOM killer.
You need _at the very least_ 500Mb of RAM to run OE.
1000Mb is recomended.
Webmaster of hentges.net & Embedded Linux Developer.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Error while making opie-image
« Reply #2 on: October 08, 2004, 10:39:35 am »
Quote
You need _at the very least_ 500Mb of RAM to run OE

hmm, not quite true...

It runs fine on my box with 256Mb RAM and very very very very slowly (but I've still managed to create an opie-image) on another with 64Mb of RAM.

Perhaps you need to adjust your swap if this is really a memory issue.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

oxstone

  • Newbie
  • *
  • Posts: 26
    • View Profile
Error while making opie-image
« Reply #3 on: October 08, 2004, 05:34:25 pm »
The problem came from the fact that I did not set a swap partition on my home computer. I thought 645Mo of RAM would always be sufficient, but I was wrong. I set up a swap partition, and the make process ran fine.
Thanks!