AMD EPYC 7302P 16-Core Processor FreeBSD 13.0-RELEASE 版 MATEを起動 11ac無線LAN RTX2080Tiのnvidia-smi amdtemp lscpu lstopo 関連をSamsung SSD 980 PRO 250GBにInstallしてみた


root@freebsd:~ # sysctl hw.model
hw.model: AMD EPYC 7302P 16-Core Processor
root@freebsd:~ # uname -a
FreeBSD freebsd 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr 9 04:24:09 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
root@freebsd:~ # php -v
PHP 8.0.6 (cli) (built: May 8 2021 01:15:01) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.6, Copyright (c) Zend Technologies
root@freebsd:~ # curl -V
curl 7.76.0 (amd64-portbld-freebsd13.0) libcurl/7.76.0 OpenSSL/1.1.1k zlib/1.2.11 nghttp2/1.43.0
Release-Date: 2021-03-31
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp smtp smtps telnet tftp
Features: alt-svc AsynchDNS GSS-API HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz NTLM NTLM_WB SPNEGO SSL TLS-SRP UnixSockets
root@freebsd:~ # samba -V
Version 4.13.7
root@freebsd:~ # ifconfig wlan0
wlan0: flags=8843 metric 0 mtu 1500
options=200001
ether 00:22:cf:e2:46:90
inet6 fe80::222:cfff:fee2:4690%wlan0 prefixlen 64 scopeid 0x4
inet6 2400:4052:46e0:b700:222:cfff:fee2:4690 prefixlen 64 autoconf
inet 192.168.1.51 netmask 0xffffff00 broadcast 192.168.1.255
groups: wlan
ssid Planex_5-E5DE07 channel 36 (5180 MHz 11a ht/20) bssid 00:22:cf:e5:de:0a
regdomain FCC country US authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 2:128-bit txpower 17 bmiss 7 mcastrate 6
mgmtrate 6 scanvalid 60 ht20 ampdulimit 64k ampdudensity 16 shortgi
-stbc -uapsd wme roaming MANUAL
parent interface: rtwn0
media: IEEE 802.11 Wireless Ethernet MCS mode 11na
status: associated
nd6 options=23
root@freebsd:~ # lscpu
Architecture: amd64
Byte Order: Little Endian
Total CPU(s): 32
Thread(s) per core: 1
Core(s) per socket: 32
Socket(s): 1
Vendor: AuthenticAMD
CPU family: 23
Model: 49
Model name: AMD EPYC 7302P 16-Core Processor
Stepping: 0
L1d cache: 32K
L1i cache: 32K
L2 cache: 512K
L3 cache: 128M
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 cflsh mmx fxsr sse sse2 htt sse3 pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave osxsave avx f16c rdrnd syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm lahf_lm cmp_legacy svm extapic cr8_legacy lzcnt sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb pcx_l2i
root@freebsd:~ # nvmecontrol devlist
nvme0: Samsung SSD 980 PRO 250GB
nvme0ns1 (238475MB)
root@freebsd:~ #
root@freebsd:~ # sysctl hw.physmem
hw.physmem: 68493881344
root@freebsd:~ # sysctl hw | grep mem
hw.physmem: 68493881344
hw.usermem: 67656667136
hw.realmem: 68719476736
hw.pci.host_mem_start: 2147483648
hw.cbb.start_memory: 2281701376
root@freebsd:~ # nvmecontrol logpage -p 2 nvme0 | grep ^Temp
Temperature: 310 K, 36.85 C, 98.33 F
Temperature Sensor 1: 310 K, 36.85 C, 98.33 F
Temperature Sensor 2: 324 K, 50.85 C, 123.53 F
Temperature 1 Transition Count: 0
Temperature 2 Transition Count: 0
root@freebsd:~ # lstopo
Machine (64GB)
Package L#0
L3 L#0 (16MB)
L2 L#0 (512KB) + L1d L#0 (32KB) + L1i L#0 (32KB) + Core L#0
PU L#0 (P#0)
PU L#1 (P#1)
L2 L#1 (512KB) + L1d L#1 (32KB) + L1i L#1 (32KB) + Core L#1
PU L#2 (P#2)
PU L#3 (P#3)
L3 L#1 (16MB)
L2 L#2 (512KB) + L1d L#2 (32KB) + L1i L#2 (32KB) + Core L#2
PU L#4 (P#4)
PU L#5 (P#5)
L2 L#3 (512KB) + L1d L#3 (32KB) + L1i L#3 (32KB) + Core L#3
PU L#6 (P#6)
PU L#7 (P#7)
L3 L#2 (16MB)
L2 L#4 (512KB) + L1d L#4 (32KB) + L1i L#4 (32KB) + Core L#4
PU L#8 (P#8)
PU L#9 (P#9)
L2 L#5 (512KB) + L1d L#5 (32KB) + L1i L#5 (32KB) + Core L#5
PU L#10 (P#10)
PU L#11 (P#11)
L3 L#3 (16MB)
L2 L#6 (512KB) + L1d L#6 (32KB) + L1i L#6 (32KB) + Core L#6
PU L#12 (P#12)
PU L#13 (P#13)
L2 L#7 (512KB) + L1d L#7 (32KB) + L1i L#7 (32KB) + Core L#7
PU L#14 (P#14)
PU L#15 (P#15)
L3 L#4 (16MB)
L2 L#8 (512KB) + L1d L#8 (32KB) + L1i L#8 (32KB) + Core L#8
PU L#16 (P#16)
PU L#17 (P#17)
L2 L#9 (512KB) + L1d L#9 (32KB) + L1i L#9 (32KB) + Core L#9
PU L#18 (P#18)
PU L#19 (P#19)
L3 L#5 (16MB)
L2 L#10 (512KB) + L1d L#10 (32KB) + L1i L#10 (32KB) + Core L#10
PU L#20 (P#20)
PU L#21 (P#21)
L2 L#11 (512KB) + L1d L#11 (32KB) + L1i L#11 (32KB) + Core L#11
PU L#22 (P#22)
PU L#23 (P#23)
L3 L#6 (16MB)
L2 L#12 (512KB) + L1d L#12 (32KB) + L1i L#12 (32KB) + Core L#12
PU L#24 (P#24)
PU L#25 (P#25)
L2 L#13 (512KB) + L1d L#13 (32KB) + L1i L#13 (32KB) + Core L#13
PU L#26 (P#26)
PU L#27 (P#27)
L3 L#7 (16MB)
L2 L#14 (512KB) + L1d L#14 (32KB) + L1i L#14 (32KB) + Core L#14
PU L#28 (P#28)
PU L#29 (P#29)
L2 L#15 (512KB) + L1d L#15 (32KB) + L1i L#15 (32KB) + Core L#15
PU L#30 (P#30)
PU L#31 (P#31)
HostBridge L#0
PCIBridge
PCI 144d:a80a
HostBridge L#2
PCIBridge
2 x { PCI 8086:1521 }
PCIBridge
PCI 1022:7901
PCIBridge
PCI 1022:7901
HostBridge L#6
PCIBridge
PCI 10de:1e07
PCIBridge
PCI 1022:7901
PCIBridge
PCI 1022:7901
HostBridge L#10
PCIBridge
PCIBridge
PCI 1a03:2000
root@freebsd:~ # kldload amdtemp
root@freebsd:~ # sysctl dev.cpu | grep temperature
dev.cpu.31.temperature: 28.6C
dev.cpu.30.temperature: 28.6C
dev.cpu.29.temperature: 28.6C
dev.cpu.28.temperature: 28.6C
dev.cpu.27.temperature: 28.6C
dev.cpu.26.temperature: 28.6C
dev.cpu.25.temperature: 28.6C
dev.cpu.24.temperature: 28.6C
dev.cpu.23.temperature: 28.6C
dev.cpu.22.temperature: 28.6C
dev.cpu.21.temperature: 28.6C
dev.cpu.20.temperature: 28.6C
dev.cpu.19.temperature: 28.6C
dev.cpu.18.temperature: 28.6C
dev.cpu.17.temperature: 28.6C
dev.cpu.16.temperature: 28.6C
dev.cpu.15.temperature: 28.6C
dev.cpu.14.temperature: 28.6C
dev.cpu.13.temperature: 28.6C
dev.cpu.12.temperature: 28.6C
dev.cpu.11.temperature: 28.6C
dev.cpu.10.temperature: 28.6C
dev.cpu.9.temperature: 28.6C
dev.cpu.8.temperature: 28.6C
dev.cpu.7.temperature: 28.6C
dev.cpu.6.temperature: 28.6C
dev.cpu.5.temperature: 28.6C
dev.cpu.4.temperature: 28.6C
dev.cpu.3.temperature: 28.6C
dev.cpu.2.temperature: 28.6C
dev.cpu.1.temperature: 28.6C
dev.cpu.0.temperature: 28.6C
root@freebsd:~ #
AMD EPYC 7302P 16-Core Processor FreeBSD 13.0-RELEASE RTX2080Ti MATE 11ac nvidia-smi amdtemp lscpu lstopo Samsung SSD 980 PRO 250GBにInstall

