Raspberry Pi 4 Model B で CentOS 7 (aarch64) を動かしてみた

CentOS for Raspberry Pi にて libmultiprocess のビルドしたくていろいろこねくり回したものの、armv7hl (32bit) での限界を感じてしまったので aarch64 (64bit) 化しようと自分で RPi 用イメージを作り始めたところ、なんと aarch64 な CentOS for Raspberry Pi 4 のイメージが正式に公開されていた!
というわけで、CentOS 7 aarch64 for Raspberry Pi を動かすところまでやってみた。

■基礎となる情報
CentOS Linux on the Raspberry Pi 3
https://wiki.centos.org/SpecialInterestGroup/AltArch/Arm32/RaspberryPi3
64bit Quick Start
Coming Soon
ずっとこれなのであきらめてた。
32 bit Quick Start にある 32bit Image をダウンロードする URL に移動し、1つあがって aarch64 → images の中に移動したら Raspberry Pi 4 向け CentOS 7 aarch64 のイメージが存在した。

■CentOS 7 aarch64 for Raspberry Pi 4 のイメージ
CentOS-Userland-7-aarch64-RaspberryPI-Minimal-4-2003-sda.raw.xz
上記の Wiki からダウンロード可能。

■イメージを microSD カードに書き込む
次のコマンドで書き込み。

# xz -dc < CentOS-Userland-7-aarch64-RaspberryPI-Minimal-4-2003-sda.raw.xz | dd of=/dev/sda bs=1M status=progress ; sync

■Kernel

[root@localhost ~]# uname -a
Linux localhost 5.4.28-v8.1.el7 #1 SMP PREEMPT Mon Mar 30 21:28:10 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux

PREEMPT・・・リアルタイムカーネルなの?
パッチ当たってないように見えるけど・・・。

■起動したときの dmesg

