From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 11 Jan 2011 10:06:08 -0500 Message-ID: From: "Devon H. O'Dell" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] plan9 go output faults on 9vx but ok on cpu Topicbox-Message-UUID: 948d7250-ead6-11e9-9d60-3106f5b1d025 2011/1/11 erik quanstrom : > On Tue Jan 11 02:55:42 EST 2011, skip.tavakkolian@gmail.com wrote: >> hell-o.go is like hello.go but uses println. 8.hell-o works properly >> on a plan9 cpu. but it faults when running on 9vx. i built vx32 -- >> including 9vx -- on a linux/x86-64 from sources in the last couple of >> days. >> >> % 8.hell-o >> 8.hell-o 270: suicide: sys: trap: page fault pc=3D0x000010bc >> >> /dev/kprint reports: >> 270 8.hell-o: unhandled fault va=3Dffffffffdfffefc0 [218f7fc0] eip=3D10b= c >> cpu0: registers for 8.hell-o 270 >> FLAGS=3D0 TRAP=3D0 ECODE=3D0 PC=3D10BC USP=3DFFFFF00 >> =A0 AX 00018D60 =A0BX 0FFFFF8C =A0CX 00018DF8 =A0DX 0001C608 >> =A0 SI 0FFFFFA8 =A0DI FFFFFFF8 =A0BP 00000000 > > i'm a little confused. =A0i thought that 9vx had to be compiled > 32-bit because it relies on the ancient segment registers. > whence the 64-bit va? =A0is it using pae? 64-bit works on linux with some ldt emulation using tls, I believe. It doesn't work on os x or freebsd. --dho > - erik > >