カテゴリー: 11ac無線LAN, freebsd, nvidia | コメントする

Arch Linux Samba4.14.4 AMD EPYC 7502P 32-core Processorに構築した Windows Server 2022 Datacenter Active Directory Domain のメンバーに参加してみた


[root@archlinux ~]# kinit administrator
Password for administrator@TEST.JP:
[root@archlinux ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘ARCHLINUX’ to dns domain ‘test.jp’
No DNS domain configured for archlinux. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@archlinux ~]# systemctl restart winbind
[root@archlinux ~]# wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
[root@archlinux ~]# wbinfo -n administrator
S-1-5-21-1027568716-2615651473-4055231525-500 SID_USER (1)
[root@archlinux ~]# net ads info
LDAP server: 192.168.1.19
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Mon, 17 May 2021 03:38:27 UTC
KDC server: 192.168.1.19
Server time offset: -7
Last machine account password change: Mon, 17 May 2021 03:37:42 UTC
[root@archlinux ~]# host -4 dc
-bash: host: command not found
[root@archlinux ~]# host -4 dc
dc.test.jp has address 192.168.1.19
dc.test.jp has address 192.168.1.34
dc.test.jp has IPv6 address 2400:4052:46e0:b700:acc0:d100:c92c:b122
dc.test.jp has IPv6 address 2400:4052:46e0:b700:571:57ef:f35:ae2c
[root@archlinux ~]# host -4 dc1
dc1.test.jp has address 192.168.1.85
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:f47a:f72:3d0c:4b65
[root@archlinux ~]# host -4 dc2
dc2.test.jp has address 192.168.1.86
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:d515:d71a:cedd:ebb7
[root@archlinux ~]# host -t SRV _ldap._tcp.test.jp
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc2.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc1.test.jp.
[root@archlinux ~]# host -t SRV _kerberos._udp.test.jp
_kerberos._udp.test.jp has SRV record 0 100 88 dc2.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc1.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.
[root@archlinux ~]# host -t A test.jp
test.jp has address 192.168.1.85
test.jp has address 192.168.1.19
test.jp has address 192.168.1.34
test.jp has address 192.168.1.86
[root@archlinux ~]# cat /etc/os-release
NAME=”Arch Linux”
PRETTY_NAME=”Arch Linux”
ID=arch
BUILD_ID=rolling
ANSI_COLOR=”38;2;23;147;209″
HOME_URL=”https://www.archlinux.org/”
DOCUMENTATION_URL=”https://wiki.archlinux.org/”
SUPPORT_URL=”https://bbs.archlinux.org/”
BUG_REPORT_URL=”https://bugs.archlinux.org/”
LOGO=archlinux
[root@archlinux ~]# samba -V
Version 4.14.4
[root@archlinux ~]# smbclient //192.168.1.19/netlogon -Uadministrator
Arch Linux Samba4.14.4 AMD EPYC 7502P 32-core Processorに構築した Windows Server 2022 Datacenter Active Directory Domain のメンバーに参加してみた

