Skip to content

Instantly share code, notes, and snippets.

View jbergstroem's full-sized avatar

Johan Bergström jbergstroem

View GitHub Profile
$ git clone https://chromium.googlesource.com/v8/v8.git
Cloning into 'v8'...
remote: Sending approximately 205.94 MiB ...
remote: Counting objects: 34654, done
remote: Finding sources: 100% (7266/7266)
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
smartctl -a /dev/ada0
Password:
smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.3-RELEASE amd64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: HGST HUS726060ALE610
Serial Number: NAHXDBMX
LU WWN Device Id: 5 000cca 242db0059
Firmware Version: APGNT7J0
[4665683.521758] traps: node[18681] trap invalid opcode ip:f802c9 sp:7ffc3d2780f8 error:0 in node[400000+1060000]
[4665683.572087] traps: node[18691] trap invalid opcode ip:f802c9 sp:7ffe3f1e08e8 error:0 in node[400000+1060000]
[4665683.606226] traps: node[18701] trap invalid opcode ip:f802c9 sp:7fff381864b8 error:0 in node[400000+1060000]
[4665683.612333] traps: node[18692] trap invalid opcode ip:f802c9 sp:7ffee84cc218 error:0 in node[400000+1060000]
[4665683.707136] traps: node[18699] trap invalid opcode ip:f802c9 sp:7fff3219da48 error:0 in node[400000+1060000]
[4665683.712608] traps: node[18718] trap invalid opcode ip:f802c9 sp:7ffc0d673b28 error:0 in node[400000+1060000]
[4665683.714204] traps: node[18714] trap invalid opcode ip:f802c9 sp:7ffd41058208 error:0 in node[400000+1060000]
[4665683.793029] traps: node[18722] trap invalid opcode ip:f802c9 sp:7ffc5fe52328 error:0 in node[400000+1060000]
[4666224.513876] do_trap: 2 callbacks suppressed
[4666224.513884] traps: node[21454] trap invalid opcode ip:f803
model: http://www.qnap.com/images/products/comparison/Comparison_5BayNAS.html (559 pro ii)
added +2G ram module
# uname -a
Linux frysen 3.4.6 #1 SMP Mon Feb 1 03:13:06 CST 2016 x86_64 unknown
# free
total used free shared buffers
Mem: 3076424 1042924 2033500 0 18792
Swap: 530124 0 530124
# jmap -F -heap 20237
Attaching to process ID 20237, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.77-b03
using thread-local object allocation.
Parallel GC with 10 thread(s)
Heap Configuration:
# rsnapshot -t -c /opt/local/etc/rsnapshot.conf daily
echo 50313 > /var/run/rsnapshot.pid
/root/backup_scripts/dist.sh
/usr/bin/rm -rf /backup/periodic/daily.6/
mv /backup/periodic/daily.5/ /backup/periodic/daily.6/
mv /backup/periodic/daily.4/ /backup/periodic/daily.5/
mv /backup/periodic/daily.3/ /backup/periodic/daily.4/
mv /backup/periodic/daily.2/ /backup/periodic/daily.3/
mv /backup/periodic/daily.1/ /backup/periodic/daily.2/
mv /backup/periodic/daily.0/ /backup/periodic/daily.1/
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up udev (215-17+deb8u3) ...
udev does not support containers, not started.
insserv: Service udev has to be enabled to start service udev-finish
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package udev (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
[ 0.000000] Linux version 4.4.1-gentoo (root@svetlana) (gcc version 4.9.3 (Gentoo 4.9.3 p1.2, pie-0.6.3) ) #1 SMP Wed Feb 17 19:43:21 AEDT 2016
[ 0.000000] Disabled fast string operations
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x04: 'AVX registers'
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[ 0.000000] x86/fpu: Using 'eager' FPU context switches.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009bbff] usable
[1329944.276066] clocksource: timekeeping watchdog: Marking clocksource 'tsc' as unstable because the skew is too large:
[1329944.276066] clocksource: 'kvm-clock' wd_now: 4c14ff39722a0 wd_last: 4c14fcd70d653 mask: ffffffffffffffff
[1329944.276066] clocksource: 'tsc' cs_now: b698ceae7ad58 cs_last: b698caed0b474 mask: ffffffffffffffff
@jbergstroem
jbergstroem / foo.diff
Created March 29, 2016 00:29
virtual/udev is an optional dependency, not required by disk/smart.
--- a/app-admin/collectd/collectd-5.5.1-r1.ebuild
+++ b/app-admin/collectd/collectd-5.5.1-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="${HOMEPAGE}/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="contrib debug java kernel_Darwin kernel_FreeBSD kernel_linux perl selinux static-libs"
+IUSE="contrib debug java kernel_Darwin kernel_FreeBSD kernel_linux perl selinux static-libs udev"
# The plugin lists have to follow here since they extend IUSE