Skip to content

Instantly share code, notes, and snippets.

@Korvox
Korvox / radeon crasher
Created Oct 4, 2014
Radeon dmesg output during Borderlands
View radeon crasher
[45636.535133] radeon 0000:01:00.0: ring 0 stalled for more than 10016msec
[45636.535136] radeon 0000:01:00.0: GPU lockup (waiting for 0x000000000046f887 last fence id 0x000000000046f886 on ring 0)
[45637.112657] radeon 0000:01:00.0: Saved 400 dwords of commands on ring 0.
[45637.112819] radeon 0000:01:00.0: GPU softreset: 0x00000049
[45637.112821] radeon 0000:01:00.0: GRBM_STATUS = 0xA3526028
[45637.112822] radeon 0000:01:00.0: GRBM_STATUS_SE0 = 0x2F800004
[45637.112824] radeon 0000:01:00.0: GRBM_STATUS_SE1 = 0x2D800004
[45637.112825] radeon 0000:01:00.0: SRBM_STATUS = 0x200000C0
[45637.112967] radeon 0000:01:00.0: SRBM_STATUS2 = 0x00000000
[45637.112969] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 = 0x00002000
View xorg segfault glamoregl
[ 7.780]
X.Org X Server 1.15.0
Release Date: 2013-12-27
[ 7.780] X Protocol Version 11, Revision 0
[ 7.780] Build Operating System: Linux 3.12.5-1-ARCH x86_64
[ 7.780] Current Operating System: Linux skeith 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET 2014 x86_64
[ 7.780] Kernel command line: initrd=/initramfs-linux.img root=UUID=c9b5ed7d-c495-43fa-b1d8-12b20889d693 ro quiet splash
[ 7.780] Build Date: 09 January 2014 08:47:24AM
[ 7.780]
[ 7.780] Current version of pixman: 0.32.4
View 99-drviers.conf
Section "Device"
Identifier "gpu0"
Driver "intel"
BusID "PCI:0:2:0"
Option "TearFree" "true"
EndSection
Section "Device"
Identifier "gpu1"
Driver "radeon"
View gist:8712578
[ 72.718727] [<ffffffff814ed113>] dump_stack+0x54/0x8d
[ 72.718731] [<ffffffff81062aed>] warn_slowpath_common+0x7d/0xa0
[ 72.718734] [<ffffffff81062b5c>] warn_slowpath_fmt+0x4c/0x50
[ 72.718741] [<ffffffffa03a9bdd>] __btrfs_abort_transaction+0x11d/0x130 [btrfs]
[ 72.718749] [<ffffffffa03da70f>] __btrfs_unlink_inode+0x1cf/0x3a0 [btrfs]
[ 72.718756] [<ffffffffa03dd1fc>] btrfs_unlink_inode+0x1c/0x40 [btrfs]
[ 72.718763] [<ffffffffa03dd27e>] btrfs_unlink+0x5e/0xa0 [btrfs]
[ 72.718765] [<ffffffff811b4650>] vfs_unlink+0x90/0x100
[ 72.718767] [<ffffffff811b48e9>] do_unlinkat+0x229/0x260
[ 72.718770] [<ffffffff811a9fda>] ? SyS_newfstat+0x2a/0x40
View gist:8712425
[ 612.578364] btrfs: checksum error at logical 262103011328 on dev /dev/sdb2, sector 428033864, root 264, inode 1164, offset 89042944, length 4096, links 1 (path: journal/cf436791c6874f5d84fe7a5f88fca431/system@68c67aa4e91a4b22ae4acddc1f8df7ff-0000000000000001-00045f6d6a13ef48.journal)
[ 612.578370] btrfs: bdev /dev/sdb2 errs: wr 0, rd 0, flush 0, corrupt 1, gen 0
[ 612.578371] btrfs: unable to fixup (regular) error at logical 262103011328 on dev /dev/sdb2
[ 612.580493] btrfs: checksum error at logical 262103408640 on dev /dev/sdb2, sector 428034640, root 264, inode 1164, offset 89440256, length 4096, links 1 (path: journal/cf436791c6874f5d84fe7a5f88fca431/system@68c67aa4e91a4b22ae4acddc1f8df7ff-0000000000000001-00045f6d6a13ef48.journal)
[ 612.580496] btrfs: bdev /dev/sdb2 errs: wr 0, rd 0, flush 0, corrupt 2, gen 0
[ 612.580497] btrfs: unable to fixup (regular) error at logical 262103408640 on dev /dev/sdb2
[ 612.581564] btrfs: checksum error at logical 262103425024 on dev /dev/sdb2, sector 428034672,
@Korvox
Korvox / trayClose.diff
Created May 20, 2013
Diff patch to kaffeine to put it in the system tray when you have scheduled (or active) recordings.
View trayClose.diff
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index f96af22..915515c 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -36,6 +36,8 @@
#include <KTabBar>
#include <KToolBar>
#include "dvb/dvbtab.h"
+#include "dvb/dvbmanager.h"
+#include "dvb/dvbrecording.h"
View aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: AD198x Headphone [AD198x Headphone]
Subdevices: 1/1
Subdevice #0: subdevice #0
View asound.state
state.XFi {
control.1 {
iface MIXER
name 'Master Playback Volume'
value.0 147
value.1 147
comment {
access 'read write'
type INTEGER
count 2
View Fixed grub.cfg for ak5
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-37a3894e-73d3-445f-8a67-2fb6f52e6674' {
insmod ext2
search --no-floppy --fs-uuid --set=root 0bb12a49-73d0-4c8c-a855-967cdfbc0ae6
linux /vmlinuz-linux root=UUID=37a3894e-73d3-445f-8a67-2fb6f52e6674
initrd /initramfs-linux.img
}