edison-fw / meta-intel-edison

Here is the meta-intel-edison that builds, tries to stay up to date. Master is based on Yocto Poky Gatesgarth LTS 5.10.yy vanilla kernels. It builds a 32bit kernel (Gatesgarth branch 64bit) with ACPI enabled and corresponding rootfs. Telegram group: https://t.me/IntelEdison Web-site:
https://edison-fw.github.io/meta-intel-edison/
MIT License
60 stars 38 forks source link

boot failure #125

Closed humanoid2050 closed 3 years ago

humanoid2050 commented 3 years ago

I have an Edison on a stack of sparkfun carrier boards, including the base block, the SD card block, and the UART block. I have tried multiple things, but in all cases the board fails to boot to the root fs. I think the root of the issue may be related to the following line: Initramfs unpacking failed: invalid magic at start of compressed archive

The full boot log is here:

Target:blank
Partitioning already done...
Flashing already done...
9767712 bytes read in 422 ms (22.1 MiB/s)
9558813 bytes read in 414 ms (22 MiB/s)
Valid Boot Flag
Setup Size = 0x00003800
Magic signature found
Using boot protocol version 2.0f
Linux kernel version 5.6.0-edison-acpi-standard (oe-user@oe-host) #1 SMP Sun Feb 21 20:56:44 UTC 2021
Building boot_params at 0x00090000
Loading bzImage at address 100000 (9753376 bytes)
Magic signature found
Initial RAM disk at linear address 0x06000000, size 25165824 bytes
Kernel command line: "quiet root=/dev/mmcblk0p8 rootfstype=ext4 console=ttyS2,115200n8 earlyprintk=ttyS2,115200n8,keep loglevel=4 systemd.unit=multi-user.target hardware_id=00"
Magic signature found

Starting kernel ...

[    2.400612] Initramfs unpacking failed: invalid magic at start of compressed archive
Scanning for Btrfs filesystems
Starting version 243.2+
Kernel with acpi enabled detected
Loading acpi tables
[    3.495505] pca953x i2c-INT3491:00: failed writing register
[    3.519364] pca953x i2c-INT3491:01: failed writing register
[    3.542308] pca953x i2c-INT3491:02: failed writing register
[    3.564625] pca953x i2c-INT3491:03: failed writing register
gpioset: at least one GPIO line offset to value mapping must be specified
gpioset: at least one GPIO line offset to value mapping must be specified
Waiting for root device /dev/mmcblk0p8
Found device '/run/media/mmcblk0p8'
Init found, booting...
mount: can't find /boot in /etc/fstab
mount: mounting /boot on /realroot/boot failed: Invalid argument
mount: can't find /lib/modules in /etc/fstab
mount: mounting /lib/modules on /realroot/lib/modules failed: Invalid argument
[   10.050126] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43340-sdio for chip BCM43340/2
[   10.445670] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43340-sdio for chip BCM43340/2
[   10.512171] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[   10.582658] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43340/2 wl0: Oct 23 2017 08:41:23 version 6.10.190.70 (r674464) FWID 01-98d71006
[FAILED] Failed to mount /home.
See 'systemctl status home.mount' for details.
[DEPEND] Dependency failed for Post install service.
[  OK  ] Stopped Set the bluetooth hardware address.
[  OK  ] Stopped target Bluetooth.
[  OK  ] Stopped target Host and Network Name Lookups.
[  OK  ] Stopped target Sound Card.
[  OK  ] Stopped target Timers.
[  OK  ] Stopped Daily apt download activities.
[  OK  ] Stopped Daily Cleanup of Temporary Directories.
[  OK  ] Stopped target System Time Synchronized.
[  OK  ] Stopped target System Time Set.
         Stopping Save/Restore Sound Card State...
         Stopping Edison Arduino board LED Blinker...
         Stopping Bluetooth service...
[  OK  ] Stopped File System Check on /dev/disk/by-partlabel/home.
         Stopping Load/Save Random Seed...
         Stopping Load/Save RF Kill Switch Status...
         Stopping Kernel Logging Service...
         Stopping System Logging Service...
         Stopping Daemon to handle arduino sketches...
         Stopping The Edison status and configuration service...
[  OK  ] Removed slice system-getty.slice.
         Stopping Telephony service...
         Starting Set timezone by geolocation service...
[  OK  ] Removed slice system-serial\x2dgetty.slice.
[  OK  ] Stopped target Remote File Systems.
         Stopping Watchdog sample daemon...
[  OK  ] Stopped Edison Arduino board LED Blinker.
[  OK  ] Stopped Bluetooth service.
[  OK  ] Stopped Kernel Logging Service.
[  OK  ] Stopped System Logging Service.
[  OK  ] Stopped Daemon to handle arduino sketches.
[  OK  ] Stopped The Edison status and configuration service.
[  OK  ] Stopped Load/Save RF Kill Switch Status.
[  OK  ] Stopped Watchdog sample daemon.
[  OK  ] Stopped Connection service.
[  OK  ] Stopped Network Service.
[  OK  ] Stopped Login Service.
[  OK  ] Stopped Save/Restore Sound Card State.
[  OK  ] Stopped Load/Save Random Seed.
[FAILED] Failed to start Set timezone by geolocation service.
See 'systemctl status run-timezone.service' for details.
[  OK  ] Stopped Telephony service.
[  OK  ] Stopped target Network (Pre).
[  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Stopping D-Bus System Message Bus...
[  OK  ] Stopped Packet Filtering Framework.
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Paths.
[  OK  ] Stopped Dispatch Password …ts to Console Directory Watch.
[  OK  ] Stopped Forward Password R…uests to Wall Directory Watch.
[  OK  ] Stopped target Slices.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Sockets.
[  OK  ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Closed sshd.socket.
[  OK  ] Stopped target System Initialization.
[  OK  ] Closed Syslog Socket.
         Stopping Hardware RNG Entropy Gatherer Daemon...
[  OK  ] Stopped Apply Kernel Variables.
[  OK  ] Stopped Load Kernel Modules.
         Starting Network Service...
         Stopping Network Time Synchronization...
         Stopping Update UTMP about System Boot/Shutdown...
[  OK  ] Stopped Hardware RNG Entropy Gatherer Daemon.
[  OK  ] Stopped Network Time Synchronization.
[  OK  ] Stopped Update UTMP about System Boot/Shutdown.
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped target Local File Systems.
[  OK  ] Unset automount home.automount.
         Unmounting /factory...
         Unmounting Temporary Directory (/tmp)...
         Unmounting /var/volatile...
[  OK  ] Started Network Service.
[  OK  ] Unmounted /factory.
[  OK  ] Unmounted Temporary Directory (/tmp).
[  OK  ] Unmounted /var/volatile.
[  OK  ] Unset automount factory.automount.
[  OK  ] Reached target Network.
[  OK  ] Stopped target Swap.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Reached target Final Step.
[  OK  ] Stopped File System Check …dev/disk/by-partlabel/factory.
[  OK  ] Removed slice system-systemd\x2dfsck.slice.
[  OK  ] Stopped target Local File Systems (Pre).
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Stopped Create Static Device Nodes in /dev.

The recovery boot log is here, with the same issue:

=> run do_rescue
9767712 bytes read in 422 ms (22.1 MiB/s)
9558813 bytes read in 414 ms (22 MiB/s)
Valid Boot Flag
Setup Size = 0x00003800
Magic signature found
Using boot protocol version 2.0f
Linux kernel version 5.6.0-edison-acpi-standard (oe-user@oe-host) #1 SMP Sun Feb 21 20:56:44 UTC 2021
Building boot_params at 0x00090000
Loading bzImage at address 100000 (9753376 bytes)
Magic signature found
Initial RAM disk at linear address 0x06000000, size 25165824 bytes
Kernel command line: "debugshell=0 tty1 console=ttyS2,115200n8 root=/dev/mmcblk0p7 rootfstype=vfat systemd.unit=multi-user.target hardware_id=${hardware_id}"
Magic signature found

Starting kernel ...

[    0.000000] Linux version 5.6.0-edison-acpi-standard (oe-user@oe-host) (gcc version 9.2.0 (GCC)) #1 SMP Sun Feb 21 20:56:44 UTC 2021
[    0.000000] Command line: debugshell=0 tty1 console=ttyS2,115200n8 root=/dev/mmcblk0p7 rootfstype=vfat systemd.unit=multi-user.target hardware_id=${hardware_id}
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000097fff] usable
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000003ffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000004000000-0x0000000005ffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000006000000-0x000000003f4fffff] usable
[    0.000000] BIOS-e820: [mem 0x000000003f500000-0x000000003fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec04000-0x00000000fec07fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.6 present.
[    0.000000] DMI: Intel Corporation Merrifield/BODEGA BAY, BIOS 542 2015.01.21:18.19.48
[    0.000000] tsc: Detected 500.000 MHz processor
[    0.000060] last_pfn = 0x3f500 max_arch_pfn = 0x400000000
[    0.000368] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT
[    0.000793] check: Scanning 1 areas for low memory corruption
[    0.001935] RAMDISK: [mem 0x06000000-0x077fffff]
[    0.001961] ACPI: Early table checksum verification disabled
[    0.001981] ACPI: RSDP 0x00000000000E4500 000024 (v02 U-BOOT)
[    0.002006] ACPI: XSDT 0x00000000000E45E0 00004C (v01 U-BOOT U-BOOTBL 20210221 INTL 00000000)
[    0.002044] ACPI: FACP 0x00000000000E5330 0000F4 (v06 U-BOOT U-BOOTBL 20210221 INTL 00000000)
[    0.002082] ACPI: DSDT 0x00000000000E4780 000AA4 (v02 U-BOOT U-BOOTBL 00010000 INTL 20200925)
[    0.002112] ACPI: MCFG 0x00000000000E5454 00003C (v01 U-BOOT U-BOOTBL 20210221 INTL 00000000)
[    0.002140] ACPI: APIC 0x00000000000E5490 000048 (v02 U-BOOT U-BOOTBL 20210221 INTL 00000000)
[    0.002167] ACPI: CSRT 0x00000000000E54E0 000058 (v00 U-BOOT U-BOOTBL 20210221 INTL 00000000)
[    0.002195] ACPI: SPCR 0x00000000000E5540 000050 (v02 U-BOOT U-BOOTBL 20210221 INTL 00000000)
[    0.002908] No NUMA configuration found
[    0.002920] Faking a node at [mem 0x0000000000000000-0x000000003f4fffff]
[    0.002946] NODE_DATA(0) allocated [mem 0x3f4fc000-0x3f4fffff]
[    0.003036] Zone ranges:
[    0.003047]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.003059]   DMA32    [mem 0x0000000001000000-0x000000003f4fffff]
[    0.003071]   Normal   empty
[    0.003079] Movable zone start for each node
[    0.003088] Early memory node ranges
[    0.003098]   node   0: [mem 0x0000000000001000-0x0000000000097fff]
[    0.003109]   node   0: [mem 0x0000000000100000-0x0000000003ffffff]
[    0.003119]   node   0: [mem 0x0000000006000000-0x000000003f4fffff]
[    0.004140] Zeroed struct page in unavailable ranges: 11113 pages
[    0.004149] Initmem setup node 0 [mem 0x0000000000001000-0x000000003f4fffff]
[    0.036197] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-54
[    0.036227] Using ACPI (MADT) for SMP configuration information
[    0.036246] ACPI: SPCR: console: uart,mmio,0xff010180
[    0.036263] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[    0.036338] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.036354] PM: hibernation: Registered nosave memory: [mem 0x00098000-0x000fffff]
[    0.036369] PM: hibernation: Registered nosave memory: [mem 0x04000000-0x05ffffff]
[    0.036380] [mem 0x40000000-0xfebfffff] available for PCI devices
[    0.036400] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.070637] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:2 nr_node_ids:1
[    0.072062] percpu: Embedded 53 pages/cpu s179800 r8192 d29096 u1048576
[    0.072235] Built 1 zonelists, mobility grouping on.  Total pages: 246958
[    0.072245] Policy zone: DMA32
[    0.072257] Kernel command line: debugshell=0 tty1 console=ttyS2,115200n8 root=/dev/mmcblk0p7 rootfstype=vfat systemd.unit=multi-user.target hardware_id=${hardware_id}
[    0.073497] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.073815] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.073946] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.091021] Memory: 930284K/1004124K available (14340K kernel code, 1859K rwdata, 3840K rodata, 1224K init, 2516K bss, 73840K reserved, 0K cma-reserved)
[    0.091355] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.091413] Kernel/User page tables isolation: enabled
[    0.091876] rcu: Hierarchical RCU implementation.
[    0.091887] rcu:     RCU event tracing is enabled.
[    0.091896] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=2.
[    0.091906] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.091915] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.093277] NR_IRQS: 4352, nr_irqs: 512, preallocated irqs: 0
[    0.093773] random: get_random_bytes called from start_kernel+0x2fa/0x4c7 with crng_init=0
[    0.093943] Console: colour dummy device 80x25
[    0.105296] printk: console [ttyS2] enabled
[    0.105482] ACPI: Core revision 20200110
[    0.105782] APIC: Switch to symmetric I/O mode setup
[    0.105957] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0xe6a171a037, max_idle_ns: 881590485102 ns
[    0.106223] Calibrating delay loop (skipped), value calculated using timer frequency.. 1000.00 BogoMIPS (lpj=500000)
[    0.106482] pid_max: default: 32768 minimum: 301
[    0.106716] LSM: Security Framework initializing
[    0.106895] SELinux:  Initializing.
[    0.107132] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.107208] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.107208] mce: CPU0: Thermal monitoring enabled (TM1)
[    0.107208] process: using mwait in idle threads
[    0.107208] Last level iTLB entries: 4KB 48, 2MB 0, 4MB 0
[    0.107208] Last level dTLB entries: 4KB 128, 2MB 16, 4MB 16, 1GB 0
[    0.107208] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.107208] Spectre V2 : Mitigation: Full generic retpoline
[    0.107208] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.107208] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.107208] Freeing SMP alternatives memory: 40K
[    0.107208] smpboot: CPU0: Genuine Intel(R) CPU   4000  @  500MHz (family: 0x6, model: 0x4a, stepping: 0x8)
[    0.107297] Performance Events: PEBS fmt2+, 8-deep LBR, Silvermont events, 8-deep LBR, full-width counters, Intel PMU driver.
[    0.107613] ... version:                3
[    0.107721] ... bit width:              40
[    0.107830] ... generic registers:      2
[    0.107938] ... value mask:             000000ffffffffff
[    0.108077] ... max period:             0000007fffffffff
[    0.108208] ... fixed-purpose events:   3
[    0.108331] ... event mask:             0000000700000003
[    0.108715] rcu: Hierarchical SRCU implementation.
[    0.114409] smp: Bringing up secondary CPUs ...
[    0.115307] x86: Booting SMP configuration:
[    0.115426] .... node  #0, CPUs:      #1
[    0.115801] smp: Brought up 1 node, 2 CPUs
[    0.116243] smpboot: Max logical packages: 1
[    0.116363] smpboot: Total of 2 processors activated (2000.00 BogoMIPS)
[    0.117426] devtmpfs: initialized
[    0.127208] DMA-API: preallocated 65536 debug entries
[    0.127361] DMA-API: debugging enabled by kernel config
[    0.127509] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.127776] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.128236] pinctrl core: initialized pinctrl subsystem
[    0.129058] PM: RTC time: 00:00:32, date: 2000-01-01
[    0.129198] thermal_sys: Registered thermal governor 'step_wise'
[    0.129203] thermal_sys: Registered thermal governor 'user_space'
[    0.129830] NET: Registered protocol family 16
[    0.130581] audit: initializing netlink subsys (disabled)
[    0.131333] audit: type=2000 audit(946684832.025:1): state=initialized audit_enabled=0 res=1
[    0.132579] cpuidle: using governor menu
[    0.132667] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.132867] ACPI: bus type PCI registered
[    0.133341] PCI: MMCONFIG for domain 0000 [bus 00-00] at [mem 0x3f500000-0x3f5fffff] (base 0x3f500000)
[    0.133590] PCI: MMCONFIG at [mem 0x3f500000-0x3f5fffff] reserved in E820
[    0.133794] Intel MID platform detected, using MID PCI ops
[    0.133940] PCI: Using configuration type 1 for base access
[    0.135225] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.152552] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.153299] cryptomgr_test (25) used greatest stack depth: 15520 bytes left
[    0.153557] kworker/u4:0 (27) used greatest stack depth: 14584 bytes left
[    0.157357] kworker/u4:0 (47) used greatest stack depth: 14168 bytes left
[    0.163836] ACPI: Added _OSI(Module Device)
[    0.164265] ACPI: Added _OSI(Processor Device)
[    0.164389] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.164516] ACPI: Added _OSI(Processor Aggregator Device)
[    0.164661] ACPI: Added _OSI(Linux-Dell-Video)
[    0.164783] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.164925] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.170453] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.172792] ACPI: Interpreter enabled
[    0.172952] ACPI: (supports S0)
[    0.173044] ACPI: Using IOAPIC for interrupt routing
[    0.173276] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.187573] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.187777] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
[    0.188642] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability LTR]
[    0.188838] acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configuration
[    0.189131] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-00] only partially covers this bridge
[    0.189623] PCI host bridge to bus 0000:00
[    0.189750] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.189933] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.190114] pci_bus 0000:00: root bus resource [mem 0x000ddcc0-0x000ddccf window]
[    0.190235] pci_bus 0000:00: root bus resource [mem 0x04819000-0x04898fff window]
[    0.190435] pci_bus 0000:00: root bus resource [mem 0x04919000-0x04920fff window]
[    0.190632] pci_bus 0000:00: root bus resource [mem 0x05e00000-0x05ffffff window]
[    0.190830] pci_bus 0000:00: root bus resource [mem 0x80000000-0xffffffff window]
[    0.191029] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.191244] pci 0000:00:00.0: [8086:1170] type 00 class 0x060000
[    0.191983] pci 0000:00:01.0: [8086:1190] type 00 class 0x080501
[    0.192180] pci 0000:00:01.0: reg 0x10: [mem 0xff3fc000-0xff3fc0ff]
[    0.192333] pci 0000:00:01.0: PME# supported from D0 D3hot
[    0.192949] pci 0000:00:01.2: [8086:1190] type 00 class 0x080501
[    0.193142] pci 0000:00:01.2: reg 0x10: [mem 0xff3fa000-0xff3fa0ff]
[    0.193328] pci 0000:00:01.2: PME# supported from D0 D3hot
[    0.193945] pci 0000:00:01.3: [8086:1190] type 00 class 0x080501
[    0.194137] pci 0000:00:01.3: reg 0x10: [mem 0xff3fb000-0xff3fb0ff]
[    0.194328] pci 0000:00:01.3: PME# supported from D0 D3hot
[    0.195094] pci 0000:00:02.0: [8086:1182] type 00 class 0x038000
[    0.195271] pci 0000:00:02.0: reg 0x10: [mem 0xc0000000-0xc1ffffff]
[    0.195467] pci 0000:00:02.0: reg 0x18: [mem 0x80000000-0x8fffffff]
[    0.195661] pci 0000:00:02.0: reg 0x20: [io  0x7ff8-0x7fff]
[    0.196378] pci 0000:00:04.0: [8086:1191] type 00 class 0x070002
[    0.196571] pci 0000:00:04.0: reg 0x10: [mem 0xff010000-0xff01007f]
[    0.196836] pci 0000:00:04.0: PME# supported from D0 D3hot
[    0.197459] pci 0000:00:04.1: [8086:1191] type 00 class 0x070002
[    0.197652] pci 0000:00:04.1: reg 0x10: [mem 0xff010080-0xff0100ff]
[    0.197917] pci 0000:00:04.1: PME# supported from D0 D3hot
[    0.198702] pci 0000:00:04.2: [8086:1191] type 00 class 0x070002
[    0.198895] pci 0000:00:04.2: reg 0x10: [mem 0xff010100-0xff01017f]
[    0.199161] pci 0000:00:04.2: PME# supported from D0 D3hot
[    0.199688] pci 0000:00:04.3: [8086:1191] type 00 class 0x070002
[    0.199880] pci 0000:00:04.3: reg 0x10: [mem 0xff010180-0xff0101ff]
[    0.200145] pci 0000:00:04.3: PME# supported from D0 D3hot
[    0.200695] pci 0000:00:05.0: [8086:1192] type 00 class 0x070002
[    0.200888] pci 0000:00:05.0: reg 0x10: [mem 0xff010400-0xff0107ff]
[    0.201153] pci 0000:00:05.0: PME# supported from D0 D3hot
[    0.201710] pci 0000:00:06.0: [8086:1193] type 00 class 0x088000
[    0.201903] pci 0000:00:06.0: reg 0x10: [mem 0xff2a0000-0xff2a0fff]
[    0.202168] pci 0000:00:06.0: PME# supported from D0 D3hot
[    0.202698] pci 0000:00:06.1: [8086:1193] type 00 class 0x088000
[    0.202891] pci 0000:00:06.1: reg 0x10: [mem 0xff2a1000-0xff2a1fff]
[    0.203156] pci 0000:00:06.1: PME# supported from D0 D3hot
[    0.203704] pci 0000:00:07.0: [8086:1194] type 00 class 0x088000
[    0.203897] pci 0000:00:07.0: reg 0x10: [mem 0xff188000-0xff188fff]
[    0.204162] pci 0000:00:07.0: PME# supported from D0 D3hot
[    0.204689] pci 0000:00:07.1: [8086:1194] type 00 class 0x088000
[    0.204880] pci 0000:00:07.1: reg 0x10: [mem 0xff189000-0xff189fff]
[    0.205145] pci 0000:00:07.1: PME# supported from D0 D3hot
[    0.205838] pci 0000:00:07.2: [8086:1194] type 00 class 0x088000
[    0.206031] pci 0000:00:07.2: reg 0x10: [mem 0xff18a000-0xff18afff]
[    0.206303] pci 0000:00:07.2: PME# supported from D0 D3hot
[    0.206923] pci 0000:00:08.0: [8086:1195] type 00 class 0x078000
[    0.207115] pci 0000:00:08.0: reg 0x10: [mem 0xff18b000-0xff18bfff]
[    0.207328] pci 0000:00:08.0: PME# supported from D0 D3hot
[    0.208090] pci 0000:00:08.1: [8086:1195] type 00 class 0x078000
[    0.208260] pci 0000:00:08.1: reg 0x10: [mem 0xff18c000-0xff18cfff]
[    0.208527] pci 0000:00:08.1: PME# supported from D0 D3hot
[    0.209137] pci 0000:00:08.2: [8086:1195] type 00 class 0x078000
[    0.209260] pci 0000:00:08.2: reg 0x10: [mem 0xff18d000-0xff18dfff]
[    0.209527] pci 0000:00:08.2: PME# supported from D0 D3hot
[    0.210144] pci 0000:00:08.3: [8086:1195] type 00 class 0x078000
[    0.210260] pci 0000:00:08.3: reg 0x10: [mem 0xff18e000-0xff18efff]
[    0.210526] pci 0000:00:08.3: PME# supported from D0 D3hot
[    0.211143] pci 0000:00:09.0: [8086:1196] type 00 class 0x078000
[    0.211260] pci 0000:00:09.0: reg 0x10: [mem 0xff18f000-0xff18ffff]
[    0.211527] pci 0000:00:09.0: PME# supported from D0 D3hot
[    0.212142] pci 0000:00:09.1: [8086:1196] type 00 class 0x078000
[    0.212260] pci 0000:00:09.1: reg 0x10: [mem 0xff190000-0xff190fff]
[    0.212526] pci 0000:00:09.1: PME# supported from D0 D3hot
[    0.213300] pci 0000:00:09.2: [8086:1196] type 00 class 0x078000
[    0.213493] pci 0000:00:09.2: reg 0x10: [mem 0xff191000-0xff191fff]
[    0.213759] pci 0000:00:09.2: PME# supported from D0 D3hot
[    0.214400] pci 0000:00:0a.0: [8086:1197] type 00 class 0x078000
[    0.214593] pci 0000:00:0a.0: reg 0x10: [mem 0xff3f8000-0xff3f8fff]
[    0.214858] pci 0000:00:0a.0: PME# supported from D0 D3hot
[    0.215486] pci 0000:00:0b.0: [8086:1198] type 00 class 0x108000
[    0.215678] pci 0000:00:0b.0: reg 0x10: [mem 0xf9038000-0xf903ffff]
[    0.215943] pci 0000:00:0b.0: PME# supported from D0 D3hot
[    0.216571] pci 0000:00:0c.0: [8086:1199] type 00 class 0x088000
[    0.216765] pci 0000:00:0c.0: reg 0x10: [mem 0xff008000-0xff008fff]
[    0.216943] pci 0000:00:0c.0: reg 0x14: [mem 0x000ddcc0-0x000ddccf]
[    0.217201] pci 0000:00:0c.0: PME# supported from D0 D3hot
[    0.217842] pci 0000:00:0d.0: [8086:119a] type 00 class 0x040100
[    0.218035] pci 0000:00:0d.0: reg 0x10: [mem 0x05e00000-0x05ffffff]
[    0.218208] pci 0000:00:0d.0: reg 0x14: [mem 0xff340000-0xff343fff]
[    0.218243] pci 0000:00:0d.0: reg 0x18: [mem 0xff344000-0xff344fff]
[    0.218420] pci 0000:00:0d.0: reg 0x1c: [mem 0xff2c0000-0xff2dffff]
[    0.218595] pci 0000:00:0d.0: reg 0x20: [mem 0xff300000-0xff33ffff]
[    0.218840] pci 0000:00:0d.0: PME# supported from D0 D3hot
[    0.219475] pci 0000:00:0e.0: [8086:119b] type 00 class 0x088000
[    0.219667] pci 0000:00:0e.0: reg 0x10: [mem 0xff298000-0xff29bfff]
[    0.219845] pci 0000:00:0e.0: reg 0x14: [mem 0xff2a2000-0xff2a2fff]
[    0.220104] pci 0000:00:0e.0: PME# supported from D0 D3hot
[    0.220703] pci 0000:00:11.0: [8086:119e] type 00 class 0x0c0320
[    0.220896] pci 0000:00:11.0: reg 0x10: [mem 0xf9100000-0xf911ffff]
[    0.221161] pci 0000:00:11.0: PME# supported from D0 D3hot
[    0.221842] pci 0000:00:12.0: [8086:119f] type 00 class 0x118000
[    0.222035] pci 0000:00:12.0: reg 0x10: [mem 0xf9009000-0xf9009fff]
[    0.222208] pci 0000:00:12.0: reg 0x14: [mem 0xf90a0000-0xf90affff]
[    0.222241] pci 0000:00:12.0: reg 0x18: [mem 0xfa000000-0xfaffffff]
[    0.222499] pci 0000:00:12.0: PME# supported from D0 D3hot
[    0.223130] pci 0000:00:13.0: [8086:11a0] type 00 class 0x0b4000
[    0.223260] pci 0000:00:13.0: reg 0x10: [mem 0xff009000-0xff009fff]
[    0.223526] pci 0000:00:13.0: PME# supported from D0 D3hot
[    0.224311] pci 0000:00:14.0: [8086:11a1] type 00 class 0x0b4000
[    0.224504] pci 0000:00:14.0: reg 0x10: [mem 0xff00b000-0xff00bfff]
[    0.224770] pci 0000:00:14.0: PME# supported from D0 D3hot
[    0.225392] pci 0000:00:15.0: [8086:11a2] type 00 class 0x088000
[    0.225585] pci 0000:00:15.0: reg 0x10: [mem 0xff192000-0xff192fff]
[    0.225851] pci 0000:00:15.0: PME# supported from D0 D3hot
[    0.226643] pci 0000:00:16.0: [8086:11a3] type 00 class 0x0b4000
[    0.226835] pci 0000:00:16.0: reg 0x10: [mem 0xff0d9000-0xff0d90ff]
[    0.227101] pci 0000:00:16.0: PME# supported from D0 D3hot
[    0.227703] pci 0000:00:16.1: [8086:11a4] type 00 class 0x0b4000
[    0.227895] pci 0000:00:16.1: reg 0x10: [mem 0x04819000-0x04898fff]
[    0.228073] pci 0000:00:16.1: reg 0x14: [mem 0x04919000-0x04920fff]
[    0.228322] pci 0000:00:16.1: PME# supported from D0 D3hot
[    0.228950] pci 0000:00:17.0: [8086:11a5] type 00 class 0x088000
[    0.229141] pci 0000:00:17.0: reg 0x10: [mem 0xff013000-0xff013fff]
[    0.229327] pci 0000:00:17.0: PME# supported from D0 D3hot
[    0.230107] pci 0000:00:18.0: [8086:11a6] type 00 class 0x038000
[    0.230350] pci 0000:00:18.0: PME# supported from D0 D3hot
[    0.235135] iommu: Default domain type: Translated
[    0.235352] vgaarb: loaded
[    0.235831] SCSI subsystem initialized
[    0.236548] ACPI: bus type USB registered
[    0.236776] usbcore: registered new interface driver usbfs
[    0.236995] usbcore: registered new interface driver hub
[    0.237338] usbcore: registered new device driver usb
[    0.237658] pps_core: LinuxPPS API ver. 1 registered
[    0.237792] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.238043] PTP clock support registered
[    0.238389] EDAC MC: Ver: 3.0.0
[    0.239270] Advanced Linux Sound Architecture Driver Initialized.
[    0.239492] PCI: Probing PCI hardware
[    0.240582] Bluetooth: Core ver 2.22
[    0.240735] NET: Registered protocol family 31
[    0.240856] Bluetooth: HCI device and connection manager initialized
[    0.241030] Bluetooth: HCI socket layer initialized
[    0.241173] Bluetooth: L2CAP socket layer initialized
[    0.241252] Bluetooth: SCO socket layer initialized
[    0.241436] NetLabel: Initializing
[    0.241533] NetLabel:  domain hash size = 128
[    0.241648] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.241894] NetLabel:  unlabeled traffic allowed by default
[    0.242820] clocksource: Switched to clocksource tsc-early
[    1.306796] VFS: Disk quotas dquot_6.6.0
[    1.307004] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.307570] pnp: PnP ACPI init
[    1.308550] system 00:01: [mem 0x3f500000-0x3f5fffff] has been reserved
[    1.310215] pnp: PnP ACPI: found 2 devices
[    1.324601] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    1.324776] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    1.324945] pci_bus 0000:00: resource 6 [mem 0x000ddcc0-0x000ddccf window]
[    1.325128] pci_bus 0000:00: resource 7 [mem 0x04819000-0x04898fff window]
[    1.325348] pci_bus 0000:00: resource 8 [mem 0x04919000-0x04920fff window]
[    1.325534] pci_bus 0000:00: resource 9 [mem 0x05e00000-0x05ffffff window]
[    1.325717] pci_bus 0000:00: resource 10 [mem 0x80000000-0xffffffff window]
[    1.326210] NET: Registered protocol family 2
[    1.327182] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    1.327457] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.327755] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.328093] TCP: Hash tables configured (established 8192 bind 8192)
[    1.328445] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.328658] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.329070] NET: Registered protocol family 1
[    1.330030] RPC: Registered named UNIX socket transport module.
[    1.330190] RPC: Registered udp transport module.
[    1.330352] RPC: Registered tcp transport module.
[    1.330479] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.331830] pci 0000:00:11.0: Mapped GSI34 to IRQ9
[    1.334306] PCI: CLS 0 bytes, default 64
[    1.334683] Unpacking initramfs...
[    2.443433] Initramfs unpacking failed: invalid magic at start of compressed archive
[    2.464044] Freeing initrd memory: 24576K
[    2.464657] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0xe6a171a037, max_idle_ns: 881590485102 ns
[    2.464976] clocksource: Switched to clocksource tsc
[    2.465112] clocksource: Nonstop clocksource tsc should not supply suspend/resume interfaces
[    2.466918] check: Scanning for low memory corruption every 60 seconds
[    2.467835] intel_mid_pwr 0000:00:14.0: Mapped GSI6 to IRQ9
[    2.470022] Initialise system trusted keyrings
[    2.470454] workingset: timestamp_bits=56 max_order=18 bucket_order=0
[    2.484824] NFS: Registering the id_resolver key type
[    2.484998] Key type id_resolver registered
[    2.485112] Key type id_legacy registered
[    2.516374] Key type asymmetric registered
[    2.516496] Asymmetric key parser 'x509' registered
[    2.516696] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    2.516889] io scheduler mq-deadline registered
[    2.517011] io scheduler kyber registered
[    2.517847] gpio-merrifield 0000:00:0c.0: Mapped GSI5 to IRQ10
[    2.529483] dw_dmac_pci 0000:00:15.0: Mapped GSI32 to IRQ11
[    2.530589] dw_dmac_pci 0000:00:15.0: DesignWare DMA Controller, 8 channels
[    2.530998] hsu_dma_pci 0000:00:05.0: Mapped GSI31 to IRQ12
[    2.532386] hsu_dma_pci 0000:00:05.0: Found HSU DMA, 12 channels
[    2.533039] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.536868] 8250_mid: probe of 0000:00:04.0 failed with error -16
[    2.537199] 8250_mid 0000:00:04.1: Mapped GSI28 to IRQ13
[    2.537969] 0000:00:04.1: ttyS0 at MMIO 0xff010080 (irq = 13, base_baud = 1843200) is a TI16750
[    2.538879] serial serial0: tty port ttyS0 registered
[    2.539266] 8250_mid 0000:00:04.2: Mapped GSI29 to IRQ14
[    2.540019] 0000:00:04.2: ttyS1 at MMIO 0xff010100 (irq = 14, base_baud = 1843200) is a TI16750
[    2.541040] 8250_mid 0000:00:04.3: Mapped GSI54 to IRQ15
[    2.541591] printk: console [ttyS2] disabled
[    2.541786] 0000:00:04.3: ttyS2 at MMIO 0xff010180 (irq = 15, base_baud = 1843200) is a TI16750
[    4.682749] printk: console [ttyS2] enabled
[    4.688013] Non-volatile memory driver v1.3
[    4.692489] Linux agpgart interface v0.103
[    4.710615] loop: module loaded
[    4.715821] libphy: Fixed MDIO Bus: probed
[    4.720464] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[    4.726578] e100: Copyright(c) 1999-2006 Intel Corporation
[    4.732197] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    4.739264] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    4.745145] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    4.750997] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    4.757079] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    4.764058] igb: Copyright (c) 2007-2014 Intel Corporation.
[    4.769790] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 5.1.0-k
[    4.777466] ixgbe: Copyright (c) 1999-2016 Intel Corporation.
[    4.783605] sky2: driver version 1.30
[    4.787904] usbcore: registered new interface driver r8152
[    4.793476] usbcore: registered new interface driver asix
[    4.798947] usbcore: registered new interface driver ax88179_178a
[    4.805107] usbcore: registered new interface driver cdc_ether
[    4.811009] usbcore: registered new interface driver net1080
[    4.816750] usbcore: registered new interface driver cdc_subset
[    4.822740] usbcore: registered new interface driver zaurus
[    4.828382] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    4.835866] usbcore: registered new interface driver cdc_ncm
[    4.842028] dwc3-pci 0000:00:11.0: Mapped GSI34 to IRQ16
[    4.856311] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.862897] ehci-pci: EHCI PCI platform driver
[    4.867470] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.873691] ohci-pci: OHCI PCI platform driver
[    4.878324] uhci_hcd: USB Universal Host Controller Interface driver
[    4.885061] usbcore: registered new interface driver usblp
[    4.890638] usbcore: registered new interface driver usb-storage
[    4.896788] usbcore: registered new interface driver pl2303
[    4.902417] usbserial: USB Serial support registered for pl2303
[    4.909575] rtc_cmos 00:00: registered as rtc0
[    4.914180] rtc_cmos 00:00: no alarms, 242 bytes nvram
[    4.919840] i2c-designware-pci 0000:00:08.0: Mapped GSI7 to IRQ17
[    4.926757] i2c-designware-pci 0000:00:08.1: Mapped GSI10 to IRQ18
[    4.933567] i2c-designware-pci 0000:00:08.2: Mapped GSI12 to IRQ19
[    4.940325] i2c-designware-pci 0000:00:08.3: Mapped GSI13 to IRQ20
[    4.947090] i2c-designware-pci 0000:00:09.0: Mapped GSI14 to IRQ21
[    4.953830] i2c-designware-pci 0000:00:09.1: Mapped GSI15 to IRQ22
[    4.960748] i2c-designware-pci 0000:00:09.2: Mapped GSI16 to IRQ23
[    4.968135] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com
[    4.976609] intel_pstate: CPU model not supported
[    4.981426] ledtrig-cpu: registered to indicate activity on CPUs
[    4.987552] hid: raw HID events driver (C) Jiri Kosina
[    4.993166] usbcore: registered new interface driver usbhid
[    4.998758] usbhid: USB HID core driver
[    5.002786] intel_scu_ipc 0000:00:13.0: Mapped GSI48 to IRQ24
[    5.009766] intel_mid_wdt intel_mid_wdt: Intel MID watchdog device probed
[    5.019644] Initializing XFRM netlink socket
[    5.024904] NET: Registered protocol family 10
[    5.030598] Segment Routing with IPv6
[    5.034918] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    5.041727] NET: Registered protocol family 17
[    5.046340] Key type dns_resolver registered
[    5.051865] microcode: sig=0x406a8, pf=0x1, revision=0x81f
[    5.057503] microcode: Microcode Update Driver: v2.2.
[    5.057518] IPI shorthand broadcast: enabled
[    5.066974] sched_clock: Marking stable (5054135420, 12742750)->(5078324850, -11446680)
[    5.075558] registered taskstats version 1
[    5.079697] Loading compiled-in X.509 certificates
[    5.102902] PM:   Magic number: 4:6:0
[    5.106817] printk: console [netcon0] enabled
[    5.111202] netconsole: network logging started
[    5.116408] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.147623] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.154339] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    5.155557] ALSA device list:
[    5.162972] cfg80211: failed to load regulatory.db
[    5.170769]   No soundcards found.
[    5.174480] 8250_mid 0000:00:04.3: forbid DMA for kernel console
[    5.181953] Freeing unused kernel image (initmem) memory: 1224K
[    5.189593] Write protecting the kernel read-only data: 20480k
[    5.198252] Freeing unused kernel image (text/rodata gap) memory: 2040K
[    5.205469] Freeing unused kernel image (rodata/data gap) memory: 256K
[    5.212125] Run /init as init process
[    5.248238] raid6: sse2x4   gen()  1233 MB/s
[    5.269232] raid6: sse2x4   xor()   538 MB/s
[    5.290245] raid6: sse2x2   gen()  1204 MB/s
[    5.311243] raid6: sse2x2   xor()   651 MB/s
[    5.332242] raid6: sse2x1   gen()   897 MB/s
[    5.353234] raid6: sse2x1   xor()   469 MB/s
[    5.357520] raid6: using algorithm sse2x4 gen() 1233 MB/s
[    5.362930] raid6: .... xor() 538 MB/s, rmw enabled
[    5.367817] raid6: using ssse3x2 recovery algorithm
[    5.385673] xor: measuring software checksum speed
[    5.400228]    prefetch64-sse:  1956.000 MB/sec
[    5.414228]    generic_sse:  1716.000 MB/sec
[    5.418517] xor: using function: prefetch64-sse (1956.000 MB/sec)
[    5.541099] Btrfs loaded, crc32c=crc32c-generic
Scanning for Btrfs filesystems
Starting version 243.2+
[    5.989719] sdhci: Secure Digital Host Controller Interface driver
[    5.995947] sdhci: Copyright(c) Pierre Ossman
[    6.028823] sdhci-pci 0000:00:01.0: SDHCI controller found [8086:1190] (rev 1)
[    6.074208] sdhci-pci 0000:00:01.0: Mapped GSI0 to IRQ25
Kernel with acpi enabled detected
Loading acpi tables
[    6.117882] mmc0: SDHCI controller on PCI [0000:00:01.0] using ADMA
[    6.134696] sdhci-pci 0000:00:01.2: SDHCI controller found [8086:1190] (rev 1)
[    6.177273] sdhci-pci 0000:00:01.2: Mapped GSI37 to IRQ26
[    6.193070] ACPI: Host-directed Dynamic ACPI Table Load:
[    6.194100] mmc1: SDHCI controller on PCI [0000:00:01.2] using ADMA
[    6.201590] ACPI: SSDT 0xFFFF89D6073C1000 000DB9 (v05        ARDUINO  00000001 INTL 20200925)
[    6.205401] sdhci-pci 0000:00:01.3: SDHCI controller found [8086:1190] (rev 1)
[    6.232288] sdhci-pci 0000:00:01.3: Mapped GSI38 to IRQ27
[    6.239504] mmc2: SDHCI controller on PCI [0000:00:01.3] using ADMA
[    6.260795] mmc0: new DDR MMC card at address 0001
[    6.326917] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    6.337022] mmc2: queuing unknown CIS tuple 0x80 (6 bytes)
[    6.357367] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    6.375637] mmc2: queuing unknown CIS tuple 0x80 (4 bytes)
[    6.376702] pca953x i2c-INT3491:00: supply vcc not found, using dummy regulator
[    6.454375] random: fast init done
[    6.472179] ACPI: Host-directed Dynamic ACPI Table Load:
[    6.477676] ACPI: SSDT 0xFFFF89D60605D480 0000A6 (v05        SPIDEV   00000001 INTL 20200925)
[    6.488283] pca953x i2c-INT3491:00: failed writing register
[    6.512202] pca953x: probe of i2c-INT3491:00 failed with error -121
[    6.519970] mmc2: new ultra high speed DDR50 SDIO card at address 0001
[    6.559133] pca953x i2c-INT3491:01: supply vcc not found, using dummy regulator
[    6.620098] mmc1: new high speed SDHC card at address 59b4
[    6.625694] pca953x i2c-INT3491:01: failed writing register
[    6.654807] pca953x: probe of i2c-INT3491:01 failed with error -121
[    6.660431] ACPI: Host-directed Dynamic ACPI Table Load:
[    6.677066] ACPI: SSDT 0xFFFF89D6073E5000 000193 (v05        LEDS     00000001 INTL 20200925)
[    6.686725] pca953x i2c-INT3491:02: supply vcc not found, using dummy regulator
[    6.725318] pca953x i2c-INT3491:02: failed writing register
[    6.745809] pca953x: probe of i2c-INT3491:02 failed with error -121
[    6.774172] pca953x i2c-INT3491:03: supply vcc not found, using dummy regulator
[    6.782195] pca953x i2c-INT3491:03: failed writing register
[    6.788552] pca953x: probe of i2c-INT3491:03 failed with error -121
gpioset: at least one GPIO line offset to value mapping must be specified
[    6.881055] mmcblk0: mmc0:0001 H4G1d 3.64 GiB
gpioset: at least one GPIO line offset to value mapping must be [    6.886136] mmcblk0boot0: mmc0:0001 H4G1d partition 1 4.00 MiB
specified
[    6.899780] mmcblk0boot1: mmc0:0001 H4G1d partition 2 4.00 MiB
Waiting for root device /dev/mmcblk0p7
[    6.906136] mmcblk0rpmb: mmc0:0001 H4G1d partition 3 4.00 MiB, chardev (245:0)
[    6.934636]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
  0...
