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

Internet Week 2019 のお昼休みに脱走し、秋葉原の千石電商へ向かってみたところ、ちょうど Raspberry Pi 4 Model B が入荷して陳列開始していたので大人買いしてきた・w・
最初のお客さんだってさ!!()
というわけで、CentOS 7 を動かすところまでやってみた。

■基礎となる情報
CentOS Linux on the Raspberry Pi 3
https://wiki.centos.org/SpecialInterestGroup/AltArch/Arm32/RaspberryPi3
Raspberry Pi 3 の情報だけど、此処から辿れるイメージ置き場にある「RaspberryPi-Minimal-4」というものを使うことで起動できるようだ。
RPi4 に特化した Kernel が封入されてるらしい。
めんどくさいわね。
確認したところ「raspberrypi2-kernel4-4.19.72-v7l.1.el7.armv7hl」というのが、RPi4 に対応している Kernel っぽい。
そのうち、今までの Kernel とマージしてみるか。

■CentOS 7 のイメージ
CentOS-Userland-7-armv7hl-RaspberryPI-Minimal-4-1908-sda.raw.xz を採用。
上記の Wiki からダウンロード可能。

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

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

■起動したときの dmesg

[root@localhost ~]# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.72-v7l.1.el7 (mockbuild@armhfp-01.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)) #1 SMP Thu Sep 12 14:23:30 UTC 2019
[    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.2
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 64 MiB at 0x0000000037400000
[    0.000000] On node 0 totalpages: 1012736
[    0.000000]   DMA zone: 1728 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 816128 pages, LIFO batch:63
[    0.000000] random: get_random_bytes called from start_kernel+0xbc/0x4f4 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu s39436 r8192 d22004 u69632
[    0.000000] pcpu-alloc: s39436 r8192 d22004 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1011008
[    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:64:F3 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: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 3932676K/4050944K available (8192K kernel code, 679K rwdata, 2404K rodata, 2048K init, 866K bss, 52732K reserved, 65536K cma-reserved, 3198976K highmem)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
      .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
      .data : 0x(ptrval) - 0x(ptrval)   ( 680 kB)
       .bss : 0x(ptrval) - 0x(ptrval)   ( 867 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 29247 entries in 86 pages
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    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.000005] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000023] Switching to timer-based delay loop, resolution 18ns
[    0.000249] Console: colour dummy device 80x30
[    0.000713] console [tty1] enabled
[    0.000765] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.000807] pid_max: default: 32768 minimum: 301
[    0.000942] Security Framework initialized
[    0.000967] SELinux:  Initializing.
[    0.001214] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001247] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002052] CPU: Testing write buffer coherency: ok
[    0.002511] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003174] Setting up static identity map for 0x200000 - 0x20003c
[    0.003351] rcu: Hierarchical SRCU implementation.
[    0.004256] smp: Bringing up secondary CPUs ...
[    0.005139] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.006122] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.007079] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.007209] smp: Brought up 1 node, 4 CPUs
[    0.007273] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[    0.007296] CPU: All CPU(s) started in HYP mode.
[    0.007316] CPU: Virtualization extensions available.
[    0.008135] devtmpfs: initialized
[    0.018599] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[    0.018844] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.018885] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.021118] pinctrl core: initialized pinctrl subsystem
[    0.021968] NET: Registered protocol family 16
[    0.024970] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.025521] audit: initializing netlink subsys (disabled)
[    0.025780] audit: type=2000 audit(0.020:1): state=initialized audit_enabled=0 res=1
[    0.026596] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.026627] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.026838] Serial: AMBA PL011 UART driver
[    0.029803] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.065584] bcm2835-dma fe007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
[    0.067672] vgaarb: loaded
[    0.068034] SCSI subsystem initialized
[    0.068268] usbcore: registered new interface driver usbfs
[    0.068335] usbcore: registered new interface driver hub
[    0.068450] usbcore: registered new device driver usb
[    0.080315] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-09-09 18:48, variant start
[    0.090075] raspberrypi-firmware soc:firmware: Firmware hash is a62a87c77be35ef577563092923cf86e3d8b9408
[    0.101196] NetLabel: Initializing
[    0.101221] NetLabel:  domain hash size = 128
[    0.101242] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.101331] NetLabel:  unlabeled traffic allowed by default
[    0.101806] clocksource: Switched to clocksource arch_sys_counter
[    0.188324] VFS: Disk quotas dquot_6.6.0
[    0.188422] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.188616] FS-Cache: Loaded
[    0.188834] CacheFiles: Loaded
[    0.198910] NET: Registered protocol family 2
[    0.199602] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.199647] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.199733] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.199817] TCP: Hash tables configured (established 8192 bind 8192)
[    0.199961] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.200005] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.200326] NET: Registered protocol family 1
[    0.200909] RPC: Registered named UNIX socket transport module.
[    0.200935] RPC: Registered udp transport module.
[    0.200957] RPC: Registered tcp transport module.
[    0.200979] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.201007] PCI: CLS 0 bytes, default 64
[    0.204054] Initialise system trusted keyrings
[    0.204241] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[    0.213896] FS-Cache: Netfs 'nfs' registered for caching
[    0.214417] NFS: Registering the id_resolver key type
[    0.214457] Key type id_resolver registered
[    0.214478] Key type id_legacy registered
[    0.214509] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.217723] Key type asymmetric registered
[    0.217750] Asymmetric key parser 'x509' registered
[    0.217873] bounce: pool size: 64 pages
[    0.217925] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.218103] io scheduler noop registered
[    0.218126] io scheduler deadline registered (default)
[    0.218295] io scheduler cfq registered
[    0.218318] io scheduler mq-deadline registered (default)
[    0.218340] io scheduler kyber registered
[    0.269233] brcm-pcie fd500000.pcie: dmabounce: initialised - 32768 kB, threshold 0x00000000c0000000
[    0.269280] brcm-pcie fd500000.pcie: could not get clock
[    0.269353] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.269404] brcm-pcie fd500000.pcie:   MEM 0x600000000..0x603ffffff -> 0xf8000000
[    0.321845] brcm-pcie fd500000.pcie: link up, 5.0 Gbps x1 (!SSC)
[    0.322133] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.322163] pci_bus 0000:00: root bus resource [bus 00-01]
[    0.322193] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[    0.322257] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.322395] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.325157] PCI: bus0: Fast back to back transfers disabled
[    0.325189] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.325367] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.325428] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.325597] pci 0000:01:00.0: PME# supported from D0 D3cold
[    0.328238] PCI: bus1: Fast back to back transfers disabled
[    0.328269] pci_bus 0000:01: busn_res: [bus 01] end is updated to 01
[    0.328314] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.328348] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.328396] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.328425] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.328650] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    0.328835] pcieport 0000:00:00.0: Signaling PME with IRQ 53
[    0.329016] pcieport 0000:00:00.0: AER enabled with IRQ 53
[    0.329172] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    0.329561] bcm2708_fb soc:fb: Unable to determine number of FB's. Assuming 1
[    0.329590] bcm2708_fb soc:fb: FB found 1 display(s)
[    0.329956] raspberrypi-firmware soc:firmware: Request 0x00048003 returned status 0x80000001
[    0.329990] bcm2708_fb soc:fb: Failed to allocate GPU framebuffer (-22)
[    0.330044] bcm2708_fb soc:fb: probe failed, err -22
[    0.330078] bcm2708_fb: probe of soc:fb failed with error -22
[    0.332938] iproc-rng200 fe104000.rng: hwrng registered
[    0.333152] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.333686] vc-sm: Videocore shared memory driver
[    0.334078] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    0.344639] brd: module loaded
[    0.355303] loop: module loaded
[    0.356032] Loading iSCSI transport class v2.0-870.
[    0.357731] libphy: Fixed MDIO Bus: probed
[    0.358140] bcmgenet fd580000.genet: failed to get enet clock
[    0.358171] bcmgenet fd580000.genet: GENET 5.0 EPHY: 0x0000
[    0.358200] bcmgenet fd580000.genet: failed to get enet-wol clock
[    0.358229] bcmgenet fd580000.genet: failed to get enet-eee clock
[    0.358264] bcmgenet: Skipping UMAC reset
[    0.358508] unimac-mdio unimac-mdio.-19: DMA mask not set
[    0.371846] libphy: bcmgenet MII bus: probed
[    0.412339] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus at 0x(ptrval)
[    0.413265] usbcore: registered new interface driver r8152
[    0.413347] usbcore: registered new interface driver lan78xx
[    0.413414] usbcore: registered new interface driver smsc95xx
[    0.413640] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.413685] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.416042] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000001000000890
[    0.416226] genirq: irq_chip Brcm_MSI did not update eff. affinity mask of irq 54
[    0.416906] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.416940] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.416969] usb usb1: Product: xHCI Host Controller
[    0.416993] usb usb1: Manufacturer: Linux 4.19.72-v7l.1.el7 xhci-hcd
[    0.417017] usb usb1: SerialNumber: 0000:01:00.0
[    0.417585] hub 1-0:1.0: USB hub found
[    0.417649] hub 1-0:1.0: 1 port detected
[    0.418080] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.418122] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.418157] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.418509] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    0.418541] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.418569] usb usb2: Product: xHCI Host Controller
[    0.418592] usb usb2: Manufacturer: Linux 4.19.72-v7l.1.el7 xhci-hcd
[    0.418616] usb usb2: SerialNumber: 0000:01:00.0
[    0.419136] hub 2-0:1.0: USB hub found
[    0.419201] hub 2-0:1.0: 4 ports detected
[    0.420284] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.445859] dwc_otg fe980000.usb: base=(ptrval)
[    0.646155] Core Release: 2.80a
[    0.646182] Setting default values for core params
[    0.646225] Finished setting default values for core params
[    0.846582] Using Buffer DMA mode
[    0.846606] Periodic Transfer Interrupt Enhancement - disabled
[    0.846628] Multiprocessor Interrupt Enhancement - disabled
[    0.846651] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.846685] Dedicated Tx FIFOs mode
[    0.846959] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = f2a63000 dma = 0x00000000f7534000 len=9024
[    0.847007] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[    0.847064] dwc_otg: Microframe scheduler enabled
[    0.847135] WARN::hcd_init_fiq:457: FIQ on core 1
[    0.847167] WARN::hcd_init_fiq:458: FIQ ASM at c07e920c length 36
[    0.847199] WARN::hcd_init_fiq:497: MPHI regs_base at f0810200
[    0.847248] dwc_otg fe980000.usb: DWC OTG Controller
[    0.847292] dwc_otg fe980000.usb: new USB bus registered, assigned bus number 3
[    0.847342] dwc_otg fe980000.usb: irq 37, io mem 0x00000000
[    0.847407] Init: Port Power? op_state=1
[    0.847428] Init: Power Port (0)
[    0.847701] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.847734] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.847763] usb usb3: Product: DWC OTG Controller
[    0.847786] usb usb3: Manufacturer: Linux 4.19.72-v7l.1.el7 dwc_otg_hcd
[    0.847810] usb usb3: SerialNumber: fe980000.usb
[    0.848387] hub 3-0:1.0: USB hub found
[    0.848451] hub 3-0:1.0: 1 port detected
[    0.849111] dwc_otg: FIQ enabled
[    0.849121] dwc_otg: NAK holdoff enabled
[    0.849130] dwc_otg: FIQ split-transaction FSM enabled
[    0.849144] Module dwc_common_port init
[    0.849352] usbcore: registered new interface driver uas
[    0.849485] usbcore: registered new interface driver usb-storage
[    0.849683] mousedev: PS/2 mouse device common for all mice
[    0.850823] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.851063] bcm2835-cpufreq: min=600000 max=1500000
[    0.851665] sdhci: Secure Digital Host Controller Interface driver
[    0.851689] sdhci: Copyright(c) Pierre Ossman
[    0.852114] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    0.852494] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.855481] ledtrig-cpu: registered to indicate activity on CPUs
[    0.855642] hidraw: raw HID events driver (C) Jiri Kosina
[    0.855825] usbcore: registered new interface driver usbhid
[    0.855847] usbhid: USB HID core driver
[    0.856765] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
[    0.858496] [vc_sm_connected_init]: start
[    0.869657] [vc_sm_connected_init]: end - returning 0
[    0.870796] Initializing XFRM netlink socket
[    0.870841] NET: Registered protocol family 17
[    0.870953] Key type dns_resolver registered
[    0.871207] Registering SWP/SWPB emulation handler
[    0.871925] registered taskstats version 1
[    0.871955] Loading compiled-in X.509 certificates
[    0.880988] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    0.881078] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2
[    0.884156] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.884649] brcmstb_thermal fd5d2200.thermal: registered AVS TMON of-sensor driver
[    0.885273] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    0.885299] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    0.901870] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.911337] sdhci-iproc fe340000.emmc2: Linked as a consumer to regulator.1
[    0.930545] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.932184] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.933821] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.936738] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.938373] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.943267] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[    0.946098] of_cfs_init
[    0.946197] of_cfs_init: OK
[    0.946930] Waiting for root device /dev/mmcblk0p3...
[    0.993247] random: fast init done
[    1.047142] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[    1.048449] mmcblk0: mmc0:aaaa SC32G 29.7 GiB
[    1.049978] mmc1: new high speed SDIO card at address 0001
[    1.050944]  mmcblk0: p1 p2 p3
[    1.070704] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    1.070773] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[    1.075308] devtmpfs: mounted
[    1.082011] Freeing unused kernel memory: 2048K
[    1.093537] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.20
[    1.093573] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.093600] usb 1-1: Product: USB2.0 Hub
[    1.095178] hub 1-1:1.0: USB hub found
[    1.095443] hub 1-1:1.0: 4 ports detected
[    1.102078] Run /sbin/init as init process
[    1.315290] audit: type=1404 audit(1.309:2): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295 enabled=1 old-enabled=1 lsm=selinux res=1
[    1.894989] SELinux:  Permission getrlimit in class process not defined in policy.
[    1.895682] SELinux:  Class xdp_socket not defined in policy.
[    1.895707] SELinux: the above unknown classes and permissions will be allowed
[    1.895759] SELinux:  policy capability network_peer_controls=1
[    1.895783] SELinux:  policy capability open_perms=1
[    1.895804] SELinux:  policy capability extended_socket_class=1
[    1.895826] SELinux:  policy capability always_check_network=0
[    1.895848] SELinux:  policy capability cgroup_seclabel=1
[    1.895869] SELinux:  policy capability nnp_nosuid_transition=1
[    2.002754] audit: type=1403 audit(1.999:3): auid=4294967295 ses=4294967295 lsm=selinux res=1
[    2.020337] systemd[1]: Successfully loaded SELinux policy in 706.449ms.
[    2.154375] NET: Registered protocol family 10
[    2.155663] Segment Routing with IPv6
[    2.155926] systemd[1]: Inserted module 'ipv6'
[    2.168146] systemd[1]: Inserted module 'ip_tables'
[    2.217056] systemd[1]: Relabelled /dev, /run and /sys/fs/cgroup in 35.503ms.
[    2.225198] random: systemd: uninitialized urandom read (16 bytes read)
[    2.230610] random: systemd: uninitialized urandom read (16 bytes read)
[    2.241470] 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.242571] systemd[1]: Detected architecture arm.
[    2.249437] systemd[1]: No hostname configured.
[    2.249487] systemd[1]: Set hostname to .
[    2.251635] random: systemd: uninitialized urandom read (16 bytes read)
[    2.251702] systemd[1]: Initializing machine ID from random generator.
[    2.252292] systemd[1]: Installed transient /etc/machine-id file.
[    2.576145] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit not found.
[    2.581994] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    2.583449] systemd[1]: Reached target Remote File Systems.
[    2.586798] systemd[1]: Created slice Root Slice.
[    3.002866] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[    3.103129] systemd-journald[99]: Received request to flush runtime journal from PID 1
[    6.474722] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x0000ffff
[    6.475421] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00000fff
[    6.476120] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x0000ffff
[    6.478108] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x0000ffff
[    6.489837] media: Linux media interface: v0.10
[    6.511508] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    6.520520] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    6.520563] [vc_sm_connected_init]: start
[    6.528076] [vc_sm_connected_init]: installed successfully
[    6.538600] videodev: Linux video capture interface: v2.00
[    6.567414] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    6.598833] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    6.616221] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    6.632291] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    6.632348] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    6.637811] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    6.637869] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    6.655612] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    6.655683] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    6.774729] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.878508] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.881009] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    6.881065] cfg80211: failed to load regulatory.db
[    6.903255] Adding 499708k swap on /dev/mmcblk0p2.  Priority:-2 extents:1 across:499708k SSFS
[    6.920214] brcmfmac: F1 signature read @0x18000000=0x15264345
[    6.927503] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.927911] usbcore: registered new interface driver brcmfmac
[    7.129906] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.130666] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[    7.135117] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar  1 2015 07:29:38 version 7.45.18 (r538002) FWID 01-6a2c8ad4
[    9.277864] random: crng init done
[    9.277898] random: 7 urandom warning(s) missed due to ratelimiting
[   11.697949] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   11.699037] bcmgenet: Skipping UMAC reset
[   11.792315] bcmgenet fd580000.genet: configuring instance for external RGMII (no delay)
[   11.792584] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   11.853581] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   11.898427] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   11.898467] brcmfmac: power management disabled
[   12.430554] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   12.430594] brcmfmac: power management disabled
[   12.872111] bcmgenet fd580000.genet eth0: Link is Down
[   12.944264] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   16.077142] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   16.077215] brcmfmac: power management disabled
[   29.037428] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

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

# lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
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,32) md2(int) rc4(ptr,char) des(idx,cisc,16,long) 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 -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -Wa,--noexecstack -DPURIFY -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
md2               1508.35k     3308.80k     4532.22k     5003.22k     5144.58k
mdc2                 0.00         0.00         0.00         0.00         0.00
md4              19539.07k    67533.97k   179469.14k   308037.29k   391544.72k
md5              16525.74k    54241.81k   136855.13k   221808.30k   268214.27k
hmac(md5)        16253.30k    52756.01k   134580.99k   220176.04k   268511.91k
sha1             19348.05k    61491.65k   149622.53k   233713.66k   278806.53k
rmd160           13674.76k    36907.31k    74465.35k    99081.90k   109947.56k
rc4             145931.39k   157263.36k   159906.22k   161413.80k   162092.01k
des cbc          33135.48k    35235.34k    35686.23k    35832.49k    35900.07k
des ede3         12853.72k    13138.15k    13036.46k    13195.26k    13243.73k
idea cbc         32041.68k    33723.90k    34258.71k    34287.27k    34335.40k
seed cbc         37017.65k    38460.44k    38729.98k    38881.28k    38952.96k
rc2 cbc          21418.30k    22100.01k    22304.34k    22378.84k    22399.66k
rc5-32/12 cbc    59614.91k    68863.53k    71282.69k    72399.54k    72634.82k
blowfish cbc     46805.51k    50504.26k    51358.55k    51705.17k    51836.25k
cast cbc         49609.64k    53427.80k    54364.93k    54702.08k    54818.13k
aes-128 cbc      82266.43k    88079.27k    92344.51k    92810.24k    93194.92k
aes-192 cbc      71518.53k    75954.71k    78734.17k    79296.51k    79555.24k
aes-256 cbc      63229.46k    67292.52k    68790.95k    69229.23k    69435.39k
camellia-128 cbc    52725.92k    58101.74k    59656.11k    60032.68k    60197.55k
camellia-192 cbc    44622.08k    46508.69k    46838.10k    47060.31k    47161.34k
camellia-256 cbc    44620.54k    46509.87k    46843.14k    47056.55k    47158.61k
sha256           27246.19k    65163.95k   119683.41k   151863.99k   164222.29k
sha512           10124.96k    40664.94k    60342.36k    83380.57k    93945.86k
whirlpool         2861.45k     5902.36k     9679.36k    11532.97k    12195.16k
aes-128 ige      76526.00k    84744.53k    88202.33k    89084.59k    89298.26k
aes-192 ige      67111.09k    73572.02k    75909.12k    76546.05k    76753.58k
aes-256 ige      59765.07k    64632.66k    66631.42k    67067.22k    67275.43k
ghash           175547.33k   191178.05k   192417.02k   192450.56k   192744.11k
                  sign    verify    sign/s verify/s
rsa  512 bits 0.000304s 0.000023s   3287.4  43227.5
rsa 1024 bits 0.001415s 0.000062s    706.7  16197.0
rsa 2048 bits 0.008290s 0.000202s    120.6   4957.2
rsa 4096 bits 0.051804s 0.000735s     19.3   1360.1
                  sign    verify    sign/s verify/s
dsa  512 bits 0.000368s 0.000274s   2716.4   3644.0
dsa 1024 bits 0.000793s 0.000736s   1261.1   1359.5
dsa 2048 bits 0.002281s 0.002331s    438.4    429.0
                              sign    verify    sign/s verify/s
 256 bit ecdsa (nistp256)   0.0033s   0.0020s    306.5    493.0
 384 bit ecdsa (nistp384)   0.0089s   0.0050s    112.1    199.5
 521 bit ecdsa (nistp521)   0.0218s   0.0114s     45.9     87.5
                              op      op/s
 256 bit ecdh (nistp256)   0.0031s    321.6
 384 bit ecdh (nistp384)   0.0085s    117.5
 521 bit ecdh (nistp521)   0.0207s     48.4
カテゴリー: めも パーマリンク

コメントを残す

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