Skip to content

Instantly share code, notes, and snippets.

View drscream's full-sized avatar
🕶️
Focusing

Thomas Merkel drscream

🕶️
Focusing
View GitHub Profile
# Change the window title of X terminals
echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"
@drscream
drscream / fma
Last active February 24, 2016 15:04
stack pointer for thread ffffff02f9c8dbe0: ffffff0010615d80
[ ffffff0010615d80 _resume_from_idle+0x112() ]
ffffff0010615db0 swtch+0x141()
ffffff0010615e40 cv_wait_sig_swap_core+0x1b9()
ffffff0010615e60 cv_wait_sig_swap+0x17()
ffffff0010615eb0 sigsuspend+0x101()
ffffff0010615f10 sys_syscall32+0x14a()
stack pointer for thread ffffff02f9c81460: ffffff000f954c50
[ ffffff000f954c50 _resume_from_idle+0x112() ]
ffffff000f954c80 swtch+0x141()
AFTER GEN8 (inclusive), the firmware STILL says that X2APIC must not be used, but they ARE indeed supported by GEN8 (DL360, DL380). So proper cmdlines are:
"intremap=no_x2apic_optout" # let X2APIC enabled with IRQ remapping
OR
"nox2apic intermap=off" # disable X2APIC AND IRQ remapping
X2APIC for these machines ONLY differs from XAPIC in question of IRQ remapping (easier to implement). The other difference, where x2apic is capable of addressing more CPUs, is not needed cause # of CPUs is low enough.
c++ -O -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc -o build/gengtype \
build/gengtype.o build/errors.o build/gengtype-lex.o build/gengtype-parse.o build/gengtype-state.o build/version.o ../build-i386-pc-solaris2.11/libiberty/libiberty.a
Undefined first referenced
symbol in file
lexer_toplevel_done build/gengtype-parse.o
yylex(char const**) build/gengtype-parse.o
lexer_line build/gengtype.o
yyend() build/gengtype-parse.o
yybegin(char const*) build/gengtype-parse.o
ld: fatal: symbol referencing errors. No output written to build/gengtype
/data/build/edgebsd-src/obj/tooldir.NetBSD-6.1.5-amd64/bin/armv7--netbsdelf-eabihf-gcc -O2 -fPIC -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror --sysroot=/data/build/edgebsd-src/obj/destdir.evbarm -D_KMEMUSER -I/data/build/edgebsd-src/sys -Wp,-iremap,/data/build/edgebsd-src:/usr/src -Wp,-iremap,/data/build/edgebsd-src/obj/destdir.evbarm/:/ -Wp,-iremap,/usr/xsrc:/usr/xsrc -D_FORTIFY_SOURCE=2 -c -Wno-format-nonliteral /data/build/edgebsd-src/usr.bin/vmstat/vmstat.c
/data/build/edgebsd-src/usr.bin/vmstat/vmstat.c: In function 'dopoolcache':
/data/build/edgebsd-src/usr.bin/vmstat/vmstat.c:1715:1: error: stack protector not protecting local variables: variable length b
diff --git a/security/libykneomgr/Makefile b/security/libykneomgr/Makefile
index 53a4095..2336395 100644
--- a/security/libykneomgr/Makefile
+++ b/security/libykneomgr/Makefile
@@ -17,6 +17,8 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS= pkg-config
+CPPFLAGS+= -I${BUILDLINK_PREFIX.pcsc-lite:Q}/include/PCSC
+
diff --git a/security/ykpers/Makefile b/security/ykpers/Makefile
index b38fe63..7d3bf7b 100644
--- a/security/ykpers/Makefile
+++ b/security/ykpers/Makefile
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.14 2015/03/15 14:17:00 tnn Exp $
#
-DISTNAME= ykpers-1.16.1
+DISTNAME= ykpers-1.17.3
++ ./manage.py update_vhosts
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/opt/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
utility.execute()
File "/opt/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 345, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/local/lib/python2.7/site-packages/django/core/management/base.py", line 348, in run_from_argv
self.execute(*args, **cmd_options)
- Setting the hostname of a container via the "hostname" metadata is currently not supported.
- Setting the dns resolvers (name servers) via the "resolvers" metadata is currently not supported.
- Smartlogin is currently not available for lx-brand images. The root ssh keys are added to /root/.ssh/authorized_keys at provision. Subsequent reboots will not update the root ssh keys (meaning, live ssh key updating of a container is not supported).
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECow
LjA3MzA3Mjk4NDgxIDAuMDg0NTY2MDkzOTggMC4wODc0Njc3ODk2NQAQAYAC0hAREhNa
JGNsYXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFy