OPNsense Forum

English Forums => Hardware and Performance => Topic started by: ssbarnea on November 12, 2019, 09:58:53 am

Title: QOTOM-Q370G4 I7 occasional sudden freeze
Post by: ssbarnea on November 12, 2019, 09:58:53 am
I am using a QOTOM-Q370G4 I7 as my home router and occasionally (3 times this year) the router freeze and stopped responding to anything. http://www.qotom.net/product/32.html

Even plugging and unplugging it after 10s did not make it boot again but using the RESET button did the trick.

When it froze I can see the LAN lights flashing, the HDMI connection does not work until the reset button is pressed. After this it will boot normally.

The worst part is that I have zero logs from before the boot. Last time when it happened it was last night and mainly coincidentally exactly at midnight.

I really doubt that it could be a thermal issue because the CPU stays around 40-45 Celsius, I have PowerD enabled and using HiAdaptive. Also it is on UPS and I am not having any fluctuations around.

What can it be or how can I reconfigure it to assure that it keeps some logs?
Title: Re: QOTOM-Q370G4 I7 occasional sudden freeze
Post by: monstermania on November 12, 2019, 11:39:50 am
Hi,
such a problem could have many different reasons!  ::)
I.e. we have a similar problems with some of our client pc (Dell Optiplex 5060).
Some of them suddenly freeze.
After long time of testing we found out that disabling the 'c-state' option into bios stops freezing.
Right now we have changed the mainboard on some of the freezing PC's. After that the problem was solved!

So, i suggest you to try the bios option...

best regards
Dirk

Title: Re: QOTOM-Q370G4 I7 occasional sudden freeze
Post by: ssbarnea on November 14, 2019, 08:18:08 am
Thanks! Funny, yesterday it froze again and I ended up looking at the bios and changing few things related to power. If it freezes again I will go directly to c-state setting.

It makes sense to be bios related as it enters a very weird state which seems unrelated to the operating system.

For a router it makes sense to disable any option to put the machine into sleep. Slowdown yes but suspend or sleep nope.

What is still a big mystery is why I seen the increased occurrence only now, as I am sure nobody touched the bios. Maybe is related to newer code in powerd.


Sent from my iPhone using Tapatalk
Title: Re: QOTOM-Q370G4 I7 occasional sudden freeze
Post by: monstermania on November 14, 2019, 10:23:45 am
Well,
suddenly freezes are very strange! :-[
Let met tell our story.
This year my company changed all PC to Win10 with new HW (Dell Optiplex 5060). Overall 2100 PC into the whole company!
We start the pc rollout into our pilot with a custom made W10 Build 1803 image in Nov 2018. After some weeks we be aware that ~ 5% of the new PC are suddenly freezing during work.
Dell changed the motherboards on these PC and everything seems ok. During the summer we made an image update to Build 1809 into our pilot plant. After some days we get ~ 25% of suddenly freezing Optiplex 5060 into pilot plant!  :o
Remember we have overall 2100 Optiplex 5060 into warehouse!
So we made many tests with some affected PC. We have to check that this issue won't be related to our custom W10 image!
After hard testing work with different bios versions, drivers and win10 images/updates we sort out, that the pc not freeze anymore if the 'c-state' option into bios are disabled.
After some discussions Dell again changed the mainboards of the affected pc into iur pilot plant. And yes, all the pc working with no freezes now (Of course with enabled 'c-state' option).

Conclusion:
With W10 Build 1803 ~ 5% of our Optiplex 5060 are freezing regulary!
With W10 Build 1809 ~ 25% of our Optiplex 5060 are freezing regulary!
Right now we have ~ 400 freezing PC on 120 locations (On all these we changed the bios option).
The mainbord will be changed during the next months by Dell on all of them!  ::)

best regards
Dirk
Title: Re: QOTOM-Q370G4 I7 occasional sudden freeze
Post by: ssbarnea on December 08, 2019, 12:28:58 pm
No more freezes since tuning the BIOS like said, so a big THANK YOU!

One more issue still remains, it seems that rebooting router does make it not pick the right interfaces. I am wondering if there is something I can do to avoid this and assure it will pick the same eth0123 each time.