Opened 6 years ago

Last modified 3 years ago

#15100 new bug

Disabling some CPUs on a multicore machine sometime freeze the system

Reported by: oco Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #16215
Platform: All

Description

While investigating this bug https://dev.haiku-os.org/ticket/14802 on real hardware, i have tried to reduce the number of active CPUs to reproduce the problem using ProcessController's Deskbar menu. And sometime, it freeze the system. This could happen on 64 bits but also on 32 bits version of Haiku.

Not critical for a normal use, but users will probably play with this option anyway.

Change History (5)

comment:1 by pulkomandy, 6 years ago

Did you disable all CPUs? We don't allow this in Pulse but I'm not sure if we added the check to ProcessController as well.

comment:2 by oco, 6 years ago

No, the goal was to keep only one active CPU to reproduce the test case

comment:3 by waddlesplash, 5 years ago

Blocking: 16215 added

comment:4 by waddlesplash, 3 years ago

This is still reproducible. I managed to drop into KDL and found the freeze is due to the kernel address space being deadlocked, which was because one thread was stuck inside smp_send_broadcast_ici. I guess the disabled CPU was sent an ICI and then it of course never replied.

comment:5 by waddlesplash, 3 years ago

Component: Applications/ProcessControllerSystem/Kernel
Summary: [ProcessController] Disabling some CPUs on a multicore machine sometime freeze the systemDisabling some CPUs on a multicore machine sometime freeze the system
Note: See TracTickets for help on using tickets.