Skip to content

Instantly share code, notes, and snippets.

@neheb
neheb / gist:38865d9faf5b0147c7a2
Created March 14, 2016 00:17
networkmanager sucks
Mar 13 17:09:23 Mangix-Laptop gnome-shell[7379]: GNOME Shell started at Sun Mar 13 2016 17:09:20 GMT-0700 (PDT)
Mar 13 17:09:41 Mangix-Laptop NetworkManager[339]: <info> (wlp4s0): Activation: starting connection 'Hotspot' (15788ff9-1042-46c4-8362-aa85b3b537ab)
Mar 13 17:09:41 Mangix-Laptop NetworkManager[339]: <info> (wlp4s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Mar 13 17:09:41 Mangix-Laptop NetworkManager[339]: <info> (wlp4s0): device state change: prepare -> config (reason 'none') [40 50 0]
Mar 13 17:09:41 Mangix-Laptop NetworkManager[339]: <info> (wlp4s0): Activation: (wifi) access point 'Hotspot' has security, but secrets are required.
Mar 13 17:09:41 Mangix-Laptop NetworkManager[339]: <info> (wlp4s0): device state change: config -> need-auth (reason 'none') [50 60 0]
Mar 13 17:09:42 Mangix-Laptop NetworkManager[339]: ** (NetworkManager:339): CRITICAL **: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Mar 13 17:09:42 Mangix-Laptop NetworkManager[339]:
0:00:00.055847953 ESC[336m15911ESC[00m 0x1da1c00 ESC[33;01mLOG ESC[00m ESC[00m qtmux gstqtmux.c:4570:gst_qt_mux_register:ESC[00m Registering muxers
0:00:00.056436520 ESC[336m15911ESC[00m 0x1da1c00 ESC[33;01mLOG ESC[00m ESC[00m qtmux gstqtmux.c:4608:gst_qt_mux_register:ESC[00m Finished registering muxers
0:00:00.056618766 ESC[336m15911ESC[00m 0x1da1c00 ESC[33;01mLOG ESC[00m ESC[00m qtmux gstqtmux.c:4614:gst_qt_mux_register:ESC[00m Registering tags
0:00:00.056678366 ESC[336m15911ESC[00m 0x1da1c00 ESC[33;01mLOG ESC[00m ESC[00m qtmux gstqtmux.c:4620:gst_qt_mux_register:ESC[00m Finished registering tags
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
0:00:05.368493118 ESC[331m15888ESC[00m 0x1198a30 ESC[33;01mLOG ESC[00m ESC[00m qtmux gstqtmux.c:4570:gst_qt_mux_register:ESC[00m Registering muxers
0:00:05.368892227 ESC[331m15888ESC[00m 0x1198a30 ESC[33;01mLOG ESC[00m ES
Apr 08 13:29:47 localhost.localdomain kernel: usb 1-2: new high-speed USB device number 8 using ehci-pci
Apr 08 13:29:47 localhost.localdomain kernel: usb 1-2: New USB device found, idVendor=05ac, idProduct=1293
Apr 08 13:29:47 localhost.localdomain kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 08 13:29:47 localhost.localdomain kernel: usb 1-2: Product: iPod
Apr 08 13:29:47 localhost.localdomain kernel: usb 1-2: Manufacturer: Apple Inc.
Apr 08 13:29:47 localhost.localdomain kernel: usb 1-2: SerialNumber: 34463480cdc0029bf928b22929acd3f466d1ab24
Apr 08 13:29:47 localhost.localdomain mtp-probe[4476]: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:12.2/usb1/1-2"
Apr 08 13:29:47 localhost.localdomain mtp-probe[4476]: bus: 1, device: 8 was not an MTP device
Apr 08 13:29:47 localhost.localdomain systemd[1]: Started Socket daemon for the usbmux protocol used by Apple devices.
Apr 08 13:29:47 localhost.localdomain audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294
### Keybase proof
I hereby claim:
* I am neheb on github.
* I am mangix (https://keybase.io/mangix) on keybase.
* I have a public key whose fingerprint is F284 E9FC 3B8F 3D91 1F4B 5BA2 8B5A 6324 9D3D 4CE7
To claim this, I am signing this object:
[mangix@mangix rhythmbox]$ cat rhythmbox-add-replaygain.patch
diff --git a/rhythmdb/rhythmdb-private.h b/rhythmdb/rhythmdb-private.h
index 579f785..933eb2e 100644
--- a/rhythmdb/rhythmdb-private.h
+++ b/rhythmdb/rhythmdb-private.h
@@ -94,7 +94,11 @@ struct _RhythmDBEntry {
gulong disctotal;
gulong duration;
gulong bitrate;
- double bpm;
[src/cpu_crc32.c:95]: (error) Resource leak: fd
[src/dispatch.c:417]: (error) Resource leak: fd
[src/dispatch.c:447]: (error) Resource leak: fd
[src/dispatch.c:462]: (style) The scope of the variable 'words_off' can be reduced.
[src/folder.c:146]: (portability) Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'.
[src/folder.c:209]: (portability) Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'.
[src/folder.c:335]: (portability) Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'.
[src/hashes.c:718]: (error) Resource leak: fp
[src/hashes.c:819]: (error) Resource leak: fp
[src/hwmon.c:1236]: (style, inconclusive) Consecutive return, break, continue, goto or throw statements are unnecessary.
[mangix@localhost hashcat]$ make win64
find: ‘/usr/i686-w64-mingw32/lib/’: No such file or directory
src//win_file_globbing.mk:53:
! The MinGW CRT GLOB library for 32-bit compilation was not found on your system. Please make sure that CRT_glob.o exists
! ATTENTION: File globbing will be disabled
@neheb
neheb / turris
Created December 15, 2016 20:23
[ 62.640812] usb 4-1: USB disconnect, device number 10
[ 62.650748] blk_update_request: I/O error, dev sda, sector 0
[ 62.656450] sd 9:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
[ 62.656459] sd 9:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 01 2c b0 00 00 08 00
[ 62.656464] blk_update_request: I/O error, dev sda, sector 76976
[ 62.662838] sd 9:0:0:0: [sda] Synchronizing SCSI cache
[ 62.662865] EXT4-fs error (device sda1): ext4_find_entry:1450: inode #2: comm sshd: reading directory lblock 0
[ 62.673137] sd 9:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x01 driverbyte=0x00
[ 64.310724] usb 4-1: new high-speed USB device number 11 using xhci-hcd
[ 64.453307] usb-storage 4-1:1.0: USB Mass Storage device detected
common.mkdir bin.v2/libs/coroutine
common.mkdir bin.v2/libs/coroutine/build
common.mkdir bin.v2/libs/coroutine/build/gcc-arm
common.mkdir bin.v2/libs/coroutine/build/gcc-arm/release
common.mkdir bin.v2/libs/coroutine/build/gcc-arm/release/abi-aapcs
common.mkdir bin.v2/libs/coroutine/build/gcc-arm/release/abi-aapcs/threading-multi
common.mkdir bin.v2/libs/coroutine/build/gcc-arm/release/abi-aapcs/threading-multi/detail
gcc.compile.c++ bin.v2/libs/coroutine/build/gcc-arm/release/abi-aapcs/threading-multi/detail/coroutine_context.o
In file included from ./boost/coroutine/detail/coroutine_context.hpp:16:0,
from libs/coroutine/src/detail/coroutine_context.cpp:7:
diff --git a/target/linux/ramips/mt7621/config-4.9 b/target/linux/ramips/mt7621/config-4.9
index 0ea6798..ad375de 100644
--- a/target/linux/ramips/mt7621/config-4.9
+++ b/target/linux/ramips/mt7621/config-4.9
@@ -67,7 +67,6 @@ CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_GENERIC_IO=y
CONFIG_GENERIC_IRQ_CHIP=y
-CONFIG_GENERIC_IRQ_IPI=y
CONFIG_GENERIC_IRQ_SHOW=y