Skip to content

Instantly share code, notes, and snippets.

View bluecmd's full-sized avatar

Christian Svensson bluecmd

  • Stockholm, Sweden
View GitHub Profile
[bluecmd]$ git diff --cached [oe-core] [07:53:16]
diff --git a/meta/conf/machine/ast2400.conf b/meta/conf/machine/ast2400.conf
new file mode 100644
index 0000000000..4bde2b1ce5
--- /dev/null
+++ b/meta/conf/machine/ast2400.conf
@@ -0,0 +1,17 @@
+#@TYPE: Machine
+#@NAME: arm_versatile_926ejs
+#@DESCRIPTION: arm_versatile_926ejs
[bluecmd]$ /home/bluecmd/Downloads/qemu/arm-softmmu/qemu-system-arm -m 256 -M palmetto-bmc -nographic -drive file=boot,format=raw,if=mtd -d int,mmu,cpu_reset,unimp,guest_errors
CPU Reset (CPU 0)
R00=00000000 R01=00000000 R02=00000000 R03=00000000
R04=00000000 R05=00000000 R06=00000000 R07=00000000
R08=00000000 R09=00000000 R10=00000000 R11=00000000
R12=00000000 R13=00000000 R14=00000000 R15=00000000
PSR=40000000 -Z-- A usr26
qemu-system-arm: Aspeed iBT has no chardev backend
CPU Reset (CPU 0)
R00=00000000 R01=00000000 R02=00000000 R03=00000000
@bluecmd
bluecmd / issue.md
Last active November 8, 2018 15:58
IPv6-only golang issue

Topic: net: IPv4 is preferred on IPv6 only systems for Resolve*Addr

What version of Go are you using (go version)?

$ go version
go version go1.11rc2 linux/amd64

Does this issue reproduce with the latest release?

@bluecmd
bluecmd / gist:7c847fcd22d50bc8ed6f078136c4a6c8
Last active November 8, 2018 15:57
IPv6 resolving in Golang
[bluecmd]$ file ipv6_dial_*
ipv6_dial_cgo: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, not stripped
ipv6_dial_no_cgo: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped
# With IPv4 + IPv6 connectivity
[bluecmd]$ ./ipv6_dial_no_cgo
2018/11/08 16:35:42 Result of ResolveUDPAddr: 192.36.125.18:0
2018/11/08 16:35:42 Result of ResolveIPAddr: 192.36.125.18
2018/11/08 16:35:43 Result of ResolveIPAddr: 2001:6b0:7::14
@bluecmd
bluecmd / gist:05e331ae37deab14fe62a84cae8c0430
Created January 3, 2019 11:12
zsh configure error z/OS
IBMUSER:/u/ibmuser/small/zsh-5.6.2: >./configure --disable-ansi2knr
trap: ./configure 2282: FSUM7327 signal number 13 not conventional
configuring for zsh 5.6.2
checking build system type... i370-ibm-openedition
checking host system type... i370-ibm-openedition
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
[2019-01-05 11:25:16.762 _unp.utils INFO] - Resolved path: ../deploy -> /home/bluecmd/Downloads/zlux/zlux-example-server/deploy
[2019-01-05 11:25:16.763 _unp.utils INFO] - Resolved path: ../deploy/product -> /home/bluecmd/Downloads/zlux/zlux-example-server/deploy/product
[2019-01-05 11:25:16.763 _unp.utils INFO] - Resolved path: ../deploy/site -> /home/bluecmd/Downloads/zlux/zlux-example-server/deploy/site
[2019-01-05 11:25:16.763 _unp.utils INFO] - Resolved path: ../deploy/instance -> /home/bluecmd/Downloads/zlux/zlux-example-server/deploy/instance
[2019-01-05 11:25:16.763 _unp.utils INFO] - Resolved path: ../deploy/instance/groups -> /home/bluecmd/Downloads/zlux/zlux-example-server/deploy/instance/groups
[2019-01-05 11:25:16.763 _unp.utils INFO] - Resolved path: ../deploy/instance/users -> /home/bluecmd/Downloads/zlux/zlux-example-server/deploy/instance/users
[2019-01-05 11:25:16.764 _unp.utils INFO] - Resolved path: ../deploy/instance/ZLUX/plugins -> /home/bluecmd/Downloads/zlux/zlux-example-server/deploy/
diff --git a/scescsi.c b/scescsi.c
index 1754889b..8c708d6f 100644
--- a/scescsi.c
+++ b/scescsi.c
@@ -89,6 +89,7 @@ typedef struct _SCCB_HWL_BK {
#define SCCB_HWL_TYPE_RESET 0x01 /* Reset request */
#define SCCB_HWL_TYPE_INFO 0x02 /* Load info request */
/*007*/ BYTE file;
+#define SCCB_HWL_FILE_CFCC 0x01 /* CFCC Image Loader */
#define SCCB_HWL_FILE_SCSIBOOT 0x02 /* SCSI Boot Loader */
diff --git a/msgenu.h b/msgenu.h
index f61fe77a..aa18cbf0 100644
--- a/msgenu.h
+++ b/msgenu.h
@@ -2186,7 +2186,8 @@ LOGM_DLL_IMPORT int panel_command_capture( char* cmd, char** resp );
#define HHC03808 "%1d:%04X %s: %s: Cannot unregister guest IP address %s"
#define HHC03809 "%1d:%04X %s: %s: Requested MTU %s too large; decreasing to %s bytes"
#define HHC03810 "%1d:%04X %s: %s: Input dropped: %s"
-//efine HHC03811 - HHC03849 (available)
+#define HHC03811 "%1d:%04X %s: %s: Output dropped: %s"
@bluecmd
bluecmd / ubuntu.conf
Created February 11, 2019 21:44
Ubuntu S390X Hyperion configuration
ARCHLVL z/Arch
FACILITY ENABLE BIT44
OSTAILOR LINUX
LPARNAME UBUNTU
CPUSERIAL 08A89F
CPUMODEL 1090
MODEL HERCULES
PLANT ZZ
SERVC WRITE_EVENT, event is c
SERVC HWL FOUND
SERVC PTT passed
sclp_hwl_request:
- length: 0x3800
- flag: 0x0
- resv1: 0x0 0x0
- type: 0x0
- reas: 0x0
- resp: 0x0