OK, turing.

<- leave blank

Sun May 9 10:16:43 EDT 2021

#!/bin/rc
PLAN9=/
PATH_INFO=$location

if(~ $SERVER_NAME *){
    FS_ROOT=/sys/www/werc/sites/$SERVER_NAME
    exec static-or-cgi /sys/www/werc/bin/werc.rc
}
if not
	error 503


Sun May 9 07:48:24 EDT 2021
[ 0.000000] Linux version 5.11.15_1 (voidlinux@voidlinux) (gcc (GCC) 10.2.1
20201203, GNU ld (GNU Binutils) 2.35.1) #1 SMP 1618703302
[ 0.000000] Command line: root=LABEL=voidroot loglevel=9 console=ttyS0
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point
registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using
'standard' format.
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000000c0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007fffffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI not present or invalid.
[ 0.000000] Hypervisor detected: KVM
[ 0.000000] tsc: Fast TSC calibration failed
[ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] last_pfn = 0x80000 max_arch_pfn = 0x400000000
[ 0.000000] Disabled
[ 0.000000] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[ 0.000000] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI BIOS Error (bug): A valid RSDP was not found
(20201113/tbxfroot-210)
[ 0.000000] check: Scanning 1 areas for low memory corruption
[ 0.000000] Using GB pages for direct mapping
[ 0.000000] RAMDISK: [mem 0x7cbac034-0x7fffffff]
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x7cba7000-0x7cbabfff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] DMA32 [mem 0x0000000001000000-0x000000007fffffff]
[ 0.000000] Normal empty
[ 0.000000] Device empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009ffff]
[ 0.000000] node 0: [mem 0x0000000000100000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000007fffffff]
[ 0.000000] On node 0 totalpages: 524191
[ 0.000000] DMA zone: 64 pages used for memmap
[ 0.000000] DMA zone: 22 pages reserved
[ 0.000000] DMA zone: 3999 pages, LIFO batch:0
[ 0.000000] DMA zone: 28769 pages in unavailable ranges
[ 0.000000] DMA32 zone: 8128 pages used for memmap
[ 0.000000] DMA32 zone: 520192 pages, LIFO batch:63
[ 0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[ 0.000000] No local APIC present
[ 0.000000] APIC: disable apic facility
[ 0.000000] APIC: switched to apic NOOP
[ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.000000] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000bffff]
[ 0.000000] PM: hibernation: Registered nosave memory: [mem 0x000c0000-0x000fffff]
[ 0.000000] [mem 0x80000000-0xffffffff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on KVM
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 1910969940391419 ns
[ 0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1
nr_node_ids:1
[ 0.000000] percpu: Embedded 55 pages/cpu s185368 r8192 d31720 u2097152
[ 0.000000] pcpu-alloc: s185368 r8192 d31720 u2097152 alloc=1*2097152
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 515977
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: root=LABEL=voidroot loglevel=9 console=ttyS0
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes,
linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes,
linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] Memory: 1973872K/2096764K available (12295K kernel code, 3233K rwdata,
6496K rodata, 1604K init, 1668K bss, 122632K reserved, 0K cma-reserved)
[ 0.000000] random: get_random_u64 called from __kmem_cache_create+0x2e/0x560 with
crng_init=0
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Kernel/User page tables isolation: enabled
[ 0.000000] ftrace: allocating 37505 entries in 147 pages
[ 0.000000] ftrace: allocated 147 pages with 4 groups
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=1.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100
jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16640, nr_irqs: 32, preallocated irqs: 16
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] printk: console [ttyS0] enabled
[ 0.000000] APIC disabled by BIOS
[ 0.000000] APIC: Keep in PIC mode(8259)
[ 0.004000] tsc: Unable to calibrate against PIT
[ 0.006000] tsc: No reference (HPET/PMTIMER) available
[ 0.007000] tsc: Marking TSC unstable due to could not calculate TSC khz
[ 0.008000] Calibrating delay loop...  72531.96 BogoMIPS (lpj=36265984)
[ 0.017000] pid_max: default: 32768 minimum: 301
[ 0.018000] LSM: Security Framework initializing
[ 0.019000] Yama: becoming mindful.
[ 0.020000] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.021000] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes,
linear)
[ 0.028000] Last level iTLB entries: 4KB 128, 2MB 8, 4MB 8
[ 0.029000] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[ 0.030000] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer
sanitization
[ 0.031000] Spectre V2 : Mitigation: Full generic retpoline
[ 0.032000] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on
context switch
[ 0.033000] Speculative Store Bypass: Vulnerable
[ 0.034000] SRBDS: Unknown: Dependent on hypervisor status
[ 0.035000] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[ 0.040000] Freeing SMP alternatives memory: 32K
[ 0.041000] smpboot: weird, boot CPU (#0) not listed by the BIOS
[ 0.042000] smpboot: SMP disabled
[ 0.043000] Performance Events: unsupported p6 CPU model 142 no PMU driver,
software events only.
[ 0.044000] rcu: Hierarchical SRCU implementation.
[ 0.045000] NMI watchdog: Perf NMI watchdog permanently disabled
[ 0.046000] smp: Bringing up secondary CPUs ...
[ 0.047000] smp: Brought up 1 node, 1 CPU
[ 0.048000] smpboot: Max logical packages: 1
[ 0.049000] smpboot: Total of 1 processors activated (72531.96 BogoMIPS)
[ 0.050000] devtmpfs: initialized
[ 0.051000] x86/mm: Memory block size: 128MB
[ 0.052000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 1911260446275000 ns
[ 0.053000] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.054000] pinctrl core: initialized pinctrl subsystem
[ 0.055000] NET: Registered protocol family 16
[ 0.056000] audit: initializing netlink subsys (disabled)
[ 0.057000] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.057000] thermal_sys: Registered thermal governor 'step_wise'
[ 0.058000] thermal_sys: Registered thermal governor 'user_space'
[ 0.059000] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.060000] audit: type=2000 audit(1620560889.057:1): state=initialized
audit_enabled=0 res=1
[ 0.062000] cpuidle: using governor ladder
[ 0.063000] cpuidle: using governor menu
[ 0.065000] PCI: Using configuration type 1 for base access
[ 0.066000] Kprobes globally optimized
[ 0.067000] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.068000] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.069000] ACPI: Interpreter disabled.
[ 0.070000] iommu: Default domain type: Translated
[ 0.071000] vgaarb: loaded
[ 0.072000] pps_core: LinuxPPS API ver.  1 registered
[ 0.073000] pps_core: Software ver.  5.3.6 - Copyright 2005-2007 Rodolfo Giometti
<giometti@linux.it>
[ 0.074000] PTP clock support registered
[ 0.075000] EDAC MC: Ver: 3.0.0
[ 0.076000] PCI: Probing PCI hardware
[ 0.077000] PCI: root bus 00: using default resources
[ 0.078000] PCI: Probing PCI hardware (bus 00)
[ 0.079000] PCI host bridge to bus 0000:00
[ 0.080000] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.082000] pci_bus 0000:00: root bus resource [mem 0x00000000-0x7fffffffff]
[ 0.083000] pci_bus 0000:00: No busn resource found for root bus, will use [bus
00-ff]
[ 0.084000] pci 0000:00:00.0: [8086:0100] type 00 class 0x060000
[ 0.086000] pci 0000:00:01.0: [0666:0666] type 00 class 0x030000
[ 0.087000] pci 0000:00:01.0: reg 0x10: [mem 0xf0000000-0xf07fffff pref]
[ 0.090000] pci 0000:00:01.0: vgaarb: setting as boot VGA device
[ 0.090000] pci 0000:00:01.0: vgaarb: VGA device added:
decodes=io+mem,owns=io+mem,locks=none
[ 0.091000] pci 0000:00:02.0: [1af4:1000] type 00 class 0x020000
[ 0.092000] pci 0000:00:02.0: reg 0x10: [io 0x1200-0x12ff]
[ 0.095000] pci 0000:00:03.0: [1af4:1000] type 00 class 0x018000
[ 0.097000] pci 0000:00:03.0: reg 0x10: [io 0x1100-0x11ff]
[ 0.100000] pci 0000:00:04.0: [1af4:1000] type 00 class 0x018000
[ 0.101000] pci 0000:00:04.0: reg 0x10: [io 0x1000-0x10ff]
[ 0.104000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.105000] PCI: pci_cache_line_size set to 64 bytes
[ 0.107000] clocksource: Switched to clocksource refined-jiffies
[ 0.107999] VFS: Disk quotas dquot_6.6.0
[ 0.108999] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.109999] pnp: PnP ACPI: disabled
[ 0.110999] NET: Registered protocol family 2
[ 0.111999] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384
bytes, linear)
[ 0.114998] TCP established hash table entries: 16384 (order: 5, 131072 bytes,
linear)
[ 0.115998] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[ 0.116998] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.117998] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear)
[ 0.119998] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.120997] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.121997] NET: Registered protocol family 1
[ 0.122997] NET: Registered protocol family 44
[ 0.123997] pci_bus 0000:00: resource 4 [io 0x0000-0xffff]
[ 0.124997] pci_bus 0000:00: resource 5 [mem 0x00000000-0x7fffffffff]
[ 0.125997] pci 0000:00:01.0: Video device with shadowed ROM at [mem
0x000c0000-0x000dffff]
[ 0.126996] PCI: CLS 0 bytes, default 64
[ 0.127996] Trying to unpack rootfs image as initramfs...
[ 0.225981] ------------[ cut here ]------------
[ 0.226981] WARNING: CPU: 0 PID: 1 at arch/x86/mm/init.c:850
free_init_pages+0x75/0x80
[ 0.227981] Modules linked in:
[ 0.228981] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.11.15_1 #1
[ 0.229981] RIP: 0010:free_init_pages+0x75/0x80
[ 0.230981] Code: 89 de e8 ee 81 00 00 89 de 48 89 ef e8 54 82 00 00 4c 89 e9 5b
4c 89 e6 48 89 ef ba cc 00 00 00 5d 41 5c 41 5d e9 6b d5 1f 00 <0f> 0b 49 89
d4 48 89 c5 eb b3 90 0f 1f 44 00 00 55 48 89 f5 53 48
[ 0.231981] RSP: 0000:ffffb16a4000be88 EFLAGS: 00010283
[ 0.232980] RAX: ffff9706fcbad000 RBX: 0000000000000000 RCX: 0000000000000000
[ 0.233980] RDX: ffff970700000000 RSI: ffff9706fcbac034 RDI: ffffffff8ffa8e95
[ 0.234980] RBP: ffff970680000000 R08: ffff9706fcbac034 R09: ffff970680000000
[ 0.235980] R10: 0000000000000002 R11: ffffffffffffff00 R12: ffff970700000000
[ 0.236980] R13: ffffffff8ffa8e95 R14: 0000000000000000 R15: 0000000000000000
[ 0.237980] FS: 0000000000000000(0000) GS:ffff9706fa800000(0000)
knlGS:0000000000000000
[ 0.238979] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.239979] CR2: 0000000000000000 CR3: 0000000021610001 CR4: 00000000000706f0
[ 0.240979] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 0.241979] DR3: 0000000000000000 DR6: 0000000000000000 DR7: 0000000000000400
[ 0.242979] Call Trace:
[ 0.243979] populate_rootfs+0xea/0x109
[ 0.244979] ? do_symlink+0xab/0xab
[ 0.245978] do_one_initcall+0x44/0x1d0
[ 0.246978] kernel_init_freeable+0x1b6/0x1f9
[ 0.247978] ? rest_init+0xb4/0xb4
[ 0.248978] kernel_init+0xa/0x10c
[ 0.249978] ret_from_fork+0x22/0x30
[ 0.250978] ---[ end trace 7fde5fbb5fdd047a ]---
[ 0.251977] Freeing initrd memory: 53580K
[ 0.252977] platform rtc_cmos: registered platform RTC device (no PNP device
found)
[ 0.253977] check: Scanning for low memory corruption every 60 seconds
[ 0.254977] Initialise system trusted keyrings
[ 0.255977] random: fast init done
[ 0.256977] workingset: timestamp_bits=40 max_order=19 bucket_order=0
[ 0.257977] zbud: loaded
[ 0.258976] Key type asymmetric registered
[ 0.259976] Asymmetric key parser 'x509' registered
[ 0.260976] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 0.262976] io scheduler mq-deadline registered
[ 0.263976] io scheduler kyber registered
[ 0.264975] io scheduler bfq registered
[ 0.266975] intel_idle: Please enable MWAIT in BIOS SETUP
[ 0.267975] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.268975] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a
16450
[ 0.269975] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a
16450
[ 0.271974] e1000e: Intel(R) PRO/1000 Network Driver
[ 0.272974] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 0.273974] i8042: PNP: No PS/2 controller found.
[ 0.274974] i8042: Probing ports directly.
[ 0.278973] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.279973] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.280973] mousedev: PS/2 mouse device common for all mice
[ 0.282973] input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input0
[ 0.284972] rtc_cmos rtc_cmos: registered as rtc0
[ 0.285972] rtc_cmos rtc_cmos: setting system clock to 2021-05-09T11:48:10 UTC
(1620560890)
[ 0.286972] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[ 0.287972] intel_pstate: CPU model not supported
[ 0.288972] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.289972] BUG: unable to handle page fault for address: 000000008f6dd2d6
[ 0.289972] #PF: supervisor instruction fetch in kernel mode
[ 0.289972] #PF: error_code(0x0011) - permissions violation
[ 0.289972] PGD 0 P4D 0
[ 0.289972] Oops: 0011 [#1] SMP PTI
[ 0.289972] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 5.11.15_1 #1
[ 0.289972] RIP: 0010:pmc_core_probe+0x136/0x3c0
[ 0.289972] Code: 90 48 c7 c7 68 d0 f4 90 e8 47 8e a0 ff 48 8b 05 90 fd 86 01 48
c7 83 88 00 00 00 40 d0 f4 90 48 63 40 50 48 03 05 72 fd 86 01 <8b> 00 48 8b
15 71 fd 86 01 48 c7 c7 60 bd ec 8f 48 8d 6b 10 8b 4a
[ 0.289972] RSP: 0000:ffffb16a4000bcc0 EFLAGS: 00010286
[ 0.289972] RAX: ffffb16a40147818 RBX: ffff97068381b400 RCX: 00000000fe002000
[ 0.289972] RDX: ffffffff90f4d020 RSI: ffffffff90045a03 RDI: ffffffff90f4d068
[ 0.289972] RBP: ffff97068381b410 R08: 0000000000000000 R09: 00000000fe001fff
[ 0.289972] R10: ffffb16a40146000 R11: ffff9706812f3240 R12: 0000000000000000
[ 0.289972] R13: 0000000000000000 R14: 0000000000000000 R15: ffff97068381b410
[ 0.289972] FS: 0000000000000000(0000) GS:ffff9706fa800000(0000)
knlGS:0000000000000000
[ 0.289972] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.289972] CR2: 000000008f6dd2d6 CR3: 0000000021610001 CR4: 00000000000706f0
[ 0.289972] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 0.289972] DR3: 0000000000000000 DR6: 0000000000000000 DR7: 0000000000000400
[ 0.289972] Call Trace:
[ 0.289972] platform_probe+0x3f/0x90
[ 0.289972] really_probe+0xf2/0x440
[ 0.289972] driver_probe_device+0xe1/0x150
[ 0.289972] ? driver_allows_async_probing+0x50/0x50
[ 0.289972] bus_for_each_drv+0x7e/0xc0
[ 0.289972] __device_attach+0xd8/0x1d0
[ 0.289972] bus_probe_device+0x8e/0xa0
[ 0.289972] device_add+0x39e/0x850
[ 0.289972] ? dev_set_name+0x53/0x70
[ 0.289972] platform_device_add+0x105/0x230
[ 0.289972] ? pmc_core_driver_init+0x13/0x13
[ 0.289972] pmc_core_platform_init+0x78/0x91
[ 0.289972] do_one_initcall+0x44/0x1d0
[ 0.289972] kernel_init_freeable+0x1b6/0x1f9
[ 0.289972] ? rest_init+0xb4/0xb4
[ 0.289972] kernel_init+0xa/0x10c
[ 0.289972] ret_from_fork+0x22/0x30
[ 0.289972] Modules linked in:
[ 0.289972] CR2: 000000008f6dd2d6
[ 0.289972] ---[ end trace 7fde5fbb5fdd047b ]---
[ 0.289972] RIP: 0010:pmc_core_probe+0x136/0x3c0
[ 0.289972] Code: 90 48 c7 c7 68 d0 f4 90 e8 47 8e a0 ff 48 8b 05 90 fd 86 01 48
c7 83 88 00 00 00 40 d0 f4 90 48 63 40 50 48 03 05 72 fd 86 01 <8b> 00 48 8b
15 71 fd 86 01 48 c7 c7 60 bd ec 8f 48 8d 6b 10 8b 4a
[ 0.289972] RSP: 0000:ffffb16a4000bcc0 EFLAGS: 00010286
[ 0.289972] RAX: ffffb16a40147818 RBX: ffff97068381b400 RCX: 00000000fe002000
[ 0.289972] RDX: ffffffff90f4d020 RSI: ffffffff90045a03 RDI: ffffffff90f4d068
[ 0.289972] RBP: ffff97068381b410 R08: 0000000000000000 R09: 00000000fe001fff
[ 0.289972] R10: ffffb16a40146000 R11: ffff9706812f3240 R12: 0000000000000000
[ 0.289972] R13: 0000000000000000 R14: 0000000000000000 R15: ffff97068381b410
[ 0.289972] FS: 0000000000000000(0000) GS:ffff9706fa800000(0000)
knlGS:0000000000000000
[ 0.289972] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.289972] CR2: 000000008f6dd2d6 CR3: 0000000021610001 CR4: 00000000000706f0
[ 0.289972] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 0.289972] DR3: 0000000000000000 DR6: 0000000000000000 DR7: 0000000000000400
[ 0.289972] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000009
[ 0.289972] Kernel Offset: 0xe000000 from 0xffffffff81000000 (relocation range:
0xffffffff80000000-0xffffffffbfffffff)
[ 0.289972] ---[ end Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000009 ]---


