Skip to content

Instantly share code, notes, and snippets.

@rooprob
rooprob / netbsd-sgimips-crime-debug
Created March 18, 2013 21:49
Gratuitous console debug for sgimips O2; trying to zero in on random hard lock up.
Index: dev/crime.c
===================================================================
RCS file: /cvsroot/src/sys/arch/sgimips/dev/crime.c,v
retrieving revision 1.36
diff -u -r1.36 crime.c
--- dev/crime.c 18 Aug 2011 02:56:21 -0000 1.36
+++ dev/crime.c 18 Mar 2013 21:37:00 -0000
@@ -98,6 +98,8 @@
static void
crime_attach(device_t parent, device_t self, void *aux)
@rooprob
rooprob / gist:75fc481545f55ae6759f
Last active August 29, 2015 14:01
/rpool/boot/grub/menu.lst
#
# Copyright 2011 DILOS. All rights reserved.
# Use is subject to license terms.
#
# default menu entry to boot
default 0
# menu timeout in second before default OS is booted
# set to -1 to wait for user input
@rooprob
rooprob / gist:6627dd3d5e66e3d0424b
Created May 5, 2014 21:29
cat /b/boot/grub/menu.lst
root@silver:/# cat /b/boot/grub/menu.lst
#
# Copyright 2011 DILOS. All rights reserved.
# Use is subject to license terms.
#
# default menu entry to boot
default 0
# menu timeout in second before default OS is booted
@rooprob
rooprob / 1.txt
Last active August 29, 2015 14:01
dilos 1.3.7 illumos zfs panic
ffffff0004047830 vpanic()
ffffff0004047860 vcmn_err+0x1a(3, fffffffff79fd5c0, ffffff0004047878)
ffffff00040478d0 zfs_panic_recover+0x4e(fffffffff79fd5c0)
ffffff0004047a40 bptree_iterate+0x19b(ffffff0148a36080, 1175, 1,
fffffffff79895e0, ffffff0149bddd40, ffffff0154eafe80)
ffffff0004047ab0 dsl_scan_sync+0x36b(ffffff0148a36380, ffffff0154eafe80)
ffffff0004047b70 spa_sync+0x37e(ffffff0148c88000, 16cd37)
ffffff0004047c20 txg_sync_thread+0x202(ffffff0148a36380)
ffffff0004047c30 thread_start+8()
@rooprob
rooprob / wp.sh
Created April 10, 2019 07:20 — forked from phlbnks/wp.sh
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
echo "Do you need to setup new MySQL database? (y/n)"
read -e setupmysql
if [ "$setupmysql" == y ] ; then
echo "MySQL Admin User: "
read -e mysqluser
# https://github.com/bitcoin/bitcoin/issues/21605
## debug.log
2021-10-14T03:33:13Z UpdateTip: new best=000000000000000000107efa2f66b85ab41eefec8ce9863610a94fafe9320608 height=493831 version=0x20000000 log2_work=87.444241 tx=270055468 date='2017-11-09T22:27:45Z' progress=0.400284 cache=59.9MiB(446394txo)
2021-10-14T03:33:13Z UpdateTip: new best=0000000000000000006747f674b86424f1f03f66f8cd6fd7e24db5eed7002567 height=493832 version=0x20000000 log2_work=87.444284 tx=270057701 date='2017-11-09T22:40:04Z' progress=0.400287 cache=60.5MiB(451081txo)
2021-10-14T03:33:14Z UpdateTip: new best=00000000000000000023ac583bf812c9679a9849545734685cfd96f9694bb62b height=493833 version=0x20000000 log2_work=87.444327 tx=270060535 date='2017-11-09T22:48:26Z' progress=0.400292 cache=61.1MiB(456009txo)
2021-10-14T03:33:15Z UpdateTip: new best=0000000000000000000fc44ef26463d0b2d0849c9ffe7450ecdbad3966434ad4 height=493834 version=0x20000000 log2_work=87.444370 tx=270063119 date='2017-11-09T22:50:15Z' progress=0.400295 cache=61.6Mi