Skip to content

Instantly share code, notes, and snippets.

View major's full-sized avatar
🤠
Yeehaw.

Major Hayden major

🤠
Yeehaw.
View GitHub Profile
@major
major / ixgbe-linux-3.17-patch.diff
Created November 7, 2014 14:38
Patch for ixgbe 3.22.3 to compile against Linux 3.17 [OBVIOUSLY NOT AN IDEAL WAY TO DO IT]
--- ixgbe_ethtool.c 2014-08-14 23:17:42.000000000 +0000
+++ ixgbe_ethtool.c-patched 2014-11-05 21:43:56.801935420 +0000
@@ -2879,13 +2879,6 @@
/* initialize node and set software index */
INIT_HLIST_NODE(&input->fdir_node);
- /* add filter to the list */
- if (parent)
- hlist_add_after(parent, &input->fdir_node);
- else
--- datapath.c 2014-11-06 03:36:35.000000000 +0000
+++ datapath.c 2014-11-06 18:03:12.955385967 +0000
@@ -2148,7 +2148,7 @@
BUILD_BUG_ON(sizeof(struct ovs_skb_cb) > FIELD_SIZEOF(struct sk_buff, cb));
- pr_info("Open vSwitch switching datapath %s, built "__DATE__" "__TIME__"\n",
+ pr_info("Open vSwitch switching datapath %s\n",
VERSION);
@major
major / 6.23.txt
Created December 5, 2014 14:43
MikroTik RouterOS 6.23 released
What's new in 6.23 (2014-Dec-04 14:46):
*) pptp - fixed problem where tunnel stopped transmitting packets under heavy load;
*) web proxy - caching in RAM for boards with 32MB or less RAM will not cache any content;
*) leds - removed 'led' command and added support for 'on', 'off' types under 'system leds';
*) files - allow to move files between different disks in winbox;
*) dhcpv4 server - fix adding address lists from radius;
*) dhcpv4 server - make radius classless static route tag as dhcp vendor specific;
*) smb - fixed HDD used/free space reporting
*) made powerpc metarouters work again (were broken in v6.22);
@major
major / gist:95d1de41b66ce8586a13
Created December 10, 2014 14:09
Jenkins error (elliptic curve)?
javax.net.ssl.SSLException: java.lang.RuntimeException: java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1917)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1874)
at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1857)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1378)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:535)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:403)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
@major
major / gist:1c831a0f704fa0c1d303
Created January 27, 2015 00:54
Horrible Time Warner Cable traceroutes
Host Loss% Snt Last Avg Best Wrst StDev
1. ***************** 0.0% 225 0.9 4.5 0.7 175.8 20.4
2. cpe-173-174-128-1.satx.res.rr.com 30.8% 224 13.8 1333. 10.0 27489 4956.
3. tge3-0-0.snantx1400-10k1.satx.rr.com 22.8% 224 2943. 1987. 8.9 27433 5791.
4. tge0-10-0-0.lvoktxad01r.texas.rr.com 26.3% 224 11.5 2050. 9.8 27377 5901.
5. agg21.snavtxuu02r.texas.rr.com 27.7% 224 11.5 2082. 9.6 27322 5933.
6. agg23.hstqtxl301r.texas.rr.com 30.4% 224 16.2 2160. 12.9 27268 6015.
7. 107.14.17.138 26.3% 224 34.1 2040. 14.7 27211 5850.
8. 107.14.19.218 30.8% 224 24.9 2216. 17.3 27166 6028.
9. ae1.pr1.dfw10.tbone.rr.com 27.7%
@major
major / gist:c3b7c576af32093f39b5
Last active August 29, 2015 14:14
Potential XPS 13 touchpad patch issues (38 patches left)
* 0349678 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
*-------------. 019e129 Merge branches 'for-3.19/hid-report-len', 'for-3.19/i2c-hid', 'for-3.19/lenovo', 'for-3.19/logitech', 'for-3.19/microsoft', 'for-3.19/plantronics', 'for-3.19/rmi', 'for-3.19/sony' and 'for-3.19/wacom' into for-linus
|\ \ \ \ \ \ \ \
| | | | | | | | * 601a22f HID: wacom: Report input events for each finger on generic devices
| | | | | | | | * b58ba1b HID: wacom: Initialize MT slots for generic devices at post_parse_hid
| | | | | | | | * ecd618d HID: wacom: Update maximum X/Y accounding to outbound offset
| | | | | | | | * fff00bf HID: wacom: Add support for DTU-1031X
| | | | | | | | * fa77034 HID: wacom: add defines for new Cintiq and DTU outbound tracking
| | | | | | | | * c376e71 HID: wacom: Consult the application usage when determining field type
| | | | | | | | * 954df6a HID: wacom: PAD is independent with pen/touch
@major
major / gist:eb6b3f149cd28652af08
Created February 13, 2015 19:22
DMAR on Dell XPS 13 9343
[ 0.000000] ACPI: DMAR 0x00000000DAEC8B68 0000F0 (v01 INTEL BDW 00000001 INTL 00000001)
[ 0.061886] dmar: Host address width 39
[ 0.062005] dmar: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.062116] dmar: IOMMU 0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 7e1ff0505e
[ 0.062280] dmar: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.062387] dmar: IOMMU 1: reg_base_addr fed91000 ver 1:0 cap d2008c20660462 ecap f010da
[ 0.062550] dmar: RMRR base: 0x000000db9ee000 end: 0x000000db9fcfff
[ 0.062655] dmar: RMRR base: 0x000000dd000000 end: 0x000000df7fffff
[ 0.062761] dmar: ANDD device: 1 name: \_SB.PCI0.SDMA
[ 0.062863] dmar: ANDD device: 3 name: \_SB.PCI0.ADSP
@major
major / dsdt.diff
Created February 13, 2015 22:16
XPS 13 9343 DSDT hacks
diff --git a/DSDT.dsl b/DSDT.dsl
index a86f66d..513eb45 100644
--- a/DSDT.dsl
+++ b/DSDT.dsl
@@ -8689,6 +8689,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "DELL ", "CBX3 ", 0x01072009)
Scope (_SB.PCI0.I2C0)
{
+ Name (CODS, 0x03)
Method (SUBS, 0, NotSerialized)
traceroute to 2604:7780:100:3::f33d (2604:7780:100:3::f33d), 30 hops max, 80 byte packets
1 2001:4800:7817:101::b 1.076 ms 0.992 ms 1.117 ms
2 2001:4800:800:c9:160b:5:: 1.454 ms 1.499 ms 1.425 ms
3 2001:4800:800:ca:c9:: 3.260 ms 3.466 ms 3.767 ms
4 2001:4800:800:dc1:ca:: 3.337 ms 3.530 ms 3.633 ms
5 2001:438:fffe::a86 4.110 ms 4.330 ms 4.457 ms
6 2001:438:fffe::a85 3.928 ms 3.353 ms 3.381 ms
7 * * *
8 2001:418:0:2000::19d 4.791 ms 4.410 ms 4.521 ms
9 2001:418:0:5000::32 7.259 ms 7.323 ms 7.442 ms
@major
major / gist:baa0e2eee7de51a2bcd1
Last active August 29, 2015 14:20
Xen 4.5 dom0 panic on Linux 4.0.1
Loading Xen xen ...
Loading Linux 4.0.1-300.fc22.x86_64 ...
Loading initial ramdisk ...
Xen 4.5.0-8.fc22
(XEN) Xen version 4.5.0 (mockbuild@[unknown]) (gcc (GCC) 5.0.1 20150413 (Red Hat 5.0.1-0.1)) debug=n Mon Apr 20 19:35:05 UTC 2015
(XEN) Latest ChangeSet:
(XEN) Bootloader: GRUB 2.02~beta2
(XEN) Command line: placeholder loglvl=all guest_loglvl=all console=com1 noreboot=true
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16