Questions tagged [kernel]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
40 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 ...
2
votes
4answers
101 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 ...
0
votes
0answers
19 views

Generating NMI (non-maskable interrupt) in Mac VM running on VMware Fusion

I'm trying to (kernel-)debug my Mac 10.14.5 VM running on VMWare Fusion (v11.0.2) on my Mac 10.13.6 host. I'm following documentation/blogs in [1], [2]. I am trying to generate an NMI (non-maskable ...
0
votes
0answers
25 views

iMac: How to disable display via terminal. Kernel_task issue CPU 70%

I have a Late 2015 iMac running macOS Mojave. I am looking to disable the main display and use an external display as the primary/default display. I am looking for a command-line that can do that. I ...
0
votes
0answers
149 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 ...
8
votes
0answers
94 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
125 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-...
1
vote
0answers
180 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
85 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
116 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
330 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 ...
0
votes
1answer
81 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
106 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
239 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
81 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, ...
1
vote
0answers
36 views

Dtrace working but no kernel data can be output?

I have for a long time run as sip -without dtrace to use dtrace and this is fine but a few apps I want to read data from seen to run in kernel mode (Little Snitch has several components for instance). ...
0
votes
1answer
57 views

Problem with kernel_task

It's about 3 days that I can't do anything with my macbook air because the kernel_task is eating up the CPU. So I found this but the command csrutil disable/enable doesn't work on the terminal (El ...
5
votes
0answers
188 views

Fake ethernet interfaces (feth / if_fake)? Anyone ever seen this?

I've been digging into Darwin source to try to find some way to create virtual Ethernet interfaces on Mac/Darwin without adding a kernel extension like tuntaposx. In doing so I've found something ...
3
votes
2answers
467 views

Where can I find Mojave Kernel Headers?

I'm trying to get a hold of the Kernel Headers for 10.14 Mojave, but even though the Beta version (even two actually) was already released, XNU's repository (both here and here) is still only up-to-...
1
vote
1answer
27 views

`dtrace_deadman_timeout` modification for dtrace scripts such as dtruss?

When running some intensive debugging that needs to run on the order of about 5 minutes, I'm finding that dtrace's deadman switch is being triggered regularly and cannot get to the error that is being ...
0
votes
1answer
393 views

Macbook pro touch bar spoiled with kernel panics [duplicate]

After dropping my macbook pro, my touch bar has stopped working and I am getting frequent kernel panics Does anyone have any idea how to solve this or which part of the macbook is faulty? Thank you!...
3
votes
0answers
597 views

kernel_task writes huge amounts of data to disk (> 1TB) - how to diagnose?

My MacBook (2016 with TouchBar) running macOS 10.13 has a 512GB SSD. Looking at the activity monitor after a couple of weeks of uptime (most of it spent in standby), kernel_task shows 1.43TB (!) of ...
1
vote
0answers
75 views

Kernel_Task using too much RAM [duplicate]

ever since updating my mac to high sierra my kernel_task has been using way too much RAM up to 1gb (i have 4 gb of RAM). Any solutions on how to resolve this?
1
vote
1answer
3k views

Free up unused memory from kernel_task

I am a web developer, and sometimes I encounter software bugs that has runaway threads or used up available memory in a browser process. Terminating the offending Chrome process will free up the ...
2
votes
1answer
2k views

How to view the kernel on MacOS?

How to view the kernel on MacOS? I am learning Linux command line by William Shotts, The Kernal directory can been accessed by : ls /bin # Contain Linux kernal, inital RAM disk image How to view ...
1
vote
0answers
266 views

Kernel Panic Once A Week

I get the exact same kernel panic on my iMac 5K Late 2014 Edition pretty much once a week. Does anyone know what is causing it? Anonymous UUID: F36129E9-69E1-B321-06F7-0519199C40B7 Tue Mar 6 ...
0
votes
1answer
36 views

Kernel Error screen

I have an older Macbook Pro which I haven't used much lately since purchasing a new Macbook Pro. The older one was near capacity and would get very hot. I could still turn it on and look for things ...
1
vote
3answers
1k views

High Sierra: WindowManager and kernel_task - Now you see it, now you don't!

I have long had issues with both Window Manager and kernel_task taking up seemingly inordinate amounts of resources on my systems going back in the OS release cycle for as long as I can remember, but ...
3
votes
2answers
841 views

High Sierra restored from ISO to USB drive stops at the stop sign

I've restored macOS High Sierra ISO file (downloaded from Torrent) to pendrive (16GB SanDisk's Cruzer Dial) using Disk Utility, however when booting from it (by pressing Alt and selecting the drive), ...
2
votes
0answers
83 views

That Kernel Process Bloat

This is probably a question best suited for Apple Support Forums, but after asking variants of this question there to no avail, I will try here instead. I have a 2012/2013 2.3 GHz i7 Mac Mini w/ 16 ...
1
vote
2answers
281 views

A question about installing kernels (related to running Hydrogen with Atom)

I have a really basic question, but the more I read, the more confused I get: How do I install pip so I can install kernels? This question came about when I tried to install the Hydrogen package to ...
4
votes
5answers
8k views

macOS Sierra, kernel_task running taking more than 400% of CPU

