Fatal trap 18

Andriy Gapon avg at freebsd.org
Wed Nov 3 20:10:59 UTC 2010


on 03/11/2010 21:45 Dan Allen said the following:
> 
> On 3 Nov 2010, at 2:18 AM, Sergey Kandaurov wrote:
> 
>> +       if (cpu_logical == 0) +               cpu_logical = 1;        /*
>> XXX max_logical? */ cpu_cores /= cpu_logical; hyperthreading_cpus =
>> cpu_logical;
> 
> My machine contains an Intel Core Duo, not a Core 2 Duo.  However, both
> machines have 2 logical CPUs.  Perhaps the bug is not handling a Core Duo
> properly.

Hm, and in your dmesg I see that you have the situation that I described: your
CPU is supposedly dual-core (and supports HTT on top of that), but FreeBSD for
some reason [*] sees only one cpu, e.g.:
> cpu0: <ACPI CPU> on acpi0

So I am quite sure that the patch that I posted should help you.

[*] - yes, I do want to see your *verbose* dmesg from the working kernel.

-- 
Andriy Gapon


More information about the freebsd-stable mailing list