Skip to content

Instantly share code, notes, and snippets.

View tsutsui's full-sized avatar

Izumi Tsutsui tsutsui

View GitHub Profile
@tsutsui
tsutsui / Xsun.0.log
Created June 19, 2025 13:28
/var/log/Xsun.0.log on Sun 3/60 running NetBSD/sun3 10.1 and patched X.org'fied Xsun server
[ 41667.260] (II) Sun type 4 Keyboard, layout 0
[ 41670.410] (II) /dev/bwtwo0 is really a SUN2BW (bw2)
[ 41670.480] (II) Initializing extension Generic Event Extension
[ 41672.920] (II) Initializing extension SHAPE
[ 41675.590] (II) Initializing extension MIT-SHM
[ 41678.250] (II) Initializing extension XInputExtension
[ 41680.780] (II) Initializing extension XTEST
[ 41683.260] (II) Initializing extension BIG-REQUESTS
[ 41685.770] (II) Initializing extension SYNC
[ 41688.400] (II) Initializing extension XKEYBOARD
@tsutsui
tsutsui / sti-debug-comconsole.diff
Created May 30, 2025 16:59
debug NetBSD/hp300 sti(4) framebuffer console with com(4) console output
Index: arch/hp300/dev/com_dio.c
===================================================================
RCS file: /cvsroot/src/sys/arch/hp300/dev/com_dio.c,v
retrieving revision 1.10
diff -u -p -d -r1.10 com_dio.c
--- arch/hp300/dev/com_dio.c 16 Jan 2024 05:48:28 -0000 1.10
+++ arch/hp300/dev/com_dio.c 30 May 2025 16:52:13 -0000
@@ -182,7 +182,7 @@ com_dio_cnattach(bus_space_tag_t bst, bu
bus_space_unmap(iot, iohdca, DCA_SIZE);
#include <malloc.h>
#include <stdio.h>
#include <string.h>
#define BUFSIZE 1024
void (*bomb)(void);
static const unsigned char a[] = {
//0xf2, 0x43, 0xf4, 0x7a, // silent hard hang
@tsutsui
tsutsui / gist:60e8f10a0153d834393640cb52c9f521
Created February 15, 2025 03:51
alignment of SunOS 4.1.1 on sun3
on TME 0.8
@tsutsui
tsutsui / ninja-build-error-on-NetBSD-virt68k.log
Created January 20, 2025 16:23
pkgsrc-2024Q4 build failure on NetBSD/virt68k
===> Installing dependencies for liveimage-pkgs-m68k-20250119
==========================================================================
The following variables will affect the build process of this package,
liveimage-pkgs-m68k-20250119. Their current value is shown below:
* PYTHON_VERSION_DEFAULT = 312
Based on these variables, the following variables have been set:
* PYPACKAGE = python312
@tsutsui
tsutsui / smbd.log
Created November 5, 2024 16:30
NetBSD/i386 10.0 上の pkgsrc/net/samba4 が Win10 からアクセスされるとランダムに落ちる問題
../../lib/util/fault.c:178(smb_panic_log)
===============================================================
../../lib/util/fault.c:179(smb_panic_log)
INTERNAL ERROR: Signal 11: Segmentation fault in smbd () (client [192.168.20.59]) pid 3230 (4.20.5)
../../lib/util/fault.c:186(smb_panic_log)
If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider reporting this bug, see https://wiki.samba.org/index.php/Bug_Reporting
../../lib/util/fault.c:191(smb_panic_log)
===============================================================
../../lib/util/fault.c:192(smb_panic_log)
PANIC (pid 3230): Signal 11: Segmentation fault in 4.20.5
@tsutsui
tsutsui / ttmkdir-dejavu-ttf_fonts.dir-corrupts.log
Created October 17, 2024 13:05
pkgsrc-2024Q3 (and more?) ttmkfdir2 is broken on installing dejavu-ttf?
% sudo pkg_add -U /work/pkgsrc/packages/i386-10.0_2024Q3/All/dejavu-ttf-2.37.tgz
dejavu-ttf-2.37: updating font database in /usr/pkg/share/fonts/X11/TTF (ttf)
dejavu-ttf-2.37: updating font database in /usr/pkg/share/fonts/X11/TTF (x11)
dejavu-ttf-2.37: copying /usr/pkg/share/examples/dejavu-ttf/fontconfig-conf.d/20-unhint-small-dejavu-sans-mono.conf to /usr/pkg/etc/fontconfig/conf.d/20-unhint-small-dejavu-sans-mono.conf
dejavu-ttf-2.37: copying /usr/pkg/share/examples/dejavu-ttf/fontconfig-conf.d/20-unhint-small-dejavu-sans.conf to /usr/pkg/etc/fontconfig/conf.d/20-unhint-small-dejavu-sans.conf
dejavu-ttf-2.37: copying /usr/pkg/share/examples/dejavu-ttf/fontconfig-conf.d/20-unhint-small-dejavu-serif.conf to /usr/pkg/etc/fontconfig/conf.d/20-unhint-small-dejavu-serif.conf
dejavu-ttf-2.37: copying /usr/pkg/share/examples/dejavu-ttf/fontconfig-conf.d/57-dejavu-sans-mono.conf to /usr/pkg/etc/fontconfig/conf.d/57-dejavu-sans-mono.conf
dejavu-ttf-2.37: copying /usr/pkg/share/examples/dejavu-ttf/fontconfig-conf.d/5
@tsutsui
tsutsui / rtd2660.log
Created August 9, 2024 19:49
Log data on modifying firmware of DELL P2314H via DVI-D to HDMI by https://github.com/mcDomDom/RTDProgrammer
tsutsui@raspberrypi:~/RTDProgrammer $ ./rtd2660 -r P2314H.bin 2
Ready use I2C-2
Working with device 4a
JEDEC ID: 0xc22013
Manufacturer Macronix
Chip: 25D40
Size: 512KB
Flash status register(S7-S0): 0x1c
Flash status register(S15-S8): 0xff
SaveFlash P2314H.bin size=512(kbyte)
@tsutsui
tsutsui / rtd2660.log
Created August 9, 2024 15:19
Log data on modifying firmware of C24M2020DJP Amazon BASIC monitor by https://github.com/mcDomDom/RTDProgrammer
tsutsui@raspberrypi:~ $ git clone https://github.com/mcDomDom/RTDProgrammer.git
Cloning into 'RTDProgrammer'...
remote: Enumerating objects: 206, done.
remote: Counting objects: 100% (206/206), done.
remote: Compressing objects: 100% (145/145), done.
remote: Total 206 (delta 124), reused 143 (delta 61), pack-reused 0 (from 0)
Receiving objects: 100% (206/206), 149.68 KiB | 2.77 MiB/s, done.
Resolving deltas: 100% (124/124), done.
tsutsui@raspberrypi:~ $ cd RTDProgrammer/
tsutsui@raspberrypi:~/RTDProgrammer $ make
$NetBSD$
- pull upstream changes to avoid warnings on newer emacs versions
https://github.com/google/mozc/commits/master/src/unix/emacs/mozc.el
- appease various "Warning: docstring has wrong usage of unescaped
single quotes" messages
--- unix/emacs/mozc.el.orig 2021-02-15 05:04:34.000000000 +0000
+++ unix/emacs/mozc.el
@@ -3,6 +3,7 @@