Kernel panic booting without kern.smp.disabled=1 on QNAP TVS-873 (AMD RX-421BD)

derzahla

Cadet
Joined
Aug 23, 2020
Messages
8
To be clear, this is more of a FreeBSD issue then Free/Truenas but I was hoping maybe someone here had some suggestions.

Id love to get FreeNAS up running fully on my QNAP hardware but I'm running into some issues with SMP. I've searched high and low and found some similar situations but nothing proposed worked for me(other than disabling SMP completely). I have replicated this issue on the latest FreeNAS, TrueNAS Core, FreeBSD-13 nightly and also FreeBSD 10.4.

Here is the console while booting without SMP disabled:

qnapTVS-873FreeNAS.jpeg


I have tried setting some other boot options such as hw.apic.0-3.disabled=1,hw.pci.alloc_bar=1, but the only thing that allows me to boot is completely disabling SMP. From my understanding, these issues are often related to buggy BIOS. This NAS has a very old(2016) and very options limited AMI bios which QNAP does not provide an update for. Does anyone have any other ideas for options that may work around this mess and give me a functional and stable system running FreeBSD? I have also tried setting kern.smp.disabled to 0 with sysctl after booting to see if that might work. Apparently though that setting can only be changed at boot? I even tried FreeBSD 10.4, because I read that starting in FreeBSD 11 the kernal started using EARLY_AP_STARTUP, which might be what is causing my problems. No go with 10.4 either. Ive heard brief mentions about adjusting the timing of the CPUs being initialized, but I'm not sure where to start there. Thank you for your time and let me know if you require further information.
 

derzahla

Cadet
Joined
Aug 23, 2020
Messages
8
Also, on a side note, I've been playing around with TrueNAS Scale in a VM. Anyone know of the timeline for getting some beta releases out instead of just nightlies? The latest update seems decent. Has VM support. If I cant get FreeNAS to work with SMP, then one thing I'm considering is running Scale. I know its super alpha right now, but the ZFS portion should be reliable enough,right? I'm thinking the worst that would happen to me is the OS breaking bad and losing configs/apps but would data-loss or corruption on the zpool itself be a large concern?
 

derzahla

Cadet
Joined
Aug 23, 2020
Messages
8
Update: I opened a case with QNAP because there was no BIOS updates for my device available on their site and the current version was from 2016. I updated to the latest BIOS they sent me but the problem is still present
 
Top