[solved] mini-pc Intel J4125 with I226-V keeps shutting down

Started by myradon, May 30, 2023, 09:11:26 PM

Previous topic - Next topic
May 30, 2023, 09:11:26 PM Last Edit: September 30, 2023, 09:05:48 PM by myradon
Hi,

Few months ago I bought a X86-P2 mini system at Loksing https://www.loksing.com.cn/products/x86-p2-software-route-n4000-j4105-j4125-mini-host-6w-low-power-consumption-quad-core-quad-thread-intelligent-hardware-fanless-energy-saving-microcomputer-computer. I believe this thing is sold by various other companies under different names. Anyways....


This piece of equipment keeps shutting down. It shows script "beep" and script "freebsd" out of the blue and shuts down. Initially I manually changed NIC's in config.xml from old system to correspond to new igc driver and installed with installer. Shut down within dozen minutes or so. Then new install and started to modify config.xml functionality by functionality. So first vlan, then dhcp, then firewall rules and NAT and so on. Also updated system to latest 23.1.8 version but systems shuts down after 1.5hours to 4 hours.

Because I read various topics about I226-V problems I also created a loader.conf.local;

hw.acpi.cpu.cx_lowest="C1"
hw.ibrs_disable="1"
hw.igc.rx_process_limit="-1"
hw.igc.max_interrupt_rate="8000"
hw.igc.eee_setting="1"
hw.igc.sbp="1"
hw.igc.smart_pwr_down="0"
hw.igc.rx_abs_int_delay="66"
hw.igc.tx_abs_int_delay="66"
hw.igc.rx_int_delay="0"
hw.igc.tx_int_delay="66"
hw.igc.disable_crc_stripping="0"


The piece of @#%#$ keeps shutting down. And Yep all settings related to hardware offloading and VLAN filtering have been disabled through GUI. System runs ZFS file system without swap. I've tested Memory with Memtest 86+=4 days 0 errors, used Stress for CPU, Mem and IO through Manjaro USB stick= 2 days no problems. So seems to me not hardware related.

How can I log or see what the culprit is?

If it is not throwing a panic but really doing a clean shutdown, there are in my opinion only two suspects: power supply and temperature.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

May 30, 2023, 09:42:13 PM #2 Last Edit: June 27, 2023, 09:41:30 AM by myradon
@pmhausen do you think it would be that simple? Would be nice one. I'm using a quality Seasonic Power supply. Used it for years without any problems because I wouldn't have problems. Also did the stress testing CPU with it in Manjaro system hit 70 degrees temp max. I believe it's than throttled by Firmware.

I'll search for some other PSU laying around but think that one is an El Cheapo though. See if thermal throttling can be upped or disabled. Passive radiator casing doesn't get really warm though.
EDIT

El Cheapo PSU and original Seasonic PSU no difference. Only booting is now new issue;

All buffer synced...
Uptime XYZ

Did it crash?



Nope! Next try (when summer conditions will disappear) will be reconfiguring new system from GUI 1 by 1 instead of copy-pasting XML.

Found this thread while contemplating what box to get Dell Wyse 5070 Extended or X86-P2.

Anyway, the mini pc is made by CWWK

https://cwwk.net/products/x86-p2-software-route-n4000-j4105-j4125-mini-host-6w-low-power-consumption-quad-core-quad-thread-intelligent-hardware-fanless-energy-saving-microcomputer-computer

and there is a BIOS update here (use google translate for change log)

https://www.changwang.com/down/82.html

click on the green button from the left, it will redirect to another page with multiple versions depending on the soldered CPU.

Before flashing remember to reset the BIOS and double check the BIOS version maybe you already have F3 version

As side note, somebody over servethehome forum has a CWWK mini pc with Intel N100 with the latest BIOS version, his issue was at boot while the mini pc is connected to a HDMI to HDMI cable, but with a HDMI to DVI it boots fine. So please keep this in mind if hear some beeps.

https://forums.servethehome.com/index.php?threads/cwwk-topton-n95-n100-n200-n305-quad-nic-router-5-bios-error-beeps-and-black-screen-error.40333/page-2#post-381681




Another idea, that is not so dangerous is to install Proxmox and run opnsense as a virtual machine.




Remember there is always a risk of bricking the board when flashing, especially when you don't have any possibility to send it back for warranty




I believe I found a link to BIOS which isn't dead (as we speak); https://pan.x86pi.cn/BIOS%E6%9B%B4%E6%96%B0/1.Intel%E8%BF%B7%E4%BD%A0%E4%B8%BB%E6%9C%BA%E7%B3%BB%E5%88%97BIOS

Before you download X86-XP2 be aware of different versions. J4125 seems to be other file than N4000/J4105. I'm going to try if this BIOS solves something.

Currently system is running 24hours. I've updated system with latest BIOS F3 from Changwang website (link above). Also reconfigured entire system through GUI. VLAN with IPS in Promiscious mode works. Only can't get Acme Client to work but it's offtopic. So far so good...

September 30, 2023, 09:05:30 PM #9 Last Edit: September 30, 2023, 09:07:25 PM by myradon
I'll close up this topic as solved. System is running for almost 7 days without any problem. Was it update (from F2) to BIOS F3 or manually configuring OPNSense? I'll never know but never the less I'm happy.

March 14, 2024, 04:46:18 AM #10 Last Edit: March 15, 2024, 01:41:03 PM by LennonHuynh
Dealing with those unexpected shutdowns can be really frustrating, especially when you're trying to get things done on your mini-pc. It's a good idea to check the temperature of your system to see if it's overheating, as that can often be a culprit for sudden shutdowns. Additionally, ensuring that your power supply is stable and providing enough power to the system is essential.
On a different note, if you're curious about exploring more advanced tech topics, https://quantumai.co/what-is-a-qutrit-the-three-level-quantum-system-explained/ offers a wealth of insights into quantum computing, including explanations of concepts like the three-level quantum system. It's a fascinating area of study that might pique your interest while troubleshooting your mini-pc.