Skip to content

Instantly share code, notes, and snippets.

View marmarek's full-sized avatar

Marek Marczykowski-Górecki marmarek

View GitHub Profile
@marmarek
marmarek / gist:1215529d91f44254d38e0f30d8e084de
Created September 7, 2017 22:20
OOM killing X server in dom0
Sep 03 17:34:16 dom0 root[10798]: /etc/xen/scripts/block-snapshot: add XENBUS_PATH=backend/vbd/117/51712
Sep 03 17:34:16 dom0 root[10820]: /etc/xen/scripts/block: add XENBUS_PATH=backend/vbd/117/51728
Sep 03 17:34:16 dom0 root[10823]: /etc/xen/scripts/block: add XENBUS_PATH=backend/vbd/117/51744
Sep 03 17:34:16 dom0 root[10824]: /etc/xen/scripts/block: add XENBUS_PATH=backend/vbd/117/51760
Sep 03 17:34:16 dom0 root[10854]: /etc/xen/scripts/block-snapshot: Writing backend/vbd/117/51712/node /dev/mapper/snapshot-fd02:18351490-fd02:18351941 to xenstore.
Sep 03 17:34:16 dom0 root[10878]: /etc/xen/scripts/block-snapshot: Writing backend/vbd/117/51712/physical-device fd:7 to xenstore.
Sep 03 17:34:16 dom0 root[10889]: /etc/xen/scripts/block-snapshot: Writing backend/vbd/117/51712/hotplug-status connected to xenstore.
Sep 03 17:34:16 dom0 root[10942]: /etc/xen/scripts/block: Writing backend/vbd/117/51728/node /dev/loop36 to xenstore.
Sep 03 17:34:16 dom0 root[10952]: /etc/xen/scripts/block: Writing backend/vbd/117/5
global:
default_netvm: type=vm testvm
labels:
red:
index: 3
green:
index: 2
domains:
default:
memory: type=int 4000
/etc/NetworkManager/dispatcher.d/30-qubes-external-ip
/etc/NetworkManager/dispatcher.d/qubes-nmhook
/etc/X11/xorg-preload-apps.conf
/etc/dhclient.d/qubes-setup-dnat-to-ns.sh
/etc/dnf/plugins/qubes-hooks.conf
/etc/fstab
/etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-3-primary
/etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-3-unstable
/etc/polkit-1/localauthority/50-local.d/qubes-allow-all.pkla
/etc/polkit-1/rules.d/00-qubes-allow-all.rules
/.
/etc
/etc/NetworkManager
/etc/NetworkManager/dispatcher.d
/etc/NetworkManager/dispatcher.d/30-qubes-external-ip
/etc/NetworkManager/dispatcher.d/qubes-nmhook
/etc/X11
/etc/X11/xorg-preload-apps.conf
/etc/apt
/etc/apt/apt.conf.d
#include <X11/X.h>
#include <X11/Xutil.h>
#include <time.h>
int main() {
Display *d = XOpenDisplay(NULL);
int s = DefaultScreen(d);
Window root = DefaultRootWindow(d);
This file has been truncated, but you can view the full file.
Kernel version 4.4.38-11.pvops.qubes.x86_64 has no module directory /lib/modules/4.4.38-11.pvops.qubes.x86_64
/usr/bin/dracut@649(main): [[ -n '' ]]
/usr/bin/dracut@655(main): [[ -n '' ]]
/usr/bin/dracut@655(main): dracutbasedir=/usr/lib/dracut
/usr/bin/dracut@658(main): [[ ! -f /dev/null ]]
/usr/bin/dracut@659(main): [[ -n '' ]]
/usr/bin/dracut@662(main): conffile=/etc/dracut.conf
/usr/bin/dracut@666(main): [[ ! -d /var/empty ]]
/usr/bin/dracut@675(main): [[ -f /etc/dracut.conf ]]
/usr/bin/dracut@675(main): . /etc/dracut.conf
#!/usr/bin/python
# -*- encoding: utf8 -*-
#
# The Qubes OS Project, http://www.qubes-os.org
#
# Copyright (C) 2015 Marek Marczykowski-Górecki
# <marmarek@invisiblethingslab.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
This file has been truncated, but you can view the full file.
--> Preparing the image
mke2fs 1.42.13 (17-May-2015)
Discarding device blocks: 4096/5242880 done
Creating filesystem with 5242880 4k blocks and 1310720 inodes
Filesystem UUID: 57e735f2-adcd-4fad-963c-4378a4d733a9
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000
Allocating group tables: 0/160 done
This file has been truncated, but you can view the full file.
--> Preparing the image
mke2fs 1.42.13 (17-May-2015)
Discarding device blocks: 4096/5242880 done
Creating filesystem with 5242880 4k blocks and 1310720 inodes
Filesystem UUID: 75bf6677-4763-4754-8f80-4427c7bd97c3
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000
Allocating group tables: 0/160 done
@marmarek
marmarek / builder-r4.0.conf
Created December 5, 2016 02:46
development builder configuration for Qubes 4.0
# vim: ft=make ts=4 sw=4
#GIT_BASEURL ?= ssh://git@github.com
GIT_BASEURL ?= https://github.com
GIT_PREFIX ?= marmarek/qubes-
VERBOSE = 1
BACKEND_VMM=xen
DIST_DOM0 ?= fc23