Hi,
I have "Fatal trap 18: integer divide fault while in kernel mode" error than install FreeNAS 0.7 or 0.7RC1. FreeNAS 0.69.2 works fine on the same system.
I tried second almost the same system (with newer version of the same system board based on Intel P35 chipset) with different CPU installed (Pentium 4 Quad), and FreeNAS 0.7 & 0.7RC1 installs fine on that system. Thus, I hope that this is a CPU-related problem.
The issued system CPU ID is 0F65h (Processor Family F, Model 6, Steping 5), or Pentium 4 641 - 3.2 GHz, "Cedar Mill" Stepping D0, SL9KF. It has one physical CPU Core and 2 logical ones (HT enabled).
Probably, the problem is related to wrong settiing of cpu_cores or cpu_logical to 0 by CPU identification routine (FreeBSD issue r191648), http://lists.freebsd.org/pipermail/freebsd-current/2009-April/006388.html.
Sorry, I have no logs due to no writable filesystems mounted during the fault.
Oleg
32- and 64-bit versions of FreeNAS are effected by the issue both.
BTW, FreeBSD 7.2 life FS boots on the same system without the problem.
Oleg
Hello hereI found possible solution for this bug. Please look at ait http://markmail.org/message/4hty2oyiecnrtwwt#query:fatal%20trap%2018+page:1+mid:5kdmrmiv5knfgsxf+state:results.
I am having the same issue. Running on a Dell R510 with single quad core xeon.
I have tried nightly build without sucess. Hopefully the possible fix gets added to the an upcoming nightly.
Recently I tested two another processor based on different core architecture.
1. Celeron D 326 (Prescott core with 256 MB L2 Cache)
2. Pentium Dual Core E5300 (Penryn/Wolfdale core)
Both CPU work fine!
Thus, the issue noted above is related to wrong Cedar Mill CPU identification.
BTW, I ran newer version FreeNAS 4942 on my Cedar Mill -- the problem still exists.
I just replaced my CPU and now I'm also getting the "Fatal trap 18" during FreeNAS boot-up.
Old CPU (worked): Intel Celeron D 331 SL98V Costa Rica (2.66Ghz)
New CPU (won't boot): Intel Pentium D 915 SL9DA Costa Rica (2.80Ghz)
Not sure if this is a FreeBSD issue or a FreeNAS issue?
Dear jeffcm,
If you have another installation of FreeBSD and ready to re-compile FreeNAS youself, follow aidik's recommendation. This way resolves FreeBSD issue r191648 I noted earlier.
But I think that you issue is not related to CPU (Celeron D 331 don't suffer from the issue discussed here, as far as I know).
And Fatal trap 18 can be fired by any hardware, including network card. Try to remove or disable all additional hardware and boot in minimal configuration to locate trap source.
Oleg