Mounted filesystems
[    6.951777] mmcblk1: mmc1:59b4 00000 29.8 GiB
Available block devices
major minor  #blocks  name[    6.966499]  mmcblk1: p1

 179        0    3817472 mmcblk0
 179        1       2048 mmcblk0p1
 179        2       1024 mmcblk0p2
 179        3       2048 mmcblk0p3
 179        4       1024 mmcblk0p4
 179        5       1024 mmcblk0p5
 179        6      24576 mmcblk0p6
 179        7      65536 mmcblk0p7
 259        0    1572864 mmcblk0p8
 259        1     753664 mmcblk0p9
 259        2    1392623 mmcblk0p10
 179       24   31276032 mmcblk1
Cannot find /dev/mmcblk0p7 or no /sbin/init present , dropping to a shell

sh: can't access tty; job control turned off
/ # [    7.788171] EXT4-fs (mmcblk0p5): mounted filesystem without journal. Opts: (null)
[    7.789258] EXT4-fs (mmcblk0p8): recovery complete
[    7.805125] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null)
[    7.815595] mount (382) used greatest stack depth: 13768 bytes left
[    7.825591] FAT-fs (mmcblk0p7): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    7.863921] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)

/ #

I have tried building directly on my host system running Ubuntu 20.04, as well as in dockerized environments based in Ubuntu18.04 and even 16.04. Results are always the same. I have tried changing the load address of the initramfs. Results are always the same. I have tried checking out different branches of this repo. Results are always the same, except for old ones like sumo which fail make setup due to a patch that won't apply and warrior that fails make image due to undefined reference to stime.

