Skip to content

Instantly share code, notes, and snippets.

View lukemarsden's full-sized avatar

lukemarsden

View GitHub Profile
My traceroute [v0.85]
beam.local (0.0.0.0) Wed Feb 12 22:41:37 2014
Keys: Help Display mode Restart statistics Order of fields quit
Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev
1. 192.168.1.1 0.0% 1802 1.0 1.0 0.8 22.0 1.2
2. 192.168.1.1 9.7% 1802 122.0 131.4 7.5 339.7 23.7
3. aztw-core-2a-ae6-623.network.vir 7.0% 1802 138.7 133.4 7.2 293.9 23.4
4. brnt-bb-1c-ae11-0.network.virgin 18.3% 1802 158.1 139.4 14.6 341.8 23.8
5. tele-ic-7-ae0-0.network.virginme 8.2% 1802 146.3 139.4 14.6 367.3 24.4
hybrid@node002:~/docker$ sudo docker build -t docker .
Uploading context 56.04 MB
Uploading context
Step 0 : docker-version 0.6.1
# Skipping unknown instruction DOCKER-VERSION
Step 1 : FROM ubuntu:13.10
---> 5e019ab7bf6d
Step 2 : MAINTAINER Tianon Gravi <admwiggin@gmail.com> (@tianon)
---> Using cache
---> eba0b362b75a
@lukemarsden
lukemarsden / crashdump.rst
Last active August 29, 2015 14:01
Problem with Ubuntu kernel crashdump

Following the instructions here: https://help.ubuntu.com/12.04/serverguide/kernel-crash-dump.html

Seems to be correctly configured:

hybrid@node001:~$ sudo dmesg |grep -i crash
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.8.0-38-generic root=UUID=fa9a6a3c-a3fb-407c-8952-d4a5d642af84 ro        crashkernel=384M-2G:64M,2G-:128M
[    0.000000] Reserving 64MB of memory at 800MB for crashkernel (System RAM: 1023MB)
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.8.0-38-generic root=UUID=fa9a6a3c-a3fb-407c-8952-d4a5d642af84     ro crashkernel=384M-2G:64M,2G-:128M
depmod: WARNING: could not open /lib/modules/3.13.0-24-generic/modules.order: No such file or directory
depmod: WARNING: /lib/modules/3.13.0-24-generic/kernel/drivers/md/dm-multipath.ko needs unknown symbol dm_get_queue_limits
depmod: WARNING: could not open /lib/modules/3.13.0-24-generic/modules.builtin: No such file or directory
make[1]: Leaving directory `/home/hybrid/zfs/module'
make[1]: Entering directory `/home/hybrid/zfs'
make[1]: *** No rule to make target `module/Module.symvers', needed by `all-am'. Stop.
make[1]: Leaving directory `/home/hybrid/zfs'
make: *** [install-recursive] Error 1
core@ip-172-31-14-1 ~/gentoo $ cat /home/core/gentoo/var/tmp/portage/sys-fs/zfs-kmod-9999/temp/build.log
* Package: sys-fs/zfs-kmod-9999
* Repository: gentoo_prefix
* Maintainer: ryao@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux prefix rootfs userland_GNU
* FEATURES: preserve-libs userpriv usersandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /home/core/kernel-coreos-3.18.1
* Found sources for kernel version:
core@ip-172-31-14-1 ~/gentoo/var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999 $ cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ /home/core/gentoo/var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999/configure --prefix=/home/core/gentoo/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/home/core/gentoo/usr/share/man --infodir=/home/core/gentoo/usr/share/info --datadir=/home/core/gentoo/usr/share --sysconfdir=/home/core/gentoo/etc --localstatedir=/home/core/gentoo/var/lib --libdir=/home/core/gentoo/usr/lib --disable-dependency-tracking --docdir=/home/core/gentoo/usr/share/doc/zfs-kmod-9999 --bindir=/home/core/gentoo/bin --with-spl=/home/core/gentoo/usr/src/spl-0.6.3 --with-spl-obj=/home/core/gentoo/usr/src/spl-0.6.3/3.18.1 --sbindir=/home/core/gentoo/sbin --with-config=kernel --wi
core@ip-172-31-14-1 ~/gentoo/var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999 $ cat configure.ac
/*
* This file is part of the ZFS Linux port.
*
* Copyright (c) 2009 Lawrence Livermore National Security, LLC.
* Produced at Lawrence Livermore National Laboratory
* Written by:
* Brian Behlendorf <behlendorf1@llnl.gov>,
* Herb Wartens <wartens2@llnl.gov>,
* Jim Garlick <garlick@llnl.gov>
luke@demos:~/Projects/docker$ git diff
diff --git a/daemon/container.go b/daemon/container.go
index 32d69f1..b1d004d 100644
--- a/daemon/container.go
+++ b/daemon/container.go
@@ -340,6 +340,8 @@ func (container *Container) Start() (err error) {
}
}()
+ container.monitor = newContainerMonitor(container, container.hostConfig.RestartPolicy)
[vagrant@node1 ~]$ sudo docker -d -D
DEBU[0000] devicemapper: driver version is 4.27.0
ERRO[0000] Udev sync is not supported. This will lead to unexpected behavior, data loss and errors. For more information, see https://docs.docker.com/reference/commandline/cli/#daemon-storage-driver-option
ERRO[0000] [graphdriver] prior storage driver "devicemapper" failed: driver not supported
FATA[0000] Error starting daemon: error initializing graphdriver: driver not supported
[ 3530.028286] device vboxnet0 entered promiscuous mode
[ 3540.381003] BUG: unable to handle kernel paging request at 00007fc85f8f2268
[ 3540.381039] IP: [<ffffffffc0020948>] 0xffffffffc0020948
[ 3540.381063] PGD 2143ad067 PUD 1ae7e5067 PMD 1ed033067 PTE 191799067
[ 3540.381090] Oops: 0001 [#1] SMP
[ 3540.381106] Modules linked in: pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) binfmt_misc rfcomm bnep nvram nls_iso8859_1 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media
btusb bluetooth hid_multitouch intel_rapl iosf_mbi x86_pkg_temp_thermal dell_wmi sparse_keymap intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel dell_laptop dcdbas wl(POE) dell_led aesni_
intel aes_x86_64 lrw snd_hda_codec_realtek gf128mul glue_helper snd_hda_codec_generic snd_hda_codec_hdmi ablk_helper cryptd joydev serio_raw cfg80211 snd_hda_intel snd_hda_controller rtsx_pci_ms memstick snd_hda_codec lpc_ich m
ei_me snd_hwdep mei shpchp snd_soc_rt28