Skip to content

Instantly share code, notes, and snippets.

View Vladdrako's full-sized avatar

Vladyslav Andreichykov Vladdrako

View GitHub Profile
root@RT-N14U:~# strace alsactl init
execve("/usr/sbin/alsactl", ["alsactl", "init"], 0x7f8b8344 /* 13 vars */) = 0
set_thread_area(0x77e4af0c) = 0
set_tid_address(0x77e427ac) = 7124
open("/etc/ld-musl-mipsel-sf.path", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libatopology.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libatopology.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libatopology.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_mode=S_IFREG|0755, st_size=112559, ...}) = 0
root@RT-N14U:~# strace alsactl init
execve("/usr/sbin/alsactl", ["alsactl", "init"], 0x7f866eb4 /* 13 vars */) = 0
set_thread_area(0x77e0cf0c) = 0
set_tid_address(0x77e047ac) = 3211
open("/etc/ld-musl-mipsel-sf.path", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libatopology.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libatopology.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libatopology.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_mode=S_IFREG|0755, st_size=112559, ...}) = 0
@Vladdrako
Vladdrako / broken
Created April 8, 2021 14:05
strace alsactl init
root@RT-N14U:~# strace alsactl init
execve("/usr/sbin/alsactl", ["alsactl", "init"], 0x7f866eb4 /* 13 vars */) = 0
set_thread_area(0x77e0cf0c) = 0
set_tid_address(0x77e047ac) = 3211
open("/etc/ld-musl-mipsel-sf.path", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libatopology.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libatopology.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libatopology.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_mode=S_IFREG|0755, st_size=112559, ...}) = 0
Vladdrako🇺🇦, [12.09.2023 10:40]
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x51af8014]
[ 0.000000] Linux version 5.15.131 (vladdrako@Vladdrako-PC) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.2.0 r25684-a06be59f0b) 13.2.0, GNU ld (GNU Binutils) 2.41) #0 SMP PREEMPT Tue Sep 12 04:18:26 2023
[ 0.000000] Machine model: Linksys MR7350
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000005fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
@Vladdrako
Vladdrako / gist:919b0e7c8197e3b4247e8cb4eb4dd649
Created September 15, 2023 13:21
Linksys MR7350 kernel 6.1 dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x51af8014]
[ 0.000000] Linux version 6.1.52 (vladdrako@Vladdrako-PC) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.2.0 r25684-a06be59f0b) 13.2.0, GNU ld (GNU Binutils) 2.41) #0 SMP PREEMPT Fri Sep 15 04:03:58 2023
[ 0.000000] Machine model: Linksys MR7350
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000005fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000040ffffff]
@Vladdrako
Vladdrako / gist:e04ae4efcd0a287ee88beb980f1c8a87
Last active April 6, 2025 10:02
MPV-Android on Andreno 610 Mesa Turnip Driver
logcat -s mpv '*:F'
--------- beginning of crash
01-02 05:22:25.973 530 530 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 530 (init), pid 530 (init)
01-02 05:22:25.988 530 530 F libc : crash_dump helper failed to exec, or was killed
--------- beginning of main
04-06 13:01:40.636 10375 10375 V mpv : Skipping copy of asset file (exists same size): subfont.ttf
04-06 13:01:40.641 10375 10375 V mpv : Skipping copy of asset file (exists same size): cacert.pem
04-06 13:01:40.725 10375 10375 V mpv : Resolving content URI: content://com.mixplorer.silver.file/525!/2/%5BBudLightSubs%5D%20Shoushimin%20Series%20-%2011%20%5B1080p%20AVC%20AAC%5D.mkv
04-06 13:01:40.734 10375 10375 V mpv : Found real file path: /storage/emulated/0/2/[BudLightSubs] Shoushimin Series - 11 [1080p AVC AAC].mkv
04-06 13:01:40.752 10375 10375 V mpv : Display 0 reports FPS of 60.000004
NAND read: device 0 offset 0x1480000, size 0x800000
8388608 bytes read: OK
## Loading kernel from FIT Image at 44000000 ...
Using 'config@1' configuration
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-6.6.87
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x440000e8
// SPDX-License-Identifier: GPL-2.0-or-later
/**
* NTFS kernel address space operations and page cache handling.
*
* Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc.
* Copyright (c) 2002 Richard Russon
* Copyright (c) 2025 LG Electronics Co., Ltd.
*/
#include <linux/writeback.h>
This file has been truncated, but you can view the full file.
From mboxrd@z Thu Jan 1 00:00:00 1970
Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 026D942056
for <[email protected]>; Mon, 20 Oct 2025 02:08:30 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1760926112; cv=none; b=Zr6NT6mpYP8+Q2mefjuQ4ejpqAyC/O8wZJ2zwJxi1HROCjz6Wy8WgfVD5PPJHMr8gSUNzk0rQWeQe9fqnTsNjs47uk6DyzGNR16B4zAR2QOQouN+ytDrOgMRjWH+OS5NdY7pi2bFjaxHQgW7yXzqlEA9AahFJAYsJXcjfWLPLYM=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
This file has been truncated, but you can view the full file.
From mboxrd@z Thu Jan 1 00:00:00 1970
Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 026D942056
for <[email protected]>; Mon, 20 Oct 2025 02:08:30 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1760926112; cv=none; b=Zr6NT6mpYP8+Q2mefjuQ4ejpqAyC/O8wZJ2zwJxi1HROCjz6Wy8WgfVD5PPJHMr8gSUNzk0rQWeQe9fqnTsNjs47uk6DyzGNR16B4zAR2QOQouN+ytDrOgMRjWH+OS5NdY7pi2bFjaxHQgW7yXzqlEA9AahFJAYsJXcjfWLPLYM=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;