6
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[メモ] Raspberry Pi 3 : CentOS7(aarch64)

Last updated at Posted at 2016-08-25

概要

  • uname -a

[root@centos-rpi3 ~]# uname -a
Linux centos-rpi3 4.7.0-1-main #1 SMP PREEMPT Wed Aug 10 15:47:35 UTC 2016 aarch64 aarch64 aarch64 GNU/Linux
[root@centos-rpi3 ~]# lscpu
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
[root@centos-rpi3 ~]#


- kraxel's news さんから: https://www.kraxel.org/blog/2016/08/two-new-images-uploaded/
- Raspberry Pi 3向けに、64ビットのシステムイメージ(CentOS7, Fedora23, 24)を[公開してくれている方のページ](https://www.kraxel.org/repos/rpi2/images/)を、たまたま発見。
- ま、ダウンロード、解凍して、SDに焼いて、ブート、だけなんですけど。

## 環境
- Raspberry Pi 3のみ (64bitなので)
- [`arm64-rpi3-centos7-mainline-20160803.raw.xz`](https://www.kraxel.org/repos/rpi2/images/arm64-rpi3-centos7-mainline-20160803.raw.xz) を使用<br>(xzのサイズ179M、解凍時3GB=3,221,225,472バイト)
- microSD 8GB

## 手順
1. ダウンロード  [`arm64-rpi3-centos7-mainline-20160803.raw.xz`](https://www.kraxel.org/repos/rpi2/images/arm64-rpi3-centos7-mainline-20160803.raw.xz)
2. 解凍
3. SDに焼く
4. ブート
5. ログイン - ユーザ: `root` / パスワード: `pi`
6. 設定
    - システム更新<br>`yum update -y; reboot`
        - `yum install パッケージ名` でインストール
        - `yum search キーワード` で検索
        - `yum info パッケージ名` パッケージ情報
        - `yum check-update` 更新チェック.
        - `yum update [パッケージ名]` 更新。パッケージ名をいれると、そいつだけ。
    - 時計が1970年なってしまう件 => `fake-hwclock`と`ntpd` 設定

        ```bash
curl https://copr-be.cloud.fedoraproject.org/results/jorti/fake-hwclock/epel-7-x86_64/fake-hwclock-0.9-1.fc22/fake-hwclock-0.9-1.el7.centos.noarch.rpm -k > fake-hwclock-0.9-1.el7.centos.noarch.rpm
rpm -ihv ./fake-hwclock-0.9-1.el7.centos.noarch.rpm
systemctl enable fake-hwclock
systemctl start fake-hwclock
systemctl status fake-hwclock
ntpdate 0.centos.pool.ntp.org  # 時刻あわせ.
systemctl enable ntpd
systemctl start ntpd
systemctl status ntpd
#
fake-hwclock              # 一度実行 /etc/fake-hwclock.data 生成.
shutdown -r now           # 再起動.
- ビルド関係のツール

    ```bash
    yum groupinstall "Development Tools" -y

yum install yum-utils -y

    - `byobu`

        ```bash
#ソースSRPM取得
wget https://dl.fedoraproject.org/pub/fedora/linux/releases/24/Everything/source/tree/Packages/b/byobu-5.97-2.fc24.src.rpm
#依存してるパッケージ.
yum-builddep byobu-5.97-2.fc24.src.rpm
# ビルド.
rpmbuild --rebuild byobu-5.97-2.fc24.src.rpm
# インストール
yum localinstall -y ~/rpmbuild/RPMS/noarch/byobu-5.97-2.el7.centos.noarch.rpm
- `htop`

    ```bash

wget https://dl.fedoraproject.org/pub/fedora/linux/releases/24/Everything/source/tree/Packages/h/htop-2.0.1-1.fc24.src.rpm
yum-builddep htop-2.0.1-1.fc24.src.rpm
rpmbuild --rebuild htop-2.0.1-1.fc24.src.rpm
yum localinstall -y ~/rpmbuild/RPMS/aarch64/htop-2.0.1-1.el7.centos.aarch64.rpm



<!--
    - だめぽい?? EPEL (http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/)

        ```bash
yum install yum-utils wget
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
rpm -ivh epel-release-7-8.noarch.rpm

-->

その他

[root@centos-rpi3 ~]# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.7.0-1-main (kraxel@pi-three.home.kraxel.org) (gcc version 6.1.1 20160621 (Red Hat 6.1.1-3) (GCC) ) #1 SMP PREEMPT Wed Aug 10 15:47:35 UTC 2016
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x0000000039000000
[ 0.000000] On node 0 totalpages: 241664
[ 0.000000] DMA zone: 3776 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 241664 pages, LIFO batch:31
[ 0.000000] percpu: Embedded 20 pages/cpu @ffff80003af8c000 s42520 r8192 d31208 u81920
[ 0.000000] pcpu-alloc: s42520 r8192 d31208 u81920 alloc=20*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 237888
[ 0.000000] Kernel command line: dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 elevator=deadline root=/dev/mmcblk0p3 rootfstype=ext4 rootwait
[ 0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[ 0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[ 0.000000] log_buf_len min size: 16384 bytes
[ 0.000000] log_buf_len: 32768 bytes
[ 0.000000] early log buf free: 14972(91%)
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] software IO TLB [mem 0x34000000-0x38000000] (64MB) mapped at [ffff800034000000-ffff800037ffffff]
[ 0.000000] Memory: 842224K/966656K available (7944K kernel code, 695K rwdata, 3316K rodata, 960K init, 279K bss, 108048K reserved, 16384K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffff000000000000 - 0xffff000008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000 (129022 GB)
[ 0.000000] .text : 0xffff000008080000 - 0xffff000008830000 ( 7872 KB)
[ 0.000000] .rodata : 0xffff000008830000 - 0xffff000008b80000 ( 3392 KB)
[ 0.000000] .init : 0xffff000008b80000 - 0xffff000008c70000 ( 960 KB)
[ 0.000000] .data : 0xffff000008c70000 - 0xffff000008d1dc00 ( 695 KB)
[ 0.000000] .bss : 0xffff000008d1dc00 - 0xffff000008d639b4 ( 280 KB)
[ 0.000000] fixed : 0xffff7dfffe7fd000 - 0xffff7dfffec00000 ( 4108 KB)
[ 0.000000] PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 GB maximum)
[ 0.000000] 0xffff7e0000000000 - 0xffff7e0000ec0000 ( 14 MB actual)
[ 0.000000] memory : 0xffff800000000000 - 0xffff80003b000000 ( 944 MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 64.
[ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000010] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000026] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000074] bcm2835: system timer (irq = 35)
[ 0.000462] Architected cp15 timer(s) running at 19.20MHz (phys).
[ 0.000473] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000483] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000638] Console: colour dummy device 80x25
[ 0.001905] console [tty1] enabled
[ 0.001950] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[ 0.002004] pid_max: default: 32768 minimum: 301
[ 0.002122] Security Framework initialized
[ 0.002152] SELinux: Initializing.
[ 0.002243] SELinux: Starting in permissive mode
[ 0.002285] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.002320] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.003531] ASID allocator initialised with 65536 entries
[ 0.024990] EFI services will not be available.
[ 0.048566] Detected VIPT I-cache on CPU1
[ 0.048620] CPU1: Booted secondary processor [410fd034]
[ 0.064603] Detected VIPT I-cache on CPU2
[ 0.064637] CPU2: Booted secondary processor [410fd034]
[ 0.080651] Detected VIPT I-cache on CPU3
[ 0.080684] CPU3: Booted secondary processor [410fd034]
[ 0.080758] Brought up 4 CPUs
[ 0.080920] SMP: Total of 4 processors activated.
[ 0.080950] CPU features: detected feature: 32-bit EL0 Support
[ 0.080985] CPU: All CPU(s) started at EL2
[ 0.081035] alternatives: patching kernel code
[ 0.082124] devtmpfs: initialized
[ 0.088667] DMI not present or invalid.
[ 0.088992] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.089803] pinctrl core: initialized pinctrl subsystem
[ 0.091472] NET: Registered protocol family 16
[ 0.104756] cpuidle: using governor menu
[ 0.105090] vdso: 2 pages (1 code @ ffff000008836000, 1 data @ ffff000008c74000)
[ 0.105149] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.106320] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.106651] Serial: AMBA PL011 UART driver
[ 0.141512] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.142629] ACPI: Interpreter disabled.
[ 0.143534] vgaarb: loaded
[ 0.143925] SCSI subsystem initialized
[ 0.144168] libata version 3.00 loaded.
[ 0.144574] usbcore: registered new interface driver usbfs
[ 0.144680] usbcore: registered new interface driver hub
[ 0.144805] usbcore: registered new device driver usb
[ 0.145628] pps_core: LinuxPPS API ver. 1 registered
[ 0.145661] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.145732] PTP clock support registered
[ 0.145979] dmi: Firmware registration failed.
[ 0.146229] Advanced Linux Sound Architecture Driver Initialized.
[ 0.146998] NetLabel: Initializing
[ 0.147025] NetLabel: domain hash size = 128
[ 0.147050] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.147136] NetLabel: unlabeled traffic allowed by default
[ 0.147632] clocksource: Switched to clocksource arch_sys_counter
[ 0.147792] VFS: Disk quotas dquot_6.6.0
[ 0.147883] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.148410] simple-framebuffer 3d8ba000.framebuffer: framebuffer at 0x3d8ba000, 0x339900 bytes, mapped to 0xffff000009000000
[ 0.148468] simple-framebuffer 3d8ba000.framebuffer: format=r5g6b5, mode=1776x952x16, linelength=3552
[ 0.170228] Console: switching to colour frame buffer device 222x59
[ 0.189981] simple-framebuffer 3d8ba000.framebuffer: fb0: simplefb registered!
[ 0.190352] pnp: PnP ACPI: disabled
[ 0.202058] NET: Registered protocol family 2
[ 0.202911] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.203181] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ 0.203539] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.203900] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.204071] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.204431] NET: Registered protocol family 1
[ 0.204905] RPC: Registered named UNIX socket transport module.
[ 0.205043] RPC: Registered udp transport module.
[ 0.205150] RPC: Registered tcp transport module.
[ 0.205256] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.205404] PCI: CLS 0 bytes, default 128
[ 0.205723] Unpacking initramfs...
[ 1.004617] Freeing initrd memory: 10400K (ffff80003a10b000 - ffff80003ab33000)
[ 1.011964] kvm [1]: 8-bit VMID
[ 1.012064] kvm [1]: Hyp mode initialized successfully
[ 1.012337] kvm [1]: virtual timer IRQ4
[ 1.014836] futex hash table entries: 1024 (order: 5, 131072 bytes)
[ 1.015106] audit: initializing netlink subsys (disabled)
[ 1.015315] audit: type=2000 audit(1.007:1): initialized
[ 1.016064] workingset: timestamp_bits=44 max_order=18 bucket_order=0
[ 1.033317] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.034792] NFS: Registering the id_resolver key type
[ 1.034957] Key type id_resolver registered
[ 1.035055] Key type id_legacy registered
[ 1.035405] fuse init (API version 7.25)
[ 1.036463] 9p: Installing v9fs 9p2000 file system support
[ 1.040359] Key type asymmetric registered
[ 1.045592] Asymmetric key parser 'x509' registered
[ 1.050580] io scheduler noop registered
[ 1.055829] io scheduler cfq registered
[ 1.064787] clk: couldn't get clock 0 for /soc/pwm@7e20c000
[ 1.074320] xenfs: not registering filesystem on non-xen platform
[ 1.084713] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.092406] SuperH (H)SCI(F) driver initialized
[ 1.098103] msm_serial: driver initialized
[ 2.006650] bcm2835-rng 3f104000.rng: hwrng registered
[ 2.012256] Unable to detect cache hierarchy from DT for CPU 0
[ 2.024856] loop: module loaded
[ 2.033106] tun: Universal TUN/TAP device driver, 1.6
[ 2.038269] tun: (C) 1999-2004 Max Krasnyansky maxk@qualcomm.com
[ 2.043997] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 2.049108] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 2.054336] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.3.0-k
[ 2.059523] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 2.064759] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.0.2-k
[ 2.069999] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 2.075284] sky2: driver version 1.30
[ 2.081162] VFIO - User Level meta-driver version: 0.3
[ 2.089112] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.094365] ehci-pci: EHCI PCI platform driver
[ 2.099582] ehci-platform: EHCI generic platform driver
[ 2.104895] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[ 2.110024] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.115044] ohci-pci: OHCI PCI platform driver
[ 2.120122] ohci-platform: OHCI generic platform driver
[ 2.125378] usbcore: registered new interface driver usb-storage
[ 2.131774] mousedev: PS/2 mouse device common for all mice
[ 2.137691] i2c /dev entries driver
[ 2.142867] i2c-bcm2835 3f205000.i2c: Could not get clock
[ 2.147984] i2c-bcm2835 3f804000.i2c: Could not get clock
[ 2.152898] i2c-bcm2835 3f805000.i2c: Could not get clock
[ 2.159870] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[ 2.165364] sdhci: Secure Digital Host Controller Interface driver
[ 2.170319] sdhci: Copyright(c) Pierre Ossman
[ 2.175282] Synopsys Designware Multimedia Card Interface Driver
[ 2.181110] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.191320] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.197393] usbcore: registered new interface driver usbhid
[ 2.202341] usbhid: USB HID core driver
[ 2.209985] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 2.216781] NET: Registered protocol family 17
[ 2.221840] 9pnet: Installing 9P2000 support
[ 2.226822] Key type dns_resolver registered
[ 2.232719] registered taskstats version 1
[ 2.237931] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 72, base_baud = 0) is a PL011 rev2
[ 3.250454] console [ttyAMA0] enabled
[ 3.262739] i2c-bcm2835 3f805000.i2c: Could not read clock-frequency property
[ 3.323648] mmc0: unable to initialise DMA channels. Falling back to PIO
[ 3.411659] mmc0: loaded - DMA disabled
[ 3.459664] mmc1: SDHCI controller on 3f300000.sdhci [3f300000.sdhci] using PIO
[ 3.475676] raspberrypi-firmware soc:firmware: Attached to firmware from 2016-08-10 20:36
[ 3.492568] 3f980000.usb supply vusb_d not found, using dummy regulator
[ 3.495348] mmc0: host does not support reading read-only switch, assuming write-enable
[ 3.497848] mmc0: new high speed SDHC card at address 0007
[ 3.502544] I/O scheduler deadline not found
[ 3.502650] mmcblk0: mmc0:0007 SD8GB 7.42 GiB
[ 3.504961] mmcblk0: p1 p2 p3
[ 3.556495] 3f980000.usb supply vusb_a not found, using dummy regulator
[ 3.576355] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 3.588748] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 3.601063] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 3.614577] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 3.745754] mmc1: new SDIO card at address 0001
[ 3.807661] dwc2 3f980000.usb: Specified GNPTXFDEP=1024 > 256
[ 3.818534] dwc2 3f980000.usb: EPs: 8, dedicated fifos, 4080 entries in SPRAM
[ 3.831565] dwc2 3f980000.usb: DWC OTG Controller
[ 3.841388] dwc2 3f980000.usb: new USB bus registered, assigned bus number 1
[ 3.853555] dwc2 3f980000.usb: irq 41, io mem 0x00000000
[ 3.864835] hub 1-0:1.0: USB hub found
[ 3.873577] hub 1-0:1.0: 1 port detected
[ 3.883288] hctosys: unable to open rtc device (rtc0)
[ 3.896891] ALSA device list:
[ 3.904765] No soundcards found.
[ 3.919314] Freeing unused kernel memory: 960K (ffff800000b80000 - ffff800000c70000)
[ 3.951193] NET: Registered protocol family 10
[ 3.961968] systemd[1]: Inserted module 'ipv6'
[ 3.974089] random: systemd urandom read with 9 bits of entropy available
[ 4.012881] 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)
[ 4.036869] systemd[1]: Detected architecture arm64.
[ 4.047245] systemd[1]: Running in initial RAM disk.
[ 4.075481] systemd[1]: Set hostname to .
[ 4.259694] usb 1-1: new high-speed USB device number 2 using dwc2
[ 4.285985] systemd[1]: Reached target Swap.
[ 4.295876] systemd[1]: Starting Swap.
[ 4.311291] systemd[1]: Reached target Local File Systems.
[ 4.322311] systemd[1]: Starting Local File Systems.
[ 4.339828] systemd[1]: Created slice -.slice.
[ 4.349770] systemd[1]: Starting -.slice.
[ 4.365608] systemd[1]: Created slice System Slice.
[ 4.375990] systemd[1]: Starting System Slice.
[ 4.392197] systemd[1]: Listening on udev Control Socket.
[ 4.402977] systemd[1]: Starting udev Control Socket.
[ 4.419389] systemd[1]: Listening on udev Kernel Socket.
[ 4.430014] systemd[1]: Starting udev Kernel Socket.
[ 4.446010] systemd[1]: Reached target Timers.
[ 4.455605] systemd[1]: Starting Timers.
[ 4.468704] hub 1-1:1.0: USB hub found
[ 4.468783] hub 1-1:1.0: 5 ports detected
[ 4.487880] systemd[1]: Reached target Slices.
[ 4.497327] systemd[1]: Starting Slices.
[ 4.512126] systemd[1]: Listening on Journal Socket.
[ 4.522098] systemd[1]: Starting Journal Socket.
[ 4.532493] systemd[1]: Started Load Kernel Modules.
[ 4.556191] systemd[1]: Starting Journal Service...
[ 4.572654] systemd[1]: Started dracut ask for additional cmdline parameters.
[ 4.587215] systemd[1]: Starting Apply Kernel Variables...
[ 4.606305] systemd[1]: Starting Setup Virtual Console...
[ 4.628662] systemd[1]: Reached target Sockets.
[ 4.638411] systemd[1]: Starting Sockets.
[ 4.650091] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 4.671868] systemd[1]: Started dracut cmdline hook.
[ 4.682722] systemd[1]: Started dracut pre-udev hook.
[ 4.700901] systemd[1]: Started Journal Service.
[ 4.751715] usb 1-1.1: new high-speed USB device number 3 using dwc2
[ 5.117363] uart-pl011 3f201000.serial: no DMA platform data
[ 5.367574] random: nonblocking pool is initialized
[ 5.673927] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[ 6.538422] systemd-journald[1061]: Received SIGTERM from PID 1 (systemd).
[ 7.212541] SELinux: 32768 avtab hash slots, 112394 rules.
[ 7.352682] SELinux: 32768 avtab hash slots, 112394 rules.
[ 7.715604] SELinux: 8 users, 105 roles, 4954 types, 302 bools, 1 sens, 1024 cats
[ 7.715653] SELinux: 83 classes, 112394 rules
[ 7.751197] SELinux: Permission validate_trans in class security not defined in policy.
[ 7.763760] SELinux: Permission module_load in class system not defined in policy.
[ 7.776145] SELinux: Class netlink_iscsi_socket not defined in policy.
[ 7.787235] SELinux: Class netlink_fib_lookup_socket not defined in policy.
[ 7.798722] SELinux: Class netlink_connector_socket not defined in policy.
[ 7.810140] SELinux: Class netlink_netfilter_socket not defined in policy.
[ 7.821493] SELinux: Class netlink_generic_socket not defined in policy.
[ 7.832627] SELinux: Class netlink_scsitransport_socket not defined in policy.
[ 7.844294] SELinux: Class netlink_rdma_socket not defined in policy.
[ 7.855107] SELinux: Class netlink_crypto_socket not defined in policy.
[ 7.866067] SELinux: Permission audit_read in class capability2 not defined in policy.
[ 7.878367] SELinux: Class binder not defined in policy.
[ 7.888016] SELinux: Class cap_userns not defined in policy.
[ 7.897994] SELinux: Class cap2_userns not defined in policy.
[ 7.908041] SELinux: the above unknown classes and permissions will be allowed
[ 7.919639] SELinux: Completing initialization.
[ 7.919647] SELinux: Setting up existing superblocks.
[ 7.966311] audit: type=1403 audit(7.959:2): policy loaded auid=4294967295 ses=4294967295
[ 8.011488] systemd[1]: Successfully loaded SELinux policy in 1.059160s.
[ 8.450870] systemd[1]: Relabelled /dev and /run in 242.854ms.
[ 8.665324] SELinux: Context system_u:object_r:systemd_hwdb_unit_file_t:s0 is not valid (left unmapped).
[ 8.773029] SELinux: Context system_u:object_r:systemd_resolved_unit_file_t:s0 is not valid (left unmapped).
[ 8.791925] SELinux: Context system_u:object_r:syslogd_unit_file_t:s0 is not valid (left unmapped).
[ 8.845142] SELinux: Context system_u:object_r:systemd_modules_load_unit_file_t:s0 is not valid (left unmapped).
[ 9.176349] systemd-readahead[1821]: Bumped block_nr parameter of 179:0 to 20480. This is a temporary hack and should be removed one day.
[ 9.179019] audit: type=1400 audit(9.171:3): avc: denied { read } for pid=1814 comm="systemd-journal" name="run" dev="mmcblk0p3" ino=373 scontext=system_u:system_r:syslogd_t:s0 tcontext=unconfined_u:object_r:unlabeled_t:s0 tclass=lnk_file permissive=1
[ 9.462910] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[ 9.711015] systemd-journald[1814]: Received request to flush runtime journal from PID 1
[ 10.816656] [drm] Initialized drm 1.1.0 20060810
[ 10.913504] smsc95xx v1.0.4
[ 10.947978] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[ 10.960285] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 10.973887] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 10.986709] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 10.999335] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[ 11.011284] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[ 11.023522] checking generic (3d8ba000 339900) vs hw (0 ffffffffffffffff)
[ 11.023538] fb: switching to vc4drmfb from simple
[ 11.033676] Console: switching to colour dummy device 80x25
[ 11.034799] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:6c:0f:31
[ 11.035033] usbcore: registered new interface driver smsc95xx
[ 11.063551] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 11.070282] [drm] No driver support for vblank timestamp query.
[ 11.118881] bcm2835-clk 3f101000.cprman: pllh: rate out of spec: 4620000000 vs (600000000, 3000000000)
[ 11.130514] Console: switching to colour frame buffer device 240x75
[ 11.157194] brcmfmac: brcmf_sdio_drivestrengthinit: No SDIO Drive strength init done for chip 43430 rev 1 pmurev 24
[ 11.160506] usbcore: registered new interface driver brcmfmac
[ 11.219495] vc4-drm soc:gpu: fb0: frame buffer device
[ 11.628526] Adding 767996k swap on /dev/mmcblk0p2. Priority:-1 extents:1 across:767996k SS
[ 12.420547] audit: type=1400 audit(12.415:4): avc: denied { read } for pid=2547 comm="auditd" name="run" dev="mmcblk0p3" ino=373 scontext=system_u:system_r:auditd_t:s0 tcontext=unconfined_u:object_r:unlabeled_t:s0 tclass=lnk_file permissive=1
[ 12.462050] audit: type=1305 audit(12.447:5): audit_pid=2547 old=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:auditd_t:s0 res=1
[ 13.692341] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Dec 15 2015 18:10:45 version 7.45.41.23 (r606571) FWID 01-cc4eda9c
[ 13.781435] SELinux: Context system_u:object_r:systemd_resolved_exec_t:s0 is not valid (left unmapped).
[ 13.841859] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 13.864683] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 14.268171] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 14.406199] SELinux: Context system_u:object_r:systemd_rfkill_exec_t:s0 is not valid (left unmapped).
[ 14.581793] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 15.427748] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 15.449604] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[root@centos-rpi3 ~]#


- レッドハット,CentOS,Fedora系は詳しくないので...

6
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?