hns - 日記自動生成システム - Version 2.19.9

先月 2022年05月 来月
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2022年05月31日(火) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [pkgsrc] qemu with nvmm

qemu を pkgin install:

Kernel を作り直す:

(もしかして、 modload nvmm をするだけでいいのかな ?)
h97@makoto 07:05:17/220601(~)% cd /export/git-work/netbsd-src/sys/arch/amd64/conf 
h97@makoto 07:05:31/220601(..amd64/conf)% cat GENERIC-no-SYNAPTICS-nvmm
# $NetBSD: XEN3_DOMU,v 1.75 2017/05/21 06:19:37 pgoyette Exp $

include         "arch/amd64/conf/GENERIC"
no options      PMS_SYNAPTICS_TOUCHPAD
options         MSGBUFSIZE=131072
#
pseudo-device  nvmm                    # NetBSD Virtual Machine Monitor
sudo ./build.sh -j 8 -T /export/T -O /tmp/O tools
sudo ./build.sh -j 8 -T /export/T -O /tmp/O kernel=GENERIC-no-SYNAPTICS-nvmm
LCD-Swapped$ dmesg |grep nvmm
[     1.000000] NetBSD 9.99.97 (GENERIC-no-SYNAPTICS-nvmm) #2: Mon May 30 07:49:19 JST 2022
[     1.000000]         root@h97:/tmp/O/sys/arch/amd64/compile/GENERIC-no-SYNAPTICS-nvmm
[     1.856559] nvmm0: attached, using backend x86-vmx

root の窓で X11 application (qemu) を起動:

2016/12/17 の日記を見て、 xterm を起動する、

その中で

sudo -s
export XAUTHORITY=/home/makoto/.Xauthority
しておく、
LCD-Swapped# 
XDG_RUNTIME_DIR=/tmp/runtime-makoto      \
qemu-system-x86_64 -smp 4 -m 8G -cdrom Win10_x64.iso -accel nvmm
で起動
  • 黒い画面が出て CDROM から起動、までは行くが、その先、何も起らない
  • FreeBSD の iso を使ったら、起動することは確認
    FreeBSD-13.1-RELEASE-amd64-disc1.iso
    

disk が必要:

(install するなら)
多分 disk が見えるような工夫が必要かと思う。

謝辞:

  • こういう方法があることを教えてくれた三角さん
  • qemu
  • nvmm
  • htkyama さん


2022年05月29日() 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [NetBSD] 9.99.97 download and copied to USB memory

