[Openmcl-devel] freebsd 9.1 amd64

Gary Byers gb at clozure.com
Sun Feb 10 00:08:09 UTC 2013


Source changes to the CCL kernel that were intended to fix the problem
were committed to the CCL trunk.  I don't know whether or not you
compiled the kernel before trying to run it ...

The changes don't seem to have fixed the problem (where at least some
of the problem seems to have to do with AVX-related changes to the
format of signal contexts in FreeBSD 9.1.)

I have a core i3 machine (with AVX) that I should be able to install 9.1 on
and will try to announce something here when I'm really sure that I understand
what else is happening and how to fix it.  Thanks.


On Sun, 10 Feb 2013, Mark Cox wrote:

> On 09/02/2013, at 1:14 AM, Gary Byers wrote:
>
>> I was able to run 9.1 under VMware and think/hope that this is now fixed
>> in the CCL trunk.  If people who can reproduce this could try the trunk,
>> that'd be helpful.
>
> I fresh checkout of trunk does the following on both of my virtual machines:
>
> $ ./fx86cl64
> Unhandled exception 10 at 0x300001050b6b, context->regs at #x7fffffffd280
> received signal 10; faulting address: 0x300001050b6b
> ? for help
> [88099] Clozure CL kernel debugger:
>
> I installed misc/compat6x as stated in [1].
>
> Mark
>
> Just to confirm that I have the right binary.
> MD5 (fx86cl64) = bf5ed64025fc0869134128e2dd520c52
>
> [1] http://ccl.clozure.com/manual/chapter2.1.html#freebsdx86
>
> Script done on Sat Feb  9 01:06:42 2013
>
>> On Fri, 8 Feb 2013, Cyrille Duret wrote:
>>
>>> mm?
>>> Yes mine have AVX too
>>> @ sudoi sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu'
>>> hw.machine: amd64
>>> hw.model: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz
>>> hw.ncpu: 4
>>> hw.machine_arch: amd64
>>> http://ark.intel.com/products/52231/Intel-Core-i7-2620M-Processor-4M-Cache-
>>> up-to-3_40-GHz
>>> On Fri, Feb 8, 2013 at 10:22 AM, Mark Cox <markcox80 at gmail.com> wrote:
>>>
>>>      On 08/02/2013, at 12:40 PM, Gary Byers wrote:
>>>
>>>     >
>>>     >
>>>     > On Thu, 7 Feb 2013, Gary Byers wrote:
>>>     >
>>>     >> I have no idea; I'll install a copy of FreeBSD 9.1 and see if
>>>      I can make
>>>     >> any sense of it.
>>>     >>
>>>     >> The 9.1 release notes didn't seem to say "broke sigreturn"
>>>      ...
>>>     >
>>>     > Unless they called that "kernel support for the AVX FPU
>>>      extension".
>>> I have two FreeBSD 9.1-amd64 virtual machines running on two different
>>> CPUs using Parallels
>>> - Intel(R) Core(TM)2 Duo CPU ? ? P7350 ?@ 2.00GHz (13-inch Macbook
>>> Late 2008)
>>> - Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz (15-inch Macbook Pro,
>>> Early 2011)
>>> The Core 2 Duo runs CCL-1.8 fine, but the Core i7 has the same problem
>>> as Cyrille reported.
>>> The Core 2 Duo does not have AVX extensions [1], but the Core i7 does
>>> have them [2].
>>> Mark
>>> [1]http://ark.intel.com/products/36750/Intel-Core2-Duo-Processor-P7350-3M-Cach
>>> e-2_00-GHz-1066-MHz-FSB
>>> [2] http://ark.intel.com/products/53463
>>> The CPU information was obtained using:
>>> sysctl -n machdep.cpu.brand_string
>>> CCL-1.8 was obtained using FreeBSD ports.
>>>> That (and related changes in signal context format) seems to be a
>>> likely
>>>> cause of the problem.
>>>>
>>>> I don't have a spare physical machine that has AVX and VirtualBox
>>> doesn't
>>>> seem to enable it in its guest VMs, but VMWare may do so.
>>>>
>>>> (I have run CCL on 9.1 in VirtualBox and haven't seen a problem
>>> yet.)
>>>> _______________________________________________
>>>> Openmcl-devel mailing list
>>>> Openmcl-devel at clozure.com
>>>> http://clozure.com/mailman/listinfo/openmcl-devel
>>>
>
>



More information about the Openmcl-devel mailing list