Questions tagged [kernel]

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

Filter by
Sorted by
Tagged with
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
523 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
7k 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
411 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
7k 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 ...
10
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
1k 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
198 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
4k 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:...
3
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 ...
33
votes
3answers
57k 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
11k 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
636 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
4k 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?
3
votes
3answers
11k views

Kernel panics; Apple hardware test error codes… Bad memory?

My MacMini, which I bought new around Thanksgiving 2010 from Amazon, has been having quite a few kernel panics. They aren't consistent in any way, but they have become more frequent and now many apps ...
0
votes
1answer
991 views

Why isn't my MacBook running 64 bit mode? [duplicate]

Possible Duplicate: My mac has 64-bit EFI, but it only boots with 32-bit kernel Why isn't my MacBook running 64 bit mode? It's a mid-2010 model, "MacBook 7,1" , with a Core-2 Duo. why would it ...
2
votes
6answers
6k views

My mac has 64-bit EFI, but it only boots with 32-bit kernel

I followed the guide at http://macperformanceguide.com/SnowLeopard-64bit.html to boot into 64-bit mode. I had no problems with the instructions and on the boot screen it says "PAE enabled, 64bit mode ...
3
votes
3answers
1k views

Interesting Mac OS X error

Has anyone ever seen an error like the one pictured below on Mac OS X? What is it? The system is 10.6.6. I'm quite experienced in OS X but I've never seen such a thing. I was booting in verbose modem, ...
8
votes
2answers
12k views

File location of kernel extensions?

Is there an easy way to make the mapping from kernel extension to the file it came from? I can get the list of currently loaded kernel extension via kextstat. This gives me the bundle names, like com....
3
votes
4answers
4k views

How to know my kernel extensions are 64-bit ready?

Is there an easy way to tell whether all my kernel extensions will "survive" booting with a 64 bit kernel? I can of course try the "6-4 finger boot", but maybe there is a piece of hardware I use ...

1 2 3
4