Add additional modules to initrd with dracut
Hi, My UdooQuad board needs some extra modules added to initrd in order to boot (currently it hangs). How can I add additional modules to the initrd with dracut and kiwi? Is there any board that needs this too that I can check? Thanks!!
On 15.04.22 23:24, Oscar wrote:
Hi,
My UdooQuad board needs some extra modules added to initrd in order to boot (currently it hangs).
specify "modules". Kernel modules or dracut modules?
How can I add additional modules to the initrd with dracut and kiwi? Is there any board that needs this too that I can check?
Dracut modules: create a file /etc/dracut.conf.d/my_dracutmodule.conf that contains add_dracutmodules+=" my_xyz_dracutmodule " Kernel modules: create a file /etc/dracut.conf.d/my_kernelmodule.conf that contains drivers+=" my_kernelmodule " Of course they can both go into the same file. Note that the blanks at the beginning and the end of the "+=" string are important. Have fun, -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman
El 2022-04-16 10:56, Stefan Seyfried escribió:
On 15.04.22 23:24, Oscar wrote:
Hi,
My UdooQuad board needs some extra modules added to initrd in order to boot (currently it hangs).
specify "modules".
Kernel modules or dracut modules?
Ooops, I meant kernel modules, sorry!
How can I add additional modules to the initrd with dracut and kiwi? Is there any board that needs this too that I can check?
Dracut modules: create a file /etc/dracut.conf.d/my_dracutmodule.conf that contains add_dracutmodules+=" my_xyz_dracutmodule "
Kernel modules: create a file /etc/dracut.conf.d/my_kernelmodule.conf that contains drivers+=" my_kernelmodule "
Of course they can both go into the same file. Note that the blanks at the beginning and the end of the "+=" string are important.
Thanks Stefan. After adding more than 100 kernel modules to the initrd without luck, I have come to the conclusion that the problem is located in the dtb file as using the dtb file from Armbian project with the JeOS image the board boots fine :) Welcome to openSUSE Tumbleweed 20220419 - Kernel 5.17.3-1-default (ttymxc1). localhost login: Any clue on how can I debug DTB issues? I suspect of the mmc config but I don't know where to start. TIA
Have fun,
On 20/04/2022 11:05, Oscar wrote:
El 2022-04-16 10:56, Stefan Seyfried escribió:
On 15.04.22 23:24, Oscar wrote:
Hi,
My UdooQuad board needs some extra modules added to initrd in order to boot (currently it hangs).
specify "modules".
Kernel modules or dracut modules?
Ooops, I meant kernel modules, sorry!
How can I add additional modules to the initrd with dracut and kiwi? Is there any board that needs this too that I can check?
Dracut modules: create a file /etc/dracut.conf.d/my_dracutmodule.conf that contains add_dracutmodules+=" my_xyz_dracutmodule "
Kernel modules: create a file /etc/dracut.conf.d/my_kernelmodule.conf that contains drivers+=" my_kernelmodule "
Of course they can both go into the same file. Note that the blanks at the beginning and the end of the "+=" string are important.
Thanks Stefan. After adding more than 100 kernel modules to the initrd without luck, I have come to the conclusion that the problem is located in the dtb file as using the dtb file from Armbian project with the JeOS image the board boots fine :)
Welcome to openSUSE Tumbleweed 20220419 - Kernel 5.17.3-1-default (ttymxc1).
localhost login:
Any clue on how can I debug DTB issues? I suspect of the mmc config but I don't know where to start.
If you have both dtb files, you could get the description out of them with dtc: dtc -I dtb -O dts -o <your-ourput.dts> <your-input.dtb> Then you can diff the two *.dts files and see if there is anything relevant. Hope that helps. Matthias
El 2022-04-20 11:32, Matthias Brugger escribió:
On 20/04/2022 11:05, Oscar wrote:
El 2022-04-16 10:56, Stefan Seyfried escribió:
On 15.04.22 23:24, Oscar wrote:
Hi,
My UdooQuad board needs some extra modules added to initrd in order to boot (currently it hangs).
specify "modules".
Kernel modules or dracut modules?
Ooops, I meant kernel modules, sorry!
How can I add additional modules to the initrd with dracut and kiwi? Is there any board that needs this too that I can check?
Dracut modules: create a file /etc/dracut.conf.d/my_dracutmodule.conf that contains add_dracutmodules+=" my_xyz_dracutmodule "
Kernel modules: create a file /etc/dracut.conf.d/my_kernelmodule.conf that contains drivers+=" my_kernelmodule "
Of course they can both go into the same file. Note that the blanks at the beginning and the end of the "+=" string are important.
Thanks Stefan. After adding more than 100 kernel modules to the initrd without luck, I have come to the conclusion that the problem is located in the dtb file as using the dtb file from Armbian project with the JeOS image the board boots fine :)
Welcome to openSUSE Tumbleweed 20220419 - Kernel 5.17.3-1-default (ttymxc1).
localhost login:
Any clue on how can I debug DTB issues? I suspect of the mmc config but I don't know where to start.
If you have both dtb files, you could get the description out of them with dtc: dtc -I dtb -O dts -o <your-ourput.dts> <your-input.dtb>
Then you can diff the two *.dts files and see if there is anything relevant.
Thanks Matthias! I don't find any significant differences in the dt source but I can confirm the problem is that the kernel can't find the rootfs (or more precisely, the mmc device). For some reason is looking at /dev/mmcblk2 but is not there. This is the full bootlog: U-Boot SPL 2022.04 (Apr 15 2022 - 00:00:00 +0000) Trying to boot from MMC1 U-Boot 2022.04 (Apr 15 2022 - 00:00:00 +0000) CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Model: Udoo i.MX6 Quad Board Board: Udoo Quad DRAM: 1 GiB Core: 36 devices, 9 uclasses, devicetree: separate MMC: FSL_SDHC: 2 Loading Environment from MMC... *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: eth0: ethernet@2188000 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc2 is current device Scanning mmc 2:3... 52946 bytes read in 9 ms (5.6 MiB/s) Scanning disk usdhc@2198000.blk... Found 4 disks No EFI system partition BootOrder not defined EFI boot manager: Cannot load any image ** Invalid partition 4 ** Couldn't find partition mmc 2:4 Scanning mmc 2:1... BootOrder not defined EFI boot manager: Cannot load any image Found EFI removable media binary efi/boot/bootarm.efi 942080 bytes read in 47 ms (19.1 MiB/s) Booting /efi\boot\bootarm.efi Welcome to GRUB! Loading Linux 5.17.3-1-default ... Loading initial ramdisk ... EFI stub: Entering in SVC mode with MMU enabled EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Exiting boot services... [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 5.17.3-1-default (geeko@buildhost) (gcc (SUSE Linux) 11.2.1 20220316 [revision 6a1150d1524aeda3381b2171712e1a6611d441d6], GNU ld (GNU Binutil) [ 0.000000][ T0] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d [ 0.000000][ T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000][ T0] OF: fdt: Machine model: Udoo i.MX6 Quad Board [ 0.000000][ T0] Memory policy: Data cache writealloc [ 0.000000][ T0] efi: EFI v2.90 by Das U-Boot [ 0.000000][ T0] efi: RTPROP=0x4ed6c040 SMBIOS=0x4ed68000 MEMRESERVE=0x3dbd0040 [ 0.000000][ T0] efi: [Firmware Bug]: ExitBootServices() returned with MMU and Dcache disabled, please fix your firmware! [ 0.000000][ T0] efi: CPSR at EFI stub entry : 0x600001d3 [ 0.000000][ T0] efi: SCTLR at EFI stub entry : 0x00c5187d [ 0.000000][ T0] efi: CPSR after ExitBootServices() : 0x600001d3 [ 0.000000][ T0] efi: SCTLR after ExitBootServices(): 0x00c50878 [ 0.000000][ T0] cma: Reserved 64 MiB at 0x4a800000 [ 0.000000][ T0] Zone ranges: [ 0.000000][ T0] DMA [mem 0x0000000010000000-0x000000003fffffff] [ 0.000000][ T0] Normal empty [ 0.000000][ T0] HighMem [mem 0x0000000040000000-0x000000004fffffff] [ 0.000000][ T0] Movable zone start for each node [ 0.000000][ T0] Early memory node ranges [ 0.000000][ T0] node 0: [mem 0x0000000010000000-0x000000004ed67fff] [ 0.000000][ T0] node 0: [mem 0x000000004ed68000-0x000000004ed68fff] [ 0.000000][ T0] node 0: [mem 0x000000004ed69000-0x000000004ed6bfff] [ 0.000000][ T0] node 0: [mem 0x000000004ed6c000-0x000000004ed6efff] [ 0.000000][ T0] node 0: [mem 0x000000004ed6f000-0x000000004ed6ffff] [ 0.000000][ T0] node 0: [mem 0x000000004ed70000-0x000000004ed73fff] [ 0.000000][ T0] node 0: [mem 0x000000004ed74000-0x000000004ff89fff] [ 0.000000][ T0] node 0: [mem 0x000000004ff8a000-0x000000004ff8afff] [ 0.000000][ T0] node 0: [mem 0x000000004ff8b000-0x000000004fffffff] [ 0.000000][ T0] Initmem setup node 0 [mem 0x0000000010000000-0x000000004fffffff] [ 0.000000][ T0] percpu: Embedded 18 pages/cpu s42700 r8192 d22836 u73728 [ 0.000000][ T0] pcpu-alloc: s42700 r8192 d22836 u73728 alloc=18*4096 [ 0.000000][ T0] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 260416 [ 0.000000][ T0] Kernel command line: BOOT_IMAGE=/boot/zImage-5.17.3-1-default root=UUID=46092163-6937-4e53-a776-26207d965e36 loglevel=9 rootwait splash=silent systemd.show1 [ 0.000000][ T0] Unknown kernel command line parameters "BOOT_IMAGE=/boot/zImage-5.17.3-1-default splash=silent", will be passed to user space. [ 0.000000][ T0] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear) [ 0.000000][ T0] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000][ T0] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000][ T0] Memory: 889272K/1048576K available (13312K kernel code, 2350K rwdata, 11696K rodata, 2048K init, 726K bss, 93768K reserved, 65536K cma-reserved, 196572K hi) [ 0.000000][ T0] random: get_random_u32 called from __kmem_cache_create+0x2c/0x48c with crng_init=0 [ 0.000000][ T0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000][ T0] ftrace: allocating 46659 entries in 137 pages [ 0.000000][ T0] ftrace: allocated 137 pages with 3 groups [ 0.000000][ T0] trace event string verifier disabled [ 0.000000][ T0] rcu: Hierarchical RCU implementation. [ 0.000000][ T0] rcu: RCU event tracing is enabled. [ 0.000000][ T0] rcu: RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4. [ 0.000000][ T0] Trampoline variant of Tasks RCU enabled. [ 0.000000][ T0] Rude variant of Tasks RCU enabled. [ 0.000000][ T0] Tracing variant of Tasks RCU enabled. [ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 20 jiffies. [ 0.000000][ T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000][ T0] GIC physical location is 0xa01000 [ 0.000000][ T0] L2C-310 errata 752271 769419 enabled [ 0.000000][ T0] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000][ T0] L2C-310 full line of zeros enabled for Cortex-A9 [ 0.000000][ T0] L2C-310 ID prefetch enabled, offset 16 lines [ 0.000000][ T0] L2C-310 dynamic clock gating enabled, standby mode enabled [ 0.000000][ T0] L2C-310 cache controller enabled, 16 ways, 1024 kB [ 0.000000][ T0] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001 [ 0.000000][ T0] Switching to timer-based delay loop, resolution 333ns [ 0.000001][ T0] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns [ 0.000027][ T0] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns [ 0.003984][ T0] Console: colour dummy device 80x30 [ 0.004942][ T0] printk: console [tty0] enabled [ 0.005040][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=15000) [ 0.005080][ T0] pid_max: default: 32768 minimum: 301 [ 0.005375][ T0] LSM: Security Framework initializing [ 0.005599][ T0] AppArmor: AppArmor initialized [ 0.005827][ T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.005876][ T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.007113][ T0] CPU: Testing write buffer coherency: ok [ 0.007181][ T0] CPU0: Spectre v2: using BPIALL workaround [ 0.007492][ T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.008394][ T1] cblist_init_generic: Setting adjustable number of callback queues. [ 0.008433][ T1] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.008580][ T1] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.008722][ T1] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.008911][ T1] Setting up static identity map for 0x10300000 - 0x103000ac [ 0.010851][ T1] rcu: Hierarchical SRCU implementation. [ 0.014651][ T1] Remapping and enabling EFI services. [ 0.015279][ T1] smp: Bringing up secondary CPUs ... [ 0.016217][ T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.016232][ T0] CPU1: Spectre v2: using BPIALL workaround [ 0.017240][ T0] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.017257][ T0] CPU2: Spectre v2: using BPIALL workaround [ 0.018242][ T0] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.018258][ T0] CPU3: Spectre v2: using BPIALL workaround [ 0.018418][ T1] smp: Brought up 1 node, 4 CPUs [ 0.018452][ T1] SMP: Total of 4 processors activated (24.00 BogoMIPS). [ 0.018478][ T1] CPU: All CPU(s) started in SVC mode. [ 0.019333][ T1] devtmpfs: initialized [ 0.030348][ T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.030796][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns [ 0.030848][ T1] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.035039][ T1] pinctrl core: initialized pinctrl subsystem [ 0.036315][ T1] SMBIOS 3.0 present. [ 0.036361][ T1] DMI: Unknown Unknown Product/Unknown Product, BIOS 2022.04 04/01/2022 [ 0.037152][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.041429][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.042617][ T1] audit: initializing netlink subsys (disabled) [ 0.042917][ T38] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1 [ 0.044501][ T1] thermal_sys: Registered thermal governor 'fair_share' [ 0.044511][ T1] thermal_sys: Registered thermal governor 'bang_bang' [ 0.044543][ T1] thermal_sys: Registered thermal governor 'step_wise' [ 0.044568][ T1] thermal_sys: Registered thermal governor 'user_space' [ 0.044768][ T1] cpuidle: using governor ladder [ 0.044832][ T1] cpuidle: using governor menu [ 0.045146][ T1] CPU identified as i.MX6Q, silicon rev 1.2 [ 0.075433][ T1] platform 2400000.ipu: Fixing up cyclic dependency with 120000.hdmi [ 0.075561][ T1] platform 2400000.ipu: Fixing up cyclic dependency with 20e0000.iomuxc-gpr:ipu1_csi0_mux [ 0.077463][ T1] platform 2800000.ipu: Fixing up cyclic dependency with 120000.hdmi [ 0.077586][ T1] platform 2800000.ipu: Fixing up cyclic dependency with 20e0000.iomuxc-gpr:ipu2_csi1_mux [ 0.081559][ T1] No ATAGs? [ 0.081757][ T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.081794][ T1] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.082899][ T1] SoCFPGA initialized for DDR self-refresh during suspend. [ 0.084797][ T1] imx6q-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver [ 0.090377][ T1] Serial: AMBA PL011 UART driver [ 0.102049][ T1] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible. [ 0.103278][ T1] cryptd: max_cpu_qlen set to 1000 [ 0.120842][ T1] mxs-dma 110000.dma-apbh: initialized [ 0.123226][ T1] iommu: Default domain type: Passthrough [ 0.124206][ T1] vgaarb: loaded [ 0.125602][ T1] SCSI subsystem initialized [ 0.125841][ T1] libata version 3.00 loaded. [ 0.126419][ T1] pps_core: LinuxPPS API ver. 1 registered [ 0.126446][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.126494][ T1] PTP clock support registered [ 0.126753][ T1] EDAC MC: Ver: 3.0.0 [ 0.127974][ T1] Registered efivars operations [ 0.129595][ T1] NetLabel: Initializing [ 0.129623][ T1] NetLabel: domain hash size = 128 [ 0.129645][ T1] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.129751][ T1] NetLabel: unlabeled traffic allowed by default [ 0.129795][ T1] mctp: management component transport protocol core [ 0.129818][ T1] NET: Registered PF_MCTP protocol family [ 0.130343][ T1] clocksource: Switched to clocksource mxc_timer1 [ 0.200463][ T1] VFS: Disk quotas dquot_6.6.0 [ 0.200600][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.201338][ T1] AppArmor: AppArmor Filesystem Enabled [ 0.213886][ T1] NET: Registered PF_INET protocol family [ 0.214368][ T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.216089][ T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.216237][ T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.216356][ T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.216531][ T1] TCP: Hash tables configured (established 8192 bind 8192) [ 0.216947][ T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.217049][ T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.217123][ T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.217409][ T1] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.217465][ T1] NET: Registered PF_XDP protocol family [ 0.217497][ T1] PCI: CLS 0 bytes, default 64 [ 0.218182][ T1] armv7-pmu pmu: hw perfevents: no interrupt-affinity property, guessing. [ 0.218390][ T53] Trying to unpack rootfs image as initramfs... [ 0.228484][ T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available [ 0.234375][ T1] Initialise system trusted keyrings [ 0.234837][ T1] workingset: timestamp_bits=14 max_order=18 bucket_order=4 [ 0.243285][ T1] zbud: loaded [ 0.343030][ T1] Key type asymmetric registered [ 0.343094][ T1] Asymmetric key parser 'x509' registered [ 3.173866][ T53] Freeing initrd memory: 52260K [ 3.231191][ T1] alg: self-tests for CTR-KDF (hmac(sha256)) passed [ 3.231491][ T1] bounce: pool size: 64 pages [ 3.231704][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 3.231957][ T1] io scheduler mq-deadline registered [ 3.231989][ T1] io scheduler kyber registered [ 3.232316][ T1] io scheduler bfq registered [ 3.250766][ T1] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 [ 3.273353][ T1] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 3.287395][ T1] Serial: AMBA driver [ 3.288486][ T1] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 70, base_baud = 5000000) is a IMX [ 3.288541][ T1] imx-uart 21e8000.serial: Console IMX rounded baud rate from 114943 to 114900 [ 4.461621][ T1] printk: console [ttymxc1] enabled [ 4.467666][ T1] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 71, base_baud = 5000000) is a IMX [ 4.478380][ T1] msm_serial: driver initialized [ 4.483682][ T1] STMicroelectronics ASC driver initialized [ 4.500037][ T1] imx-ipuv3 2400000.ipu: IPUv3H probed [ 4.507252][ T1] imx-ipuv3 2800000.ipu: IPUv3H probed [ 4.517504][ T1] mousedev: PS/2 mouse device common for all mice [ 4.530440][ T1] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0 [ 4.537314][ T1] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T02:42:02 UTC (9722) [ 4.557765][ T1] ledtrig-cpu: registered to indicate activity on CPUs [ 4.565782][ T1] hid: raw HID events driver (C) Jiri Kosina [ 4.575471][ T1] cs_system_cfg: CoreSight Configuration manager initialised [ 4.584947][ T1] drop_monitor: Initializing network drop monitor service [ 4.593129][ T1] NET: Registered PF_INET6 protocol family [ 4.648288][ T1] Segment Routing with IPv6 [ 4.652732][ T1] RPL Segment Routing with IPv6 [ 4.657541][ T1] In-situ OAM (IOAM) with IPv6 [ 4.663592][ T1] ThumbEE CPU extension supported. [ 4.668632][ T1] Registering SWP/SWPB emulation handler [ 4.701192][ T1] registered taskstats version 1 [ 4.706374][ T1] Loading compiled-in X.509 certificates [ 4.712071][ T1] Loaded X.509 cert 'openSUSE Secure Boot Signkey: 9ddf43d9f1a027273f52c6c0775908ee01671325' [ 4.723127][ T1] zswap: loaded using pool lzo/zbud [ 4.728685][ T1] page_owner is disabled [ 4.733183][ T1] Key type ._fscrypt registered [ 4.737942][ T1] Key type .fscrypt registered [ 4.742598][ T1] Key type fscrypt-provisioning registered [ 4.748513][ T1] Key type encrypted registered [ 4.753264][ T1] AppArmor: AppArmor sha1 policy hashing enabled [ 4.759504][ T1] ima: No TPM chip found, activating TPM-bypass! [ 4.765733][ T1] Loading compiled-in module X.509 certificates [ 4.771985][ T1] Loaded X.509 cert 'openSUSE Secure Boot Signkey: 9ddf43d9f1a027273f52c6c0775908ee01671325' [ 4.782040][ T1] ima: Allocated hash algorithm: sha256 [ 4.787510][ T1] ima: No architecture policies found [ 4.792827][ T1] evm: Initialising EVM extended attributes: [ 4.798692][ T1] evm: security.selinux [ 4.802728][ T1] evm: security.SMACK64 (disabled) [ 4.807720][ T1] evm: security.SMACK64EXEC (disabled) [ 4.813058][ T1] evm: security.SMACK64TRANSMUTE (disabled) [ 4.818841][ T1] evm: security.SMACK64MMAP (disabled) [ 4.824180][ T1] evm: security.apparmor [ 4.828300][ T1] evm: security.ima [ 4.831987][ T1] evm: security.capability [ 4.836280][ T1] evm: HMAC attrs: 0x1 [ 5.121954][ T142] alg: No test for 842 (842-scomp) [ 5.127194][ T143] alg: No test for 842 (842-generic) [ 7.262052][ T1] Freeing unused kernel image (initmem) memory: 2048K [ 7.276371][ T1] ------------[ cut here ]------------ [ 7.281746][ T1] WARNING: CPU: 1 PID: 1 at arch/arm/mm/dump.c:252 note_page+0x3e8/0x3f4 [ 7.290074][ T1] arm/mm: Found insecure W+X mapping at address 0xf08d9000 [ 7.297164][ T1] Modules linked in: [ 7.300956][ T1] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.17.3-1-default #1 openSUSE Tumbleweed 2ffb4cc3593a5e96414793563f863253ef18dd67 [ 7.313776][ T1] Hardware name: Unknown Unknown Product/Unknown Product, BIOS 2022.04 04/01/2022 [ 7.322843][ T1] Backtrace: [ 7.326001][ T1] dump_backtrace from show_stack+0x20/0x24 [ 7.331787][ T1] r7:c031eab0 r6:00000009 r5:60070013 r4:c1532584 [ 7.338153][ T1] show_stack from dump_stack_lvl+0x48/0x54 [ 7.343932][ T1] dump_stack_lvl from dump_stack+0x18/0x1c [ 7.349707][ T1] r5:000000fc r4:c14d7d04 [ 7.353987][ T1] dump_stack from __warn+0xdc/0x140 [ 7.359159][ T1] __warn from warn_slowpath_fmt+0xa4/0xe4 [ 7.364851][ T1] r8:c031eab0 r7:00000009 r6:000000fc r5:c14d7d04 r4:c14d7cd0 [ 7.372261][ T1] warn_slowpath_fmt from note_page+0x3e8/0x3f4 [ 7.378382][ T1] r8:00000000 r7:00000000 r6:00000005 r5:c1e11a38 r4:c2989f28 [ 7.385792][ T1] note_page from walk_pgd+0x15c/0x1f0 [ 7.391130][ T1] r10:c2989f28 r9:f08db000 r8:c0207c28 r7:c2925800 r6:00000000 r5:c14d7d34 [ 7.399671][ T1] r4:c292536c [ 7.402908][ T1] walk_pgd from ptdump_check_wx+0x7c/0xe4 [ 7.408596][ T1] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0ef7e70 [ 7.417138][ T1] r4:00000000 [ 7.420376][ T1] ptdump_check_wx from mark_rodata_ro+0x2c/0x30 [ 7.426589][ T1] r7:00000000 r6:00000000 r4:c1e0b040 [ 7.431914][ T1] mark_rodata_ro from kernel_init+0x64/0x14c [ 7.437872][ T1] kernel_init from ret_from_fork+0x14/0x34 [ 7.443646][ T1] Exception stack(0xc2989fb0 to 0xc2989ff8) [ 7.449412][ T1] 9fa0: 00000000 00000000 00000000 00000000 [ 7.458307][ T1] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 7.467201][ T1] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 7.474529][ T1] r5:c0ef7e70 r4:00000000 [ 7.478842][ T1] ---[ end trace 0000000000000000 ]--- [ 7.484549][ T1] Checked W+X mappings: FAILED, 1 W+X pages found [ 7.490877][ T1] Run /init as init process [ 7.495253][ T1] with arguments: [ 7.498947][ T1] /init [ 7.501946][ T1] with environment: [ 7.505811][ T1] HOME=/ [ 7.508880][ T1] TERM=linux [ 7.512308][ T1] BOOT_IMAGE=/boot/zImage-5.17.3-1-default [ 7.518348][ T1] splash=silent [ 7.575050][ T1] systemd[1]: System time before build time, advancing clock. [ 8.192993][ T1] systemd[1]: systemd 250.4+suse.47.ge43a1b0188 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR -IMA -SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BL) [ 8.228649][ T1] systemd[1]: Detected architecture arm. [ 8.234207][ T1] systemd[1]: Running in initial RAM disk. Welcome to openSUSE Tumbleweed dracut-056+suse.268.g0b2bd662-1.1 (Initramfs)! [ 8.260893][ T1] systemd[1]: No hostname configured, using default hostname. [ 8.268762][ T1] systemd[1]: Hostname set to <localhost>. [ 8.275229][ T1] random: systemd: uninitialized urandom read (16 bytes read) [ 8.282641][ T1] systemd[1]: Initializing machine ID from random generator. [ 8.455369][ C3] random: fast init done [ 8.923616][ T1] systemd[1]: Queued start job for default target Initrd Default Target. [ 8.933570][ T1] random: systemd: uninitialized urandom read (16 bytes read) [ 8.941381][ T1] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password ts to Console Directory Watch. [ 8.970789][ T1] random: systemd: uninitialized urandom read (16 bytes read) [ 8.978253][ T1] systemd[1]: Reached target Local Encrypted Volumes. [ OK ] Reached target Local Encrypted Volumes. [ 9.005812][ T1] systemd[1]: Reached target Initrd /usr File System. [ OK ] Reached target Initrd /usr File System. [ 9.030706][ T1] systemd[1]: Reached target Local File Systems. [ OK ] Reached target Local File Systems. [ 9.055638][ T1] systemd[1]: Reached target Path Units. [ OK ] Reached target Path Units. [ 9.075777][ T1] systemd[1]: Reached target Slice Units. [ OK ] Reached target Slice Units. [ 9.095730][ T1] systemd[1]: Reached target Swaps. [ OK ] Reached target Swaps. [ 9.115687][ T1] systemd[1]: Reached target Timer Units. [ OK ] Reached target Timer Units. [ 9.136359][ T1] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 9.161395][ T1] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 9.181471][ T1] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 9.206307][ T1] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 9.230666][ T1] systemd[1]: Reached target Socket Units. [ OK ] Reached target Socket Units. [ 9.261385][ T1] systemd[1]: Starting Create List of Static Device Nodes... Starting Create List of Static Device Nodes... [ 9.296699][ T1] systemd[1]: Starting Journal Service... Starting Journal Service... [ 9.328099][ T1] systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... [ 9.358389][ T1] systemd[1]: Starting Setup Virtual Console... Starting Setup Virtual Console... [ 9.387763][ T1] systemd[1]: Finished Create List of Static Device Nodes. [ OK ] Finished Create List of Static Device Nodes. [ 9.418258][ T1] systemd[1]: Finished Load Kernel Modules. [ OK ] Finished Load Kernel Modules. [ 9.448356][ T1] systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables... [ 9.477197][ T1] systemd[1]: Starting Create Static Device Nodes in /dev... Starting Create Static Device Nodes in /dev... [ 9.496547][ T1] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. [ OK ] Finished Apply Kernel Variables. Starting Create Volatile Files and Directories... [ OK ] Finished Create Static Device Nodes in /dev. [ OK ] Finished Create Volatile Files and Directories. [ OK ] Finished Setup Virtual Console. Starting dracut ask for additional cmdline parameters... [ OK ] Finished dracut ask for additional cmdline parameters. Starting dracut cmdline hook... [ OK ] Finished dracut cmdline hook. Starting dracut pre-udev hook... [ 10.942021][ T341] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log. [ 10.955163][ T341] device-mapper: uevent: version 1.0.3 [ 10.961002][ T341] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com [ 11.270362][ T350] raid6: neonx8 gen() 516 MB/s [ 11.360356][ T350] raid6: neonx4 gen() 1214 MB/s [ 11.450347][ T350] raid6: neonx2 gen() 1131 MB/s [ 11.540368][ T350] raid6: neonx1 gen() 1003 MB/s [ 11.630381][ T350] raid6: int32x8 gen() 231 MB/s [ 11.720374][ T350] raid6: int32x4 gen() 255 MB/s [ 11.810410][ T350] raid6: int32x2 gen() 316 MB/s [ 11.900411][ T350] raid6: int32x1 gen() 322 MB/s [ 11.905419][ T350] raid6: using algorithm neonx4 gen() 1214 MB/s [ 11.995340][ T350] raid6: .... xor() 785 MB/s, rmw enabled [ 12.000958][ T350] raid6: using neon recovery algorithm [ 12.016051][ T350] xor: measuring software checksum speed [ 12.029158][ T350] arm4regs : 1316 MB/sec [ 12.044551][ T350] 8regs : 976 MB/sec [ 12.059596][ T350] 32regs : 991 MB/sec [ 12.075175][ T350] neon : 944 MB/sec [ 12.080286][ T350] xor: using function: arm4regs (1316 MB/sec) [ 12.428685][ T350] Btrfs loaded, crc32c=crc32c-generic, assert=on, zoned=yes, fsverity=yes [ OK ] Finished dracut pre-udev hook. Starting Rule-based Manager.|for Device Events and Files... [ OK ] Started Rule-based Manager for Device Events and Files. Starting dracut pre-trigger hook... [ OK ] Finished dracut pre-trigger hook. Starting Coldplug All udev Devices... [ OK ] Finished Coldplug All udev Devices. [ OK ] Reached target System Initialization. [ OK ] Reached target Basic System. Starting dracut initqueue hook... [ 14.480251][ T413] ahci-imx 2200000.sata: fsl,transmit-level-mV not specified, using 00000024 [ 14.489002][ T413] ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, using 00000480 [ 14.493794][ T410] mc: Linux media interface: v0.10 [ 14.497815][ T413] ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, using 00002000 [ 14.497834][ T413] ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000 [ 14.507641][ T413] ahci-imx 2200000.sata: supply ahci not found, using dummy regulator [ 14.528700][ T64] imx-sdma 20ec000.sdma: loaded firmware 3.5 [ 14.583565][ T417] i2c i2c-1: IMX I2C adapter registered [ 14.604548][ T413] ahci-imx 2200000.sata: supply phy not found, using dummy regulator [ 14.625320][ T413] ahci-imx 2200000.sata: supply target not found, using dummy regulator [ 14.656040][ T409] caam 2100000.crypto: Entropy delay = 3200 [ 14.665841][ T417] i2c i2c-2: IMX I2C adapter registered [ 14.668265][ T413] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled [ 14.679201][ T413] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ 14.688843][ T413] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst [ 14.704410][ T414] videodev: Linux video capture interface: v2.00 [ 14.715462][ T411] usbcore: registered new interface driver usbfs [ 14.722662][ T409] caam 2100000.crypto: Instantiated RNG4 SH0 [ 14.745667][ T411] usbcore: registered new interface driver hub [ 14.770553][ T411] usbcore: registered new device driver usb [ 14.783426][ T409] caam 2100000.crypto: Instantiated RNG4 SH1 [ 14.789470][ T409] caam 2100000.crypto: device ID = 0x0a16010000000000 (Era 4) [ 14.796910][ T409] caam 2100000.crypto: job rings = 2, qi = 0 [ 14.806308][ T416] sdhci: Secure Digital Host Controller Interface driver [ 14.813330][ T416] sdhci: Copyright(c) Pierre Ossman [ 14.836541][ T416] sdhci-pltfm: SDHCI platform and OF driver helper [ 14.851492][ T412] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 14.870429][ T413] scsi host0: ahci-imx [ 14.887918][ T8] sdhci-esdhc-imx 2198000.mmc: Got CD GPIO [ 14.912547][ T410] imx_media_common: module is from the staging directory, the quality is unknown, you have been warned. [ 14.915776][ T413] ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 74 [ 14.916408][ T408] imx_media_common: module is from the staging directory, the quality is unknown, you have been warned. [ 14.933818][ T414] imx_media_common: module is from the staging directory, the quality is unknown, you have been warned. [ 14.934487][ T415] imx_media_common: module is from the staging directory, the quality is unknown, you have been warned. [ 14.943871][ T409] usb_phy_generic usbphynop1: supply vcc not found, using dummy regulator [ 14.968097][ T412] imx_usb 2184000.usb: No over current polarity defined [ 14.974624][ T410] imx6_media_csi: module is from the staging directory, the quality is unknown, you have been warned. [ 14.974995][ T409] usb_phy_generic usbphynop2: supply vcc not found, using dummy regulator [ 14.976037][ T8] mmc2: SDHCI controller on 2198000.mmc [2198000.mmc] using ADMA [ 14.987706][ T414] imx6_media_csi: module is from the staging directory, the quality is unknown, you have been warned. [ 15.051849][ T64] mmc2: host does not support reading read-only switch, assuming write-enable [ 15.063177][ T64] mmc2: new high speed SDHC card at address d660 [ 15.201447][ T412] imx_usb 2184200.usb: No over current polarity defined
Hope that helps. Matthias
Thanks!
participants (3)
-
Matthias Brugger
-
Oscar
-
Stefan Seyfried