Skip to content

Instantly share code, notes, and snippets.

View gulafaran's full-sized avatar

Tom Englund gulafaran

View GitHub Profile
scripts/config --enable CONFIG_EXPERT
scripts/config --disable CONFIG_SPECULATION_MITIGATIONS
scripts/config --disable CONFIG_X86_KERNEL_IBT
scripts/config --disable CONFIG_SLAB_FREELIST_HARDENED
scripts/config --disable CONFIG_LIST_HARDENED
scripts/config --disable CONFIG_INIT_ON_ALLOC_DEFAULT_ON
scripts/config --disable CONFIG_DEBUG_KERNEL
scripts/config --disable CONFIG_SECURITY
scripts/config --disable CONFIG_HARDENED_USERCOPY
scripts/config --disable CONFIG_STACKPROTECTOR
@gulafaran
gulafaran / trace
Last active January 30, 2024 08:23
[ 0.000000] Linux version 6.6.0-rc1-1-mainline-00120-g8eace5b35556 (linux-mainline@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.41.0) #1 SMP PREEMPT_DYNAMIC Tue, 30 Jan 2024 08:16:29 +0000
[ 0.000000] Command line: initrd=\amd-ucode.img initrd=\initramfs-linux-mainline.img root="LABEL=root" rw add_efi_memmap mitigations=off srso=off ibt=off nowatchdog split_lock_detect=off amdgpu.ppfeaturemask=0xffffffff audit=0 tsc=reliable clocksource=tsc amd_pstate=active clearcpuid=514 nokaslr nomodeset efi=debug
[ 0.000000] Clearing CPUID bits: umip
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009f000-0x00000000000bffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000099fffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000009a00000-0x0000000009dfffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000009e00000-0x0000000009efffff] usable
[ 0.000000] BI
[ 0.000000] Linux version 6.6.0-rc1-1-mainline-00120-g8eace5b35556 (linux-mainline@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.41.0) #1 SMP PREEMPT_DYNAMIC Tue, 30 Jan 2024 08:16:29 +0000
[ 0.000000] Command line: initrd=\amd-ucode.img initrd=\initramfs-linux-mainline.img root="LABEL=root" rw add_efi_memmap mitigations=off srso=off ibt=off nowatchdog split_lock_detect=off amdgpu.ppfeaturemask=0xffffffff audit=0 tsc=reliable clocksource=tsc amd_pstate=active clearcpuid=514 nokaslr nomodeset efi=debug
[ 0.000000] Clearing CPUID bits: umip
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009f000-0x00000000000bffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000099fffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000009a00000-0x0000000009dfffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000009e00000-0x0000000009efffff] usable
[ 0.000000] BI
[ 0.000000] Linux version 6.6.0-rc1-1-mainline-00119-g768171d7ebbc (linux-mainline@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.41.0) #1 SMP PREEMPT_DYNAMIC Mon, 29 Jan 2024 14:57:10 +0000
[ 0.000000] Command line: initrd=\amd-ucode.img initrd=\initramfs-linux-mainline.img root="LABEL=root" rw add_efi_memmap mitigations=off srso=off ibt=off nowatchdog split_lock_detect=off amdgpu.ppfeaturemask=0xffffffff audit=0 tsc=reliable clocksource=tsc amd_pstate=active clearcpuid=514 nokaslr nomodeset efi=debug
[ 0.000000] Clearing CPUID bits: umip
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009f000-0x00000000000bffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000099fffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000009a00000-0x0000000009dfffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000009e00000-0x0000000009efffff] usable
[ 0.000000] BI
jan 17 20:31:38 acer kernel: BUG: unable to handle page fault for address: ffffc90003fa3d28
jan 17 20:31:38 acer kernel: #PF: supervisor read access in kernel mode
jan 17 20:31:38 acer kernel: #PF: error_code(0x0000) - not-present page
jan 17 20:31:38 acer kernel: PGD 100000067 P4D 100000067 PUD 1001fb067 PMD 12e578067 PTE 0
jan 17 20:31:38 acer kernel: Oops: 0000 [#2] PREEMPT SMP
jan 17 20:31:38 acer kernel: CPU: 5 PID: 720 Comm: systemd-logind Tainted: P S D OE 6.7.0-273-tkg-eevdf-llvm #1 bcf25c3b99a9c5689b227d08a4169f2d44ac22c2
jan 17 20:31:38 acer kernel: Hardware name: Acer Nitro AN515-45/Scala_CAS, BIOS V1.11 07/11/2023
jan 17 20:31:38 acer kernel: RIP: 0010:_nv011868rm+0x3c/0x310 [nvidia]
jan 17 20:31:38 acer kernel: Code: 48 63 47 08 48 01 c2 48 8b 07 48 85 c0 75 1b e9 2b 02 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 8b 48 10 48 85 c9 74 17 48 89 c8 <48> 39 30 77 ef 0f 83 f9 01 00 00 4>
jan 17 20:31:38 acer kernel: RSP: 0018:ffffc900039674c0 EFLAGS: 00010086
[ 2.388251] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic allocations
[ 2.388274] swapper/0: page allocation failure: order:10, mode:0xcc1(GFP_KERNEL|GFP_DMA), nodemask=(null),cpuset=/,mems_allowed=0
[ 2.388279] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G S 6.7.0-273-tkg-eevdf-llvm #1 bcf25c3b99a9c5689b227d08a4169f2d44ac22c2
[ 2.388281] Hardware name: Acer Nitro AN515-45/Scala_CAS, BIOS V1.11 07/11/2023
[ 2.388282] Call Trace:
[ 2.388283] <TASK>
[ 2.388284] warn_alloc+0x213/0x2b0
[ 2.388287] ? psi_task_change+0xe8/0x100
[ 2.388290] __alloc_pages_slowpath+0x113f/0x1160
[ 2.388292] __alloc_pages_noprof+0x287/0x380
2.388251] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic allocations
[ 2.388274] swapper/0: page allocation failure: order:10, mode:0xcc1(GFP_KERNEL|GFP_DMA), nodemask=(null),cpuset=/,mems_allowed=0
[ 2.388279] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G S 6.7.0-273-tkg-eevdf-llvm #1 bcf25c3b99a9c5689b227d08a4169f2d44ac22c2
[ 2.388281] Hardware name: Acer Nitro AN515-45/Scala_CAS, BIOS V1.11 07/11/2023
[ 2.388282] Call Trace:
[ 2.388283] <TASK>
[ 2.388284] warn_alloc+0x213/0x2b0
[ 2.388287] ? psi_task_change+0xe8/0x100
[ 2.388290] __alloc_pages_slowpath+0x113f/0x1160
[ 2.388292] __alloc_pages_noprof+0x287/0x380
jan 17 20:31:38 acer kernel: BUG: unable to handle page fault for address: ffffc90003fa3d28
jan 17 20:31:38 acer kernel: #PF: supervisor read access in kernel mode
jan 17 20:31:38 acer kernel: #PF: error_code(0x0000) - not-present page
jan 17 20:31:38 acer kernel: PGD 100000067 P4D 100000067 PUD 1001fb067 PMD 12e578067 PTE 0
jan 17 20:31:38 acer kernel: Oops: 0000 [#2] PREEMPT SMP
jan 17 20:31:38 acer kernel: CPU: 5 PID: 720 Comm: systemd-logind Tainted: P S D OE 6.7.0-273-tkg-eevdf-llvm #1 bcf25c3b99a9c5689b227d08a4169f2d44ac22c2
jan 17 20:31:38 acer kernel: Hardware name: Acer Nitro AN515-45/Scala_CAS, BIOS V1.11 07/11/2023
jan 17 20:31:38 acer kernel: RIP: 0010:_nv011868rm+0x3c/0x310 [nvidia]
jan 17 20:31:38 acer kernel: Code: 48 63 47 08 48 01 c2 48 8b 07 48 85 c0 75 1b e9 2b 02 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 8b 48 10 48 85 c9 74 17 48 89 c8 <48> 39 30 77 ef 0f 83 f9 01 00 00 4>
jan 17 20:31:38 acer kernel: RSP: 0018:ffffc900039674c0 EFLAGS: 00010086
jan 13 10:08:20 acer kernel: swapper/0: page allocation failure: order:10, mode:0xcc1(GFP_KERNEL|GFP_DMA), nodemask=(null),cpuset=/,mems_allowed=0
jan 13 10:08:20 acer kernel: CPU: 0 PID: 1 Comm: swapper/0 Tainted: G S 6.7.0-273-tkg-eevdf-llvm #1 35c044a09bbe305fbfead3683a857f25b7a20576
jan 13 10:08:20 acer kernel: Hardware name: Acer Nitro AN515-45/Scala_CAS, BIOS V1.11 07/11/2023
jan 13 10:08:20 acer kernel: Call Trace:
jan 13 10:08:20 acer kernel: <TASK>
jan 13 10:08:20 acer kernel: warn_alloc+0x20b/0x2a0
jan 13 10:08:20 acer kernel: ? psi_task_change+0xe8/0x100
jan 13 10:08:20 acer kernel: __alloc_pages_slowpath+0x1123/0x1140
jan 13 10:08:20 acer kernel: __alloc_pages+0x287/0x380
jan 13 10:08:20 acer kernel: alloc_pages_mpol+0x123/0x1f0
export VK_LOADER_DRIVERS_SELECT="*radeon_icd*"
export DXVK_FILTER_DEVICE_NAME="AMD"
export VKD3D_FILTER_DEVICE_NAME="AMD"
export MESA_VK_DEVICE_SELECT="1002:1638"
export __GLX_VENDOR_LIBRARY_NAME="mesa"
export __EGL_VENDOR_LIBRARY_FILENAMES="/usr/share/glvnd/egl_vendor.d/50_mesa.json"
export __NV_PRIME_RENDER_OFFLOAD="0"
export __VK_LAYER_NV_optimus="non_NVIDIA_only"
export LIBVA_DRIVER_NAME="radeonsi"
export VDPAU_DRIVER="radeonsi"