Skip to content

Raspberry Pi 2B fail to boot occasionally CPUx: failed to come online #253

@antoniosk

Description

@antoniosk

Kernel version:
Linux P1 5.4.83-v7+ #1379 SMP Mon Dec 14 13:08:57 GMT 2020 armv7l GNU/Linux

The first Pi runs the "lite" Raspbian Buster image and the second the "desktop and recommended software". Both Raspberries boot to the console and all the installed packages come from Raspbian repositories.

Since the last December however, both Pis occasionally fail to boot. The network does not come up and when I connect a monitor, the devices freeze to the login: prompt. When I unplug/plug the Pis, everything is back to normal.

While investigating this issue I found that on every unsuccessful boot a CPU core does not come up. The following is logged in kern.log:

On an unsuccessful boot:
Jan 18 21:42:08 PI kernel: [ 0.007635] smp: Bringing up secondary CPUs ...
Jan 18 21:42:08 PI kernel: [ 1.040987] CPU1: failed to come online
Jan 18 21:42:08 PI kernel: [ 1.042804] CPU2: update cpu_capacity 1024
Jan 18 21:42:08 PI kernel: [ 1.042816] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
Jan 18 21:42:08 PI kernel: [ 1.044511] CPU3: update cpu_capacity 1024
Jan 18 21:42:08 PI kernel: [ 1.044524] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
Jan 18 21:42:08 PI kernel: [ 1.044740] smp: Brought up 1 node, 3 CPUs
Jan 18 21:42:08 PI kernel: [ 1.044866] SMP: Total of 3 processors activated (115.20 BogoMIPS).

On a successful boot:
Jan 19 17:00:46 PI kernel: [ 0.007643] smp: Bringing up secondary CPUs ...
Jan 19 17:00:46 PI kernel: [ 0.009263] CPU1: update cpu_capacity 1024
Jan 19 17:00:46 PI kernel: [ 0.009276] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
Jan 19 17:00:46 PI kernel: [ 0.011320] CPU2: update cpu_capacity 1024
Jan 19 17:00:46 PI kernel: [ 0.011333] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
Jan 19 17:00:46 PI kernel: [ 0.012983] CPU3: update cpu_capacity 1024
Jan 19 17:00:46 PI kernel: [ 0.012995] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
Jan 19 17:00:46 PI kernel: [ 0.013205] smp: Brought up 1 node, 4 CPUs
Jan 19 17:00:46 PI kernel: [ 0.013333] SMP: Total of 4 processors activated (153.60 BogoMIPS).

I don't know if this issue is related to issue #232 "CPU1: failed to come online with 5.4.51-v7l+" but I had not such problems with kernel 5.4.51.

Thank you in advance and hope you are all well and safe!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions