Skip to content

Instantly share code, notes, and snippets.

View derpsteb's full-sized avatar

Otto Bittner derpsteb

View GitHub Profile
This file has been truncated, but you can view the full file.
I0125 08:00:52.946642 2195 main.go:189] ***************************
I0125 08:00:52.946703 2195 main.go:190] Args: [runsc-sandbox --root=/var/run/docker/runtime-runc/moby --debug-log=/home/guest/runsc/ --strace=true --nvproxy-docker=true --nvproxy=true --debug=true --log=/run/containerd/io.containerd.runtime.v2.task/moby/088ea9554844547826656ca27314220339a42f4544be4ee4031af3b83a69f2e3/log.json --log-format=json --systemd-cgroup=true --log-fd=3 --debug-log-fd=4 boot --bundle=/run/containerd/io.containerd.runtime.v2.task/moby/088ea9554844547826656ca27314220339a42f4544be4ee4031af3b83a69f2e3 --gofer-mount-confs=lisafs:self,lisafs:none,lisafs:none,lisafs:none,lisafs:none --nvidia-driver-version=535.104.05 --apply-caps=true --setup-root --io-fds=5 --io-fds=6 --io-fds=7 --io-fds=8 --io-fds=9 --dev-io-fd=10 --gofer-filestore-fds=11 --mounts-fd=12 --start-sync-fd=13 --controller-fd=14 --spec-fd=15 --total-host-memory 15736406016 --cpu-num 8 --total-memory 15736406016 --stdio-fds=16 --stdio-fds=17 --stdio-fds=18 0
[ 0.000000] Linux version 6.2.0-39-generic (buildd@lcy02-amd64-045) (x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 (Ubuntu 6.2.0-39.40~22.04.1-generic 6.2.16)
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-6.2.0-39-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro console=ttyS0
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] zhaoxin Shanghai
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
execve("/usr/bin/nvidia-smi", ["nvidia-smi"], 0x7fffdb148a70 /* 32 vars */) = 0
brk(NULL) = 0x1324000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffc2ec93c00) = -1 EINVAL (Invalid argument)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2bf0596000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=32163, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 32163, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f2bf058e000
close(3) = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
execve("/usr/bin/nvidia-smi", ["nvidia-smi"], 0x7fff1277e380 /* 32 vars */) = 0
brk(NULL) = 0xb75000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffeec82bc70) = -1 EINVAL (Invalid argument)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fecc0db8000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=26363, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 26363, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fecc0db1000
close(3) = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
{
"MetadataItems": [
{
"GPA": "0x800000",
"SectionTypeInt": 1,
"Size": "0x9000"
},
{
"GPA": "0x80a000",
"SectionTypeInt": 1,
#include <sys/inotify.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
int main() {
int i, fd;
for (i = 0; i < 1000000; i++) {
fd = inotify_init();
if (fd == -1) {
/dts-v1/;
/ {
interrupt-parent = <0x8001>;
#size-cells = <0x02>;
#address-cells = <0x02>;
compatible = "linux,dummy-virt";
psci {
migrate = <0x84000005>;
vagrant@oreminer:/vagrant/oreboot$ cargo --version
cargo 1.49.0-nightly (dd83ae55c 2020-10-20)
vagrant@oreminer:/vagrant/oreboot$ cargo install --version 0.3.2 cargo-binutils
Updating crates.io index
Installing cargo-binutils v0.3.2
error: failed to compile `cargo-binutils v0.3.2`, intermediate artifacts can be found at `/tmp/cargo-installFYyhhZ`
Caused by:
failed to download `object v0.27.0`
"use strict";
let DHT = require("webtorrent-dht");
global.magnet = require("magnet-uri");
global.buffer = require("buffer").Buffer;
global.startUp = startUp;
startUp();
global.retrieve = retrieve;
global.save = save;