カテゴリー: archlinux, samba4, windows | コメントする

Debian GNU/Linux 11 (bullseye) を新規Installしてみた

Debian GNU/Linux 11 (bullseye) を新規Installしてみました。

root@debian:~# uname -r
5.10.0-6-amd64
root@debian:~# php -v
PHP 7.4.15 (cli) (built: Feb 20 2021 09:45:56) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.15, Copyright (c), by Zend Technologies
root@debian:~# curl -V
curl 7.74.0 (x86_64-pc-linux-gnu) libcurl/7.74.0 OpenSSL/1.1.1k zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0 librtmp/2.3
Release-Date: 2020-12-09
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
root@debian:~# samba -V
Version 4.13.5-Debian
root@debian:~# cat /etc/os-release
PRETTY_NAME=”Debian GNU/Linux 11 (bullseye)”
NAME=”Debian GNU/Linux”
VERSION_ID=”11″
VERSION=”11 (bullseye)”
VERSION_CODENAME=bullseye
ID=debian
HOME_URL=”https://www.debian.org/”
SUPPORT_URL=”https://www.debian.org/support”
BUG_REPORT_URL=”https://bugs.debian.org/”
root@debian:~#

カテゴリー: debian | コメントする

FreeBSD 13.0-STABLE Samba4.13.8 AMD EPYC 32-core Processor に構築したWindows Server 2022 Datacenter Active Directory Domain のメンバーに参加してみた


