From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-mips+bounces-381-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Qtobk-0000Bs-HT
	for garchives@archives.gentoo.org; Wed, 17 Aug 2011 22:29:08 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AF15C21C1D7;
	Wed, 17 Aug 2011 22:28:57 +0000 (UTC)
Received: from amber.ccs.neu.edu (amber.ccs.neu.edu [129.10.116.51])
	by pigeon.gentoo.org (Postfix) with ESMTP id 526CF21C1D7
	for <gentoo-mips@lists.gentoo.org>; Wed, 17 Aug 2011 22:28:57 +0000 (UTC)
Received: from alumni-linux.ccs.neu.edu ([129.10.116.115])
	by amber.ccs.neu.edu with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.69)
	(envelope-from <jfaulkne@ccs.neu.edu>)
	id 1QtobY-0001Gd-Pg
	for gentoo-mips@lists.gentoo.org; Wed, 17 Aug 2011 18:28:56 -0400
Received: from jfaulkne by alumni-linux.ccs.neu.edu with local (Exim 4.69)
	(envelope-from <jfaulkne@ccs.neu.edu>)
	id 1QtobY-0002hT-NP
	for gentoo-mips@lists.gentoo.org; Wed, 17 Aug 2011 18:28:56 -0400
Date: Wed, 17 Aug 2011 18:28:56 -0400
From: Jim Faulkner <jfaulkne@ccs.neu.edu>
To: gentoo-mips@lists.gentoo.org
Subject: Re: [gentoo-mips] SGI O2 kernel binary that will work w/ Matt
	Turner's stages?
Message-ID: <20110817222856.GE4105@alumni-linux.ccs.neu.edu>
References: <20110817203508.GC4105@alumni-linux.ccs.neu.edu> <CAEdQ38Es8D=iiAYA7-_dRownNLvSB5egZt3xMPY_rW-gOUBmXw@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-mips@lists.gentoo.org>
List-Help: <mailto:gentoo-mips+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-mips+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-mips+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-mips.gentoo.org>
X-BeenThere: gentoo-mips@lists.gentoo.org
Reply-to: gentoo-mips@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CAEdQ38Es8D=iiAYA7-_dRownNLvSB5egZt3xMPY_rW-gOUBmXw@mail.gmail.com>
X-Archives-Salt: 
X-Archives-Hash: 316e4d4eab337c478c87d532f41c7e1d

On Wed, Aug 17, 2011 at 05:15:11PM -0400, Matt Turner wrote:
>
> I've built an O2-compatible kernel (version 3.1.0-r2~) and put it
> here: http://dev.gentoo.org/~mattst88/sgi-o2/

Thanks a bunch Matt!  The vmlinux.32 kernel boots into your stage3 just
fine.  Apparently the storage and network drivers are built into the
kernel, so there were no problems accessing the disk or getting the
network up.

However, it looks like PS/2 keyboard support wasn't included, so I can't
login at the console.  I enabled sshd and tried to login that way, but
got a "PTY allocation request failed on channel 0" error and was kicked
out after entering my password.

I then wrote an /etc/local.d script consisting of:
mkdir /dev/pts
mount -t devpts -o rw,nosuid,noexec,relatime,gid=5,mode=620 devpts /dev/pts

and rebooted.  It works, I can ssh in now!

localhost ~ # uname -a
Linux localhost 3.1.0-rc2+ #1 Wed Aug 17 17:05:33 EDT 2011 mips64 R5000
V2.1 FPU V1.0 SGI O2 GNU/Linux
localhost ~ #

Thanks so much for your work on Gentoo/MIPS!  I was really surprised to
see a recent stage3 for this architecture.  And thanks again for the
kernel, now I'm up and running.  I'll be sure to post to this list
regarding any other issues I run into.