Skip to content

Instantly share code, notes, and snippets.

View cjac's full-sized avatar

C.J. Collier cjac

View GitHub Profile
root@wanjet1:~# tcpdump -s0 -n -i ens11 ip6
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ens11, link-type EN10MB (Ethernet), capture size 262144 bytes
22:01:06.392706 IP6 fe80::e11:67ff:fe02:4822 > ff02::16: HBH ICMP6, multicast listener report v2, 6 group record(s), length 128
22:01:06.433317 IP6 fe80::e11:67ff:fe02:4822 > ff02::1: ICMP6, router advertisement, length 160
22:01:08.651118 IP6 fe80::e11:67ff:fe02:4822 > ff02::16: HBH ICMP6, multicast listener report v2, 6 group record(s), length 128
22:01:09.639694 IP6 fe80::e11:67ff:fe02:4822 > ff02::1: ICMP6, router advertisement, length 160
22:01:10.876461 IP6 fe80::e11:67ff:fe02:4822 > ff02::16: HBH ICMP6, multicast listener report v2, 6 group record(s), length 128
22:01:10.996402 IP6 fe80::e11:67ff:fe02:4822 > ff02::16: HBH ICMP6, multicast listener report v2, 6 group record(s), length 128
22:01:12.804788 IP6 fe80::e11:67ff:fe02:4822 > ff02::1: ICMP6, router advertisement, length 160
pkgadd -d http://get.opencsw.org/now
/opt/csw/bin/pkgutil -U
PKG="maven automake autoconf libtool openssl perl ninja go"
PKG="${PKG} cmake gsed ggrep gawk libapr1_0" gcc4core gcc4g++
for pkg in ${PKG}
do
/opt/csw/bin/pkgutil -y -i ${pkg}
done
mkdir -p /usr/src/tmp/
cd /usr/src/tmp
wget 'https://dl.google.com/go/go1.4.linux-amd64.tar.gz'
tar xfvz go1.4.linux-amd64.tar.gz
mkdir -p /usr/src/git/github/4ad
cd /usr/src/git/github/4ad
git clone [email protected]:4ad/go.git
cd go/src
GOROOT_BOOTSTRAP=/usr/src/tmp/go GOOS=solaris GOARCH=sparc64 ./make.bash
file ../bin/solaris_sparc64/go
mkdir -p /usr/src/tmp/
cd /usr/src/tmp
wget 'https://dl.google.com/go/go1.4.linux-amd64.tar.gz'
tar xfvz go1.4.linux-amd64.tar.gz
mkdir -p /usr/src/git/github/4ad
cd /usr/src/git/github/4ad
git clone [email protected]:4ad/go.git
cd go/src
GOROOT_BOOTSTRAP=/usr/src/tmp/go GOOS=solaris GOARCH=sparc64 ./make.bash
file ../bin/solaris_sparc64/go
[INFO] --- maven-hawtjni-plugin:1.11:build (build-native-lib) @ netty-tcnative-openssl-static ---
[INFO] executing: /bin/sh -c ./configure --disable-ccache --prefix=/home/cj/src/netty-tcnative/openssl-static/target/native-build/target 'CFLAGS="CC=gcc -mcpu=v9a"' MACOSX_DEPLOYMENT_TARGET=10.9 --with-ssl=/home/cj/src/netty-tcnative/openssl-static/target/ssl --with-apr=/home/cj/src/netty-tcnative/openssl-static/target/apr --with-static-libs --libdir=/home/cj/src/netty-tcnative/openssl-static/target/native-build/target/lib
[INFO] configure: WARNING: unrecognized options: --disable-ccache
[INFO] checking build system type... sparc64-unknown-linux-gnu
[INFO] checking host system type... sparc64-unknown-linux-gnu
[INFO] checking target system type... sparc64-unknown-linux-gnu
[INFO] ./configure: line 2295: "CC=gcc: command not found
[INFO] ./configure: line 2296: -O3: command not found
[INFO] checking for gcc... gcc
[INFO] checking whether the C compiler works... no
cj@debian:~/src/netty-tcnative$ git diff
diff --git a/openssl-static/pom.xml b/openssl-static/pom.xml
index a37db16..5934d2c 100644
--- a/openssl-static/pom.xml
+++ b/openssl-static/pom.xml
@@ -133,6 +133,7 @@
<forceConfigure>${forceConfigure}</forceConfigure>
<windowsBuildTool>msbuild</windowsBuildTool>
<configureArgs>
+ <configureArg>CFLAGS=-mcpu=v9a</configureArg>
[exec] **********************************************************************
[exec] *** ***
[exec] *** OpenSSL has been successfully configured ***
[exec] *** ***
[exec] *** If you encounter a problem while building, please open an ***
[exec] *** issue on GitHub <https://github.com/openssl/openssl/issues> ***
[exec] *** and include the output from the following command: ***
[exec] *** ***
[exec] *** perl configdata.pm --dump ***
[exec] *** ***
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2wQQmYHVpW0b2N66G34hucdeLeDQ1dqcdm5Tnl3W/LzWcfxbhFrmIf+/h8djgTHeZBzWx+fE4Z4T4P4ZnyzRGCfvBHEa5f+SRJ9AYuthm8BE4lVTYS/J6DlNFlRF8YEKYTnXKSky3J98TatPorBKbuo7H8VW7FAj0BbcD0s8kelL/SNSVNduWho7ikyUW2tGvqfByUXkB8CP7dMWbNm0uU2VZYDUAwTpWBQr01LCCO6HciTCeBiZ/Xde3t7u7JjH/MQFPEXJZ2vG8zQyRbhbSirhSzFywnibL0LEJaMwFDCeuzv5RgiBtDgYvSC2XsQO6ExctxfkHOa+F6GTXgHVw== /home/cjac/.ssh/id_rsa.sh0
username: cjac
cjac@moon:~$ cat ~/bin/launch-solaris.sh && ~/bin/launch-solaris.sh
#!/bin/bash
ROOT_DISK=/dev/vg00/solaris-sun4v
ISO=/var/lib/libvirt/images/sol-11_3-text-sparc.iso
FIRMWARE=~/tmp/opensparc/T1/S10image/
BIOS=~/tmp/openbios/openbios-1.1/obj-sparc64/openbios-builtin.elf
# sudo mount -o loop ${ISO} /mnt/tmp
cjac@moon:~$ sudo qemu-system-sparc64 -M niagara -L /home/cjac/tmp/S10image/ -nographic -m 1024 -drive file=/dev/vg00/solaris-sun4u,if=none,id=hd,format=raw -drive file=/var/lib/libvirt/images/sol-11_3-text-sparc.iso,format=raw,if=pflash,readonly=on -net nic -boot d
[sudo] password for cjac:
qemu-system-sparc64: warning: hub port hub0port0 has no peer
qemu-system-sparc64: warning: netdev hub0port0 has no peer
qemu-system-sparc64: warning: requested NIC (anonymous, model unspecified) was not created (not supported by this machine?)
cpu Probing I/O buses
Sun Fire T2000, No Keyboard
Copyright 2005 Sun Microsystems, Inc. All rights reserved.