root@freebsd:~ # kinit administrator
administrator@TEST.JP’s Password:
root@freebsd:~ # net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘FREEBSD’ to dns domain ‘test.jp’
No DNS domain configured for freebsd. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@freebsd:~ # service samba_server start
Performing sanity check on Samba configuration: OK
Starting nmbd.
Starting smbd.
Starting winbindd.
root@freebsd:~ # wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
root@freebsd:~ # wbinfo -n chibi
S-1-5-21-1027568716-2615651473-4055231525-1103 SID_USER (1)
root@freebsd:~ # net ads info
LDAP server: 192.168.1.34
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Mon, 17 May 2021 12:20:26 JST
KDC server: 192.168.1.34
Server time offset: -6
Last machine account password change: Mon, 17 May 2021 12:18:57 JST
root@freebsd:~ # host -4 dc
dc.test.jp has address 192.168.1.19
dc.test.jp has address 192.168.1.34
dc.test.jp has IPv6 address 2400:4052:46e0:b700:acc0:d100:c92c:b122
dc.test.jp has IPv6 address 2400:4052:46e0:b700:571:57ef:f35:ae2c
root@freebsd:~ # host -4 dc1
dc1.test.jp has address 192.168.1.85
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:f47a:f72:3d0c:4b65
root@freebsd:~ # host -4 dc2
dc2.test.jp has address 192.168.1.86
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:d515:d71a:cedd:ebb7
root@freebsd:~ # host -t SRV _ldap._tcp.test.jp
_ldap._tcp.test.jp has SRV record 0 100 389 dc1.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc2.test.jp.
root@freebsd:~ # host -t SRV _kerberos._udp.test.jp
_kerberos._udp.test.jp has SRV record 0 100 88 dc2.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc1.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.
root@freebsd:~ # host -t A test.jp
test.jp has address 192.168.1.34
test.jp has address 192.168.1.85
test.jp has address 192.168.1.19
test.jp has address 192.168.1.86
root@freebsd:~ # uname -a
FreeBSD freebsd 13.0-STABLE FreeBSD 13.0-STABLE #0 stable/13-n245524-11af9a9cf93: Thu May 6 07:28:28 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
root@freebsd:~ # samba -V
Version 4.13.8
root@freebsd:~ # smbclient //192.168.1.19/netlogon -Uadministrator
FreeBSD 13.0-STABLE Samba4.13.8 AMD EPYC 32-core Processor に構築したWindows Server 2022 Datacenter Active Directory Domain のメンバーに参加してみた

カテゴリー: freebsd, samba4, windows | コメントする

FreeBSD 12.2-STABLE r369733 Samba4.13.8 AMD EPYC 32-core Processor に構築したWindows Server 2022 Datacenter Active Directory Domain のメンバーに参加してみた


root@freebsd:~ # kinit administrator
administrator@TEST.JP’s Password:
root@freebsd:~ # net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘FREEBSD’ to dns domain ‘test.jp’
No DNS domain configured for freebsd. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@freebsd:~ # service samba_server start

Performing sanity check on Samba configuration: OK
Starting nmbd.
Starting smbd.
Starting winbindd.
root@freebsd:~ #
root@freebsd:~ # wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
root@freebsd:~ # wbinfo -n chibi
S-1-5-21-1027568716-2615651473-4055231525-1103 SID_USER (1)
root@freebsd:~ # net ads info
LDAP server: 192.168.1.85
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Mon, 17 May 2021 11:54:36 JST
KDC server: 192.168.1.85
Server time offset: -7
Last machine account password change: Mon, 17 May 2021 11:53:28 JST
root@freebsd:~ # host -4 dc
dc.test.jp has address 192.168.1.19
dc.test.jp has address 192.168.1.34
dc.test.jp has IPv6 address 2400:4052:46e0:b700:acc0:d100:c92c:b122
dc.test.jp has IPv6 address 2400:4052:46e0:b700:571:57ef:f35:ae2c
root@freebsd:~ # host -4 dc1
dc1.test.jp has address 192.168.1.85
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:f47a:f72:3d0c:4b65
root@freebsd:~ # host -4 dc2
dc2.test.jp has address 192.168.1.86
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:d515:d71a:cedd:ebb7
root@freebsd:~ # host -t SRV _ldap._tcp.test.jp
_ldap._tcp.test.jp has SRV record 0 100 389 dc2.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc1.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.
root@freebsd:~ # host -t SRV _kerberos._udp.test.jp
_kerberos._udp.test.jp has SRV record 0 100 88 dc2.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc1.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.
root@freebsd:~ # host -t A test.jp
test.jp has address 192.168.1.19
test.jp has address 192.168.1.85
test.jp has address 192.168.1.34
test.jp has address 192.168.1.86
root@freebsd:~ # uname -a
FreeBSD freebsd 12.2-STABLE FreeBSD 12.2-STABLE r369733 GENERIC amd64
root@freebsd:~ # samba -V
Version 4.13.8
root@freebsd:~ # smbclient //192.168.1.19/netlogon -U administrator
FreeBSD 12.2-STABLE r369733 Samba4.13.8 AMD EPYC 32-core Processor に構築したWindows Server 2022 Datacenter Active Directory Domain のメンバーに参加してみた

カテゴリー: freebsd, samba4, windows | コメントする