Questions tagged [kernel]

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

Filter by
Sorted by
Tagged with
8
votes
1answer
5k views

Why doesn't /proc exist in OS X?

What is the reason that /proc does not exist in OS X? I was curious to find file descriptors that a process was using in my Mac. The way I do it in linux is to go in /proc/fd folder of that process. ...
1
vote
0answers
750 views

IOStorageFamily / IOSCSIArchitectureModelFamily kext errors on Mavericks

Occasionally when I start up my Mid-2012 Macbook Pro, I see the following error messages a few moments after logging in: This happens about every second or third login. After seeing these error ...
27
votes
6answers
62k views

How to disable the SpeedStep when using MacBook Pro without a battery?

First of all, the specs: MacBook Pro (15-inch, Early 2011) OS X 10.9.1 (Mavericks) 2.3 GHz Intel Core i7 8 GB RAM The Problem Recently, my battery randomly died and I had to disconnect it, ...
11
votes
2answers
2k views

How to access /dev/mem in OSX?

How I can access /dev/mem (or /dev/kmem, /dev/pmap) equivalent device in OSX? As far as I know it was removed in some point. Can I create this node manually somehow or any other way of dumping the ...
3
votes
2answers
8k views

I'm suffering from the excessive CPU use from kernel_task

My mac recently has gone wild with kernel_task. It slows down the computer, the fans blow wildly for around ten minutes after startup (shut down, restart or sleep). I did an EtreCheck scan and got ...
1
vote
1answer
2k views

MacBook pro boot Kernel panic no kext summary

Yesterday my Mac crashed and after trying to turn it on again I recieved a message like this: panic(cpu 0 caller 0xffffff800667b0b2): "VM page 0xffffff800ad5fad0 should not have an error\n"@...
5
votes
1answer
1k views

Can OS X dump cores in the working directory instead of /cores?

I don't know when it started, but at some point, OS X started dumping cores into a special folder (/cores). This is a pain since they get jumbled together and it's hard to keep track of which core ...
21
votes
2answers
11k views

Insanely high kernel RAM usage (over 9GB) in Mavericks

I upgraded to Mavericks yesterday, and everything seemed to go fine, but today I noticed that my computer was becoming a bit slow. I checked Activity Monitor, and CPU / disk were at normal levels so I ...
3
votes
2answers
9k views

Upgrade to OSX 10.9 from 10.8 causes random restarts

I recently upgraded my MacBook Pro (late 2011, core i5 2.4ghz, 8 gigs of ram) to OSX 10.9 from 10.8 (which in turn I upgraded from Lion). The installation seemed to go well and everything was great ...
11
votes
2answers
4k views

Is integrated VRAM included under `kernel_task` RAM in Activity Monitor?

I was stunned to discover that Mac OS X kernel can consume 750MB of RAM. A few related questions: Is it a problem if kernel_task is routinely above 130MB on mid 2007 white MacBook? kernel_task using ...
1
vote
0answers
724 views

rEFInd Linux Kernel Boot Options

When booting opensuse via rEFInd, the kernel options are wrong (the root device name is incorrect). Where do the kernel arguments that rEFInd is using come from, and how do I modify them? The line I'...
2
votes
1answer
3k views

Latest OS X update causes Finder crash (SIGSEGV)

Does any one know how to fix an error like this? Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000102e50cf2 My Finder keeps crashing after updating my Mac ...
1
vote
1answer
3k views

Mountain Lion Screen Freeze

My Mountain Lion is keeps freezing from few weeks, today it freezes/crashed couple of times already. Here is the log before the big freeze (file /var/log/system.log): SIMBL Enabler for Sandboxed ...
9
votes
1answer
8k views

OS X's “free” or “/proc/meminfo” equivalent

OS X lacks the "Linux-friendly" free or /proc/meminfo. What would be the most reliable and backwards-compatible way of extracting this info: Current free memory, in bytes Going back as far as ...
1
vote
1answer
61 views

Does iOS have the capability to execute multiple apps in memory, and enable you to switch between them, restoring the previous state?

This is for buying purposes; i.e. does the kernel schedule the processes and threads belonging to every process, and do the apps save states that can be resumed at the user's discretion? Please fill ...
2
votes
0answers
77 views

Why after installing MacPorts the kernel_task RAM size raised x1.5?