Sun May 9 07:41:46 EDT 2021
diff -r 97a585c3d9cf sys/src/cmd/vmx/x86.c
--- a/sys/src/cmd/vmx/x86.c Wed May 05 01:50:09 2021 +0200
+++ b/sys/src/cmd/vmx/x86.c Sun May 09 13:41:45 2021 +0200
@@ -60,10 +60,44 @@
 }

 static uintptr
-translate64(uintptr, uintptr *, int *)
+translate64(uintptr va, uintptr *pa, int *perm)
 {
- vmerror("long mode translation not implemented");
- return 0;
+ void *pml4, *pdp, *pd, *pt;
+ u64int pml4e, pdpe, pde, pte;
+
+ pml4 = gptr(rget("cr3") & 0xffffffffff000ULL, 4096);
+ if(pml4 == nil) return 0;
+ pml4e = GET64(pml4, (va & (511ULL<<39)) >> (39-3));
+ if((pml4e & 1) == 0) return 0;
+ if(perm != nil) *perm = pml4e & 15;
+
+ pdp = gptr(pml4e & 0xffffffffff000ULL, 4096);
+ if(pdp == nil) return 0;
+ pdpe = GET64(pdp, (va & (511ULL<<30)) >> (30-3));
+ if((pdpe & 1) == 0) return 0;
+ if(perm != nil) *perm &= pdpe;
+ if((pdpe & 0x80) != 0){
+ *pa = (pdpe & 0xfffffc0000000ULL) | (va & 0x3fffffffULL);
+ return 0x40000000ULL - (va & 0x3fffffffULL);
+ }
+
+ pd = gptr(pdpe & 0xffffffffff000ULL, 4096);
+ if(pd == nil) return 0;
+ pde = GET64(pd, (va & (511ULL<<21)) >> (21-3));
+ if((pde & 1) == 0) return 0;
+ if(perm != nil) *perm &= pde;
+ if((pde & 0x80) != 0){
+ *pa = (pde & 0xfffffffe00000ULL) | (va & 0x1fffffULL);
+ return 0x200000ULL - (va & 0x1fffffULL);
+ }
+
+ pt = gptr(pde & 0xffffffffff000ULL, 4096);
+ if(pt == nil) return 0;
+ pte = GET64(pt, (va & (511ULL<<12)) >> (12-3));
+ if((pte & 1) == 0) return 0;
+ if(perm != nil) *perm &= pte;
+ *pa = (pte & 0xffffffffff000ULL) | (va & 0xfffULL);
+ return 0x1000ULL - (va & 0xfffULL);
 }

 static uintptr (*


Sat May 8 15:38:58 EDT 2021
dog

Fri May 7 19:29:41 EDT 2021
...

void
fix(void)
{
	if(getwindow(display, Refnone) < 0)
		error("failed to re-attach window");
	freescrtemps();
	view = screen;

	wscreen = allocscreen(screen, col[Colrioback], 0);
	draw(view, view->r, col[Colrioback], nil, ZP);
	flushimage(display, 1);
}

once = 0;

void
redraw(void)
{
	if (once == 0) {
		fix();
		once = 1;
	}
	...

Fri May 7 18:21:00 EDT 2021
/* Amavect!  */
#include <u.h>
#include <libc.h>
#include <draw.h>

Image *red;
Image *chan1;
Image *chan2;
Image *chan4;
Image *wtf;

void
eprint(void)
{
	static ulong d;
	fprint(2,"%uld: %r\n", d);
	werrstr("");
	d++;
}

Image *
eallocimage(Rectangle r, ulong chan, int repl, ulong col)
{
	Image *i;
	i = allocimage(display, r, chan, repl, col);
	if(i == nil)
		sysfatal("%r");
	return i;
}

void
sdraw(Image *dst, Image *src)
{
	draw(dst, dst->r, src, nil, ZP);
}

void
doflush(void)
{
	flushimage(display, 1);
	sleep(1000);
}

void
main(void)
{
	if(initdraw(nil, nil, "oddcolor") < 0)
		sysfatal("%r");
	red = eallocimage(Rect(0,0,1,1), RGB24, 1, DRed);
	chan1 = eallocimage(Rect(0,0,1,1), CHAN1(CRed,8), 1, DNofill);
	chan2 = eallocimage(Rect(0,0,1,1), CHAN2(CGreen,8,CGrey,8), 1, DNofill);
	chan4 = eallocimage(Rect(0,0,1,1), CHAN4(CRed,8,CGrey,8,CBlue,8,CRed,8),
	1, DNofill);
	wtf = eallocimage(Rect(0,0,1,1), CHAN4(CBlue,4,CAlpha,2,CGrey,7,CRed,3),
	1, DNofill);

	sdraw(screen, red);
	doflush();

	sdraw(chan1, red);
	sdraw(screen, chan2);
	doflush();

	sdraw(chan2, red);
	sdraw(screen, chan2);;
	doflush();

	sdraw(chan4, red);
	sdraw(screen, chan4);
	doflush();

	sdraw(wtf, red);
	sdraw(screen, wtf);
	doflush();
}


Fri May 7 16:21:10 EDT 2021
[Pterodactyl Daemon]: Checking server disk space usage, this could take a few
seconds...
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take
a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few
minutes to complete...
[Pterodactyl Daemon]: Finished pulling Docker container image
container@pterodactyl~ Server marked as offline...
container@pterodactyl~ Error Event [b9ca4d70-4394-47bf-91cb-f0b2944356ab]: an
unexpected error was encountered while handling this request
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state!
----------
[Pterodactyl Daemon]: Exit code: 126
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Checking server disk space usage, this could take a few
seconds...
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take
a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few
minutes to complete...
[Pterodactyl Daemon]: Finished pulling Docker container image
[Pterodactyl Daemon]: Server crash was detected but an error occurred while
handling it.
container@pterodactyl~ Server marked as offline...
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state!
----------
[Pterodactyl Daemon]: Exit code: 126
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60
seconds ago.


Fri May 7 12:13:09 EDT 2021
j@t:~$ mkdir test
j@t:~$ cd test
j@t:~/test$ mkdir D e F
j@t:~/test$ ls [DEF]
D:

F:
j@t:~/test$ ls [D-F]
D:

e:

F:
j@t:~/test$


Thu May 6 23:55:31 EDT 2021
	  The various configuration commands only record what to do;
	  they write no data to disk.  The command end exits config
	  mode and begins running the file server proper.  The server
	  will then perform whatever I/O is required to establish the
	  configuration.


Tue May 4 13:22:58 EDT 2021
in: 1538047
link: 1
out: 2238213
crc errs: 0
overflows: 0
soft overflows: 0
framing errs: 0
buffer errs: 0
output errs: 0
prom: 0
mbps: 1000
addr: f875a48a5f3c


Tue May 4 10:54:13 EDT 2021
package main

import (
    "log"
    "sync"

    "github.com/ceph/go-ceph/rados"
)

func main() {
    pool := "test-data"
    cephConf := "/etc/ceph/ceph.conf"
    snapName := "dak-test"
    log.Printf("This code will attempt to get and stat all objects in Ceph pool
    %v", pool)

    // Connect to ceph
    conn, err := rados.NewConn()
    if err != nil {
	log.Fatal("Failed to create rados connection.  Error: ", err)
    }
    err = conn.ReadConfigFile(cephConf)
    if err != nil {
	log.Fatal("Failed to read ceph config.  Error: ", err)
    }
    err = conn.Connect()
    if err != nil {
	log.Fatal("Failed to conect to ceph.  Error: ", err)
    }

    // Create the snapshot for the pool
    ioctx, err := conn.OpenIOContext(pool)
    if err != nil {
	log.Fatalf("could not open ioctx to the pool: %v.  Error: %v", pool, err)
	return
    }
    err = ioctx.CreateSnap(snapName)
    if err != nil {
	log.Fatalf("could not create a snap of pool: %v.  Error: %v", pool, err)
	return
    }
    sid, err := ioctx.LookupSnap(snapName)
    if err != nil {
	log.Fatalf("could not find snap: %v.  Error: %v", snapName, err)
	return
    }

    // set io context to the snapshot
    ioctx.SetReadSnap(sid)
    defer ioctx.Destroy()

    // create a channel to send objects to and read objects from
    objListChan := make(chan struct {
	i uint64
	oid string
    }, 100)
    var wg sync.WaitGroup
    wg.Add(1)

    // Stat ojbects as they get sent to the channel
    go func() {
	defer wg.Done()

	// Stat all the objects in the chan
	for obj := range objListChan {
	    log.Println("Statting obj: ",obj.oid)
	    _, err := ioctx.Stat(obj.oid)
	    if err != nil {
		log.Printf("could not stat object: %s in pool: %s.  Error: %v ",
		obj.oid, pool, err)
	    }
	}
    }()

    // List all objects and send to the channel
    var i uint64
    // NOTE: this list-objects function will include objects not in this
    snapshot...
    // when this happens the object will not be able to be statted.
    log.Println("Listing Objects")
    err = ioctx.ListObjects(func(oid string) {
	objListChan <- struct {
	    i uint64
	    oid string
	}{i: i, oid: oid}
	i++
    })
    if err != nil {
	log.Fatalf("could not list objects in %s pool: %v", pool, err)
    }

    close(objListChan)
    wg.Wait()
    log.Printf("Done listing objects")
}

prev | next