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

  • 10/25() 0900 -- WW DX Phone
  • 10/25() Interface
  • 10/26() 0600-1200 東京 CW (3.5-430)
  • 10/26() AP Sprint Log deadline
  • 10/26() 火災保険 64k
  • 10/31(金) NTT 東 払込期日
  • 11/01() atactl check
  • 11/02() TES (25.2k)引落
  • 11/05(水) 不燃ごみ
  • 11/08() 16:00-22:00 JIDX Phone
  • 11/14(金) r 誕生日
  • 11/15() 木之本会議
  • 11/19(水) CQ Ham Radio
  • 11/19(水) mym + ki.nu 誕生日
  • 11/19(水) 不燃ごみ
  • 11/19(水) 別冊 CQ
  • 403 JNUG 総会/BOF 2017/07/08 (土)
  • 402 用途別 Emacs ( C, LaTeX, 日本語 )
  • 380 cvsweb の移行
  • 370 tamago 辞書登録
  • 368 CROSS (cross/i386-mingw32, cross/powerpc-linux ) Framework --- binutils + gcc
  • 363 Wanderlust+HyperEstraier
  • 360 evbppc 用 patch / 玄箱
  • 335 /dev/battery is missing hack | libgcc_s_pic.a is missing | samba の -PIE 問題335 ntpd monitor
  • 325 tcode頁の更新
  • 322 software |hardware
  • 321 emacs-22 | IPv6
  • 320 bulk build (Mac OS X 10.4 and NetBSD/macppc)
  • 310 Wanderlust の Namazu の挙動
  • 290 WordPress 1.2 -> 1.5 migration
  • 220 Wanderlust で日本語題名の wl-summary-print-buffer
  • 215 NetBSD/ofppc
便利なツール
Emacs
らくらく 入門
rakuraku-emacs-cover

先月 2025年10月
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 による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

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

#1 [PC] dd does not duplicate Windows 11 boot disk ?

  • PC = Windows 11
  • boot external sd0 with NetBSD install image
  • insert another bootable candidate SATA disk (with USB) 500GB
  • dd if=/dev/wd0d of=/dev/sd0 bs=64m
  • unrecorded error at the end

boot disk:

# gpt show wd0
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34       2014         Unused
       2048     532480      1  GPT part - EFI System
     534528      32768      2  GPT part - Windows reserved
     567296  456042615      3  GPT part - Windows basic data
  456609911       1929         Unused
  456611840    1560576      4  GPT part - Windows recovery
  458172416       2048         Unused
  458174464   41943040      5  GPT part - de94bba4-06d1-4d40-a161-bfd50179d6ac
  500117504        655         Unused
  500118159         32         Sec GPT table
  500118191          1         Sec GPT header

dd copied disk:

# gpt show sd1
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34       2014         Unused
       2048     532480      1  GPT part - EFI System
     534528      32768      2  GPT part - Windows reserved
     567296  456042615      3  GPT part - Windows basic data
  456609911       1929         Unused
  456611840    1560576      4  GPT part - Windows recovery
  458172416       2048         Unused
  458174464   41943040      5  GPT part - de94bba4-06d1-4d40-a161-bfd50179d6ac
  500117504        655         Unused
  500118159         32         Sec GPT table
  500118191          1         Sec GPT header
  500118192  437584896         Unused

install image disk (of NetBSD):

# gpt show sd0
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34       2014         Unused
       2048     262144      1  GPT part - EFI System
     264192    4853760      2  GPT part - NetBSD FFSv1/FFSv2
    5117952       2015         Unused
    5119967         32         Sec GPT table
    5119999          1         Sec GPT header
    5120000  971653168         Unused
# exit


2025年10月04日() 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [pkgsrc] pkgin search pkgname segfaults

NetBSD 11.99.2
pkgin-23.8.1nb3     Apt / yum like tool for managing pkgsrc binary packages
think-c11$ pkgin search emacs
think-c11$ /usr/pkg/bin/pkgin search emacs
[1]   Segmentation fault (core dumped) ktrace /usr/pkg/bin/pkgin search emacs
think-c11$ gdb /usr/pkg/bin/pkgin pkgin.core
....
28444  28444 pkgin    CALL  sendto(4,0x7f7ffff01b40,0x8e,0,0,0)
28444  28444 pkgin    MISC  msghdr: [name=0x0, namelen=0, iov=0xffffc489675bff50, iovlen=1, 
       control=0x0, controllen=0, flags=0]
28444  28444 pkgin    GIO   fd 4 wrote 142 bytes
       "<15>1 - think-c11.ki.nu pkgin - - - assertion \"string != NULL\" failed: 
       file \"/usr/src/lib/libc/regex/engine.c\", line 225, function \"smatcher\"\n"


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

#1 [NetBSD] installboot (Although it’s too late)

今更ながら install boot (the same entry 6 Mo ago)
NetBSD/x86 ffsv2 Primary Bootstrap

Boot failed (errno 2): Can't open /boot
Recently I'm getting above issue.
  1. using sysinst Advent calendar 2016
  2. NetBSD/amd64 11.99.1 (but not limited to)
  3. RAID1 configuration (by sysinst)
  4. manual installboot is necessary
