Skip to content

Instantly share code, notes, and snippets.

View lisa's full-sized avatar

Lisa Seelye lisa

View GitHub Profile
Upgrade:
libradosstriper1:arm64 (12.2.11-0ubuntu0.18.04.2 from 12.2.12-0ubuntu0.18.04.1)
ceph-common:arm64 (12.2.11-0ubuntu0.18.04.2 from 12.2.12-0ubuntu0.18.04.1)
kubelet:arm64 (1.15.0-00 from 1.15.3-00)
linux-libc-dev:arm64 (4.15.0-54.58 from 4.15.0-58.64)
ceph-mds:arm64 (12.2.11-0ubuntu0.18.04.2 from 12.2.12-0ubuntu0.18.04.1)
ceph-mgr:arm64 (12.2.11-0ubuntu0.18.04.2 from 12.2.12-0ubuntu0.18.04.1)
ceph-mon:arm64 (12.2.11-0ubuntu0.18.04.2 from 12.2.12-0ubuntu0.18.04.1)
libldap-2.4-2:arm64 (2.4.45+dfsg-1ubuntu1.2 from 2.4.45+dfsg-1ubuntu1.3)
python3-software-properties:arm64 (0.96.24.32.9 from 0.96.24.32.11)
@lisa
lisa / kernel-trace.txt
Created August 20, 2019 14:43
Node sitting mostly idle
[ 5394.611080] ------------[ cut here ]------------
[ 5394.611089] rq->tmp_alone_branch != &rq->leaf_cfs_rq_list
[ 5394.611131] WARNING: CPU: 2 PID: 0 at kernel/sched/fair.c:368 unthrottle_cfs_rq+0x174/0x1f4
[ 5394.611135] Modules linked in: veth vxlan ip6_udp_tunnel udp_tunnel xt_statistic xt_nat ipt_REJECT nf_reject_ipv4 xt_tcpudp rbd libceph ip_vs_sh ip_vs_wrr ip_vs_rr ip_vs ip6table_nat ip6_tables xt_comment xt_mark ipt_MASQUERADE nf_conntrack_netlink nfnetlink iptable_nat xt_addrtype iptable_filter bpfilter xt_conntrack nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 br_netfilter bridge stp llc dm_mod overlay rockchipdrm analogix_dp dw_hdmi dw_mipi_dsi drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm drm_panel_orientation_quirks snd_soc_rockchip_i2s nvmem_rockchip_efuse snd_soc_rockchip_spdif rockchip_io_domain snd_soc_rockchip_pcm snd_soc_rk3328 rockchip_thermal sch_fq_codel ip_tables x_tables ipv6 btrfs xor xor_neon zstd_decompress zstd_compress zlib_deflate raid6_pq realtek dwmac_rk
@lisa
lisa / get_aws_credentials.sh
Created August 8, 2019 17:34 — forked from jharrington22/get_aws_credentials.sh
This script will get the AWS credentials for a given cluster using the AWS AccountClaim name. `source` it to set your AWS environment vars
#!/bin/bash
STS_SECRET_EXISTS=true
usage() {
cat <<EOF
usage: $0 [ OPTION ]
Options
-c AWS AccountClaim CR Name (AccountClaim Custom Resource Name)
-o Hive hostname
@lisa
lisa / aarch64.go
Created April 25, 2019 23:09
Am I aarch64?
package main
import (
"fmt"
"strings"
"golang.org/x/sys/unix"
)
func getMachineArch() (string, error) {
@lisa
lisa / README.md
Last active May 4, 2022 15:37
wiki in docker-compose

You will need to find the ParserFunctions and SimpleCalendar extensions and put them in .. You will also need to make the ./html_images and ./db directories

Also note that this is a much older version of Mediawiki than is current. It works for me, but it's up to you if you'd like to use a newer version.

# Copyright 2018 Google, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,

arm64 tektoncd/pipeline

Built on aarch64 with hack/release.sh --nopublish --notag-release --skip-tests

Specs are

Linux kubemaster 4.20.0-1090-ayufan-gd1277c20e10d #ayufan SMP PREEMPT Sun Feb 24 11:51:32 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux

[root@kubemaster ~]# cat /proc/cpuinfo
processor : 0
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
@lisa
lisa / minicom.txt
Last active February 20, 2019 03:55
Failure to boot 4.14.82-201.el7.aarch64 after manual update of dtb, Image and uInitrd symlinks
DDR version 1.13 20180428
ID:0x805 N
In
LPDDR3
786MHz
Bus Width=32 Col=11 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=4096MB
ddrconfig:7
OUT
Boot1 Release Time: Feb 2 2018 15:41:39, version: 2.46
ChipType = 0x11, 144
@lisa
lisa / steps.md
Last active February 20, 2019 03:13
SD card from Mojave into VirtualBox Linux guest
  1. Ensure the SD card is in r/w mode
  2. Insert into Mac
  3. diskutil unmountDisk /dev/disk2s1
  4. chmod 777 /dev/disk2*
  5. vomit at 777
  6. sudo VBoxManage internalcommands createrawvmdk -filename ./sd-card.vmdk -rawdisk /dev/disk2s1
  7. sudo chmod $(id -u):$(id -g) sd-card.vmdk
  8. Add sd-card.vmdk to the Linux guest as a pre-existing SATA disk (select sd-card.vmdk)
  9. Launch Linux guest
  10. mkdir /mnt/sdcard && mount /dev/sdb1 /mnt/sdcard