[root@localhost ~]# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 5.4.28-v8.1.el7 (mockbuild@aarch64-01.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)) #1 SMP PREEMPT Mon Mar 30 21:28:10 UTC 2020
[    0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.2
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 64 MiB at 0x0000000037400000
[    0.000000] On node 0 totalpages: 993280
[    0.000000]   DMA zone: 3792 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 242688 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 12032 pages used for memmap
[    0.000000]   DMA32 zone: 750592 pages, LIFO batch:63
[    0.000000] percpu: Embedded 31 pages/cpu s89240 r8192 d29544 u126976
[    0.000000] pcpu-alloc: s89240 r8192 d29544 u126976 alloc=31*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 977456
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=64M bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:70:68:DD vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4 elevator=deadline rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x33400000-0x37400000] (64MB)
[    0.000000] Memory: 3823120K/3973120K available (9340K kernel code, 1120K rwdata, 3120K rodata, 1088K init, 1228K bss, 84464K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 32626 entries in 128 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x348/0x4ec with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000006] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000228] Console: colour dummy device 80x25
[    0.000638] printk: console [tty1] enabled
[    0.000683] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.000718] pid_max: default: 32768 minimum: 301
[    0.000855] LSM: Security Framework initializing
[    0.000916] SELinux:  Initializing.
[    0.001187] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001257] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002144] Disabling memory control group subsystem
[    0.024033] ASID allocator initialised with 32768 entries
[    0.032028] rcu: Hierarchical SRCU implementation.
[    0.040388] EFI services will not be available.
[    0.048091] smp: Bringing up secondary CPUs ...
[    0.080299] Detected PIPT I-cache on CPU1
[    0.080359] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.112388] Detected PIPT I-cache on CPU2
[    0.112430] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.144511] Detected PIPT I-cache on CPU3
[    0.144553] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.144696] smp: Brought up 1 node, 4 CPUs
[    0.144786] SMP: Total of 4 processors activated.
[    0.144807] CPU features: detected: 32-bit EL0 Support
[    0.144830] CPU features: detected: CRC32 instructions
[    0.144928] CPU: All CPU(s) started at EL2
[    0.144987] alternatives: patching kernel code
[    0.146451] devtmpfs: initialized
[    0.155829] Enabled cp15_barrier support
[    0.155882] Enabled setend support
[    0.156307] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.156354] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.158523] pinctrl core: initialized pinctrl subsystem
[    0.159261] DMI not present or invalid.
[    0.159615] NET: Registered protocol family 16
[    0.162329] DMA: preallocated 1024 KiB pool for atomic allocations
[    0.162363] audit: initializing netlink subsys (disabled)
[    0.162678] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
[    0.163301] cpuidle: using governor menu
[    0.163597] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.163842] Serial: AMBA PL011 UART driver
[    0.166880] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.176620] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-03-10 15:57, variant start
[    0.180633] raspberrypi-firmware soc:firmware: Firmware hash is 74d7f53b091e465285f38fb96896a8fc328e4c47
[    0.225415] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.228129] vgaarb: loaded
[    0.228539] SCSI subsystem initialized
[    0.228766] usbcore: registered new interface driver usbfs
[    0.228935] usbcore: registered new interface driver hub
[    0.229061] usbcore: registered new device driver usb
[    0.229862] NetLabel: Initializing
[    0.229884] NetLabel:  domain hash size = 128
[    0.229903] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.229986] NetLabel:  unlabeled traffic allowed by default
[    0.230533] clocksource: Switched to clocksource arch_sys_counter
[    0.967996] VFS: Disk quotas dquot_6.6.0
[    0.968112] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.968330] FS-Cache: Loaded
[    0.968547] CacheFiles: Loaded
[    0.977502] thermal_sys: Registered thermal governor 'step_wise'
[    0.977841] NET: Registered protocol family 2
[    0.978658] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.978725] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.978995] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.979424] TCP: Hash tables configured (established 32768 bind 32768)
[    0.979659] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.979737] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.980061] NET: Registered protocol family 1
[    0.980912] RPC: Registered named UNIX socket transport module.
[    0.980937] RPC: Registered udp transport module.
[    0.980957] RPC: Registered tcp transport module.
[    0.980976] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.981006] PCI: CLS 0 bytes, default 64
[    0.982967] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.983218] kvm: Limiting the IPA size due to kernel Virtual Address limit
[    0.983242] kvm [1]: IPA Size Limit: 43bits
[    0.984000] kvm [1]: vgic interrupt IRQ1
[    0.984235] kvm [1]: Hyp mode initialized successfully
[    0.986281] Initialise system trusted keyrings
[    0.986642] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.996491] FS-Cache: Netfs 'nfs' registered for caching
[    1.001251] NFS: Registering the id_resolver key type
[    1.001302] Key type id_resolver registered
[    1.001323] Key type id_legacy registered
[    1.001353] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.003178] Key type asymmetric registered
[    1.003205] Asymmetric key parser 'x509' registered
[    1.003269] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    1.007546] io scheduler mq-deadline registered
[    1.007570] io scheduler kyber registered
[    1.010793] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    1.010834] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    1.010910] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x0603ffffff -> 0x00f8000000
[    1.010984] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00bfffffff -> 0x0000000000
[    1.060635] brcm-pcie fd500000.pcie: link up, 5 GT/s x1 (SSC)
[    1.060966] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    1.060997] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.061025] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[    1.061095] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    1.061329] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.064833] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.065147] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    1.065300] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    1.065706] pci 0000:01:00.0: PME# supported from D0 D3cold
[    1.069063] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.069114] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    1.069146] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    1.069235] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.069265] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    1.069384] pci 0000:00:00.0: enabling device (0000 -> 0002)
[    1.069451] pci 0000:01:00.0: enabling device (0000 -> 0002)
[    1.070113] bcm2708_fb soc:fb: Unable to determine number of FB's. Assuming 1
[    1.070141] bcm2708_fb soc:fb: FB found 1 display(s)
[    1.071067] ------------[ cut here ]------------
[    1.071106] WARNING: CPU: 0 PID: 1 at mm/page_alloc.c:4727 __alloc_pages_nodemask+0x1a0/0x308
[    1.071126] Modules linked in:
[    1.071147] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.28-v8.1.el7 #1
[    1.071165] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT)
[    1.071184] pstate: 20000005 (nzCv daif -PAN -UAO)
[    1.071203] pc : __alloc_pages_nodemask+0x1a0/0x308
[    1.071222] lr : __dma_direct_alloc_pages+0x19c/0x230
[    1.071237] sp : ffffffc01002b810
[    1.071250] x29: ffffffc01002b810 x28: ffffff80f6ff2480
[    1.071270] x27: ffffff80f6684080 x26: ffffff80f6684118
[    1.071288] x25: ffffffc010c43000 x24: ffffffc010dd8000
[    1.071307] x23: 0000000000000000 x22: 000000003fffffff
[    1.071325] x21: 0000000000000000 x20: 0000000000000034
[    1.071343] x19: 0000000000000cc1 x18: 0000000011794477
[    1.071361] x17: 00000000304497e0 x16: 000000003b7d4eba
[    1.071378] x15: 40b38898b5339200 x14: 0000000000000000
[    1.071396] x13: 0000000000000000 x12: 0000000000000000
[    1.071413] x11: 0000000000000000 x10: 0000000000000020
[    1.071431] x9 : 0000000000000000 x8 : 0000000000000000
[    1.071449] x7 : 0000000000048003 x6 : 0000000000048004
[    1.071467] x5 : 0000000000048005 x4 : 0000000000000000
[    1.071484] x3 : 0000000000000000 x2 : 0000000000000000
[    1.071501] x1 : 0000000000000034 x0 : 40b38898b5339200
[    1.071520] Call trace:
[    1.071537]  __alloc_pages_nodemask+0x1a0/0x308
[    1.071553]  __dma_direct_alloc_pages+0x19c/0x230
[    1.071571]  arch_dma_alloc+0xd4/0x190
[    1.071587]  dma_direct_alloc+0x60/0x6c
[    1.071605]  dma_alloc_attrs+0x80/0xe4
[    1.071624]  bcm2708_fb_set_par+0x160/0x3e0
[    1.071641]  bcm2708_fb_probe+0x2f4/0x5d0
[    1.071659]  platform_drv_probe+0x54/0xa8
[    1.071674]  really_probe+0xe4/0x338
[    1.071689]  driver_probe_device+0x60/0xf0
[    1.071705]  device_driver_attach+0x70/0x78
[    1.071720]  __driver_attach+0xac/0x108
[    1.071739]  bus_for_each_dev+0x70/0xc8
[    1.071756]  driver_attach+0x30/0x38
[    1.071773]  bus_add_driver+0x154/0x208
[    1.071788]  driver_register+0x74/0x12c
[    1.071804]  __platform_driver_register+0x60/0x6c
[    1.071823]  bcm2708_fb_init+0x20/0x28
[    1.071840]  do_one_initcall+0x64/0x280
[    1.071858]  kernel_init_freeable+0x204/0x2c4
[    1.071878]  kernel_init+0x18/0x10c
[    1.071894]  ret_from_fork+0x10/0x18
[    1.071914] ---[ end trace f3852d60f362ac60 ]---
[    1.072035] raspberrypi-firmware soc:firmware: Request 0x00048003 returned status 0x80000001
[    1.072067] bcm2708_fb soc:fb: Failed to allocate GPU framebuffer (-22)
[    1.072124] bcm2708_fb soc:fb: probe failed, err -22
[    1.072161] bcm2708_fb: probe of soc:fb failed with error -22
[    1.076177] iproc-rng200 fe104000.rng: hwrng registered
[    1.076520] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.077258] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    1.077634] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    1.088296] brd: module loaded
[    1.101117] loop: module loaded
[    1.102064] Loading iSCSI transport class v2.0-870.
[    1.103972] libphy: Fixed MDIO Bus: probed
[    1.104491] bcmgenet fd580000.ethernet: failed to get enet clock
[    1.104521] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    1.104551] bcmgenet fd580000.ethernet: failed to get enet-wol clock
[    1.104580] bcmgenet fd580000.ethernet: failed to get enet-eee clock
[    1.104615] bcmgenet: Skipping UMAC reset
[    1.114577] libphy: bcmgenet MII bus: probed
[    1.166625] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    1.167559] usbcore: registered new interface driver r8152
[    1.167652] usbcore: registered new interface driver lan78xx
[    1.167717] usbcore: registered new interface driver smsc95xx
[    1.168214] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.168264] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    1.169256] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000001000000890
[    1.170674] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    1.170706] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.170733] usb usb1: Product: xHCI Host Controller
[    1.170755] usb usb1: Manufacturer: Linux 5.4.28-v8.1.el7 xhci-hcd
[    1.170777] usb usb1: SerialNumber: 0000:01:00.0
[    1.171398] hub 1-0:1.0: USB hub found
[    1.171499] hub 1-0:1.0: 1 port detected
[    1.172055] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.172087] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    1.172123] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    1.172595] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[    1.172625] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.172651] usb usb2: Product: xHCI Host Controller
[    1.172673] usb usb2: Manufacturer: Linux 5.4.28-v8.1.el7 xhci-hcd
[    1.172695] usb usb2: SerialNumber: 0000:01:00.0
[    1.173234] hub 2-0:1.0: USB hub found
[    1.173305] hub 2-0:1.0: 4 ports detected
[    1.174639] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.174867] dwc_otg: FIQ enabled
[    1.174876] dwc_otg: NAK holdoff enabled
[    1.174884] dwc_otg: FIQ split-transaction FSM enabled
[    1.174896] Module dwc_common_port init
[    1.175212] usbcore: registered new interface driver uas
[    1.175319] usbcore: registered new interface driver usb-storage
[    1.175531] mousedev: PS/2 mouse device common for all mice
[    1.176892] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.179076] sdhci: Secure Digital Host Controller Interface driver
[    1.179103] sdhci: Copyright(c) Pierre Ossman
[    1.179613] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    1.180046] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.183379] ledtrig-cpu: registered to indicate activity on CPUs
[    1.183546] hidraw: raw HID events driver (C) Jiri Kosina
[    1.183704] usbcore: registered new interface driver usbhid
[    1.183725] usbhid: USB HID core driver
[    1.184984] vchiq: vchiq_init_state: slot_zero = (____ptrval____)
[    1.188512] Initializing XFRM netlink socket
[    1.188565] NET: Registered protocol family 17
[    1.188688] Key type dns_resolver registered
[    1.189251] registered taskstats version 1
[    1.189285] Loading compiled-in X.509 certificates
[    1.200347] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    1.200460] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 14, base_baud = 0) is a PL011 rev2
[    1.206151] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.206951] brcmstb_thermal fd5d2200.thermal: registered AVS TMON of-sensor driver
[    1.207771] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.207797] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    1.252505] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.254152] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.255797] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.258734] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.260375] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.274339] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[    1.277366] of_cfs_init
[    1.277496] of_cfs_init: OK
[    1.278276] Waiting for root device /dev/mmcblk0p3...
[    1.309950] random: fast init done
[    1.325701] mmc1: new high speed SDIO card at address 0001
[    1.382324] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[    1.383745] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[    1.387242]  mmcblk0: p1 p2 p3
[    1.413300] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    1.413403] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[    1.414019] devtmpfs: mounted
[    1.418994] Freeing unused kernel memory: 1088K
[    1.419129] Run /sbin/init as init process
[    1.510589] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.533565] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    1.533607] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.533633] usb 1-1: Product: USB2.0 Hub
[    1.535411] hub 1-1:1.0: USB hub found
[    1.535727] hub 1-1:1.0: 4 ports detected
[    1.659850] audit: type=1404 audit(1.655:2): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295 enabled=1 old-enabled=1 lsm=selinux res=1
[    2.126203] SELinux:  Permission getrlimit in class process not defined in policy.
[    2.126283] SELinux:  Permission watch in class filesystem not defined in policy.
[    2.126322] SELinux:  Permission watch in class file not defined in policy.
[    2.126345] SELinux:  Permission watch_mount in class file not defined in policy.
[    2.126370] SELinux:  Permission watch_sb in class file not defined in policy.
[    2.126393] SELinux:  Permission watch_with_perm in class file not defined in policy.
[    2.126417] SELinux:  Permission watch_reads in class file not defined in policy.
[    2.126453] SELinux:  Permission watch in class dir not defined in policy.
[    2.126474] SELinux:  Permission watch_mount in class dir not defined in policy.
[    2.126498] SELinux:  Permission watch_sb in class dir not defined in policy.
[    2.126568] SELinux:  Permission watch_with_perm in class dir not defined in policy.
[    2.126593] SELinux:  Permission watch_reads in class dir not defined in policy.
[    2.126632] SELinux:  Permission watch in class lnk_file not defined in policy.
[    2.126655] SELinux:  Permission watch_mount in class lnk_file not defined in policy.
[    2.126679] SELinux:  Permission watch_sb in class lnk_file not defined in policy.
[    2.126703] SELinux:  Permission watch_with_perm in class lnk_file not defined in policy.
[    2.126727] SELinux:  Permission watch_reads in class lnk_file not defined in policy.
[    2.126759] SELinux:  Permission watch in class chr_file not defined in policy.
[    2.126782] SELinux:  Permission watch_mount in class chr_file not defined in policy.
[    2.126805] SELinux:  Permission watch_sb in class chr_file not defined in policy.
[    2.126829] SELinux:  Permission watch_with_perm in class chr_file not defined in policy.
[    2.126853] SELinux:  Permission watch_reads in class chr_file not defined in policy.
[    2.126884] SELinux:  Permission watch in class blk_file not defined in policy.
[    2.126907] SELinux:  Permission watch_mount in class blk_file not defined in policy.
[    2.126931] SELinux:  Permission watch_sb in class blk_file not defined in policy.
[    2.126955] SELinux:  Permission watch_with_perm in class blk_file not defined in policy.
[    2.126979] SELinux:  Permission watch_reads in class blk_file not defined in policy.
[    2.127011] SELinux:  Permission watch in class sock_file not defined in policy.
[    2.127035] SELinux:  Permission watch_mount in class sock_file not defined in policy.
[    2.127059] SELinux:  Permission watch_sb in class sock_file not defined in policy.
[    2.127082] SELinux:  Permission watch_with_perm in class sock_file not defined in policy.
[    2.127107] SELinux:  Permission watch_reads in class sock_file not defined in policy.
[    2.127137] SELinux:  Permission watch in class fifo_file not defined in policy.
[    2.127160] SELinux:  Permission watch_mount in class fifo_file not defined in policy.
[    2.127184] SELinux:  Permission watch_sb in class fifo_file not defined in policy.
[    2.127208] SELinux:  Permission watch_with_perm in class fifo_file not defined in policy.
[    2.127232] SELinux:  Permission watch_reads in class fifo_file not defined in policy.
[    2.127654] SELinux:  Class xdp_socket not defined in policy.
[    2.127675] SELinux: the above unknown classes and permissions will be allowed
[    2.127714] SELinux:  policy capability network_peer_controls=1
[    2.127735] SELinux:  policy capability open_perms=1
[    2.127754] SELinux:  policy capability extended_socket_class=1
[    2.127773] SELinux:  policy capability always_check_network=0
[    2.127792] SELinux:  policy capability cgroup_seclabel=1
[    2.127811] SELinux:  policy capability nnp_nosuid_transition=1
[    2.235528] audit: type=1403 audit(2.231:3): auid=4294967295 ses=4294967295 lsm=selinux res=1
[    2.255761] systemd[1]: Successfully loaded SELinux policy in 600.098ms.
[    2.425189] NET: Registered protocol family 10
[    2.426668] Segment Routing with IPv6
[    2.427184] systemd[1]: Inserted module 'ipv6'
[    2.443806] systemd[1]: Inserted module 'ip_tables'
[    2.501168] systemd[1]: Relabelled /dev, /run and /sys/fs/cgroup in 41.521ms.
[    2.511854] random: systemd: uninitialized urandom read (16 bytes read)
[    2.521900] random: systemd: uninitialized urandom read (16 bytes read)
[    2.548594] systemd[1]: systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    2.549603] systemd[1]: Detected architecture arm64.
[    2.554179] systemd[1]: No hostname configured.
[    2.554233] systemd[1]: Set hostname to .
[    2.556545] random: systemd: uninitialized urandom read (16 bytes read)
[    2.556628] systemd[1]: Initializing machine ID from random generator.
[    2.557236] systemd[1]: Installed transient /etc/machine-id file.
[    2.907509] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit not found.
[    2.910261] systemd[1]: Reached target Local Encrypted Volumes.
[    2.913689] systemd[1]: Created slice Root Slice.
[    2.916710] systemd[1]: Listening on Delayed Shutdown Socket.
[    3.318593] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[    3.416019] systemd-journald[107]: Received request to flush runtime journal from PID 1
[    6.772411] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x0000ffff
[    6.775935] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00000fff
[    6.777054] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x0000ffff
[    6.778653] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    6.782610] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    6.782661] [vc_sm_connected_init]: start
[    6.792733] [vc_sm_connected_init]: installed successfully
[    6.799534] mc: Linux media interface: v0.10
[    6.804512] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x0000ffff
[    6.840757] videodev: Linux video capture interface: v2.00
[    6.873141] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    6.873145] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    6.917106] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    6.928551] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    6.949627] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    6.949759] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    6.958970] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    6.959047] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    6.979270] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    6.979337] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    7.049333] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    7.202644] Adding 499708k swap on /dev/mmcblk0p2.  Priority:-2 extents:1 across:499708k SSFS
[    7.220472] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    7.228916] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    7.228969] cfg80211: failed to load regulatory.db
[    7.367768] brcmfmac: F1 signature read @0x18000000=0x15264345
[    7.381990] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.382782] usbcore: registered new interface driver brcmfmac
[    7.404434] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
[    7.591189] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.591345] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[    7.592038] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar  1 2015 07:29:38 version 7.45.18 (r538002) FWID 01-6a2c8ad4
[    9.176093] random: crng init done
[    9.176133] random: 7 urandom warning(s) missed due to ratelimiting
[   12.198304] bcmgenet: Skipping UMAC reset
[   12.200900] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[   12.201269] bcmgenet fd580000.ethernet eth0: Link is Down
[   12.309058] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   12.836587] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   17.310758] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   17.310833] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

なんか Call trace が見えるが・・・。
何度再起動しても出るので、おそらくバグかな。

■いつもの初期設定スクリプトの実行

[root@localhost ~]# curl -L --output /root/setup.sh https://www.sgv417.jp/~makopi/RaspberryPi/01-OS_Configure.sh
[root@localhost ~]# sh /root/setup.sh rpi4-c7-aarch64

■初期設定スクリプトを流した後の dmesg

[root@rpi4-c7-aarch64 ~]# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 5.4.42-v8.1.el7 (mockbuild@aarch64-01.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)) #1 SMP PREEMPT Fri May 22 00:16:56 UTC 2020
[    0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.2
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000002ac00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] On node 0 totalpages: 1012736
[    0.000000]   DMA zone: 3792 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 242688 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 12032 pages used for memmap
[    0.000000]   DMA32 zone: 770048 pages, LIFO batch:63
[    0.000000] percpu: Embedded 31 pages/cpu s89240 r8192 d29544 u126976
[    0.000000] pcpu-alloc: s89240 r8192 d29544 u126976 alloc=31*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 996912
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:70:68:DD vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4 elevator=deadline rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x37400000-0x3b400000] (64MB)
[    0.000000] Memory: 3823028K/4050944K available (9404K kernel code, 1130K rwdata, 3164K rodata, 1088K init, 1227K bss, 162380K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 32931 entries in 129 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x348/0x4ec with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000006] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000226] Console: colour dummy device 80x25
[    0.000667] printk: console [tty1] enabled
[    0.000712] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.000749] pid_max: default: 32768 minimum: 301
[    0.000888] LSM: Security Framework initializing
[    0.000951] SELinux:  Initializing.
[    0.001224] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001295] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002180] Disabling memory control group subsystem
[    0.024036] ASID allocator initialised with 32768 entries
[    0.032029] rcu: Hierarchical SRCU implementation.
[    0.040400] EFI services will not be available.
[    0.048092] smp: Bringing up secondary CPUs ...
[    0.080297] Detected PIPT I-cache on CPU1
[    0.080355] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.112386] Detected PIPT I-cache on CPU2
[    0.112429] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.144508] Detected PIPT I-cache on CPU3
[    0.144550] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.144695] smp: Brought up 1 node, 4 CPUs
[    0.144784] SMP: Total of 4 processors activated.
[    0.144806] CPU features: detected: 32-bit EL0 Support
[    0.144828] CPU features: detected: CRC32 instructions
[    0.144929] CPU: All CPU(s) started at EL2
[    0.144988] alternatives: patching kernel code
[    0.146448] devtmpfs: initialized
[    0.156500] Enabled cp15_barrier support
[    0.156553] Enabled setend support
[    0.156989] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.157038] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.159162] pinctrl core: initialized pinctrl subsystem
[    0.159873] DMI not present or invalid.
[    0.160234] NET: Registered protocol family 16
[    0.163028] DMA: preallocated 1024 KiB pool for atomic allocations
[    0.163062] audit: initializing netlink subsys (disabled)
[    0.163370] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
[    0.164007] cpuidle: using governor menu
[    0.164341] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.164610] Serial: AMBA PL011 UART driver
[    0.167656] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.176631] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-05-21 11:50, variant start
[    0.180644] raspberrypi-firmware soc:firmware: Firmware hash is 2550bfc9d3e30e49382d22435da0c1ca23937b54
[    0.225553] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.228691] vgaarb: loaded
[    0.229212] SCSI subsystem initialized
[    0.229441] usbcore: registered new interface driver usbfs
[    0.229506] usbcore: registered new interface driver hub
[    0.229633] usbcore: registered new device driver usb
[    0.230441] NetLabel: Initializing
[    0.230464] NetLabel:  domain hash size = 128
[    0.230483] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.230566] NetLabel:  unlabeled traffic allowed by default
[    0.231154] clocksource: Switched to clocksource arch_sys_counter
[    0.974472] VFS: Disk quotas dquot_6.6.0
[    0.974583] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.974788] FS-Cache: Loaded
[    0.975011] CacheFiles: Loaded
[    0.983903] thermal_sys: Registered thermal governor 'step_wise'
[    0.984252] NET: Registered protocol family 2
[    0.985016] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.985083] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.985334] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.985784] TCP: Hash tables configured (established 32768 bind 32768)
[    0.986003] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.986079] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.986399] NET: Registered protocol family 1
[    0.987381] RPC: Registered named UNIX socket transport module.
[    0.987406] RPC: Registered udp transport module.
[    0.987426] RPC: Registered tcp transport module.
[    0.987445] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.987475] PCI: CLS 0 bytes, default 64
[    0.989389] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.989643] kvm: Limiting the IPA size due to kernel Virtual Address limit
[    0.989667] kvm [1]: IPA Size Limit: 43bits
[    0.990439] kvm [1]: vgic interrupt IRQ1
[    0.990676] kvm [1]: Hyp mode initialized successfully
[    0.992743] Initialise system trusted keyrings
[    0.993046] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    1.002722] FS-Cache: Netfs 'nfs' registered for caching
[    1.007527] NFS: Registering the id_resolver key type
[    1.007573] Key type id_resolver registered
[    1.007594] Key type id_legacy registered
[    1.007624] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.009390] Key type asymmetric registered
[    1.009416] Asymmetric key parser 'x509' registered
[    1.009473] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.009720] io scheduler mq-deadline registered
[    1.009743] io scheduler kyber registered
[    1.013201] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    1.013241] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    1.013316] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x0603ffffff -> 0x00f8000000
[    1.013390] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00bfffffff -> 0x0000000000
[    1.061256] brcm-pcie fd500000.pcie: link up, 5 GT/s x1 (SSC)
[    1.061579] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    1.061609] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.061637] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[    1.061707] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    1.061941] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.065474] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.065776] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    1.065927] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    1.066335] pci 0000:01:00.0: PME# supported from D0 D3cold
[    1.069791] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.069843] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    1.069876] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    1.069966] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.069996] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    1.070117] pci 0000:00:00.0: enabling device (0000 -> 0002)
[    1.070185] pci 0000:01:00.0: enabling device (0000 -> 0002)
[    1.070837] bcm2708_fb soc:fb: FB found 1 display(s)
[    1.080755] Console: switching to colour frame buffer device 74x28
[    1.082837] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 592x448
[    1.084937] raspberrypi-clk firmware-clocks: CPU frequency range: min 600000000, max 1500000000
[    1.090624] iproc-rng200 fe104000.rng: hwrng registered
[    1.091956] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.094607] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    1.096971] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    1.108357] brd: module loaded
[    1.122163] loop: module loaded
[    1.124465] Loading iSCSI transport class v2.0-870.
[    1.127359] libphy: Fixed MDIO Bus: probed
[    1.128848] bcmgenet fd580000.ethernet: failed to get enet clock
[    1.129874] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    1.130861] bcmgenet fd580000.ethernet: failed to get enet-wol clock
[    1.131862] bcmgenet fd580000.ethernet: failed to get enet-eee clock
[    1.132823] bcmgenet: Skipping UMAC reset
[    1.143179] libphy: bcmgenet MII bus: probed
[    1.191238] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    1.193172] usbcore: registered new interface driver r8152
[    1.194200] usbcore: registered new interface driver lan78xx
[    1.195228] usbcore: registered new interface driver smsc95xx
[    1.196656] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.197560] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    1.200238] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000001000000890
[    1.203311] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    1.205028] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.206747] usb usb1: Product: xHCI Host Controller
[    1.207677] usb usb1: Manufacturer: Linux 5.4.42-v8.1.el7 xhci-hcd
[    1.208597] usb usb1: SerialNumber: 0000:01:00.0
[    1.210080] hub 1-0:1.0: USB hub found
[    1.211050] hub 1-0:1.0: 1 port detected
[    1.212481] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.213398] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    1.215249] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    1.216675] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[    1.218582] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.220639] usb usb2: Product: xHCI Host Controller
[    1.221696] usb usb2: Manufacturer: Linux 5.4.42-v8.1.el7 xhci-hcd
[    1.222767] usb usb2: SerialNumber: 0000:01:00.0
[    1.224354] hub 2-0:1.0: USB hub found
[    1.225419] hub 2-0:1.0: 4 ports detected
[    1.227757] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.228952] dwc_otg: FIQ enabled
[    1.228961] dwc_otg: NAK holdoff enabled
[    1.228970] dwc_otg: FIQ split-transaction FSM enabled
[    1.228981] Module dwc_common_port init
[    1.229482] usbcore: registered new interface driver uas
[    1.230538] usbcore: registered new interface driver usb-storage
[    1.231700] mousedev: PS/2 mouse device common for all mice
[    1.234218] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.237331] sdhci: Secure Digital Host Controller Interface driver
[    1.238272] sdhci: Copyright(c) Pierre Ossman
[    1.239740] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    1.242063] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.246459] ledtrig-cpu: registered to indicate activity on CPUs
[    1.247662] hidraw: raw HID events driver (C) Jiri Kosina
[    1.248841] usbcore: registered new interface driver usbhid
[    1.249824] usbhid: USB HID core driver
[    1.251874] vchiq: vchiq_init_state: slot_zero = (____ptrval____)
[    1.256699] Initializing XFRM netlink socket
[    1.257689] NET: Registered protocol family 17
[    1.258722] Key type dns_resolver registered
[    1.260294] registered taskstats version 1
[    1.261211] Loading compiled-in X.509 certificates
[    1.262461] Key type ._fscrypt registered
[    1.263391] Key type .fscrypt registered
[    1.277557] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    1.278600] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 14, base_baud = 0) is a PL011 rev2
[    1.286344] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.289139] brcmstb_thermal fd5d2200.thermal: registered AVS TMON of-sensor driver
[    1.291931] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.292959] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    1.343270] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.345872] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.348459] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.352262] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.354743] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.359873] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[    1.364619] of_cfs_init
[    1.365589] of_cfs_init: OK
[    1.367984] Waiting for root device /dev/mmcblk0p3...
[    1.396726] random: fast init done
[    1.427244] mmc1: new high speed SDIO card at address 0001
[    1.468183] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[    1.470010] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[    1.474375]  mmcblk0: p1 p2 p3
[    1.489205] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    1.490922] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[    1.493320] devtmpfs: mounted
[    1.498499] Freeing unused kernel memory: 1088K
[    1.499455] Run /sbin/init as init process
[    1.555218] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.705855] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    1.707610] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.709454] usb 1-1: Product: USB2.0 Hub
[    1.712404] hub 1-1:1.0: USB hub found
[    1.713574] hub 1-1:1.0: 4 ports detected
[    2.210038] SELinux:  Permission getrlimit in class process not defined in policy.
[    2.212075] SELinux:  Permission watch in class filesystem not defined in policy.
[    2.214053] SELinux:  Permission watch in class file not defined in policy.
[    2.216067] SELinux:  Permission watch_mount in class file not defined in policy.
[    2.218123] SELinux:  Permission watch_sb in class file not defined in policy.
[    2.220198] SELinux:  Permission watch_with_perm in class file not defined in policy.
[    2.222286] SELinux:  Permission watch_reads in class file not defined in policy.
[    2.224496] SELinux:  Permission watch in class dir not defined in policy.
[    2.226711] SELinux:  Permission watch_mount in class dir not defined in policy.
[    2.228954] SELinux:  Permission watch_sb in class dir not defined in policy.
[    2.231217] SELinux:  Permission watch_with_perm in class dir not defined in policy.
[    2.233577] SELinux:  Permission watch_reads in class dir not defined in policy.
[    2.236011] SELinux:  Permission watch in class lnk_file not defined in policy.
[    2.238414] SELinux:  Permission watch_mount in class lnk_file not defined in policy.
[    2.240842] SELinux:  Permission watch_sb in class lnk_file not defined in policy.
[    2.243266] SELinux:  Permission watch_with_perm in class lnk_file not defined in policy.
[    2.245682] SELinux:  Permission watch_reads in class lnk_file not defined in policy.
[    2.248117] SELinux:  Permission watch in class chr_file not defined in policy.
[    2.250529] SELinux:  Permission watch_mount in class chr_file not defined in policy.
[    2.252958] SELinux:  Permission watch_sb in class chr_file not defined in policy.
[    2.255390] SELinux:  Permission watch_with_perm in class chr_file not defined in policy.
[    2.257804] SELinux:  Permission watch_reads in class chr_file not defined in policy.
[    2.260244] SELinux:  Permission watch in class blk_file not defined in policy.
[    2.262653] SELinux:  Permission watch_mount in class blk_file not defined in policy.
[    2.265083] SELinux:  Permission watch_sb in class blk_file not defined in policy.
[    2.267516] SELinux:  Permission watch_with_perm in class blk_file not defined in policy.
[    2.269931] SELinux:  Permission watch_reads in class blk_file not defined in policy.
[    2.272373] SELinux:  Permission watch in class sock_file not defined in policy.
[    2.274780] SELinux:  Permission watch_mount in class sock_file not defined in policy.
[    2.277213] SELinux:  Permission watch_sb in class sock_file not defined in policy.
[    2.279643] SELinux:  Permission watch_with_perm in class sock_file not defined in policy.
[    2.282064] SELinux:  Permission watch_reads in class sock_file not defined in policy.
[    2.284507] SELinux:  Permission watch in class fifo_file not defined in policy.
[    2.286923] SELinux:  Permission watch_mount in class fifo_file not defined in policy.
[    2.289366] SELinux:  Permission watch_sb in class fifo_file not defined in policy.
[    2.291808] SELinux:  Permission watch_with_perm in class fifo_file not defined in policy.
[    2.294233] SELinux:  Permission watch_reads in class fifo_file not defined in policy.
[    2.297078] SELinux:  Class xdp_socket not defined in policy.
[    2.298312] SELinux: the above unknown classes and permissions will be allowed
[    2.300728] SELinux:  policy capability network_peer_controls=1
[    2.301942] SELinux:  policy capability open_perms=1
[    2.303117] SELinux:  policy capability extended_socket_class=1
[    2.304361] SELinux:  policy capability always_check_network=0
[    2.305486] SELinux:  policy capability cgroup_seclabel=1
[    2.306574] SELinux:  policy capability nnp_nosuid_transition=1
[    2.420318] audit: type=1403 audit(2.415:2): auid=4294967295 ses=4294967295 lsm=selinux res=1
[    2.440704] systemd[1]: Successfully loaded SELinux policy in 685.591ms.
[    2.632785] NET: Registered protocol family 10
[    2.635326] Segment Routing with IPv6
[    2.636831] systemd[1]: Inserted module 'ipv6'
[    2.659572] systemd[1]: Inserted module 'ip_tables'
[    2.717718] systemd[1]: Relabelled /dev, /run and /sys/fs/cgroup in 43.143ms.
[    2.730024] random: systemd: uninitialized urandom read (16 bytes read)
[    2.741766] random: systemd: uninitialized urandom read (16 bytes read)
[    2.765558] systemd[1]: systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    2.769342] systemd[1]: Detected architecture arm64.
[    2.778661] systemd[1]: Set hostname to .
[    2.801940] random: systemd: uninitialized urandom read (16 bytes read)
[    3.252003] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit not found.
[    3.258488] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.262729] systemd[1]: Reached target Remote File Systems.
[    3.266613] systemd[1]: Created slice Root Slice.
[    3.269755] systemd[1]: Created slice User and Session Slice.
[    3.281343] systemd[1]: Listening on LVM2 poll daemon socket.
[    3.287090] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    3.979293] EXT4-fs (mmcblk0p3): re-mounted. Opts: discard
[    4.097875] systemd-journald[126]: Received request to flush runtime journal from PID 1
[    4.601452] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[    4.619470] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    4.631067] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    4.640421] [vc_sm_connected_init]: start
[    4.645753] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[    4.662278] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[    4.664943] [vc_sm_connected_init]: installed successfully
[    4.689808] mc: Linux media interface: v0.10
[    4.695642] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[    4.772750] videodev: Linux video capture interface: v2.00
[    5.020364] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.030773] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.045001] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.142522] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    5.222420] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    5.233342] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    5.254819] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    5.267231] Adding 499708k swap on /dev/mmcblk0p2.  Priority:-2 extents:1 across:499708k SSFS
[    5.274797] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    5.291687] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    5.317234] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    5.318124] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    5.329681] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    5.329715] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    5.329731] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    5.329745] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    5.329774] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    5.330696] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    5.337378] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.341146] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    5.359263] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    5.449968] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    5.462915] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    5.569205] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.711117] brcmfmac: F1 signature read @0x18000000=0x15264345
[    5.720563] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    5.740093] usbcore: registered new interface driver brcmfmac
[    5.808640] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
[    5.881638] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[    6.053794] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.079027] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:19:54 version 7.45.206 (r725000 CY) FWID 01-88ee44ea
[    7.590419] bcmgenet: Skipping UMAC reset
[    7.596246] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[    7.604140] bcmgenet fd580000.ethernet eth0: Link is Down
[    7.657358] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[    8.197670] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   12.735369] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   12.742890] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.095602] random: crng init done
[   16.099599] random: 7 urandom warning(s) missed due to ratelimiting

