From: Matt Turner <mattst88@gentoo.org>
To: gentoo-mips@lists.gentoo.org
Subject: Re: [gentoo-mips] SGI O2 kernel binary that will work w/ Matt Turner's stages?
Date: Wed, 17 Aug 2011 17:15:11 -0400 [thread overview]
Message-ID: <CAEdQ38Es8D=iiAYA7-_dRownNLvSB5egZt3xMPY_rW-gOUBmXw@mail.gmail.com> (raw)
In-Reply-To: <20110817203508.GC4105@alumni-linux.ccs.neu.edu>
On Wed, Aug 17, 2011 at 4:35 PM, Jim Faulkner <jfaulkne@ccs.neu.edu> wrote:
> I'm trying to get gentoo going on an SGI O2. I've booted into the
> Gentoo/MIPS livecd and installed Matt Turner's stage3-mips4_multilib
> stage onto my hard disk. I can chroot into it and run some commands,
> but "ls" gives an "unknown error," and emerge doesn't work, presumably
> because the kernel on the livecd is too old.
>
> I setup as much as I could from the livecd, hoping to install Debian's
> IP32 kernel from the livecd, since arcload is available there. However,
> Debian's IP32 kernels are 64-bit ELF. When I try to boot it with
> sashARC, it tells me that it is not 32-bit and refuses to load it. When
> I try to boot it with sash64, it tells me "relocation failed."
>
> Does anybody have a kernel and modules for an SGI O2 that works with
> Matt's stages? If so, would you be able to put it where I can download
> it? :)
>
> On a related note, how does Debian get arcload to boot its 64-bit kernel
> on an IP32 machine?
Hi Jim!
Right, the problem with `ls` is an incompatibility between old kernels
(older than 2.6.36) and new glibc built against newer kernel headers.
I've built an O2-compatible kernel (version 3.1.0-r2~) and put it
here: http://dev.gentoo.org/~mattst88/sgi-o2/
I haven't tested it, so if you run into trouble, please let me know
and I'll make some changes.
I'm very glad to see someone trying to use my stages. Please note that
before you rebuild gcc, you should patch
/usr/portage/eclass/toolchain.eclass with the attached patch in this
bug report: https://bugs.gentoo.org/show_bug.cgi?id=358149
I'm not sure, but perhaps the problem about sashARCS/sash64 is fixed
by using the vmlinux.32 I posted?
You can probably get help faster in the #gentoo-mips IRC channel on
Freenode as well. I'd be happy to help.
Thanks, and let me know how it goes,
Matt
next prev parent reply other threads:[~2011-08-17 21:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-17 20:35 [gentoo-mips] SGI O2 kernel binary that will work w/ Matt Turner's stages? Jim Faulkner
2011-08-17 21:15 ` Matt Turner [this message]
2011-08-17 22:28 ` Jim Faulkner
2011-08-18 0:12 ` Matt Turner
2011-08-22 23:07 ` Matt Turner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEdQ38Es8D=iiAYA7-_dRownNLvSB5egZt3xMPY_rW-gOUBmXw@mail.gmail.com' \
--to=mattst88@gentoo.org \
--cc=gentoo-mips@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox