|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||||
2024年05月08日(水) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]#1 [nvmm] comparison on ./buildsh tools@ bare metal 9 mins:build.sh command: ./build.sh -j 8 -T /export/T -O /tmp/O tools build.sh started: Wed May 8 00:27:39 JST 2024 ... build.sh ended: Wed May 8 00:36:51 JST 2024NetBSD thinkc03.s.ki.nu 10.99.10 NetBSD 10.99.10 (GENERIC) #0: Wed May 1 12:36:56 UTC 2024 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64 @ nvmm/qemu 16 mins:build.sh command: ./build.sh -j 8 -T /export/T -O /tmp/O tools build.sh started: Wed May 8 00:27:42 JST 2024 ... build.sh ended: Wed May 8 00:53:13 JST 2024NetBSD thinkc03-10.99.10.s.ki.nu 10.99.10 NetBSD 10.99.10 (HZ1000) #0: Mon May 6 16:03:49 JST 2024 root@localhost:/tmp/O/sys/arch/amd64/compile/HZ1000 amd64 ( つっこみ )
2024年05月06日(月) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]#1 [pkgsrc] py-setuptools (python 3.11.9)
KeyError: 'entry_points'
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for py311-setuptools-69.5.1
* Building wheel...
Traceback (most recent call last):
File "/WRKOBJDIR/devel/py-setuptools/work/setuptools-69.5.1/setuptools/config/setupcfg.py", line 285, in __setitem__
current_value = getattr(target_obj, option_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Distribution' object has no attribute 'entry_points'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/pkg/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in <module>
main()
File "/usr/pkg/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/pkg/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 271, in build_wheel
return _build_backend().build_wheel(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/WRKOBJDIR/devel/py-setuptools/work/setuptools-69.5.1/setuptools/build_meta.py", line 410, in build_wheel
return self._build_with_temp_dir(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/WRKOBJDIR/devel/py-setuptools/work/setuptools-69.5.1/setuptools/build_meta.py", line 395, in _build_with_temp_dir
self.run_setup()
File "/WRKOBJDIR/devel/py-setuptools/work/setuptools-69.5.1/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 93, in <module>
File "/WRKOBJDIR/devel/py-setuptools/work/setuptools-69.5.1/setuptools/__init__.py", line 104, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/WRKOBJDIR/devel/py-setuptools/work/setuptools-69.5.1/setuptools/_distutils/core.py", line 158, in setup
dist.parse_config_files()
File "/WRKOBJDIR/devel/py-setuptools/work/setuptools-69.5.1/setuptools/dist.py", line 627, in parse_config_files
setupcfg.parse_configuration(
File "/WRKOBJDIR/devel/py-setuptools/work/setuptools-69.5.1/setuptools/config/setupcfg.py", line 178, in parse_configuration
options.parse()
File "/WRKOBJDIR/devel/py-setuptools/work/setuptools-69.5.1/setuptools/config/setupcfg.py", line 501, in parse
section_parser_method(section_options)
File "/WRKOBJDIR/devel/py-setuptools/work/setuptools-69.5.1/setuptools/config/setupcfg.py", line 714, in parse_section_entry_points
self['entry_points'] = parsed
~~~~^^^^^^^^^^^^^^^^
File "/WRKOBJDIR/devel/py-setuptools/work/setuptools-69.5.1/setuptools/config/setupcfg.py", line 287, in __setitem__
raise KeyError(option_name) from e
KeyError: 'entry_points'
ERROR Backend subprocess exited when trying to invoke build_wheel
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/devel/py-setuptools
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/py-setuptools
( つっこみ )
#2 make release took 1 hours and 10 min
sudo time ./build.sh -j 8 -T /export/T -O /tmp/O release |& tee /export/LOG
make release started at: Mon May 6 13:38:00 JST 2024
make release finished at: Mon May 6 14:47:13 JST 2024
===> Successful make release
===> build.sh ended: Mon May 6 14:47:13 JST 2024
===> Summary of results:
build.sh command: ./build.sh -j 8 -T /export/T -O /tmp/O release
build.sh started: Mon May 6 13:37:59 JST 2024
NetBSD version: 10.99.10
MACHINE: amd64
MACHINE_ARCH: x86_64
Build platform: NetBSD 9.3 amd64
HOST_SH: /bin/sh
share/mk MAKECONF: /etc/mk.conf
MAKECONF file: /etc/mk.conf
TOOLDIR path: /export/T
DESTDIR path: /tmp/O/destdir.amd64
RELEASEDIR path: /tmp/O/releasedir
Updated makewrapper: /export/T/bin/nbmake-amd64
Successful make release
build.sh ended: Mon May 6 14:47:13 JST 2024
=== .
4153.77 real 20157.62 user 4835.04 sys
@ disk size:
localhost@makoto 15:50:42/240506(..git-work/src)% sudo du -sm /tmp/O /export/T .
10432 /tmp/O 229 /export/T 6573 .
( つっこみ )
#3 qemu invocation for 10.99.10# qemu-system-x86_64 \ -smp 8 \ -m 16G \ -accel nvmm \ -drive driver=qcow2,file=/G/rootfs.qcow2,if=virtio \ -net nic,model=virtio,netdev=tap0 -net user \ -rtc base=localtime,clock=host \ -device intel-hda \ -drive file=/home/makoto/Downloads/NetBSD-10.99.10-amd64.iso,index=1,media=cdrom -boot c \ -netdev tap,id=tap0,ifname=tap0,script=no -device virtio-net-pci -serial pty .. NetBSD Virtual Machine Monitor accelerator is operational char device redirected to /dev/pts/11 (label serial0) qemu-system-x86_64: warning: hub 0 with no nics qemu-system-x86_64: warning: nic virtio-net-pci.1 has no peer libGL error: failed to open /dev/dri/card0: Operation not supported by device libGL error: failed to load driver: i965sudo minicom -p /dev/pts/11 ( つっこみ )
2024年05月05日(日) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]#1 [nvmm] Windows 10 versionthinkc03# qemu-system-x86_64 \ -smp 8 \ -m 8G \ -accel nvmm \ -drive driver=qcow2,file=/I/rootfs.qcow2,if=virtio \ -net nic,model=virtio,netdev=tap1 -net user \ -rtc base=localtime,clock=host \ -device intel-hda \ -drive file=/home/makoto/Downloads/Win10_22H2_English_x64v1.iso,media=cdrom -boot d \ -netdev tap,id=tap1,ifname=tap1,script=no -device virtio-net-pci # qemu-system-x86_64 \ -smp 8 \ -m 8G \ -accel nvmm \ -drive driver=qcow2,file=/I/rootfs.qcow2,if=virtio \ -net nic,model=virtio,netdev=tap1 -net user \ -rtc base=localtime,clock=host \ -device intel-hda \ -drive file=/home/makoto/Downloads/Win10_22H2_English_x64v1.iso,media=cdrom -boot d \ -netdev tap,id=tap1,ifname=tap1,script=no -device virtio-net-pci NetBSD Virtual Machine Monitor accelerator is operational qemu-system-x86_64: warning: hub 0 with no nics qemu-system-x86_64: warning: nic virtio-net-pci.1 has no peer libGL error: failed to open /dev/dri/card0: Operation not supported by device libGL error: failed to load driver: i965(not good yet) ( つっこみ )
#2 serial connection
Either
-serial pty at qemu invocation, you will get serial console. ( つっこみ )
#3 bc bench
thinkc03-10$ time sh -c 'echo "scale=2000; 4*a(1)" | bc -l' > /dev/null
3.20 real 2.77 user 0.00 sys
thinkc03-10$ time sh -c 'echo "scale=2000; e(1)" | bc -l' > /dev/null
5.79 real 5.75 user 0.03 sys
thinkc03-10$
@ bare metal:thinkc03@makoto 10:12:04/240505(~)% time sh -c 'echo "scale=2000; 4*a(1)" | bc -l' > /dev/null 1.43s 0.00s 1.452 98% 220+53k 0+0io 2pf+0w thinkc03@makoto 10:12:18/240505(~)% time sh -c 'echo "scale=2000; e(1)" | bc -l' > /dev/null 3.01s 0.00s 3.073 97% 105+27k 0+0io 0pf+0w thinkc03@makoto 10:12:28/240505(..comms/minicom)% ( つっこみ )
2024年05月04日(土) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]#1 [nvmm] Trial on 10.99.10
10.99.10 (202405031500Z) -> panic 9.4 -> OK 10.0 -> OKReference (in Japanese): @ screen capture:
captured from iPhone photo
Ox7f0a0589e22c ilevel 0 rsp Oxffff97044fbcodfO [ 20.2952031] curlup Oxffffcd30018fe000 pid 1.1 lowest 0 Stopped in pid 1.1 (init) at netbsd :breakpoint+0x5: breakpoint() at netbsd:breakpoint+0x5 [ 19.5426851] cd1 at atapibusi drive 0: <QEMU DVD-ROM, removable [ 19.8933787] swwdog0: software watchdog initialized [ 19.8951722] WARNING: 3 errors while detecting hardware [ 19.89517221 boot device: 1d0 [ 19.89517221 root on ldOa dumgs on Idob [ 19.8951722] root file system type: ffs [ 19.0951722] kern.module path=/stand/amd64/10.99.10/m [ 19.91449021 panic: init died (signal 0, exit 11) [ 19.9144902] cpu®0: Begin traceback... [ 19.9144902] vpanic() at netbsd:vpanic+0x173 [ 19.91449021 panic() at netbsd: panic+0x3c [ 19.9144902] exiti() at netbsd:exit1+0×569 [ 19.9144902] sys_exit() at netbsd:sys_exit+0x39 [ 19.9144902] syscall() at netbsd:syscall+0x17a [ 19.91149021 --- syscall (number 1) ---The reason of this panic is missing /dev/console probably because of i915drmkms issue. userconf disable i915drmkmsat booting may be the answer, Michael van Elst helped at irc at #NetBSD ( つっこみ )
#2 another version (later trial) to succeedthinkc03# qemu-system-x86_64 \ -smp 8 \ -m 16G \ -accel nvmm \ -drive driver=qcow2,file=/G/rootfs.qcow2,if=virtio \ -net nic,model=virtio -net user \ -rtc base=localtime,clock=host \ -device intel-hda \ -drive file=/home/makoto/Downloads/NetBSD-10.99.10-amd64.iso,index=1,media=cdrom -boot d @ setup bridge for inside/outside guest:
/etc/ifconfig.tap0
create descr "NetBSD VM" up ! ifconfig bridge0 create ! ifconfig bridge0 descr "LAN VM bridge" up ! brconfig bridge0 add tap0 add re0at reboot, I needed userconf disable i915drmkmsand, once rebooted in /boot.cfg thinkc03# qemu-system-x86_64 \ -smp 8 \ -m 16G \ -accel nvmm \ -drive driver=qcow2,file=/G/rootfs.qcow2,if=virtio \ -net nic,model=virtio -net user \ -rtc base=localtime,clock=host \ -device intel-hda \ -drive file=/home/makoto/Downloads/NetBSD-10.99.10-amd64.iso,index=1,media=cdrom -boot c \ -netdev tap,id=tap0,ifname=tap0,script=no -device virtio-net-pci,netdev=tap0(not communicating to inside yet) @ now bridge if works with this setup:thinkc03# qemu-system-x86_64 \ -smp 8 \ -m 16G \ -accel nvmm \ -drive driver=qcow2,file=/G/rootfs.qcow2,if=virtio \ -net nic,model=virtio,netdev=tap0 -net user \ -rtc base=localtime,clock=host \ -device intel-hda \ -drive file=/home/makoto/Downloads/NetBSD-10.99.10-amd64.iso,index=1,media=cdrom -boot c \ -netdev tap,id=tap0,ifname=tap0,script=no -device virtio-net-pciThis enables bridge interface, ( つっこみ )
|
最近の日記 2025年10月25日 ・recover from disk error 2025年10月23日 ・dd does not duplicate Windows 11 boot disk ? 2025年10月13日 ・missing package 2025年10月04日 ・pkgin search pkgname segfaults 2025年08月16日 ・installboot (Although it’s too late) | ||||||||