Can someone point me in the right direction?

htot commented 3 years ago

Unfortunately this

Initramfs unpacking failed: invalid magic at start of compressed archive

is not related to your problems. It means the kernel is expecting a built-in initramfs, but it's not, we load it separately. I have the same same message, it's harmless.

Afaict you are having at least 2 problems.

  1. You don't have an Edison Arduino board, but you are loading the arduino.asl here. This causes the complaints on pca953x, as you probably don't have them. Question is, what asl would you need instead to enable your hardware. But let's try to boot first.
  2. Something is wrong with mmcblk0p8 or with /etc/fstab on it. So, because mounting fails systemd starts stopping services. Try again to go into rescue and then manually mount (if not already mounted) mmcblk0p8 and then check /etc/fstab. I'm not sure which branch you are using (zeus?). Maybe I made a mistake in fstab, if so, you should be able to manually fix it.
humanoid2050 commented 3 years ago

@htot Thanks for taking the time to reply.

From uboot, I can do ls mmc 0:8 and get a nice dump of the partition contents. Side note, uboot can't detect the presence of an SD card, but I suspect that can be filed along with the .asl issues.

If I boot into rescue, I do get a prompt and I can poke around. The partitions seem to be fine, as /dev/mmcblk* lists all expected partitions. Additionally, /run/media/ contains automatically mounted entries for mmcblk0p5 mmcblk0p7 mmcblk0p8 mmcblk1.

Contents of fstab:

/run/media/mmcblk0p8/etc # cat fstab
tmpfs           /var/volatile      tmpfs      defaults              0  0

/dev/disk/by-partlabel/factory  /factory        auto    noauto,x-systemd.automount,nosuid,nodev,noatime,discard     1   1
/dev/disk/by-partlabel/home     /home       auto    nofail,x-systemd.automount,noatime,discard  1   1

Checking for those partitions (at least in the intramfs env):

/dev/disk/by-partlabel # ls
boot         home         rootfs       u-boot-env1  u-boot1
factory      panic        u-boot-env0  u-boot0      update

I am using zeus.

I also see in the boot log

mount: can't find /boot in /etc/fstab
mount: mounting /boot on /realroot/boot failed: Invalid argument
mount: can't find /lib/modules in /etc/fstab
mount: mounting /lib/modules on /realroot/lib/modules failed: Invalid argument

But what I can't find is what/where the requests for mounting /boot/ and /lib/modules are coming from. Is that relevant?

humanoid2050 commented 3 years ago

Did a little more digging. By using the ./flashall --btrfs option instead of make flash from the project root, it works fine now. Just a mismatch somewhere in the install process?

htot commented 3 years ago

From uboot, I can do ls mmc 0:8 and get a nice dump of the partition contents. Side note, uboot can't detect the presence of an SD card, but I suspect that can be filed along with the .asl issues.

That's not normal. U-Boot can these days actually boot directly from the SD card.

I don't see why mounting home failed, still. This happens by the init script which is inside the initrd. After executing, loading needed modules and mounting it does a switchroot to systemd, same environment as do_rescue. You can find it here: https://github.com/edison-fw/meta-intel-edison/blob/zeus/meta-intel-edison-distro/recipes-core/initrdscripts/initramfs-framework/init

Installing the btrfs image, you get a slightly modified fstab. This is what I use so it is better tested. Still the ext image worked last time I tried.

Good that btrfs image is working though.

humanoid2050 commented 3 years ago

I have discovered that in the non-btrfs path of flashall.sh, the rootfs is flashed but nothing is done for the home partition. As a result, mounting home fails due to lack of a proper filesystem. If I boot into recovery and run mkfs.ext4 /dev/mmcblk0p10 and then reboot, everything is fine. Perhaps I missed a step?

htot commented 3 years ago

I had the intention not to break the home partition :-( But good that the recovery partition works.

humanoid2050 commented 3 years ago

I see your intent. Sometimes there are scripts that fire on first boot. If there is such a thing in this environment, could it be used to check for the existence of an ext4 fs on the home partition, and make one if it is missing? Otherwise at least a note in the online documentation might be helpful. Either way, I'm happy to close this issue.

htot commented 3 years ago

I have seen reports with the original firmware that if home is damaged you couldn't boot.

There is a script that runs on first boot (post-install.sh). But I think it runs after systemd. Best thing would be to have systemd fsck the partition if it's broken or create one if missing. But I thought it already did that.

mwallnoefer commented 3 years ago

@htot The following warnings apply for me as well. Could we quiet them somehow?

I also see in the boot log

mount: can't find /boot in /etc/fstab
mount: mounting /boot on /realroot/boot failed: Invalid argument
mount: can't find /lib/modules in /etc/fstab
mount: mounting /lib/modules on /realroot/lib/modules failed: Invalid argument

But what I can't find is what/where the requests for mounting /boot/ and /lib/modules are coming from. Is that relevant?

htot commented 3 years ago

Hi @mwallnoefer it is done by this script (in the initrd) https://github.com/edison-fw/meta-intel-edison/blob/master/meta-intel-edison-distro/recipes-core/initrdscripts/initramfs-framework/init

Question: are you using Zeus or Dunfell? And are you booting ext4 or btrfs image?

mwallnoefer commented 3 years ago

Dunfell with ext4

htot commented 3 years ago

Ok so it seems mount -n /boot || true and mount -n --move /boot /realroot/boot || true don't just silently fail as I hoped :-(

Other then that it's harmless.