1 |
On Wed, Aug 17, 2011 at 4:35 PM, Jim Faulkner <jfaulkne@×××××××.edu> wrote: |
2 |
> I'm trying to get gentoo going on an SGI O2. I've booted into the |
3 |
> Gentoo/MIPS livecd and installed Matt Turner's stage3-mips4_multilib |
4 |
> stage onto my hard disk. I can chroot into it and run some commands, |
5 |
> but "ls" gives an "unknown error," and emerge doesn't work, presumably |
6 |
> because the kernel on the livecd is too old. |
7 |
> |
8 |
> I setup as much as I could from the livecd, hoping to install Debian's |
9 |
> IP32 kernel from the livecd, since arcload is available there. However, |
10 |
> Debian's IP32 kernels are 64-bit ELF. When I try to boot it with |
11 |
> sashARC, it tells me that it is not 32-bit and refuses to load it. When |
12 |
> I try to boot it with sash64, it tells me "relocation failed." |
13 |
> |
14 |
> Does anybody have a kernel and modules for an SGI O2 that works with |
15 |
> Matt's stages? If so, would you be able to put it where I can download |
16 |
> it? :) |
17 |
> |
18 |
> On a related note, how does Debian get arcload to boot its 64-bit kernel |
19 |
> on an IP32 machine? |
20 |
|
21 |
Hi Jim! |
22 |
|
23 |
Right, the problem with `ls` is an incompatibility between old kernels |
24 |
(older than 2.6.36) and new glibc built against newer kernel headers. |
25 |
I've built an O2-compatible kernel (version 3.1.0-r2~) and put it |
26 |
here: http://dev.gentoo.org/~mattst88/sgi-o2/ |
27 |
|
28 |
I haven't tested it, so if you run into trouble, please let me know |
29 |
and I'll make some changes. |
30 |
|
31 |
I'm very glad to see someone trying to use my stages. Please note that |
32 |
before you rebuild gcc, you should patch |
33 |
/usr/portage/eclass/toolchain.eclass with the attached patch in this |
34 |
bug report: https://bugs.gentoo.org/show_bug.cgi?id=358149 |
35 |
|
36 |
I'm not sure, but perhaps the problem about sashARCS/sash64 is fixed |
37 |
by using the vmlinux.32 I posted? |
38 |
|
39 |
You can probably get help faster in the #gentoo-mips IRC channel on |
40 |
Freenode as well. I'd be happy to help. |
41 |
|
42 |
Thanks, and let me know how it goes, |
43 |
Matt |