Kernel Update によって Call trace は解決した模様。

■Kernel Update 後

[root@rpi4-c7-aarch64 ~]# uname -a
Linux rpi4-c7-aarch64 5.4.42-v8.1.el7 #1 SMP PREEMPT Fri May 22 00:16:56 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux

やはり PREEMPT となっている。
arch/arm64/configs/bcm2711_defconfig に CONFIG_PREEMPT=y が入ってるのが理由かな。
PREEMPT_RT Patch は適用されてないので、ソフト・リアルタイムになる様子。

■初期設定スクリプトを流した後に取得した各種情報
・lsusb

# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

・openssl speed

OpenSSL 1.0.2k-fips  26 Jan 2017
built on: reproducible build, date unspecified
options:bn(64,64) md2(int) rc4(ptr,char) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(ptr)
compiler: gcc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -DL_ENDIAN -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -Wa,--noexecstack -DPURIFY -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
md2               1674.84k     3435.22k     4680.28k     5147.65k     5302.95k
mdc2                 0.00         0.00         0.00         0.00         0.00
md4              25107.02k    82027.26k   203823.02k   324507.99k   390376.11k
md5              19348.73k    60800.34k   143106.82k   217127.38k   253676.20k
hmac(md5)        14987.76k    49852.76k   126847.91k   206437.03k   252258.99k
sha1             19184.06k    56393.73k   120345.60k   168026.79k   190007.98k
rmd160           10017.87k    24107.65k    43173.03k    53874.69k    58212.35k
rc4             139477.89k   145821.93k   147092.57k   147822.59k   148043.09k
des cbc          31476.63k    34198.61k    34606.25k    34765.82k    34805.08k
des ede3         12694.52k    12977.34k    13035.69k    13065.90k    13074.43k
idea cbc         31936.27k    35514.62k    36178.52k    36346.88k    36383.40k
seed cbc         35082.53k    36105.58k    36372.05k    36414.12k    36440.75k
rc2 cbc          20796.27k    21294.57k    21510.57k    21493.11k    21577.73k
rc5-32/12 cbc    65262.09k    76836.95k    78785.19k    79850.77k    79811.93k
blowfish cbc     50312.92k    54436.33k    55401.64k    55774.21k    55926.78k
cast cbc         50114.70k    54013.93k    54955.52k    55281.32k    55429.80k
aes-128 cbc      79840.31k    85555.43k    86671.36k    87470.76k    87616.17k
aes-192 cbc      69636.92k    73987.52k    74768.30k    75366.06k    75451.05k
aes-256 cbc      61740.01k    65138.37k    65741.48k    66202.62k    66270.55k
camellia-128 cbc    56608.79k    62895.83k    63541.08k    63906.13k    63995.90k
camellia-192 cbc    44657.80k    48505.83k    48893.44k    49113.43k    49154.73k
camellia-256 cbc    44653.14k    48514.47k    48891.05k    49110.70k    49157.46k
sha256           25321.10k    57790.51k    99754.41k   121632.77k   130269.18k
sha512           19731.24k    79124.16k   125704.87k   178171.90k   203590.31k
whirlpool         3047.09k     6249.58k    10124.89k    11935.40k    12615.68k
aes-128 ige      76780.37k    83832.06k    85401.43k    86173.70k    86351.87k
aes-192 ige      67291.19k    72646.38k    73822.46k    74391.55k    74525.35k
aes-256 ige      59889.32k    63963.75k    64841.39k    65274.88k    65366.70k
ghash            99817.80k   104670.04k   108365.14k   109595.31k   109953.02k
                  sign    verify    sign/s verify/s
rsa  512 bits 0.000268s 0.000020s   3732.9  49684.6
rsa 1024 bits 0.001167s 0.000055s    856.8  18102.2
rsa 2048 bits 0.007148s 0.000175s    139.9   5717.2
rsa 4096 bits 0.045090s 0.000605s     22.2   1651.6
                  sign    verify    sign/s verify/s
dsa  512 bits 0.000352s 0.000245s   2841.0   4076.6
dsa 1024 bits 0.000741s 0.000684s   1348.7   1461.4
dsa 2048 bits 0.002084s 0.002168s    479.9    461.2
                              sign    verify    sign/s verify/s
 256 bit ecdsa (nistp256)   0.0006s   0.0014s   1778.0    725.7
 384 bit ecdsa (nistp384)   0.0057s   0.0033s    175.8    301.0
 521 bit ecdsa (nistp521)   0.0035s   0.0072s    287.0    138.1
                              op      op/s
 256 bit ecdh (nistp256)   0.0010s    960.1
 384 bit ecdh (nistp384)   0.0054s    185.7
 521 bit ecdh (nistp521)   0.0056s    179.9
カテゴリー: めも パーマリンク

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です