After usual sysinst, I would do
  • mount /dev/raid0a /mnt
  • chroot /mnt
  • mount -a
  • cd /usr/mdec
installboot -fv -t raid /dev/wd0a bootxx_ffsv1 /boot
installboot -fv -t raid /dev/wd1a bootxx_ffsv1 /boot
raidctl -A softroot raid0
The issue is:
  1. Is raid0 by above setup is ffsv1 or ffsv2 (See bellow, saying ffsv1)
  2. Is destination partition correct ?

dumpfs:

ms06# dumpfs /dev/rraid0a |head
file system: /dev/rraid0a
format  FFSv1
endian  little-endian
magic   11954           time    Sun Aug 17 06:21:34 2025
superblock location     8192    id      [ 68a03fd1 3814533f ]
cylgrp  dynamic inodes  4.4BSD  sblock  FFSv2   fslevel 4
nbfree  1278219 ndir    530     nifree  2589061 nffree  876
ncg     112     size    10485760        blocks  10321783
bsize   16384   shift   14      mask    0xffffc000
fsize   2048    shift   11      mask    0xfffff800

disklabel:

ms06# disklabel wd0a
# /dev/rwd0a:
type: unknown
disk: wd
label: fictious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 3876021
total sectors: 3907029168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a: 3907027120      2048       RAID                     # (Cyl.      2*- 3876020)
 c: 3907027120      2048     unused      0     0        # (Cyl.      2*- 3876020)
 d: 3907029168         0     unused      0     0        # (Cyl.      0 - 3876020)


2025年07月20日() 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [nvmm] network setup from qemnu

network が見えなかった件は、 次のように、 -nic user だけにしたら、解決した
The issue network is not connected, has been resolved by simply saying -nic user
  qemu-system-x86_64 \
        -smp 4 \
        -m 8G \
        -accel nvmm \
        -drive driver=qcow2,file=/export/Win11.qcow2,if=virtio \
        -nic user  \
        -rtc base=localtime,clock=host \
        -device intel-hda \
        -drive file=/home/makoto/Downloads/Win10_22H2_English_x64v1.iso,index=1,media=cdrom \
        -drive file=/home/makoto/Downloads/virtio-win-0.1.248.iso,index=2,media=cdrom
(the name says win11, but actually using windows 10 for now)


2025年06月13日(金) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#2

CF-SV8#  qemu-system-x86_64 \
        -smp 4 \
        -m 8G \
        -accel nvmm \
        -drive driver=qcow2,file=/export/Win11.qcow2,if=virtio \
        -net nic,model=virtio -net user \
        -rtc base=localtime,clock=host \
        -device intel-hda \
        -drive file=/home/makoto/Downloads/Win10_22H2_English_x64v1.iso,index=0,media=cdrom \
file=/home/makoto/Downloads/virtio-win-0.1.248.iso,index=1,media=cdrom
NetBSD Virtual Machine Monitor accelerator is operational

#1 [NetBSD] Let's Note CF-SV8

  • 2025/05/31 Let's Note CF-SV8 16 GB, Core i7, 512 GB NVMe
    を入手
  • Yodobashi Camera で Western Digital Black NVMe 1 TB を購入
  • 換装
  • Install NetBSD 10.99.14
    dmesg
  • pkg add config-set
  • touch pad does not work even with
    no options      PMS_SYNAPTICS_TOUCHPAD
    
    My historical Let's note needs this in GENERIC
    Full GENERIC-no-SYNAPTICS-nvmm-pmf-debug is:
    include         "arch/amd64/conf/GENERIC"
    no options      PMS_SYNAPTICS_TOUCHPAD
    options         MSGBUFSIZE=131072
    #
    pseudo-device  nvmm                    # NetBSD Virtual Machine Monitor
    
    The reason of touch pad is because it's been moved on iic bus, but iic is not configured
  • WiFi device is not recognized
  • sleep does not work as iic (dwiic has no suspend/resume implemented)
    removing dwiic from kernel makes sleep to work.
  • Try nvmm Ref:
    2022/09/23 (diary)
    (to run with root priviledge on X11 Window system) Ref:
    2014/10/06
    xterm -> sudo -s > export XAUTHORITY=/home/makoto/.Xauthority
    
          # modload nvmm
    CF-SV8# qemu-img create -f qcow2 /export/Win11.qcow2 30G
    Formatting '/export/Win11.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=32212254720 lazy_refcounts=off refcount_bits=16
    CF-SV8# qemu-system-x86_64 \
            -smp 4 \
            -m 8G \
            -accel nvmm \
            -drive driver=qcow2,file=/export/Win11.qcow2,if=virtio \
            -net nic,model=virtio -net user \
            -rtc base=localtime,clock=host \
            -device intel-hda \
            -drive file=/home/makoto/Downloads/Win11_24H2_Japanese_x64.iso,index=1,media=cdrom
    NetBSD Virtual Machine Monitor accelerator is operational
    
    1. NetBSD as guest works
    2. Windows 11 as guest says 'not comlient for Windows 11'



最近の日記
2025年10月23日
dd does not duplicate Windows 11 boot disk ?
2025年10月04日
pkgin search pkgname segfaults
2025年08月16日
installboot (Although it’s too late)
2025年07月20日
network setup from qemnu
2025年06月13日
Let's Note CF-SV8

以上、5 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)