After upgrading my MacBookPro to macOS Sierra, CPU is running very fast. When I tried to debug the issue, here is what I have found. Solutions that I have already tried. Reset SMC Reset PRAM Tried ...
17
votes
3answers
9k views

What does it mean for consumers that Apple has released MacOS kernel as open source?

https://techcrunch.com/2017/10/01/apple-open-sourced-the-kernel-of-ios-and-macos-for-arm-processors/ Does this mean we'll see other Computers (which are not Apple built) run the MacOS? If not, then ...
6
votes
3answers
8k views

Where to see kernel startup messages after boot?

I set my kernel to boot up verbose using sudo nvram boot-args="-v" These logs are what I wanted to see, but how can I view the log after booting? I searched all log files without success.
9
votes
1answer
12k views

Sleep Wake Failures because of watchdog on 10.13 (supplemental update)

I have experienced this twice in the last 48 hours, both occurring around the same time. Are the times correlated or coincidence? Can anyone shed some light on this for me? Relevant lines from system....
3
votes
1answer
2k views

Is it safe to quit kernel_task?

I recently quit kernel_task because it was taking a lot of cpu time, when I was about to force quit it it says you will be logged out but I did not care but then after I force quit it I thought does ...
2
votes
1answer
119 views

Difference Between macOS Locking and a Kernel Panic

Why is it that macOS Sierra, when something goes awry, sometimes has a kernel panic, but other times just freezes completely (can't move mouse, use keyboard, etc.)? Is one worse than the other? ...
1
vote
1answer
94 views

How to ignore particular USB device given a vid and pid?

I'm running Sierra v10.12.5. I'm trying to flash an stm32f100 chip using openocd. As per the documentation: For info the original ST-LINK enumerates using the mass storage usb class; however, its ...
1
vote
1answer
65 views

Installed PC 16gb Ram into Macbook Pro (15-inch, Early 2011) - Errors happening

I installed PC Ram into my Early 2011 15 inch Macbook Pro (Ver. Sierra 10.12.4). It works great but occasionally restarts without any warning and sometimes, when I turn it on, this code appears. It is ...
1
vote
1answer
1k views

Mac Mini - New SSD - Randomly restarting

I've had my 2011 Mac Mini for a while. About a year ago the internal HDD decided to give up. Oh well. I just now finally got around to being able to replace the hard drive. I decided to go with an ...
46
votes
3answers
13k views

AppleCare engineer says Macs need weekly reboots b/c “kernel expires”. What's that mean?

I'm running MacOS Sierra on a mid-2014 MacBook Pro. About once/week, Safari’s CPU usage becomes very high, and it becomes very laggy. In the last instance I had just six windows open, none of which ...
1
vote
0answers
819 views

kernel_task CPU usage with SIP on a MacBookPro8,2 with no battery

Is there any evidence or technical documentation to support the notion that System Integrity Protection can cause excessive use of the CPU by kernel_task in some situation? Background No battery. ...
0
votes
1answer
49 views

Get everything back on OSX

I really need your help. I've tried to improve my graphic card with the help of this Video https://www.youtube.com/watch?v=l5EKzHq4pAk&t=117s cd /S*/L*/Ext*/AppleIntelSNBGraphicsFB.kext/C*/M* ...
4
votes
1answer
3k views

kernel_task Virtual Memory Size too high

I'm using MacBook Pro ("Core i7" 2.5 15" Mid-2015 (DG) 2.5 GHz Core i7 (I7-4870HQ) 16GB RAM) with MacOS Sierra 10.12.4 on it. After connecting a new LG 34UC98 Monitor I faced some heat problems and ...
1
vote
1answer
878 views

iOS: Where is /proc/?

Where is /proc/ in iOS? Or rather, why is it absent from the root directory structure? It's typically a crucial interface to the kernel of any UNIX-like operating system; what else is in place to ...
2
votes
0answers
346 views

Kernel Extension Not Loaded

I built a self-made kernel extension (named KAuthTest.kext) and would like to test it out. So in a VM running macOS 10.12.3, I did the followings: disable SIP by running csrutil disable in recovery ...
3
votes
1answer
972 views

Macbook pro wont boot, Kernel cache read error 0x6

I have recently installed macOS Sierra and sometimes my Macbook pro mid-2012 boots up properly (rarely). Otherwise it does not boot. When I try to boot it with cmd+v , it shows following text: Read ...
3
votes
2answers
2k views

Why kernel log is empty?

My macOS 10.12.3 crashed while suspended and I want to look in the log files to determine where the problem comes from. I opened System Information and in the Logs I found a Kernel log entry linked ...
1
vote
1answer
35 views

Forcefully disconnect GPS unit from kernel

Google chrome keeps giving out my location to websites. Disabling Location Services does not help. I may have to physically disconnect the GPS unit, but before I void AppleCare I would like to attempt ...
3
votes
0answers
42 views

How to isolate sys / kernel vars that may cause odd problems and “no mountable file systems” on a high memory system?

How would one ascertain what the bottleneck is on a system with high memory (128 GB RAM) and starts getting peculiar errors when there's only 10-20 GB remaining free? I'm getting various odd issues ...