Skip to content

Instantly share code, notes, and snippets.

View listout's full-sized avatar

Brahmajit Das listout

View GitHub Profile
@listout
listout / tmpbuild.log
Created August 30, 2025 01:45
/tmp/build.log
This file has been truncated, but you can view the full file.
* Package: www-client/firefox-142.0.1:rapid
* Repository: gentoo
* Maintainer: mozilla@gentoo.org
* USE: X abi_x86_64 amd64 clang dbus elibc_glibc gmp-autoupdate gnome-shell hwaccel jack jumbo-build kernel_linux libproxy llvm_slot_20 openh264 pgo pulseaudio sndio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-png system-webp wayland wifi
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Checking for at least 14300 MiB disk space at "/var/tmp/portage/www-client/firefox-142.0.1/temp" ...
[ ok ]
* Checking whether Rust 9999 is suitable ...
* Checking for dev-lang/rust:9999 ...
* Checking for dev-lang/rust-bin:9999 ...
@listout
listout / .config
Last active July 3, 2025 00:33
arm64 dmesg and boot logs for patch btrfs: replace deprecated strcpy with strscpy
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 6.16.0-rc4 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="aarch64-unknown-linux-gnu-gcc (Gentoo 14.4.9999 p, commit 6daca622f1773923ccb770f7e8c4b24d53a7920f) 14.3.1 20250527 85f466ed0d4da336fadd01e43d764326cbabdecb"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=140301
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24400
@listout
listout / readme.md
Last active July 3, 2025 16:24
Kernel development setup with qemu and buildroot

Clone the kernel git repo

git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

Build a minimal kernel image

cd linux
make x86_64_defconfig
make kvm_guest.config
>> ./scripts/decode_stacktrace.sh vmlinux /home/bdas/linux < /home/bdas/linux/test.log
[ 87.540059][ T5424] FAULT_INJECTION: forcing a failure.
[ 87.540059][ T5424] name failslab, interval 1, probability 0, space 0, times 1
[ 87.575104][ T5424] CPU: 0 UID: 0 PID: 5424 Comm: syz-executor428 Not tainted 6.15.0-rc4-syzkaller-00051-g7a13c14ee59d #0 PREEMPT(full)
[ 87.575121][ T5424] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
[ 87.575127][ T5424] Call Trace:
[ 87.575132][ T5424] <TASK>
[ 87.575138][ T5424] dump_stack_lvl (lib/dump_stack.c:123)
[ 87.575257][ T5424] ? __pfx_dump_stack_lvl (lib/dump_stack.c:104)
[ 87.575272][ T5424] ? __pfx__printk (kernel/printk/printk.c:2470)
@listout
listout / Kconfig
Last active February 13, 2025 00:54
Kernel config for Thinkpad P15
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.14.0-rc1 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (Gentoo 14.2.1_p20241221 p7) 14.2.1 20241221"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=140201
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24400
@listout
listout / Kconfig
Last active April 21, 2025 08:34
Kernel config for Thinkpad E14
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.15.0-rc3 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (Gentoo 15.0.1_pre20250413 p54) 15.0.1 20250413 (experimental)"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=150001
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24400
@listout
listout / .clang-format
Last active July 8, 2024 11:39
ESP-IDF .clangd and .clang-format
AlignAfterOpenBracket: true
AlignConsecutiveAssignments: false
AlignOperands: true
AlignTrailingComments: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AlwaysBreakAfterReturnType: AllDefinitions
BinPackArguments: false
BinPackParameters: false
@listout
listout / log.txt
Created October 27, 2023 10:19
Output log
~/Documents/esp-prjs/spp_server 8s
>> idf.py flash monitor
Executing action: flash
Serial port /dev/ttyUSB0
Connecting.....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting....
Detecting chip type... ESP32
Running ninja in directory /home/bdas/Documents/esp-prjs/spp_server/build
Executing "ninja flash"...
@listout
listout / 4chin.css
Created April 10, 2023 19:28
My 4chan style sheet
:root {
--main-bg: #1a1b26;
--main-fg: #c0caf5;
--post-bg: #1a1b26;
--border: #24283b;
--second-bg: #161620;
--name: #7aa2f7;
--grey: #565f89;
--placeholder: #c0caf578;
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7000
load:0x40078000,len:15452
ho 0 tail 12 room 4
load:0x40080400,len:3840
0x40080400: _init at ??:?
entry 0x4008064c