I noticed that before installing MacPorts the kernel_task RAM usage was about 200-300 Mb. After installing that the process is using 482.5 Mb real RAM. What are the components (maybe .kexts, which ...
1
vote
1answer
2k views

Error message, “hpPlugInInit.kext was installed improperly”

I recently bought a MacBook Air and transferred my system information and user data via Migration Assistant. I used to get error messages on my old computer like this: The system extension “/System/...
2
votes
1answer
567 views

Error in logs: kernel[0]: Validation failed, dataSuffix

I've the following errors in my system logs when running Pages (or any iWork app): Aug 4 19:01:09 kernel[0]: Validation failed, dataSuffix: Aug 4 19:01:09 kernel[0]: b9 d5 6f e2 28 3e b9 48 82 12 ...
1
vote
0answers
383 views

Custom XNU Kernel

I have already submitted this question on StackOverflow but I figured that this may be a more appropriate location. I'm building a custom kernel for Mac OS (Mountain Lion, Darwin 2050.22.13). I can ...
3
votes
2answers
3k views

kernel_task is using 90% CPU, what could be the cause?

I have a 13" MBP late 2009, 2.53 GHz, 4 GB RAM, and on OS X 10.8.3. As soon as I boot up the fans start going at the highest rpm and like I mentioned the kernel_task is always at around 90% when no ...
1
vote
1answer
1k views

Freezing, disk i/o problems iMac

I have a desktop iMac with Snow Leopard installed on it. Every few minutes, I get freezing and "kernel disk0s2: I/O Error" in my console. I did some research, and found that my hard drive (a WD I ...
0
votes
1answer
179 views

Kernel Tasks Swamping processor-2012 13" Retina

Acquired a 13" Retina liquid damaged - Apple Certified Tech. Trying to salvage. Haven't disassembled yet to see the extent of the liquid but it boots and runs. No liquid spill indicators triggered. ...
3
votes
1answer
132 views

How do I read this Activity Monitor report?

I was trying to figure out why my Mountain Lion server was running slow, and I when I opened Activity Monitor this is what I saw: Question 1: how am I getting >400% of CPU on the summed CPU column, ...
4
votes
1answer
1k views

MacBook unusable due to kernel_task

I've disabled hibernation, and removed the sleep image file. I shutdown my Macbook Pro (15" retina), unticked the box to open windows on restart, and started my MacBook again. As soon as I'd logged on ...
3
votes
2answers
3k views

TrueCrypt fails with fusefs kext error

After upgrading to Mountain Lion, I can't mount any volumes with TrueCrypt 7.1a anymore. After typing in the password for the volume, an error message is shown, stating that the fusefs kext can't be ...
2
votes
1answer
3k views

Can one influence Mac OS X's / Darwin's filesystem caching behaviour?

I have the following problem: When I run processes that consume a lot of memory, Mac OS X seems to refuse to release a large portion of the filesystem cache: In fact, instead of letting go of the ~ ...
1
vote
1answer
1k views

What the heck is “npvhash=4095”?

I've been using Mac for 15 years, and I've had relatively few problems. Many years ago, I was using a MBP 17" which sometimes was completely freezing: the only way to wake it was to hard-reset it (...
0
votes
1answer
519 views

What is writing to Disk causing eventual Beach-ball-of-death

What is running my machine down? This is iotop output...I still can't tell what is driving my system to a halt. Command+i on the SSD shows my "used space" slowly changing. It does this for about an ...
6
votes
1answer
6k views

How do I increase “ulimit -u” (max user processes)?

I can change all of the usual ulimits via (for instance) ulimit -n 8192 and launchctl limit maxfiles 8192 8192. Somehow, this doesn't seem to work for -u, the maximum number of user processes: ~$ ...
0
votes
1answer
3k views

Why is `/etc/sysctl.conf` not determining my `kern.maxfiles` setting?

I've been having a persistent "too many open files in system" error on my machine (OSX 10.7.5). When I run sysctl kern.maxfiles and sysctl kern.maxfilesperproc, both output 2048. This article says ...
9
votes
2answers
12k views

Where can I download the Darwin 12.2.0 source code?

I'm wondering where I can download the source code of the kernel of Mac OS X Mountain Lion 10.8.2: Darwin 12.2.0. I googled it, but its hard to find. And yes, I tried http://www.opensource.apple.com.
1
vote
1answer
2k views

“Too many open files” - how can I set the ulimit -n value for emacs on Lion? [duplicate]

I've seen other questions covering the topic of how to set the file limit on Leopard/Lion. For example: How to properly increase ulimit -n on Lion? Too Many Open Files But after reading ...
0
votes
1answer
406 views

What bitness is Mountain Lion kernel, because `uname -p` returns `i386`?

I know, the answer should be 64, as Apple dropped support even for their early 64 bit models BUT: Nathan-der-Graue:~ max$ uname -p i386 while on the other hand: Could someone please explain this to ...
9
votes
1answer
6k views

How to unload kernel modules

When I run kextstat, it gives me a list of the currently loaded kernel modules. How to I go about using the information gathered from this command to unload a kernel module?
0
votes
1answer
8k views

Errors on kernel.log… how do I fix them?

My mac is apparently working fine, no crashes of any kind, but my kernel.log is full of errors and that is worrying me, as I never saw it with messages like that. This is a sample of today, since I ...
8
votes
2answers
4k views

What's the maximum pid for Mac OS X?

The Mac OS X Internals book states that the maximum process identifier is 30,000 and after that the kernel will start re-using pids. But checking on my own system, via: ps a | grep ps | grep -v grep ...
4
votes
1answer
902 views

How to debug “too many open files”?

I have a program that quits after a time with "too many open files". How can I trace which files are opened and closed? I know I can set this limit a higher value, but that would only defer the ...
0
votes
1answer
197 views

Disadvantages of 32 bit mode

I have a Cisco VPN client in OSX 10.6.8, which runs only in 32 bit mode. Are there any serious disadvantages of switching to 32 bit mode permanently?
4
votes
1answer
3k views

Keep getting this kernel panic

I keep getting this kernel panic once a week and a half roughly. It freezes the computer (2010ish 17" MBP), showing this error: And giving this error dump on reboot: Interval Since Last Panic Report:...
2
votes
2answers
1k views

Mach Kernel vs. XNU

When I ran $ls on my root directory a file /mach_kernel was found. I'm assuming this is the OSX kernel. I always thought that OSX used the XNU hybrid kernel, so why is this file called "MACH"? I'm ...
30
votes
3answers
56k views

What exactly does kernel_task do?

I'd just like to know what it is that kernel_task is responsible for. Also, what's an acceptable maximum RAM and CPU use for it?
2
votes
2answers
1k views

Serious system issue - kernel extensions installed improperly

I have just gotten an error message for every single kext file there is. the error message goes something along the lines of: The system extension "*file path*" was installed improperly and cannot be ...
2
votes
2answers
2k views

64 bit support with a 32 bit kernel in OS X Snow Leopard

I know that many apple laptops such as my Macbook 6,1 run a 32 bit kernel in OS X Snow Leopard. The kernel according to Apple can also run or "support" 64 bit applications. My question is how does the ...
19
votes
4answers
10k views

Which command controls the open file limits?

Which command / configuration file controls the open file limits on OS X? Is there a different command for OS X 10.5 / 10.6 / 10.7? The options I explore below are ulimit, sysctl, and launchctl "...
8
votes
3answers
7k views

How to properly increase a `ulimit -n` limits?

I'm trying to download the X-Plane 10 Demo through uTorrent, however I get a "too many open files" error all the time. I can do the alternate download (which takes forever and a day), but I wonder how ...
3
votes
2answers
573 views

Is it possible to specify a different root device to a MacOS kernel?

I have an old iBook (2003, G4) with a burnt-out harddrive. Being a poor academic, I don't want to bother with replacing the drive. I'd like to use an external USB drive in place of the harddrive. I ...
6
votes
3answers
1k views

How to get a mac to wait longer for external disk to wake up upon resuming from sleep?

My Mac has an external disk attached, and I often get "disk not ejected properly" warnings after resuming the computer from sleep. These warnings appear only when the disk has spun down during the ...
2
votes
2answers
3k views

How can I stop fseventsd for certain volumes?

I also have a partion with Ubuntu installed. Unfortunately, every time I have an error while working on the Ubuntu partion (I believe it's ext3), I get a Kernel Panic and I have to restart. I believe ...
0
votes
1answer
1k views

Is it possible to switch from Safe Mode to Normal and back without a reboot?

Since 10.6.3, Apple has decided change the AppleIntelCPUManagement kexts, which leave me stuck with a kernel_task that pegs out at 135-185%, generating a lot of heat. Anyway, since I doubt anyone has ...
4
votes
3answers
2k views

I see thousands of these in my Console log

8/5/11 5:21:37 PM kernel FireWire GUID ffffffffffffffff is invalid! I have a Macbook Pro Core 2 Duo running Snow Leopard. Any suggestions?