Skip to content

Instantly share code, notes, and snippets.

@thehajime
thehajime / a
Created September 2, 2026 02:23
TAP version 13
1..1
user_init_hybrid: init failed
kselftest: Running tests in mm/nommu
# selftests: mm/nommu: nommu_swmmu_test
Sequential nulls end at 00000000700ba000[11]
BUG at mt_validate_nulls:7040 (1)
maple_tree(000000007087c6c8) flags 307, height 1 root 00000000700ba00e
0-ffffffffffffffff: node 00000000700ba000 depth 0 type 1 parent 000000007087c6c9 contents: 0000000000000000 70CAFFFF 00000000714c2240 70CB9FFF 0000000000000000 711DFFFF 00000000714c2a80 711FFFFF 0000000000000000 713A3FFF 00000000715a3f00 713A5FFF 0000000000000000 71AA7FFF 00000000714c2300 71AACFFF 0000000000000000 722FFFFF 00000000714c2c00 723A2FFF 0000000000000000 FFFFFFFFF 0000000000000000 1000000FFF 0000000000000000 FFFFFFFFFFFFFFFF 0000000000000000 0 0000000000000000 0 000000000000000c
0-70caffff: 0000000000000000
This file has been truncated, but you can view the full file.
KTAP version 1
# Subtest: nommu-swmmu
# module: nommu_swmmu_kunit
1..44
ok 1 nommu_swmmu_increment_test
ok 2 nommu_swmmu_clone_test
ok 3 nommu_swmmu_attach_test
ok 4 nommu_swmmu_cross_page_test
ok 5 nommu_swmmu_translate_boundary_test
build-kselftest/kselftest/mm/nommu/nommu_swmmu_test: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: 50 push %rax
1001: 58 pop %rax
1002: c3 ret
diff --git a/arch/um/kernel/Makefile b/arch/um/kernel/Makefile
index b087b4278173..9aac5101af7e 100644
--- a/arch/um/kernel/Makefile
+++ b/arch/um/kernel/Makefile
@@ -31,6 +31,8 @@ obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
obj-$(CONFIG_STACKTRACE) += stacktrace.o
obj-$(CONFIG_SMP) += smp.o
+CFLAGS_process.o += -fomit-frame-pointer
+
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
`/home/tazaki/work/nabla-linux/linux-um-nommu/build/vmlinux' has changed; re-reading symbols.
Starting program: /home/tazaki/work/nabla-linux/linux-um-nommu/build/vmlinux eth0=tuntap,tap100,0e:fd:0:0:0:1,172.17.0.1 ubd0=./alpine.ext4 rw mem=1024m loglevel=8
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core dump limits :
soft - NONE
hard - NONE
(gdb) r
`/home/tazaki/work/nabla-linux/linux-um-nommu/build/vmlinux' has changed; re-reading symbols.
Starting program: /home/tazaki/work/nabla-linux/linux-um-nommu/build/vmlinux ubd0=./alpine.ext4 ro mem=256m
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core dump limits :
soft - NONE
hard - NONE
Checking that ptrace can change system call numbers...[Detaching after fork from child process 3367140]
OK
% LD_LIBRARY_PATH=../openssl LKL_HIJACK_CONFIG_FILE=./tools/lkl/lkl-hijack-ktls.json ./tools/lkl/bin/lkl-hijack.sh ../openssl/apps/openssl s_client -connect 8.8.8.8:443
LKL: Pin To CPU 0
[ 0.000000] Linux version 5.3.0+ (tazaki@zakzak3.iijlab.net) (gcc version 8.3.1 20190223 (Red Hat 8.3.1-2) (GCC)) #30 Fri Apr 30 17:01:24 JST 2021
[ 0.000000] memblock address range: 0x7fc8c4000000 - 0x7fc8c8000000
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160
[ 0.000000] Kernel command line: virtio_mmio.device=273@0x1000000:1
[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory available: 64504k/65536k RAM
@thehajime
thehajime / -
Created December 16, 2020 12:57
zakzak3:~/work/ukontainer/frankenlibc% RUMP_VERBOSE=1 ./rump/bin/rexec ./rumpobj/tests/fork-test rootfs:/home/tazaki/tmp/disk.img -- /bin/busybox_unstripped hush
setenv: __RUMP_FDINFO_ROOT=3
[ 0.000000] Linux version 4.19.0+ (tazaki@zakzak3.iijlab.net) (gcc version 8.3.1 20190223 (Red Hat 8.3.1-2) (GCC)) #1 Wed Dec 16 20:33:38 JST 2020
[ 0.000000] bootmem address range: 0x7f2a73850000 - 0x7f2a79c4f000
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 25249
[ 0.000000] Kernel command line: mem=100M virtio-pci.force_legacy=1 virtio_mmio.device=292@0x1000000:1
[ 0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.000000] Memory available: 100592k/102396k RAM
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
make: Entering directory '/home/ubuntu/project/tools/testing/selftests'
make --no-builtin-rules ARCH=x86 -C ../../.. headers_install
make[1]: Entering directory '/home/ubuntu/project'
WRAP arch/x86/include/generated/uapi/asm/bpf_perf_event.h
WRAP arch/x86/include/generated/uapi/asm/errno.h
WRAP arch/x86/include/generated/uapi/asm/fcntl.h
WRAP arch/x86/include/generated/uapi/asm/ioctl.h
WRAP arch/x86/include/generated/uapi/asm/ioctls.h
WRAP arch/x86/include/generated/uapi/asm/ipcbuf.h
WRAP arch/x86/include/generated/uapi/asm/param.h
diff --git a/runc.go b/runc.go
index 7281131..7f8d97f 100644
--- a/runc.go
+++ b/runc.go
@@ -32,7 +32,6 @@ import (
"time"
specs "github.com/opencontainers/runtime-spec/specs-go"
- "golang.org/x/sys/unix"
)