Intel Atom P5000 / P5322 Support

Started by balamutag, February 05, 2023, 05:21:22 AM

Previous topic - Next topic
Hi fellas how are you?

I know its a long shot but anyway to get the  P5322/P5000 Atom CPUs support?

Installer gets stalled mounting failed with error 19.

Assumption its FreeBSD related because I've tried FreeBSD 13-14 same issue.

Similar to this one:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268770#c2

I'd try installing with a USB2 stick first, if that fails install on a different machine and move back the drive/rename interfaces.

Hi, thank for your reply.

I did, USB sticks and IPMI

Hi,

we are currently evaluating a Supermicro A3SPI-4C-LN6PF motherboard with OPNsense. Fails also with error 19, so I came across this message. Tried to install FreeBSD, similar issue "Mounting from ufs:/dev/ufs/FreeBSD_Install failed with errror 19."Also tried the FreeBSD 14.0 Current code. Tried USB 2.0 flash drives, IPMI ISO mount, DVD drives. Always the same error. Seems that the architecture is not supported yet. We already reported the problem to Supermicro.

Best regards,
Thomas

Sorry to resurrect a 5 month old thread, but the content I wanted to provide seemed worth the discomfort of bringing back an old thread:

I too had a A3SPI-8C-LN6PF based motherboard which didn't work with HBSD 14 or FreeBSD 14 several months back.

(It worked fine with many new Linux based systems at the time.)

SuperMicro has not yet updated this to show FreeBSD 14 seems to work on it, but this is what SuperMicro claimed was supported when the motherboards were made and no FreeBSD support listed at all:

https://www.supermicro.com/support/resources/OS/Parker_Ridge_Intel_Atom_C5000.cfm

However, I recently re-tested with Hardened BSD 14 (latest) and it worked for me.
I also included a full buildworld, buildkernel and install both with CPU arch optimizations in /etc/make.conf for the cpu. (The Atom CPU Type was tremont)

If Hardened BSD 14 (based on FreeBSD 14) works now with this motherboard, that implies FreeBSD 14 will probably work now for the same class of motherboards.

According to https://www.freebsd.org/releases/14.0R/schedule/ FreeBSD 14 release annoucement was planned for yesterday, but maybe isn't quite ready.

Issuing a "uname -K" on an OPNSense system which is still on 23.7.7_3 (not yet upgraded to 23.7.8_1) and I see:
1302001

This puts OPNSense squarely in the middle of some variation of FreeBSD or related version 13.x kernel.

According to https://opnsense.org/about/road-map/ , as of right now, the plans for OPNSense 24.1.x is January 2024, but it does not indicate a move to 14 will be included. OPNSense 23.7.x is reported earlier in the doc as being based on FreeBSD 13.2.

If OPNSense installer does not yet work on your motherboard, maybe wait until OPNSense is based on a *BSD version 14 installer or later.

Hopefully this will help you or others looking to get this class of motherboard to work with OPNSense.

Good luck!

A move to FreeBSD 14 would be really great, because we discovered that now with the FreeBSD 14-Release (released a couple of days ago) the Atom Board with C5315 from Supermicro works just fine (A3SPI-4C-LN6PF). The same board we tested with a earlier version of FreeBSD 14 didn't boot at all (as I already replied in this thread).
So we thought let's give it a try and rerun the test with the current FreeBSD 14 version, as the test was nearly half a year ago. And as mentioned above, absolutely fine and no issues until now.

So it would be amazing if OPNsense would upgrade to a FreeBSD 14 Kernel next year!

Cheers,
Thomas

Here for confirmation a excerpt of "dmesg -a":


---<<BOOT>>---
Copyright (c) 1992-2023 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 14.0-RELEASE #0 releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:57:23 UTC 2023
    root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
VT(efifb): resolution 1024x768
CPU: Intel Atom(R) C5315 processor (2400.00-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x80667  Family=0x6  Model=0x86  Stepping=7
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4ff8ebff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x101<LAHF,Prefetch>
  Structured Extended Features=0x2394b2c3<FSGSBASE,TSCADJ,FDPEXC,SMEP,ERMS,PQM,NFPUSG,PQE,RDSEED,SMAP,CLFLUSHOPT,CLWB,PROCTRACE,SHA>
  Structured Extended Features2=0x1a400124<UMIP,WAITPKG,GFNI,RDPID,CLDEMOTE,MOVDIRI,MOVDIR64B>
  Structured Extended Features3=0xfc000400<MD_CLEAR,IBPB,STIBP,L1DFL,ARCH_CAP,CORE_CAP,SSBD>
  XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  IA32_ARCH_CAPS=0x20c6b<RDCL_NO,IBRS_ALL,SKIP_L1DFL_VME,MDS_NO>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr
  TSC: P-state invariant, performance statistics
real memory  = 17179869184 (16384 MB)
avail memory = 16228294656 (15476 MB)
Event timer "LAPIC" quality 600

When you search for this error ("Mounting from ufs:/.../... fails with error 19.") the most proclaimed solutions are:

1. Use another USB-Port
2. Use another USB-Stick
3. Use another utility to flash the image on the stick