Skip to content

Commit

Permalink
nix: disable KASAN
Browse files Browse the repository at this point in the history
KASAN causes kernel panic on 6.11 kernels. TODO: fill a kernel bug?

Fix a typo BTW
  • Loading branch information
kxxt committed Oct 27, 2024
1 parent 88f470c commit bf64d07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nix/kernel-source.nix
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ in
# Compile with headers
IKHEADERS = yes;

SLUB_DEBUG = yes;
DEBUG_MEMORY_INIT = yes;
KASAN = yes;
# SLUB_DEBUG = yes;
# DEBUG_MEMORY_INIT = yes;
# KASAN = yes;

# FRAME_WARN - warn at build time for stack frames larger tahn this.
# FRAME_WARN - warn at build time for stack frames larger than this.

MAGIC_SYSRQ = yes;

Expand Down

0 comments on commit bf64d07

Please sign in to comment.