Skip to content

Instantly share code, notes, and snippets.

Avatar

Ross Zwisler rzwisler

  • Google
  • Boulder, CO
View GitHub Profile
View lsusb -vvv
Bus 003 Device 006: ID 0853:0100 Topre Corporation HHKB Professional
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
View CONFIG_INTEL_IOMMU_DEFAULT_ON=n
[ 0.000000] microcode: microcode updated early to revision 0x2006a08, date = 2020-06-16
[ 0.000000] Linux version 5.10.0-rc4-00011-g3f6326766abc (zwisler@ravnica) (gcc (Debian 10.2.0-15) 10.2.0, GNU ld (GNU Binutils for Debian) 2.35.1) #10 SMP Tue Dec 8 09:35:49 MST 2020
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.10.0-rc4-00011-g3f6326766abc root=/dev/mapper/glinux_20200324-root ro ima_hash=sha256 printk.devkmsg=on slab_nomerge pci=noats elevator=deadline apparmor=1 security=apparmor modprobe.blacklist=pcspkr quiet splash
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'
[ 0.000000] x86/fpu: Supportin
View dmesg
[ 0.000000] microcode: microcode updated early to revision 0x2006a08, date = 2020-06-16
[ 0.000000] Linux version 5.10.0-rc4-00010-g3c1f3ab219e5 (zwisler@ravnica) (gcc (Debian 10.2.0-15) 10.2.0, GNU ld (GNU Binutils for Debian) 2.35.1) #8 SMP Wed Dec 2 14:11:09 MST 2020
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.10.0-rc4-00010-g3c1f3ab219e5 root=/dev/mapper/glinux_20200324-root ro ima_hash=sha256 printk.devkmsg=on slab_nomerge pci=noats elevator=deadline apparmor=1 security=apparmor modprobe.blacklist=pcspkr quiet splash
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'
[ 0.000000] x86/fpu: Supporting
@rzwisler
rzwisler / dmesg
Created Oct 1, 2020
v5.7.17+: avoid xhci crash
View dmesg
[ 0.000000] microcode: microcode updated early to revision 0x2006906, date = 2020-04-24
[ 0.000000] Linux version 5.7.17+ (zwisler@ravnica) (gcc version 9.3.0 (Debian 9.3.0-14), GNU ld (GNU Binutils for Debian) 2.34) #6 SMP Wed Sep 30 18:23:54 MDT 2020
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.7.17+ root=/dev/mapper/glinux_20200324-root ro ima_hash=sha256 printk.devkmsg=on slab_nomerge pci=noats elevator=deadline apparmor=1 security=apparmor modprobe.blacklist=pcspkr quiet splash
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x040: 'AVX-512 Hi256'
@rzwisler
rzwisler / gist:4621f805737993fec30b5ae23bfd8289
Created Sep 25, 2020
zwisler@google.com: xhci issue trace
View gist:4621f805737993fec30b5ae23bfd8289
This file has been truncated, but you can view the full file.
# tracer: nop
#
# entries-in-buffer/entries-written: 20434/20434 #P:72
#
# _-----=> irqs-off
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| / delay
@rzwisler
rzwisler / gist:531b926e3d160609ead371c23fc15b55
Created Sep 25, 2020
zwisler@google.com: xhci issue dmesg
View gist:531b926e3d160609ead371c23fc15b55
[ 0.000000] microcode: microcode updated early to revision 0x2006906, date = 2020-04-24
[ 0.000000] Linux version 5.7.17 (zwisler@ravnica) (gcc version 9.3.0 (Debian 9.3.0-14), GNU ld (GNU Binutils for Debian) 2.34) #2 SMP Thu Sep 24 19:13:07 MDT 2020
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.7.17 root=/dev/mapper/glinux_20200324-root ro ima_hash=sha256 printk.devkmsg=on slab_nomerge pci=noats elevator=deadline apparmor=1 security=apparmor modprobe.blacklist=pcspkr quiet splash
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x040: 'AVX-512 Hi256'