Re: signal 8 (floating point exception) upon resume

John Baldwin <[email protected]>
Newsgroups gmane.os.freebsd.current,gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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 <[email protected]> wrote:
> > On Friday, February 28, 2014 9:00:57 pm Adrian Chadd wrote:
> >> On 28 February 2014 15:35, Adrian Chadd <[email protected]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.