Skip to content

Instantly share code, notes, and snippets.

View maffblaster's full-sized avatar
🍕
Pizza is delicious!

Matthew Marchese maffblaster

🍕
Pizza is delicious!
View GitHub Profile
@maffblaster
maffblaster / .config
Last active November 1, 2020 20:23
maffbook (mark 4) Linux kernel configuration
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.9.0-gentoo Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="x86_64-pc-linux-gnu-gcc (Gentoo 10.2.0-r2 p3) 10.2.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=100200
CONFIG_LD_VERSION=235010000
CONFIG_CLANG_VERSION=0
CONFIG_CC_CAN_LINK=y
time iperf3 -c 192.168.0.18 -n 1000M
Connecting to host 192.168.0.18, port 5201
[ 5] local 192.168.0.73 port 33342 connected to 192.168.0.18 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 114 MBytes 952 Mbits/sec 0 356 KBytes
[ 5] 1.00-2.00 sec 113 MBytes 948 Mbits/sec 0 373 KBytes
[ 5] 2.00-3.00 sec 112 MBytes 938 Mbits/sec 0 373 KBytes
[ 5] 3.00-4.00 sec 112 MBytes 942 Mbits/sec 0 373 KBytes
[ 5] 4.00-5.00 sec 113 MBytes 944 Mbits/sec 0 373 KBytes
[ 5] 5.00-6.00 sec 112 MBytes 939 Mbits/sec 0 464 KBytes
@maffblaster
maffblaster / kernel-config-x86_64-4.10.10-gentoo
Last active May 24, 2019 13:50
Gentoo Linux v4.4.10 OpenRC and systemd kernel configuration for a Lenovo Thinkpad T420.
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.10.10-gentoo Kernel Configuration
#
#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
@maffblaster
maffblaster / howto
Created January 11, 2017 07:15 — forked from likewhoa/howto
code that generates a UEFI capable ISO for Gentoo Linux
$ cat mkefiboot
#!/bin/bash
macbootimg() {
python /usr/lib/python3.3/site-packages/livedvd/mkefiboot -a -l "Gentoo Linux" -i gentoo.icns -p "Gentoo Linux" efi/boot macboot.img
}
efiimg() {
local mountdir
mountdir=$(mktemp -d)
@maffblaster
maffblaster / emerge
Last active December 24, 2017 08:47
Emerge @world failure, sysvinit wants pulled in on a systemd profile
maff@maffbook ~ $ sudo emerge -uNDva --tree --verbose-conflicts --with-bdeps=y --backtrack=2000 --keep-going=y --unordered @world
[nomerge ] gnome-extra/gnome-tweak-tool-3.24.1 PYTHON_TARGETS="python2_7"
[nomerge ] gnome-base/gnome-desktop-3.24.2 USE="introspection udev -debug {-test}"
[nomerge ] app-text/docbook-xml-dtd-4.1.2-r6
[nomerge ] app-text/build-docbook-catalog-1.21
[ebuild R ] sys-apps/util-linux-2.31-r1 USE="caps cramfs ncurses nls pam readline suid systemd udev unicode -build -fdformat -kill -python* (-selinux) -slang -static-libs {-test} -tty-helpers" ABI_X86="32 (64) (-x32)" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 -python3_6" PYTHON_TARGETS="python2_7 python3_4 python3_5 -python3_6"
[nomerge ] sys-apps/systemd-236-r1 USE="acl gcrypt kmod lz4 pam policykit seccomp ssl sysv-utils -apparmor -audit -build -cryptsetup -curl -elfutils -gnuefi -http -idn -importd -libidn2 -lzma -nat -qrcode (-selinux) {-test} -usrmerge -vanilla -xkb" A
@maffblaster
maffblaster / dmesg
Created December 3, 2017 20:43
dmesg output showing segfaults on Ryzen 1700. CFLAGS="-mtune=generic -O2 -pipe"
[ 412.084615] ebuild.sh[16589]: segfault at 4 ip 0000000000406324 sp 00007fffa9a7a110 error 4 in bash[400000+b5000]
[ 7571.687915] cc1plus[2564]: segfault at 2 ip 000000000124afb7 sp 00007ffd93ba0980 error 4 in cc1plus[400000+167a000]
[36519.596804] Chrome_~dThread[4019]: segfault at 0 ip 00007fd6d046da33 sp 00007fd6cd8c8b00 error 6 in libxul.so[7fd6cff5a000+4e27000]
[36519.596937] Chrome_~dThread[32049]: segfault at 0 ip 00007f1456b2b6ee sp 00007f14541c6a90 error 6 in libxul.so (deleted)[7f1456631000+4e4f000]
[36519.618418] Chrome_~dThread[4283]: segfault at 0 ip 00007fd00fa2b6ee sp 00007fd00d0c6ac0 error 6
[36519.618423] Chrome_~dThread[14319]: segfault at 0 ip 00007fbe6722b6ee sp 00007fbe648c6ac0 error 6
[36519.618424] in libxul.so (deleted)[7fd00f531000+4e4f000] in libxul.so (deleted)[7fbe66d31000+4e4f000]
[36519.618587] Chrome_~dThread[5386]: segfault at 0 ip 00007fd03302b6ee sp 00007fd0306c6ac0 error 6 in libxul.so (deleted)[7fd032b31000+4e4f000]
CPU-Z TXT Report
-------------------------------------------------------------------------
Binaries
-------------------------------------------------------------------------
CPU-Z version 1.81.1.x64
Processors
-------------------------------------------------------------------------
@maffblaster
maffblaster / kernel-config-x86_64-4.12.0-rc3+
Created June 4, 2017 21:54
Gentoo Linux v4.12.0-r3+ kernel configuration for a Ryzen CPU
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.12.0-rc3 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
@maffblaster
maffblaster / keybase.md
Last active May 12, 2017 02:09
keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@maffblaster
maffblaster / kernel-config-x86_64-4.9.6-gentoo
Created February 5, 2017 01:57
kernel-config-x86_64-4.9.6-gentoo
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.9.6-gentoo Kernel Configuration
#
#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y