sevan@makoto 23:32:03/220529(~/Downloads)% zcat NetBSD-9.99.97-amd64-bios-install.img.gz| sudo dd of=/dev/rsd0d bs=64m
0+36000 records in
0+36000 records out
2359296000 bytes transferred in 251.370 secs (9385750 bytes/sec)
acpi0: X/RSDT: OemId <MATBIO,CFSX2-1 ,01072009>, AslId <AMI ,00010013>
...
pchb0 at pci0 dev 0 function 0: Intel Ivy Bridge Host Bridge (rev. 0x09)
i915drmkms0 at pci0 dev 2 function 0: Intel Ivy Bridge Integrated Graphics Device (rev. 0x09)
Intel product 0153 (miscellaneous DASP, revision 0x09) at pci0 dev 4 function 0 not configured
...
root on wd0a dumps on wd0b
root file system type: ffs
kern.module.path=/stand/amd64/9.99.97/modules
kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
kern info: [drm] Driver supports precise vblank timestamp query.
i915drmkms0: interrupting at msi6 vec 0 (i915drmkms0)
kern info: [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on minor 0
intelfb0 at i915drmkms0
kern info: [drm] DRM_I915_DEBUG enabled
kern info: [drm] DRM_I915_DEBUG_GEM enabled
intelfb0: framebuffer at 0xe0005000, size 1680x1050, depth 32, stride 6720
warning: /usr/src/sys/external/bsd/drm2/dist/drm/i915/display/intel_hdmi.c:788: WARN_ON(ret)
no data for est. mode 640x480x67
wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
warning: /usr/src/sys/external/bsd/drm2/dist/drm/i915/display/intel_hdmi.c:788: WARN_ON(ret)
no data for est. mode 640x480x67
wsdisplay0: screen 1 added (default, vt100 emulation)
no data for est. mode 640x480x67
wsdisplay0: screen 2 added (default, vt100 emulation)
no data for est. mode 640x480x67
wsdisplay0: screen 3 added (default, vt100 emulation)
no data for est. mode 640x480x67
wsdisplay0: screen 4 added (default, vt100 emulation)
touch pad does not work (as usual)
pms0: autoconfiguration error: invalid extended w mode 4
pms0: autoconfiguration error: invalid extended w mode 13
pms_synaptics_input: unusual delay (0.140000 s), scheduling reset
pms0: autoconfiguration error: invalid extended w mode 13
pms_synaptics_input: unusual delay (0.199999 s), scheduling reset
pms_synaptics_input: unusual delay (5.669978 s), scheduling reset
pms0: autoconfiguration error: invalid extended w mode 6
pms0: autoconfiguration error: invalid extended w mode 6
pms_synaptics_input: unusual delay (3.309987 s), scheduling reset
pms_synaptics_input: unusual delay (0.130000 s), scheduling reset
pms0: autoconfiguration error: invalid extended w mode 8
    1  2022-05-30 00:14  cd /export/git-work/netbsd-src
    2  2022-05-30 00:14  git status 
    3  2022-05-30 00:15  git branch
    4  2022-05-30 00:15  git checkout master
    5  2022-05-30 00:18  git pull
    6  2022-05-30 00:21  git branch
    7  2022-05-30 00:21  git checkout  sloss-toughbook202203
    8  2022-05-30 00:21  git merge master
    9  2022-05-30 00:21  git g -- .
   10  2022-05-30 00:22  sudo ./build.sh -j 8 -T /export/T -O /tmp/O tools
   11  2022-05-30 00:57  sudo ./build.sh -j 8 -T /export/T -O /tmp/O kernel=GENERIC-no-SYNAPTICS
   12  2022-05-30 01:07  scp  /tmp/O/sys/arch/amd64/compile/GENERIC-no-SYNAPTICS/netbsd 192.168.60.164:/tmp
   13  2022-05-30 01:08  ls sys/arch/amd64/conf
   14  2022-05-30 01:08  ls -lt sys/arch/amd64/conf
   15  2022-05-30 01:09  diff -u GENERIC-no-SYNAPTICS-nvmm  GENERIC-no-SYNAPTICS
   16  2022-05-30 01:09  history
   17  2022-05-30 01:09  fc -fild
   18  2022-05-30 01:10  sudo ./build.sh -j 8 -T /export/T -O /tmp/O kernel=GENERIC-no-SYNAPTICS-nvmm


2022年05月22日() 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [git] cherry-pick

My first 'git cherry-pick'

何となく、それかな、と思っていたのだけれど、実は使ったことがなかった。

きょうの記録
    8  2022-05-22 10:02  cd /export/git-work/check-update
   12  2022-05-22 10:04  git commit -m '(check-update)  exclude 113.xxx from ocaml- package' -- .
   13  2022-05-22 10:04  git branch
   14  2022-05-22 10:04  git pull
   15  2022-05-22 10:04  git push
   17  2022-05-22 10:05  git checkout  release
   18  2022-05-22 10:05  git diff master
   19  2022-05-22 10:06  git merge master
(失敗、一つ多すぎ)
   20  2022-05-22 10:06  cat check-update-sample.sh
(やり直し)
   21  2022-05-22 10:07  git checkout -f  check-update-sample.sh
   22  2022-05-22 10:07  git diff -- .
   23  2022-05-22 10:07  git checkout -f  -- .
   24  2022-05-22 10:07  git diff -- .
   25  2022-05-22 10:08  git merge --abort

   26  2022-05-22 10:08  git diff -- .
   27  2022-05-22 10:08  git g master -- .
   28  2022-05-22 10:08  git show  82ee7d9
   29  2022-05-22 10:08  git cherrypick -h
   30  2022-05-22 10:09  git --help

   33  2022-05-22 10:09  git cherry-pick -h
   34  2022-05-22 10:10  git cherry-pick 82ee7d9
   35  2022-05-22 10:10  git diff -- .
   36  2022-05-22 10:10  git branch

   39  2022-05-22 10:11  git g -- .
   41  2022-05-22 10:11  git branch
   42  2022-05-22 10:11  git pull
   43  2022-05-22 10:11  git push
   44  2022-05-22 10:12  history
   45  2022-05-22 10:12  fc -fild 
  • master に一つ commit
  • release と違いを調べる
  • 一つ(変更点が)多すぎるか、いいか
  • git merge master
  • merge CONFLICT
  • (やり直し)
  • git cherry-pick のやり方を調べる
  • きょうの commit の (hash) を知る
  • release 側で
  • git cherry-pick (hash)
  • diff すると何もない
  • cherry-pick は commit までしてくれる
Ref:


2022年05月21日() 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [pkgsrc] Perl and SQlite



2022年05月20日(金) 旧暦 [n年日記]

#1 [FileMaker] Layout を写す方法ということで

  1. 例えば、 装置利用記録明細を開けて、 Edit Layout して、 全てを control-a で選びます
  2. Edit -> copy します
  3. exit layout します
  4. 別の新しい layout を開けて
  5. paste します
  6. Exit Layout します。
  7. Layout と table の関連を設定(指定)出来るので、
    Manage -> Layout を選びます
    
  8. 編集したい Layout を選びます
    • 自分の名前や
    • Associated table の名前を変更可能です
こうすると、 field は、以前の写す前の先に link されています

でも これで中身がどうなるかと言うと、中も入っていません (?)



2022年05月19日(木) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [FileMaker] makig relationship

There cannot be more than one relation path
between any two tables in the graph . Another


Name of Occurrence: ...xbF


2022年05月18日(水) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [FileMaker] Relation の作り方

group:group_id=usagedetail4:group_id
group:groupname_ja=usagedetail4:groupname_ja
のようなものを作りたい時には、
  1. usagedetail4 の方に group_id の field を用意する
  2. usagedetail4 の方に groupname_ja の field を用意する
  3.   データべースの管理 (Database Management) 
       -> 関係 (Relation) 
         -> Tables/Relationships -> (二つ目) Create a relation ship
           -> 左側に From (group) 
              -> 右側に To (usagedetail 4) 
                 -> この二つの表の問の、
                    -> 両方の関係を選んで Add したら
                       -> OK
    
    します。一つ作っておいて、二つ目を追加しようとしたら、そういうのは出来ません、と言われたので、一度消して、
    There cannoThere cannot be more than one relation path
    between any two tables in the graph . Another
    
    Name of Occurrence:
    
    もう一度やり直した。
二つまでは作れるのだれど、別の表からの relationship が出来ない

#2 template を写すと、

  • relation の次の五つが消えて
    group::group_id
    group::groupname_ja
    lab::labname_ja
    theme_usagedetail::kadai_no
    theme_usagedetail::themename
    
  • count
    count_record
    status
    status_for_usagedetail_minumu
    
    の四つが増えるので、結局、一つ減る
何故か alphabetical に並ぶ

これらを手で加えて、 layout の方にも加えたら:

LayoutMetadata (usagedetail 5) からも見えた


2022年05月16日(月) 旧暦 [n年日記] [更新:"2022/05/16 15:57:27"]

#1 [pkgsrc] mame-0.243 is taking more than 12 hours

cluster031$ ls -lt /P/bulklog/mame-0.243/
total 58344
-rw-r--r--  1 pbulk  wheel  29118467 May 16 15:53 work.log
-rw-r--r--  1 root   wheel    643241 May 16 15:53 build.log
-rw-r--r--  1 root   wheel      4583 May 16 03:56 configure.log
-rw-r--r--  1 root   wheel       153 May 16 03:54 checksum.log
-rw-r--r--  1 root   wheel      2189 May 16 03:54 depends.log
-rw-r--r--  1 root   wheel        29 May 16 03:54 pre-clean.log


2022年05月15日() 旧暦 [n年日記] [更新:"2022/05/15 01:55:51"]

#1 [pkgsrc] cmake -> libpthread stalles at geography/qgis

29153 ?     I       0:00.03 | |   `-- /bin/sh /usr/pkg_bulk/libexec/pbulk/pkg-build 
29787 ?     I       0:00.57 | |     `-- /usr/bin/make all BATCH DEPENDS_TARGET PYTHON_VERSION_REQD PGSQL_VERSION_REQD WRKLOG 
 8456 ?     I       0:00.00 | |       `-- /bin/sh -c set -e;\t\t\t\t\t if test -n "" &&  /usr/sbin/pkg_info -K /usr/pkg/pkgdb -qe qgis-3.22.6; then  echo ===\\> "Skipping 
21930 ?     I       0:00.75 | |         `-- /usr/bin/make _MAKE OPSYS OS_VERSION OPSYS_VERSION LOWER_OPSYS _PKGSRCDIR PKGTOOLS_VERSION _CC _PATH_ORIG _PKGSRC_BARRIER ALLOW
 5872 ?     I       0:00.07 | |           `-- /usr/pkg/bin/gmake -j4 -f Makefile all 
26830 ?     I       0:00.98 | |             `-- /usr/pkg/bin/gmake -s -f CMakeFiles/Makefile2 all 
 3218 ?     I       0:00.01 | |               `-- /usr/pkg/bin/gmake -s -f tests/src/core/CMakeFiles/test_core_mapdevicepixelratio_autogen.dir/build.make tests/src/core/CM
 7564 ?     Sl      0:00.07 | |                 `-- /usr/pkg/bin/cmake -E cmake_autogen /tmp/geography/qgis/work/qgis-3.22.6/build/tests/src/core/CMakeFiles/test_core_mapd
   15 ?     Z       0:00.00 | |                   `-- (g++)
gdb attach 7564
(gdb) bt
#0  0x00006fcc0bca1f7a in ___lwp_park60 () from /usr/lib/libc.so.12
#1  0x00006fcc0ce0a71f in pthread_cond_timedwait () from /usr/lib/libpthread.so.1
#2  0x00006fcc0caa1412 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib/libstdc++.so.9
#3  0x00000001214f9045 in cmWorkerPoolInternal::Work(unsigned int) ()
#4  0x00006fcc0ca9f5aa in ?? () from /usr/lib/libstdc++.so.9
#5  0x00006fcc0ce0c072 in ?? () from /usr/lib/libpthread.so.1
#6  0x00006fcc0bc87af0 in ?? () from /usr/lib/libc.so.12
#7  0x0000000000000000 in ?? ()
(gdb) 
08:09 < jperkin> you can SIGSTOP/START to kick it into life again
08:30 <@nbjoerg> mef: SIGSTOP + SIGCONT normally fixes it


2022年05月14日() 旧暦 [n年日記] [更新:"2022/05/14 09:53:17"]

#1 [pkgsrc] binary update (79 hours for 45.8 GB)

.9.0-current-2022-05-08-08.40/All/zzuf-0.15.tgz

sent 45,867,918,340 bytes  received 493,619 bytes  161,125.25 bytes/sec
total size is 45,854,825,294  speedup is 1.00
692.14s 558.82s 79:04:34.94 0% 0+0k 4+0io 23pf+0w
backup-u@makoto 16:15:11/220514(..packages/current)% 
(161 kB/sec) ? 上に書いてあった。


2022年05月10日(火) 旧暦 [n年日記] [更新:"2022/05/10 01:29:52"]

#1 [pkgsrc] mysql root account

I have my personal memo as:
my.cnf

[mysqld]
.
.
skip-grant-tables
.
------------------------------------
restart

mysql -u root
mysql> use mysql
Database changed

mysql> UPDATE user SET authentication_string=password('    ') WHERE user='root';
Query OK, 1 row affected, 1 warning (0.01 sec)
Rows matched: 1  Changed: 1  Warnings: 1

mysql> flush privileges;
and the similar thing may be found at the diary 2019/02/16 .

But this entry can not be found with the search by 'mysql'. I needed to use 'mysqld' instead.



2022年05月08日() 旧暦 [n年日記] [更新:"2022/05/08 08:42:49"]

#1 [perl] calltree-perl

calltree-perl の名前が思い出せなくて、 自分の日記で探したら、 2016/03/06 に書いてあった

devel/calltree-perl

に入っているのも忘れていた、今は 00_3 になっているらしい。

本当は php の相当品が欲しかった。


これを使えばいいのかな -> 違った。これは 「php を使って」だった。欲しいの は 「php を対象にして」だ。



2022年05月07日() 旧暦 [n年日記] [更新:"2022/05/07 04:12:37"]

#1 [] battery

その前の版を、 九年間使った後に、 2019/10/02 に交換したはずの
75D23L Atlas battery 7,060 円
であるが、現在 2.5 年使用中。
最近、負極 (minus terminal) 側に青白い粉がたくさん出ていた(写真を撮らなかった)。
はけで、こすったら、簡単に飛んで行く。しめってはいなかった。

#2 Window Washer 液

空っぽになっているらしかったので、 2 L のものを買って来て入れたが。 まだ、出て来ないので、下の方を見たら、多分、全部、もれてなくなっていた。

#3 Oil 交換 + Oil Filter

(オイル + オイル・フィルタ)交換
161,026 km


2022年05月06日(金) 旧暦 [n年日記] [更新:"2022/05/07 14:21:13"]

#1 [Mother_Board][M/B] Does not power on

GIGA Byte
GA-N3150N-D3V
won't power on, replacing Power Supply does not help. CMOS reset (just unplug Battery as well as AC-100 for a while) does not give any change.

CMOS battery is measured as 3.0 V.

Clear CMOS won't help either By shorting Power ON on 22 pin Power connecter supplies HDD, and the fan, but not to continue to board on after unshorted.


2022年05月01日() 旧暦 [n年日記] [更新:"2022/05/07 22:04:56"]

#1 [] 里芋の植付

100 個近く植付した 05/02 と、05/05 にも、追加で、合計 120 個くらいかも知れない



最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
以上、15 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)