Skip to content

Instantly share code, notes, and snippets.

View kuraga's full-sized avatar

Alexander Kurakin kuraga

View GitHub Profile
#!/bin/bash
set -x
set -e
set -u
truncate -s 64MiB hdd.img
losetup /dev/loop0 hdd.img
sgdisk -n 1:0:+60MiB -t 1:ef00 -c 1:"linux-boot" -p /dev/loop0
partprobe /dev/loop0
mkfs.vfat -F 32 /dev/loop0p1
This file has been truncated, but you can view the full file.
@kuraga
kuraga / output
Created September 16, 2022 11:28
c[?7lSeaBIOS (version d55cb5a)
iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+1FF91500+1FEF1500 CA00
Press Ctrl-B to configure iPXE (PCI 00:03.0)...
Booting from ROM..c[?7lLinux version 5.15.59-gentoo (root@node-calculate1) (gcc (Gentoo 11.3.0 p4) 11.3.0, GNU ld (Gentoo 2.38 p4) 2.38) #1 Fri Sep 16 13:08:53 MSK 2022
Command line: console=ttyAMA0,115200 console=tty highres=off console=ttyS0
$ gdb epsonscan2
GNU gdb (Gentoo 11.2 vanilla) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.15.41-gentoo Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="x86_64-pc-linux-gnu-gcc (Gentoo 11.3.0 p4) 11.3.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=110300
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=23700
$ gdb --args ~/miniconda3/bin/python test.py
GNU gdb (Gentoo 9.2 vanilla) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Jan 13 12:50:49 node-calculate2 pulseaudio[5755]: [pulseaudio] client.c: Created 8 "Native client (UNIX socket client)"
Jan 13 12:50:49 node-calculate2 pulseaudio[5755]: [pulseaudio] protocol-native.c: Protocol version: remote 33, local 33
Jan 13 12:50:49 node-calculate2 pulseaudio[5755]: [pulseaudio] protocol-native.c: Got credentials: uid=1000 gid=1001 success=1
Jan 13 12:50:49 node-calculate2 pulseaudio[5755]: [pulseaudio] protocol-native.c: SHM possible: yes
Jan 13 12:50:49 node-calculate2 pulseaudio[5755]: [pulseaudio] protocol-native.c: Negotiated SHM: yes
Jan 13 12:50:49 node-calculate2 pulseaudio[5755]: [pulseaudio] protocol-native.c: Memfd possible: yes
Jan 13 12:50:49 node-calculate2 pulseaudio[5755]: [pulseaudio] protocol-native.c: Negotiated SHM type: shared memfd
Jan 13 12:50:49 node-calculate2 pulseaudio[5755]: [pulseaudio] log.c: Invalid UTF-8 string following below:
Jan 13 12:50:49 node-calculate2 pulseaudio[5755]: [pulseaudio] memblock.c: Using shared memfd memory pool with 1024 slots of size
@kuraga
kuraga / core.xz
Last active September 18, 2019 22:21
This file has been truncated, but you can view the full file.
Reading symbols from /home/sasha/miniconda3/bin/python...
(gdb) r
Starting program: /home/sasha/miniconda3/bin/python test.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
<module 'lxml' from '/home/sasha/miniconda3/lib/python3.7/site-packages/lxml-4.4.1-py3.7-linux-x86_64.egg/lxml/__init__.py'>
Traceback (most recent call last):
File "test.py", line 19, in <module>
lxml.etree.iterparse(f)
File "src/lxml/iterparse.pxi", line 209, in lxml.etree.iterparse.__next__
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\t\3;\2\"\0\200\4\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource is temporary unavailable)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 2, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 2, 0) = 1 ([{fd=3, revents=POLLIN}])
poll([{fd=4, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\t\0;\2\"\0\200\4\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource is temporar