i915 0000:00:02.0: Device initialization failed (-12)

After upgrading the kernel to a newer kernel, OS won’t boot with a stacked message

pci 0000 : 00 : 07.0 : DPC : RP PIO log size 0 is invalid
xhci_hcd 0000 : 00 : 0d.0 : can't setup : -12
xhci hcd 0000 : 00 : 0d.0 : init 0000 : 00 : 0d.0 fail , -12
thunderbolt 0000 : 00 : 0d.2 : failed to determine connection manager , aborting
xhci hcd 0000 : 00 : 14.0 : can't setup : -12
xhci_hcd 0000 : 00 : 14.0 : init 0000 : 00 : 14.0 fail , -12
1801_smbus . 0000 : 00 : 1f.4 : Transaction timeout
1801_smbus 0000 : 00 : 1f.4 : Failed terminating the transaction
1801_smbus 0000 : 00 : 1f.4 : SMBus is busy , can't use it !
i915 0000 : 00 : 02.0 : [ drm ] * ERROR * Scratch setup failed
i915 0000 : 00 : 02.0 : Device initialization failed ( -12 )

Читати далі

WireGuard on Kernel 5.6. Quick start

Install all downloaded deb’s Reboot server/PC by command reboot After startup check the kernel version^ Test Wireguard on server Add repository for ubuntu 18.04 Make some changes to Firewall on server Simple script for generating key pairs and base cofigs for server and client Or download here: Put wg0.server as /etc/wireguard/wg0.conf on Server side and … Читати далі

ESP8266 first launch in Linux Mint

esp8266-01 pin
esp8266-01 pin

For flashing firmware you need connect GPIO0 to GND and CH_PD to VCC
I have this TTL converter

Bus 003 Device 026: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

But they have 5v output, so i used 5v to 3.3v converter

5v-to-3.3v
5v-to-3.3v

Prepare notebook for flashing
Go to https://github.com/themadinventor/esptool
and download esptool

wget https://github.com/themadinventor/esptool/archive/master.zip

install Python pip

apt-get -y install python-pip

Inzip our master.zip

unzip esptool-master.zip

Run installing dependency

python setup.py install

Читати далі

Git: запомнить пароль на день

Чтобы в течении рабочего дня не воодить постоянно пароль при доступе в Git в версии 1.7.9 и выше появилась возможность кеширования введенных данных

git config --global credential.helper cache

это заставит держать данные авторизации в памяти
По умолчанию 15минут.
Но можно выставить свое время

Читати далі

Zentyal Server

Щоб не забути погратись: Zentyal (раніше відомий під ім’ям eBox Platform) — серверний дистрибутив Linux, побудований на пакетній базі Ubuntu LTS з довготривалою підтримкою, і орієнтований на створення серверів для обслуговування локальних мереж підприємств середнього та малого бізнесу. Zentyal постачається як у вигляді окремого установного Live-дистрибутиву, так і у вигляді набору пакунків для Ubuntu. Сирцевий … Читати далі

При выполнении mysqldump такая ошибка: Warning: Skipping the data of table mysql.event

Перестал отрабпдывать mysqldump на более свежем mysql, вываливается с таким warning

-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly

Утвеждая, что не нужно бэкапить таблицу mysql.event
Эта таблица появилась с версии Mysql 5.1.6 . В ней находится расписание всяких действий самого демона.

Читати далі

Обновление ядра в Linux Mint

На дефолтном ядре 3.11 не захотел взлетать мой Wi-Fi
dmesg:

....
[ 396.531946] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
....

Сетевка:

03:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe

Судя по bug-треккеру на ядре 3.12 токого нет.
Обновим )

Читати далі