Skip to content

Instantly share code, notes, and snippets.

@mettacrawler
mettacrawler / gist:bae2b0b4f400d6b691cd182c9fdafe38
Created Jul 23, 2020
WD - Easystore 2TB External USB 3.0 Portable Hard Drive
View gist:bae2b0b4f400d6b691cd182c9fdafe38
Jul 23 12:21:59 example.com kernel: usb 5-1.2: new SuperSpeed Gen 1 USB device number 3 using xhci-hcd
Jul 23 12:21:59 example.com kernel: usb 5-1.2: New USB device found, idVendor=1058, idProduct=2648, bcdDevice=10.30
Jul 23 12:21:59 example.com kernel: usb 5-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 23 12:21:59 example.com kernel: usb 5-1.2: Product: easystore 2648
Jul 23 12:21:59 example.com kernel: usb 5-1.2: Manufacturer: Western Digital
Jul 23 12:21:59 example.com kernel: usb 5-1.2: SerialNumber: 5758...
Jul 23 12:21:59 example.com kernel: usb-storage 5-1.2:1.0: USB Mass Storage device detected
Jul 23 12:21:59 example.com kernel: scsi host4: usb-storage 5-1.2:1.0
Jul 23 12:22:00 example.com kernel: scsi 4:0:0:0: Direct-Access WD easystore 2648 1030 PQ: 0 ANSI: 6
Jul 23 12:22:00 example.com kernel: sd 4:0:0:0: Attached scsi generic sg0 type 0
@mettacrawler
mettacrawler / 2018-04-26 Ubuntu on 2017 computer marginally
Created Apr 26, 2018
AMD Ryzen 5 2400G Vega 11 Raven Ridge on 4.17-rc2 X370 - AX370 Gigabyte
View 2018-04-26 Ubuntu on 2017 computer marginally
[ 2.065040] amdgpu: [powerplay] dpm has been enabled
[ 2.065303] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:1! type 0 expected 3
[ 2.065480] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:2! type 0 expected 3
[ 2.065642] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:3! type 0 expected 3
complete sequence:
[ 1.876741] [drm] amdgpu kernel modesetting enabled.
[ 1.882654] [drm] initializing kernel modesetting (RAVEN 0x1002:0x15DD 0x1458:0xD000 0xC6).
[ 1.882667] [drm] register mmio base: 0xFE400000
@mettacrawler
mettacrawler / AMD Ryzen 5 2400G missing firmware
Created Apr 23, 2018
How do you get "mainline" firmware dep package(s)?
View AMD Ryzen 5 2400G missing firmware
You can get "mainline" kernel deb packages for testing, etc.
http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D
But they come with missing firmware. How to get that as a deb?
Processing triggers for linux-image-unsigned-4.17.0-041700rc2-generic (4.17.0-041700rc2.201804230622) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.17.0-041700rc2-generic
W: Possible missing firmware /lib/firmware/amdgpu/vega12_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_asd.bin for module amdgpu
View noise-from-afar
$ sudo apt install nvidia-driver-390
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios.
bbswitch-dkms lib32gcc1 libc6-i386 nvidia-prime
Utilice «sudo apt autoremove» para eliminarlos.
The following additional packages will be installed:
gcc-8-base:i386 libbsd0:i386 libc6:i386 libffi6:i386 libgcc1:i386 libgl1:i386 libglvnd0:i386 libglx0:i386 libnvidia-cfg1-390
libnvidia-common-390 libnvidia-compute-390 libnvidia-compute-390:i386 libnvidia-decode-390 libnvidia-decode-390:i386 libnvidia-encode-390
@mettacrawler
mettacrawler / AX370-Gaming_5-F22-dmidecode.txt
Last active Mar 30, 2018
dmidecode output from Gigabyte AX370-Gaming 5 BIOS F22 (AMD Ryzen 5 2400G, Linux 4.15.0-13-generic, Ubuntu 18.04
View AX370-Gaming_5-F22-dmidecode.txt
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 3.1.1 present.
Table at 0x000E8980.
Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
Vendor: American Megatrends Inc.
Version: F22
Release Date: 03/15/2018
@mettacrawler
mettacrawler / virt-GuixSD
Last active Mar 30, 2018
Notes on installing GuixSD on KVM/Qemu/libvirt
View virt-GuixSD
All of this is a failed experiment. Just install the VM of an ISO image. You can get virtio disk that way.
------------
Fetch VM image from https://www.gnu.org/software/guix/download/
wget https://alpha.gnu.org/gnu/guix/guixsd-vm-image-0.14.0.x86_64-linux.xz
Make the VM image usable by enlarging the root file system from 1.2GiB to 20 (feel free to allocate even more.)
xzcat -v guixsd-vm-image-0.14.0.x86_64-linux.xz > guix1.img
sudo virt-filesystems --long -h --all -a guix1.img # for a look
@mettacrawler
mettacrawler / bionic-ocrmypdf-PPA-build-log
Created Mar 25, 2018
build logs from ocrmypdf from Sid built on Bionic in a PPA
View bionic-ocrmypdf-PPA-build-log
RUN: /usr/share/launchpad-buildd/slavebin/slave-prep
Forking launchpad-buildd slave process...
Kernel version: Linux lcy01-amd64-013 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64
Buildd toolchain package versions: launchpad-buildd_158 python-lpbuildd_158 sbuild_0.67.0-2ubuntu7.1 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.10.1 bzr_2.7.0-2ubuntu3.1 git-build-recipe_0.3.4~git201611291343.dcee459~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.3 dpkg-dev_1.18.4ubuntu1.4 python-debian_0.1.27ubuntu2.
Syncing the system clock with the buildd NTP service...
25 Mar 00:31:02 ntpdate[1791]: adjust time server 10.211.37.1 offset 0.000263 sec
RUN: /usr/share/launchpad-buildd/slavebin/in-target unpack-chroot --backend=chroot --series=bionic --arch=amd64 PACKAGEBUILD-14490743 /home/buildd/filecache-default/f027e517e95d0e91684230ee23be60d709f816c0
Creating target for build PACKAGEBUILD-14490743
RUN: /usr/share/launchpad-buildd/slavebin/in-target mount-chroot --backend=chroot --series=bionic --arch=amd64 PACKAGEBUILD
@mettacrawler
mettacrawler / debuild -b -uc -us -i
Created Mar 23, 2018
build output for ocrmypdf 5.5-2 on Ubuntu 18.04
View debuild -b -uc -us -i
$ debuild -b -uc -us -i
dpkg-buildpackage -rfakeroot -us -uc -ui -b -i
dpkg-buildpackage: info: source package ocrmypdf
dpkg-buildpackage: info: source version 5.5-2ubuntu1
dpkg-buildpackage: info: source distribution bionic
dpkg-buildpackage: info: source changed by Matthias Klose <doko@ubuntu.com>
dpkg-source -i --before-build ocrmypdf-5.5
dpkg-buildpackage: info: host architecture amd64
dpkg-source: info: using options from ocrmypdf-5.5/debian/source/options: --single-debian-patch --auto-commit --extend-diff-ignore=\.git_archival\.txt
fakeroot debian/rules clean
@mettacrawler
mettacrawler / install-installer.sh
Last active Mar 5, 2018
Script to install Eucalyptus Cloud-in-a-Box on RHEL/CentOS 7
View install-installer.sh
moved https://github.com/mettacrawler/install-eucalyptus-4
@mettacrawler
mettacrawler / README
Last active Mar 5, 2018
Testing Eucalyptus Cloud-in-a-Box
View README
Moved
https://github.com/mettacrawler/install-eucalyptus-4/
You can’t perform that action at this time.