Port-mips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Unifi USG-3P Cavium CN5020



On 07/12/2024 23:38, Joel wrote:
Hello -- realizing that 1) I have no use for my old Unifi USG-3P, 2) I
have never tried NetBSD on a MIPS device, I decided to give NetBSD-10 a
try on it.

Booting with NetBSD-10 RELEASE was pretty straightforward using the
octeon.img on a USB stick (replacing existing). Here's my bootcmd:
     bootcmd=fatload usb 0 $loadaddr netbsd;bootoctlinux root=dk1a

Cool.

But I noticed this in dmesg:
     [   1.0000000] cpu1 at cpunode0 core 1: disabled (uniprocessor kernel)

So I built a new kernel using OCTEON as the base and added:
     options     MULTIPROCESSOR

Now I see this in dmesg:
     [     1.000000] cpu1 at cpunode0 core 1 disabled (unresponsive)

Is there another option needed in the kernel config?
Is multiprocessor even supported on evbmips octeon?


I seem to remember you need to pass  coremask=0x3 (or similar) to
bootoctlinux for it to start the AP(s).

Last time I tried MP on my erlite2 it wasn't stable, but there have been
lots of changes since.

I have some candidate fixes you might like to try if you do have problems.

Ninck


Home | Main Index | Thread Index | Old Index