Skip to content

docs: add fault injection scripts and docs - #438

Merged
Artanias merged 11 commits into
mainfrom
fault_injection_docs
Aug 16, 2026
Merged

docs: add fault injection scripts and docs#438
Artanias merged 11 commits into
mainfrom
fault_injection_docs

Conversation

@X1pster

@X1pster X1pster commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Запуск скрипта krf_vm.sh на Open Suse 15.6:

suser@localhost:~> ./krf_vm.sh 
[INFO]  Missing prerequisites: kernel headers
Looking for gpg keys in repository Update repository of openSUSE Backports.
...
(15/15) Installing: kernel-default-devel-6.4.0-150600.23.103.1.x86_64 ...................................................................................................................[done]
[INFO]  Cloning and building krf in /opt/krf...
Cloning into '/opt/krf'...
...
make: Leaving directory '/opt/krf/src/krfmesg'
[INFO]  Loading krfx.ko (force; built against non-running kernel headers)...
[INFO]  Configuring krf (syscalls='write', prob=1)...
[INFO]  Running 'dd if=/dev/urandom of=/dev/null bs=64K count=512' through krfexec...
exit_code=1
[ 1165.744074] faulting write with EINVAL
[ 1165.746524] faulting write with EINTR
[ 1165.746852] faulting write with EBADF
[ 1165.747516] faulting write with EINTR
[ 1165.747841] faulting write with EINVAL
[ 1165.748560] faulting write with EFAULT
[ 1165.750641] faulting write with EBADF
[ 1165.750905] faulting write with EFBIG
[INFO]  Done!
suser@localhost:~> dd if=/dev/urandom of=/dev/null bs=64K count=512 && echo $?
512+0 records in
512+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 0.334095 s, 100 MB/s
0

@X1pster
X1pster requested a review from Artanias August 11, 2026 14:42
@X1pster X1pster self-assigned this Aug 11, 2026
@X1pster
X1pster force-pushed the fault_injection_docs branch from f4cefc8 to a12bbae Compare August 11, 2026 15:16
@github-actions

Copy link
Copy Markdown

Coverage

@Artanias
Artanias merged commit f3ac219 into main Aug 16, 2026
1 check passed
@Artanias
Artanias deleted the fault_injection_docs branch August 16, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants