From nobody Thu Jun 02 12:04:26 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EBA321B69A13 for ; Thu, 2 Jun 2022 12:04:43 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LDPp15LTGz4TDY for ; Thu, 2 Jun 2022 12:04:41 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-ot1-x32f.google.com with SMTP id t22-20020a0568301e3600b0060b333f7a1eso3276009otr.0 for ; Thu, 02 Jun 2022 05:04:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=message-id:date:mime-version:user-agent:content-language:to:from :subject:content-transfer-encoding; bh=oKgM/jjbr7+p4OxljSGtSfmFTNYRORiL9j9vA0+tgbk=; b=efVl3qjmu2bSzT9DYeoAjzrjwx4Udz75m0lwQWjjENqprfrUUm6nUANEx1CE3AFt4b nRR7bmhZE8r8eq74Kwq0t1RbofNiIfm/dJw19lYU3B/vvHVQFn8lbL0LPaFoh+ec/q3D TYM2iTCgQLmIy3CbHVp8q1eUXDqKDYLYQcJGA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:from:subject:content-transfer-encoding; bh=oKgM/jjbr7+p4OxljSGtSfmFTNYRORiL9j9vA0+tgbk=; b=8EA1YmXChZfCUsxm65CdaxuXGJyjMkEG5OLo+TOVgKgUL5zk0S9GwnDjppuRRJBEet YpyqZ0oFTWLfa4IABTJn1YHtAPrX75vwxf2m/PDA3Nt9aoQVQyWgalPbhFph1yNxSZcT sTGX000SViuQ8XXycXn5jViCyrlrsa2TgdrV7w7LvAO+9zLGp9URE8s9zlnsvrJSD8UI e1k17280aWBBQpEhj03RwBbwp/mCLwkoPoBc8F1gbwZKMe7qTJrQsKveNQ1X+mQ84FDk lV0PqLVmRTxmoWVJU7fwHwCr3l96NQ8VJXZ7Htjnhm89p2Nc/QTdN2xmt17k5Sy6cZpz +TyA== X-Gm-Message-State: AOAM532RLkcZ2CkPfOlo7uFSYrdK9dN1SYhkEJekSCEb70J+LgCACaAu iuU5sTFdiFBWpEvL3HfU5xL2BZ0dWao45g== X-Google-Smtp-Source: ABdhPJx7Un5tY5xaK+aHvTLnAWtaF+Y/7/C1KcAPthXS8TDegKP4tBo/2M4ooCJzaS/08AOmw+Ut2Q== X-Received: by 2002:a05:6830:1005:b0:60b:1844:cce2 with SMTP id a5-20020a056830100500b0060b1844cce2mr1780049otp.305.1654171480821; Thu, 02 Jun 2022 05:04:40 -0700 (PDT) Received: from [192.168.1.106] ([200.129.71.97]) by smtp.gmail.com with ESMTPSA id i3-20020a9d6503000000b0060afaae0e34sm2036096otl.0.2022.06.02.05.04.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Jun 2022 05:04:40 -0700 (PDT) Message-ID: <8fcbebf4-60c3-0ccb-259b-3324b123245c@bsd.com.br> Date: Thu, 2 Jun 2022 09:04:26 -0300 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Content-Language: en-US To: freebsd-arm@freebsd.org From: Otacilio Subject: Wrong number of CPUs detected on RPI3 and FreeBSD 13.1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4LDPp15LTGz4TDY X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsd.com.br header.s=capeta header.b=efVl3qjm; dmarc=none; spf=pass (mx1.freebsd.org: domain of otacilio.neto@bsd.com.br designates 2607:f8b0:4864:20::32f as permitted sender) smtp.mailfrom=otacilio.neto@bsd.com.br X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsd.com.br:s=capeta]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[bsd.com.br]; DKIM_TRACE(0.00)[bsd.com.br:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32f:from]; MLMMJ_DEST(0.00)[freebsd-arm]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Dears Yesterday I have finished a upgrade from source code of a FreeBSD 12.2 to FreeBSD 13.1 running on RPI3. After upgrade, this machine only one CPU is detected. RPI3 with problem [ota@azul ~]$ cat /var/run/dmesg.boot  | grep CPU Starting CPU 1 (1) Starting CPU 1 (2) Starting CPU 1 (3) FreeBSD/SMP: Multiprocessor System Detected: 1 CPUs cpulist0: on ofwbus0 cpu0: on cpulist0 bcm2835_cpufreq0: on cpu0 cpu1: on cpulist0 cpu2: on cpulist0 cpu3: on cpulist0 armv8crypto0: CPU lacks AES instructions CPU  0: ARM Cortex-A53 r0p4 affinity:  0 [ota@azul ~]$ uname -a FreeBSD azul 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC arm64 Another system running on a rpi4 the CPUs detected and initialized are ok: RPI4 running OK [ota@verde ~]$ cat /var/run/dmesg.boot  | grep CPU Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpulist0: on ofwbus0 cpu0: on cpulist0 bcm2835_cpufreq0: on cpu0 cpu1: on cpulist0 cpu2: on cpulist0 cpu3: on cpulist0 armv8crypto0: CPU lacks AES instructions CPU  0: ARM Cortex-A72 r0p3 affinity:  0 CPU  1: ARM Cortex-A72 r0p3 affinity:  1 CPU  2: ARM Cortex-A72 r0p3 affinity:  2 CPU  3: ARM Cortex-A72 r0p3 affinity:  3 [ota@verde ~]$ uname -a FreeBSD verde 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC arm64 Someone can give-me a hint about how to solve this? Thanks a lot