Questions tagged [kernel]

The core part of an operating system, responsible for managing resource allocation.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

how to solve High CPU usage after time machine recovery

I reinstalled mac and recovered my data using time machine , I mainly use my mac for music production and use Ableton as a DAW After some time using it i found out that the kernel_task is really high ...
0
votes
0answers
34 views

2017 Macbook Pro running on macOS Catalina (10.15.6) keeps repeating kernel panic (black screen) and the Apple Geniuses can’t figure out the problem

My 2017 MacBook Pro, running the latest version of macOS Catalina keeps crashing after a fresh install. The Apple Geniuses were not able to find the issue and hoping someone may attaching the kernel ...
0
votes
2answers
37 views

Can macOS's ramdisk be swapped to disk by the operating system?

I want to create a secret provisioning systems that on deployment decrypts secrets on the target machine and put them in RAM. They should be accessible as file so that services on the same machine can ...
0
votes
0answers
17 views

Why kernal_task kill the process?

My Mac became very slow and lagged (can't use it normally) I opened the activity monitor to check where's the issue but I could not reach to a good result because the kernel_task was the process which ...
0
votes
0answers
32 views

What are the limitations of Trusted Platform Modules?

Apple introduced DMCA measures (like DSMOS and CPUID Validation) instead of attempting to utilize a Trusted Platform Module (which was physically present on hardware but did not have drivers on Mac OS ...
1
vote
0answers
24 views

2017 MBP has started to degrade in performance - dreaded kernel_task

All - My normally stable mbp 2017 has started slowing down with kernel_thread dominating the CPU in recent weeks. This condition persists across reboots. My primary concern is that the machine is ...
3
votes
0answers
297 views

Undefined Kernel Panic on macOS 10.15.5

I encountered an undefined kernel panic on MacOs Catalina 10.5.5. When panic occurs, the screen goes black suddenly and tihs page appeared: After, Mac restarts itself. I got the panic logs: Log 1: ...
0
votes
1answer
719 views

Kernel Task is using 1000% of The CPU on macOS Catalina [duplicate]

My MacBook Pro running on macOS Catalina is really slow and the kernel task is using 1000% of the CPU !! I tried all the solutions suggested in MUF How to Fix Your Mac’s “kernel_task” High CPU Usage ...
1
vote
1answer
95 views

Where are the memory and kernel logs stored in macOS Catalina?

I want to learn how to debug kernel crashes and am not at all familiar with macOS logging. Specifically the logs files that might reveal a system crash for example due to kernel panics. Does Apple ...
0
votes
0answers
65 views

How to differenciate Legitime Kext in Catalina?

Since I have updated to MacOS Catalina 10.15.5 I was notified about the Kext 3rd-party deprecation (Even notifying me I have 2 3rd-Party Kext loading by default at the start-up of the Mac). Since this,...
0
votes
1answer
83 views

iMac restarted 4 times in 24 hours because of a problem

I have a 2017 iMac, 27", with a Fusion HD and it has restarted 4 times over the past 24 hours. I saved the last report. Can anyone discern even a hint as to what is causing it looking at this report?...
0
votes
4answers
44 views

Fans blaring again after a brief hardware fix

My 2017 MacBook Air began having a problem with a high kernel task and high CPU with fans blaring. I did a hardware test and it said there may be an issue with the SMC PFM006, there may be an issue ...
0
votes
0answers
267 views

Apple Diagnostic Result PFM006 and Kernel_Task taking upto 300 % of CPU and Depleted Battery

My Macbook Air (2018) Retina battery has depleted within 130 cycles. I was running Windows via Bootcamp in heavy load, letting it discharge fully and charge repeatedly. If I unplug from power source ...
1
vote
4answers
54 views

kernel_task, high CPU and fans going crazy, no applications open, no launch agents/daemons

i've tried to debug this for a couple days straight now and can't find out what's causing the kernel_task to go so unruly. i've removed nearly all my third party kexts, done so many etrepro's, and i'...
0
votes
1answer
32 views

What is kernel_task reading and writing?

On my machine, kernel_task has a very large number of reads and writes compared to my usage. I spend almost all my time online on google chrome. Over the past month, Activity Monitor shows ...
2
votes
1answer
735 views

FTDI USB to serial module doesn't work in Catalina [closed]

I can see FTDI module in system report But in arduino it doesn't show up I read that macOS comes with USBSerial.kext which can handle this but I don't see it working for me. I have tried installing ...
1
vote
1answer
88 views

How to change kernel security level?

My Mac had a kernel security level of 0. Then, I changed the kernel security level to 1. Here's how I changed it to 1: sysctl kern.securelevel=1 I'd like to change it back to 0 becuase my hosts file ...
0
votes
1answer
40 views

Does the bootcamp with Windows 10 use the same kernel that the MacOS uses on a Macbook Pro?

I am just wondering how the boot camp on the macbook pro works? Does it use the same exact kernel as the one that the MacOS uses? Or does bootcamp switch over to a kernel for the windows 10?
0
votes
0answers
44 views

What side to charge MacBook Pro 2018 with high kernel_cpu task usage?

This is in reference to the answer posted at How to find cause of high kernel_task cpu usage? which suggests that you should move your charging to the right side thunderbolt. However, based on the ...
0
votes
1answer
70 views

kernel_task on Macbook hogging CPU even after OS upgrades/downgrades; possible Flash malware?

On a Macbook Air (13-inch, Early 2015) my girlfriend got one of those "upgrade Flash" pop-ups and hit (Continue/Okay/etc?). This may or may not have anything to do with the current problem but ever ...
0
votes
1answer
32 views

Can I change my kernel security level?

When I run sysctl kern.securelevel on my Mac, it gives me a value of 0. I'd like to increase the kernel security level on my computer. I want it to give me a 1. Can I do that?
0
votes
0answers
98 views

Interpreting a recurring Kernel Panic

I am getting so many kernel panics and I can't find what is causing them – there is nothing to reproduce it, it just happens at seemingly random times. Is anyone able to decipher what this means to ...
2
votes
1answer
56 views

debug kernel_task large memory usage

htop shows kernel_task used 25% of the memory on 8GB memory Macbook Air. But the sum of the size column of kextstat is only 31830608. I think this number is in bytes? Why is there a difference in ...
1
vote
1answer
33 views

kernel_task takes a lot of memory

My kernel_task takes 71.2G VIRT and 2386M RES (in htop screen). I'd like to understand what takes so much resource. But I don't understand what is wrong based on the output of sudo zprint -t https://...
0
votes
1answer
1k views

BUG in system.log, DEPRECATED USE in libdispatch client. Strange things in system report [duplicate]

MacBook Pro 13" Mojave 10.14.6 2.3 Ghz 8 GB RAM 512 GB Memory intel I5 (4 cores) I believe I accidentally deleted an important file days ago. Since, the CPU has been riding high, unit is very warm ...
1
vote
0answers
34 views

Looking for the Kernel Debug Kit for build 18G2022?

I'm looking for the Kernel Debug Kit (KDK) for 10.14.6 build 18G2022. I see all the KDK's here, but 18G2022 hasn't been posted yet? https://developer.apple.com/download/more/?q=Kernel%20Debug%20Kit ...
1
vote
1answer
221 views

Is the source code for xnu-6153.60.66~39 available? (iOS 13.3 Kernel)

I cannot find xnu-6153.60.66~39 at https://opensource.apple.com/tarballs/xnu/ ! Does apple still open source the XNU Kernel?
2
votes
1answer
365 views

How to make a bootable partition from scratch?

What I want to achieve is to make a new bootable partition on my MacBook's SSD, so it should be possible to press Option key on startup and choose this partition to boot from. Why do I need that? I ...
1
vote
2answers
196 views

colorsync.display high cpu

PID 217, colorsync.display is pegged at 119% CPU, any ideas what this is or what might be causing it? EDIT: It is happening again EDIT EDIT (12/27/2019): Happening again with no cause known yet... ...
2
votes
1answer
235 views

sysctl setting net.inet.tcp.keepidle removed in 10.15. Is there a replacement setting?

My work requires long-running connections to databases that required this sysctl setting in earlier OSX versions. Since it no longer exists, these connections appear to remain open, but they ...
1
vote
1answer
41 views

Command to release the best amount of Kernel Task and Memory Ram

I have an old MacBook Pro 2012/2013 and it has the El Capitan Through the Utilities -> Activity Monitor tool I can get the following stats according the following behavior: For example if the Mac ...
2
votes
1answer
575 views

Run Rosetta on macOS Sierra

I'm wondering if there is any way to run Rosetta on macOS Sierra. In this post, someone mentioned that Rosetta may uses the Carbon framework, which appears to exist in up to macOS Sierra. Are there ...
53
votes
1answer
11k views

Why is macOS limited to 1064 or 2088 processes?

In macOS, the system is limited to running no more than 1064 processes (or 2088 starting with Catalina) systemwide, and individual users are limited to 709 (or 1392 in Catalina). Why is there a limit? ...
1
vote
1answer
38 views

Where can I find the official documentation of macOS Kernel Debugging?

I want to study kernel debugging on macOS, and hence have tried to find official documentation for macOS Kernel Debugging. Currently, I'm only able to find up-to-date or complete information on third-...
3
votes
1answer
466 views

Kernel Panic Help - 2013 Mac Pro (Trashcan)

Been getting this k-panic once a day for the past year or so... No rhyme or reason to it, but it happens at least once a day. System slows down just a little bit, not to an unusable point, however... ...
4
votes
1answer
112 views

Does the Catalina XNU kernel still recognize 32-bit binaries? Does 10.15's dyld?

I've seen lots of commentary repeating the end result "32-bit apps are no longer supported." But that leaves many unanswered technical questions. Does 10.15's XNU still recognize 32-bit binaries? ...
0
votes
0answers
36 views

How to set kernel state to unbounded (“unlimited”) value using sysctl?

I want to set kern.maxfiles kernel state to unbounded value using sysctl. However, the commands sysctl kern.maxfiles=unlimited yields an error (not an integer), while I'm not sure of the sematics of ...
1
vote
3answers
2k views

MacBook without battery kernel_task 100% CPU utilization

After removing the battery from a MacBook late 2009 following a battery fault, the computer always runs kernel_task at 100% CPU utilization. I assume the process ends up in some kind of spin lock when ...
365
votes
8answers
268k views

How to find cause of high kernel_task cpu usage?

Occasionally my machine will have a kernel_task instance max out the CPU: This can last from minutes to sometimes hours. The machine is effectively unusable in this state. Restarting doesn't help; a ...
3
votes
0answers
2k views

Device Console error: kernel compat_ifmu_ulist error 14

After looking through my Console log I noticed a strange error that seems to show up around 10 times a second or so. The error is coming from the kernel and shows up as one of the following 5 or so ...
9
votes
2answers
260 views

Does macOS still use Yarrow as it's cryptographically secure pseudorandom number generator?

I'm trying to understand if the XNU underpinnings of macOS (BSD) still use the Yarrow cryptographically secure pseudorandom number generator? I have looked through the source and it seems as if they ...
2
votes
2answers
431 views

How to limit kernel_tasks CPU usage?

I would like to limit kernel_task's CPU usage on my computer. I provided cooling for my MacBook Pro, cleaned out the internals, and tried resetting the SMC multiple times. I haven't tried re-...
2
votes
0answers
706 views

What is kernel_task writing and reading?

After moving from High-Sierra to Mojave I noticed my Mac (23", fusion-drive 3.4GHz) has become much slower. In particular, I noticed that just after the startup I have a significant amount of disk ...
1
vote
3answers
484 views

grep command is killed

I am running grep -o $string ~/giant_file where string="foo bar baz" This process keeps being killed after running for awhile and generating results, and I don't understand why. When it is killed, ...
1
vote
1answer
338 views

Why is Mac OSX temp. directory in weird path

Comparing to Linux systems OSX default temporary directory seems to be in a weird path. I want to know why that is, at least how is this organized. Here are my observations: My echo "$TMPDIR" ...
1
vote
1answer
2k views

How to remove all traces of a kext?

I am trying to fully remove a kernel extension which I installed by mistake, and I can't figure out how to remove it from the Disabled Software list. It appears in System Profiler and also in System ...
1
vote
1answer
245 views

What is the purpose of speculative memory?

Recently, I've found out that Darwin has speculative memory metric. But, I don't know what the purpose of speculative memory. The memory metric can be checked using vm_stat command on terminal. Mach ...
3
votes
1answer
164 views

Why do most processes run as children of launchd?

When did most processes run as a child of launchd instead of the kernel pid ?
0
votes
0answers
496 views

Kernel panics due to Parallels Desktop or Apple's own problem with graphics controller?

Twice this week my MacBook Pro Retina has suffered kernel panics for the first time after years of faithful service. This coincides with me upgrading and beginning to use Parallels 14.0.1, so I ...
5
votes
1answer
103 views

What is this security feature called?

What is this "System software from developers" security feature called and where can I find the technical details for how it works with applications (like AVG)? I believe this is a kernel extension, ...