By using a dev-util/catalyst generated netboot image to install Gentoo on a SPARC64 machine, I noticed that the current busybox version (1.7.4) used by genkernel can't create a swap area on a device: BusyBox v1.7.4 (2009-12-23 16:35:12 UTC) built-in shell (ash) Enter 'help' for a list of built-in commands. /bin/ash: can't access tty; job control turned off / # fdisk -l /dev/sda Disk /dev/sda (Sun disk label): 19 heads, 248 sectors, 7506 cylinders Units = cylinders of 4712 * 512 bytes Device Flag Start End Blocks Id System /dev/sda1 0 6520 15361120 83 Linux native /dev/sda2 6520 7506 2323016 82 Linux swap /dev/sda3 0 7506 17684136 5 Whole disk / # mkswap /dev/sda2 Setting up swapspace version 1, size = -1916207104 bytes / # swapon /dev/sda2 Swap area shorter than signature indicates swapon: /dev/sda2: Invalid argument However, if the sys-kernel/genkernel-3.4.10.907 ebuild is changed to use the latest stable busybox version (1.14.2) by modifying the VERSION_BUSYBOX variable (and adjusting the specfile accordingly), mkswap succeeds in creating the swap area.
I am closing this bug because: - The experimental version of Git seems to work well with a version of busybox newer than 1.14.2. Please check out genkernel-99999 (five nines) - The original reporter retired - No one else commented or voted - The activity log is empty Feel free to re-open this bug.