Date: Tue, 4 Mar 2014 11:24:04 -0500 From: John Baldwin <jhb@freebsd.org> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-current <freebsd-current@freebsd.org>, Konstantin Belousov <kib@freebsd.org>, Bruce Evans <bde@freebsd.org>, Jung-uk Kim <jkim@freebsd.org>, "freebsd-mobile@freebsd.org" <freebsd-mobile@freebsd.org> Subject: Re: signal 8 (floating point exception) upon resume Message-ID: <201403041124.04122.jhb@freebsd.org> In-Reply-To: <CAJ-Vmomik_4FVNwX1Ztxs0G5T=d-fUs1VDjtgwPqg0V-Tom08w@mail.gmail.com> References: <CAJ-Vmo=29BUP7JREe%2BK%2B8zOZNVt2LttjTB2byB0AA2jnCKnPSw@mail.gmail.com> <201403031411.00805.jhb@freebsd.org> <CAJ-Vmomik_4FVNwX1Ztxs0G5T=d-fUs1VDjtgwPqg0V-Tom08w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, March 03, 2014 6:49:08 pm Adrian Chadd wrote: > I'll try this soon. > > I had it fail back to newcons, rather than Xorg normally dying without > restoring state. It wouldn't let me spawn a shell. Logging in worked > fine, but normal shell exec would eventually and quickly lead to > failure, dropping me back to the login prompt. If you have set CPUTYPE in /etc/src.conf such that your userland binaries are built with SSE, etc. then I expect most things to break because the FPU is in a funky state without this patch. I suspect if you don't set CPUTYPE so that your userland binaries do not use the FPU, you can probably resume just fine without this fix. > -a > > > On 3 March 2014 11:11, John Baldwin <jhb@freebsd.org> wrote: > > On Friday, February 28, 2014 9:00:57 pm Adrian Chadd wrote: > >> On 28 February 2014 15:35, Adrian Chadd <adrian@freebsd.org> wrote: > >> > ... how'd this ever work in the past then? > >> > > >> > >> .. and I've submitted it as a PR: > >> > >> kern/187152 > > > > Complete stab in the dark (not compile tested) here: > > > > http://www.FreeBSD.org/~jhb/patches/i386_fpu_suspend.patch > > > > -- > > John Baldwin > -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403041124.04122.jhb>