Welcome to forum.linuxhowtos.org (beta)
register new user
login




ads
Forum Index => gentoohowtos => page 1
ip32-r10k
AuthorMessage
flameman
Joined:2008-06-01 19:27:22
Posts:3
Posted: Sun, 01 Jun 2008 20:45:04 +0200
USE="ip32r10k" emerge mips-sources

i get this error

* >>> linux-2.6.22 --> linux-2.6.22.6 ...
* Applying patch-2.6.22.6 ... [ ok ]

* >>> linux-2.6.22.6 --> linux-2.6.22.6-20070902 patch ...
* Applying mipsgit-2.6.22-20070902.diff ... [ ok ]

* >>> Generic Patches ...
* Applying misc-2.6.16-ip22-vino-64bit-ioctl-fixes.patch ... [ ok ]
* Applying misc-2.6.11-ip32-mace-is-always-eth0.patch ... [ ok ]
* Applying misc-2.6.22-cobalt-bits.patch ... [ ok ]
* Applying misc-2.6.17-ths-mips-tweaks.patch ... [ ok ]
* Applying misc-2.6.12-seccomp-no-default.patch ... [ ok ]
* Applying misc-2.6.11-add-byteorder-to-proc.patch ... [ ok ]
* Applying misc-2.6.22-squashfs-3.2-r2.patch ... [ ok ]
* Applying misc-2.6.20-ip32-r10k-support.patch ...

* Failed Patch: misc-2.6.20-ip32-r10k-support.patch !
* ( /var/tmp/portage/sys-kernel/mips-sources-2.6.22.6/work/mips-patches/misc-2.6.20-ip32-r10k-support.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/sys-kernel/mips-sources-2.6.22.6/temp/misc-2.6.20-ip32-r10k-support.patch-5331.out

*
* ERROR: sys-kernel/mips-sources-2.6.22.6 failed.
* Call stack:
* ebuild.sh, line 49: Called src_unpack
* environment, line 2745: Called do_sekrit_patches
* environment, line 728: Called epatch 'src_unpack'
* environment, line 1300: Called die
* The specific snippet of code:
* die "Failed Patch: !";
* The die message:
* Failed Patch: misc-2.6.20-ip32-r10k-support.patch!
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-kernel/mips-sources-2.6.22.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-kernel/mips-sources-2.6.22.6/temp/environment'.
*

* Messages for package sys-kernel/mips-sources-2.6.22.6:

* R10000/R12000 Support on IP32 is HIGHLY EXPERIMENTAL!
* This is intended ONLY for people interested in fixing it up. And
* by that, I mean people willing to SEND IN PATCHES! If you're not
* interested in debugging this issue seriously or just want to run it
* as a user, then DO NOT USE THIS. Really, we mean it.
* All that said, initial testing seems to indicate that this system will
* stay online for a reasonable amount of time and will compile packages.
* However, the primary console (which is serial, gbefb seems dead for now)
* will fill with CRIME CPU errors every so often. A majority of these
* seem harmless, however a few non-fatal oopses have also been triggered.
* We're interesting in finding anyone with knowledge of the R10000
* workaround for speculative execution listed in the R10000 Processor
* manual, or those who are familiar with the IP32 chipset and the feature
* called "Juice".
* !!! BIG FAT WARNING
* !!! To Build 64bit kernels for SGI O2 (IP32) or SGI Indy/Indigo2 R4x00 (IP22)
* !!! systems, you _need_ to be using a >=gcc-4.1.1 compiler, have CONFIG_BUILD_ELF64
* !!! disabled in your kernel config, and building with the vmlinux.32 make target.
* !!! In prior times, an ugly hack was used to build an ELF64 binary that resembled
* !!! an ELF32 binary in order to make the ARCS PROMs on these systems boot the
* !!! kernel. This hack is no longer in use nor supported in 2.6.17 and beyond. In
* !!! order to achieve the same effect, a new flag available in >=gcc-4.x is used,
* !!! and as such, makes >=gcc-4.1.1 the preferred compiler for 2.6.17 and beyond.
*
* !!! Remember, build your IP22 and IP32 kernels with the following command:
* !!! following make command: make vmlinux.32
* !!! Once done, copy the vmlinux.32 file and boot that. Do not use the
* !!! vmlinux file -- this will either not boot on IP22 or result in
* !!! undocumented weirdness on IP32 systems.
* Failed Patch: misc-2.6.20-ip32-r10k-support.patch !
* ( /var/tmp/portage/sys-kernel/mips-sources-2.6.22.6/work/mips-patches/misc-2.6.20-ip32-r10k-support.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/sys-kernel/mips-sources-2.6.22.6/temp/misc-2.6.20-ip32-r10k-support.patch-5331.out
*
* ERROR: sys-kernel/mips-sources-2.6.22.6 failed.
* Call stack:
* ebuild.sh, line 49: Called src_unpack
* environment, line 2745: Called do_sekrit_patches
* environment, line 728: Called epatch 'src_unpack'
* environment, line 1300: Called die
* The specific snippet of code:
* die "Failed Patch: !";
* The die message:
* Failed Patch: misc-2.6.20-ip32-r10k-support.patch!
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-kernel/mips-sources-2.6.22.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-kernel/mips-sources-2.6.22.6/temp/environment'.
*



Back to top
flameman
Joined:2008-06-01 19:27:22
Posts:3
Posted: Sun, 01 Jun 2008 19:30:15 +0200
hi
i am new about IP32-r10k, i see there is no ip32 profile in the profile tree, also ... USE=\"ip32-r10k\" emerge mips-sources reports error about applying the patch ...
... how to compile a kernel for o2+ (R12K cpu) ? which kernel should i use ?


i am on an octane2 (IP30 R12K) using gcc 4.1.2 binutils 2.18 kgcc 4.1.2 ...
let me know

Back to top