Bug#1016317: linux-image-5.10.0-16-armmp: insecure W+X mapping
Hi Salvatore,
thanks for your reply. I have a test system in which I did a fresh install.
nfortunately, I did not realize that I have to remove the quiet option from
the CMDLINE options, to see the bug. I first thought I have to fix the missing
firmware problems to see the reported bug. After I added quiet the reported bug
showed up immediately.
In the backports kernel linux-image-5.18.0-0.bpo.1-armmp the reported bug
seems to be resolved.
I might need some help to apply the patch properly to the bullseye kernel
package.
Here is my verbose log:
-> booting w/o firmware
Starting kernel ...
[ 2.199431] reg-fixed-voltage regulator-vcc-3v3: Failed to register
regulator: -517
[ 4.311421] imx-sdma 20ec000.sdma: firmware: failed to load imx/sdma/sdma-
imx6q.bin (-2)
[ 4.311507] firmware_class: See https://wiki.debian.org/Firmware for
information about missing firmware
[ 5.822926] mdio_bus 2188000.ethernet-1: MDIO device at address 4 is
missing.
[ 5.923070] rtc-pcf8523 2-0068: low voltage detected, time is unreliable
/dev/mmcblk1p3: clean, 29416/1847776 files, 348836/7380224 blocks
[ 11.732096] coda 2040000.vpu: firmware: failed to load vpu_fw_imx6q.bin (-2)
[ 11.755733] coda 2040000.vpu: firmware: failed to load vpu/vpu_fw_imx6q.bin
(-2)
[ 11.788201] coda 2040000.vpu: firmware: failed to load v4l-coda960-imx6q.bin
(-2)
[ 11.853027] coda 2040000.vpu: firmware request failed
[ 12.900549] brcmfmac mmc0:0001:1: firmware: failed to load brcm/
brcmfmac4330-sdio.bin (-2)
[ 13.927704] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl
0x50
Debian GNU/Linux 11 kernel-test ttymxc0
kernel-test login:
Installing firmware:
root@kernel-test:~# apt-get install firmware-brcm80211
Starting kernel ...
[ 2.199993] reg-fixed-voltage regulator-vcc-3v3: Failed to register
regulator: -517
[ 4.314001] imx-sdma 20ec000.sdma: firmware: failed to load imx/sdma/sdma-
imx6q.bin (-2)
[ 4.314020] firmware_class: See https://wiki.debian.org/Firmware for
information about missing firmware
[ 5.827482] mdio_bus 2188000.ethernet-1: MDIO device at address 4 is
missing.
[ 5.996300] rtc-pcf8523 2-0068: low voltage detected, time is unreliable
/dev/mmcblk1p3: clean, 29522/1847776 files, 371529/7380224 blocks
[ 11.656724] coda 2040000.vpu: firmware: failed to load vpu_fw_imx6q.bin (-2)
[ 11.745175] coda 2040000.vpu: firmware: failed to load vpu/vpu_fw_imx6q.bin
(-2)
[ 11.805418] coda 2040000.vpu: firmware: failed to load v4l-coda960-imx6q.bin
(-2)
[ 11.815478] coda 2040000.vpu: firmware request failed
[ 12.977067] brcmfmac mmc0:0001:1: firmware: failed to load brcm/
brcmfmac4330-sdio.solidrun,cubox-i-q.txt (-2)
[ 12.995692] brcmfmac mmc0:0001:1: firmware: failed to load brcm/
brcmfmac4330-sdio.txt (-2)
[ 14.031031] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl
0x50
Debian GNU/Linux 11 kernel-test ttymxc0
Adding missing brcmfmac4330-sdio.txt from another system
root@kernel-test:/home/test# cat brcmfmac4330-sdio.txt
# bcm94330wlsdgb.txt
manfid=0x2d0
prodid=0x0552
vendid=0x14e4
devid=0x4360
boardtype=0x0552
boardrev=0x11
# this design has 2.4GHz SP3T switch
boardflags=0x00080200
nocrc=1
xtalfreq=37400
boardnum=22
macaddr=00:90:4c:c5:12:38
ag0=255
aa2g=1
ccode=CN
pa0b0=0x14d0
pa0b1=0xfd98
pa0b2=0xff78
rssismf2g=0xa
rssismc2g=0x3
rssisav2g=0x7
maxp2ga0=0x50
sromrev=3
il0macaddr=00:90:4c:c5:12:38
wl0id=0x431b
cckPwrOffset=5
ofdm2gpo=0x66666666
mcs2gpo0=0x6666
mcs2gpo1=0x6666
swctrlmap_2g=0x04040404,0x02020202,0x02020404,0x10202,0x1ff
swctrlmap_5g=0x00100010,0x00280020,0x00200010,0x14202,0x2f8
rfreg033=0x19
rfreg033_cck=0x1f
dacrate2g=160
txalpfbyp2g=1
bphyscale=17
cckPwrIdxCorr=-15
pacalidx2g=45
txgaintbl=1
root@kernel-test:/home/test# mv brcmfmac4330-sdio.txt /usr/lib/firmware/brcm/
root@kernel-test:/home/test#
Starting kernel ...
[ 2.198974] reg-fixed-voltage regulator-vcc-3v3: Failed to register
regulator: -517
[ 4.307203] imx-sdma 20ec000.sdma: firmware: failed to load imx/sdma/sdma-
imx6q.bin (-2)
[ 4.307219] firmware_class: See https://wiki.debian.org/Firmware for
information about missing firmware
[ 5.803478] mdio_bus 2188000.ethernet-1: MDIO device at address 4 is
missing.
[ 5.910441] rtc-pcf8523 2-0068: low voltage detected, time is unreliable
/dev/mmcblk1p3: clean, 29525/1847776 files, 375664/7380224 blocks
[ 11.704240] coda 2040000.vpu: firmware: failed to load vpu_fw_imx6q.bin (-2)
[ 11.719439] coda 2040000.vpu: firmware: failed to load vpu/vpu_fw_imx6q.bin
(-2)
[ 11.891414] coda 2040000.vpu: firmware: failed to load v4l-coda960-imx6q.bin
(-2)
[ 11.918224] coda 2040000.vpu: firmware request failed
[ 12.866703] brcmfmac mmc0:0001:1: firmware: failed to load brcm/
brcmfmac4330-sdio.solidrun,cubox-i-q.txt (-2)
[ 13.138113] brcmfmac mmc0:0001:1: firmware: failed to load brcm/
brcmfmac4330-sdio.clm_blob (-2)
Debian GNU/Linux 11 kernel-test ttymxc0
Add vpu firmware
test@kernel-test:~$ wget http://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-5.4.bin
--2022-08-13 21:34:48-- http://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-5.4.bin
Resolving www.nxp.com (www.nxp.com)... 23.75.229.22
Connecting to www.nxp.com (www.nxp.com)|23.75.229.22|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 429744 (420K) [application/octet-stream]
Saving to: ‘firmware-imx-5.4.bin’
firmware-imx-5.4.bin 100%
[==================================================================================================================================================================================>]
419.67K --.-KB/s in 0.1s
2022-08-13 21:34:49 (3.83 MB/s) - ‘firmware-imx-5.4.bin’ saved [429744/429744]
test@kernel-test:~$ dd if=firmware-imx-5.4.bin bs=34087 skip=1 | tar xjv
./
./firmware-imx-5.4/
./firmware-imx-5.4/COPYING
./firmware-imx-5.4/SCR-firmware-imx.txt
./firmware-imx-5.4/firmware/
./firmware-imx-5.4/firmware/vpu/
./firmware-imx-5.4/firmware/vpu/vpu_fw_imx53.bin
./firmware-imx-5.4/firmware/vpu/vpu_fw_imx27_TO2.bin
./firmware-imx-5.4/firmware/vpu/vpu_fw_imx27_TO1.bin
./firmware-imx-5.4/firmware/vpu/vpu_fw_imx51.bin
./firmware-imx-5.4/firmware/vpu/vpu_fw_imx6q.bin
./firmware-imx-5.4/firmware/vpu/vpu_fw_imx6d.bin
11+1 records in
11+1 records out
395657 bytes (396 kB, 386 KiB) copied, 0.321269 s, 1.2 MB/s
./firmware-imx-5.4/firmware/epdc/
./firmware-imx-5.4/firmware/epdc/epdc_ED060XH2C1.fw.nonrestricted
./firmware-imx-5.4/firmware/epdc/fsl-epdc.mk
./firmware-imx-5.4/firmware/epdc/epdc_E60_V110.fw
./firmware-imx-5.4/firmware/epdc/epdc_E60_V220.fw
./firmware-imx-5.4/firmware/epdc/epdc_E060SCM.fw
./firmware-imx-5.4/firmware/epdc/epdc_E97_V110.fw
./firmware-imx-5.4/firmware/sdma/
./firmware-imx-5.4/firmware/sdma/sdma-imx31-to2.bin
./firmware-imx-5.4/firmware/sdma/sdma-imx51-to3.bin
./firmware-imx-5.4/firmware/sdma/sdma-imx35-to1.bin
./firmware-imx-5.4/firmware/sdma/sdma-imx31-to1.bin
./firmware-imx-5.4/firmware/sdma/sdma-imx35-to2.bin
./firmware-imx-5.4/firmware/sdma/sdma-imx53-to1.bin
./firmware-imx-5.4/firmware/sdma/sdma-imx25-to1.bin
./firmware-imx-5.4/firmware/Android.mk
test@kernel-test:~$ cd firmware-imx-5.4/firmware
test@kernel-test:~/firmware-imx-5.4/firmware$ su
Password:
root@kernel-test:/home/test/firmware-imx-5.4/firmware# mv vpu /lib/firmware/
root@kernel-test:/home/test/firmware-imx-5.4/firmware#
Starting kernel ...
[ 2.200876] reg-fixed-voltage regulator-vcc-3v3: Failed to register
regulator: -517
[ 4.309142] imx-sdma 20ec000.sdma: firmware: failed to load imx/sdma/sdma-
imx6q.bin (-2)
[ 4.309160] firmware_class: See https://wiki.debian.org/Firmware for
information about missing firmware
[ 5.735865] mdio_bus 2188000.ethernet-1: MDIO device at address 4 is
missing.
[ 5.932318] rtc-pcf8523 2-0068: low voltage detected, time is unreliable
/dev/mmcblk1p3: clean, 29555/1847776 files, 377163/7380224 blocks
[ 11.815835] coda 2040000.vpu: firmware: failed to load vpu_fw_imx6q.bin (-2)
[ 12.937016] brcmfmac mmc0:0001:1: firmware: failed to load brcm/
brcmfmac4330-sdio.solidrun,cubox-i-q.txt (-2)
[ 13.179010] brcmfmac mmc0:0001:1: firmware: failed to load brcm/
brcmfmac4330-sdio.clm_blob (-2)
Debian GNU/Linux 11 kernel-test ttymxc0
Adding more firmware:
root@kernel-test:~# apt install firmware-misc-nonfree
Starting kernel ...
[ 2.199598] reg-fixed-voltage regulator-vcc-3v3: Failed to register
regulator: -517
[ 5.921312] mdio_bus 2188000.ethernet-1: MDIO device at address 4 is
missing.
[ 6.095398] rtc-pcf8523 2-0068: low voltage detected, time is unreliable
/dev/mmcblk1p3: clean, 30408/1847776 files, 408028/7380224 blocks
[ 12.058721] coda 2040000.vpu: firmware: failed to load vpu_fw_imx6q.bin (-2)
[ 12.065887] firmware_class: See https://wiki.debian.org/Firmware for
information about missing firmware
[ 13.167198] brcmfmac mmc0:0001:1: firmware: failed to load brcm/
brcmfmac4330-sdio.solidrun,cubox-i-q.txt (-2)
[ 13.409521] brcmfmac mmc0:0001:1: firmware: failed to load brcm/
brcmfmac4330-sdio.clm_blob (-2)
Debian GNU/Linux 11 kernel-test ttymxc0
root@kernel-test:/usr/lib/firmware# ln -s vpu/vpu_fw_imx6q.bin .
Removed quiet in /etc/default/flash-kernel:
root@kernel-test:~# cat /etc/default/flash-kernel
LINUX_KERNEL_CMDLINE=""
LINUX_KERNEL_CMDLINE_DEFAULTS=""
root@kernel-test:~#
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.0-16-armmp (debian-kernel@lists.debian.org)
(gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian)
2.35.2) #1 SMP Debian 5.10.127-2 (2022-07-23)
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7),
cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
instruction cache
[ 0.000000] OF: fdt: Machine model: SolidRun Cubox-i Dual/Quad
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x4f000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000010000000-0x000000003fffffff]
[ 0.000000] Normal empty
[ 0.000000] HighMem [mem 0x0000000040000000-0x000000004fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000010000000-0x000000004fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000010000000-0x000000004fffffff]
[ 0.000000] percpu: Embedded 21 pages/cpu s54732 r8192 d23092 u86016
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260416
[ 0.000000] Kernel command line: console=ttymxc0,115200
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288
bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes,
linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] Memory: 979044K/1048576K available (11264K kernel code, 1662K
rwdata, 3196K rodata, 2048K init, 334K bss, 53148K reserved, 16384K cma-
reserved, 245760K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] ftrace: allocating 37421 entries in 110 pages
[ 0.000000] ftrace: allocated 110 pages with 5 groups
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25
jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C-310 errata 752271 769419 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
[ 0.000000] Switching to timer-based delay loop, resolution 333ns
[ 0.000007] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every
715827882841ns
[ 0.000029] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 637086815595 ns
[ 0.003120] Console: colour dummy device 80x30
[ 0.003177] Calibrating delay loop (skipped), value calculated using timer
frequency.. 6.00 BogoMIPS (lpj=12000)
[ 0.003224] pid_max: default: 32768 minimum: 301
[ 0.004018] LSM: Security Framework initializing
[ 0.004154] Yama: disabled by default; enable with sysctl kernel.yama.*
[ 0.004542] AppArmor: AppArmor initialized
[ 0.004562] TOMOYO Linux initialized
[ 0.004804] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes,
linear)
[ 0.004833] Mountpoint-cache hash table entries: 2048 (order: 1, 8192
bytes, linear)
[ 0.006641] CPU: Testing write buffer coherency: ok
[ 0.006693] CPU0: Spectre v2: using BPIALL workaround
[ 0.007287] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.008621] Setting up static identity map for 0x10300000 - 0x103000ac
[ 0.010042] rcu: Hierarchical SRCU implementation.
[ 0.012969] EFI services will not be available.
[ 0.013502] smp: Bringing up secondary CPUs ...
[ 0.014767] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.014777] CPU1: Spectre v2: using BPIALL workaround
[ 0.014969] smp: Brought up 1 node, 2 CPUs
[ 0.014985] SMP: Total of 2 processors activated (12.00 BogoMIPS).
[ 0.014995] CPU: All CPU(s) started in SVC mode.
[ 0.016102] devtmpfs: initialized
[ 0.028252] VFP support v0.3: implementor 41 architecture 3 part 30 variant
9 rev 4
[ 0.028658] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 7645041785100000 ns
[ 0.028748] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.030083] pinctrl core: initialized pinctrl subsystem
[ 0.031530] DMI not present or invalid.
[ 0.032541] NET: Registered protocol family 16
[ 0.036207] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.037346] audit: initializing netlink subsys (disabled)
[ 0.038799] audit: type=2000 audit(0.036:1): state=initialized
audit_enabled=0 res=1
[ 0.039252] thermal_sys: Registered thermal governor 'fair_share'
[ 0.039261] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.039273] thermal_sys: Registered thermal governor 'step_wise'
[ 0.039284] thermal_sys: Registered thermal governor 'user_space'
[ 0.039294] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.039552] CPU identified as i.MX6Q, silicon rev 1.2
[ 0.467384] No ATAGs?
[ 0.467522] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1
watchpoint registers.
[ 0.467535] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.469874] imx6q-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[ 0.471940] Serial: AMBA PL011 UART driver
[ 0.480518] Kprobes globally optimized
[ 2.199793] mxs-dma 110000.dma-apbh: initialized
[ 2.201493] reg-fixed-voltage regulator-vcc-3v3: Failed to register
regulator: -517
[ 2.204372] iommu: Default domain type: Translated
[ 2.205619] vgaarb: loaded
[ 2.206777] mc: Linux media interface: v0.10
[ 2.206876] videodev: Linux video capture interface: v2.00
[ 2.209043] NetLabel: Initializing
[ 2.209057] NetLabel: domain hash size = 128
[ 2.209067] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 2.209164] NetLabel: unlabeled traffic allowed by default
[ 2.209541] clocksource: Switched to clocksource mxc_timer1
[ 2.314858] VFS: Disk quotas dquot_6.6.0
[ 2.315024] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.316062] AppArmor: AppArmor Filesystem Enabled
[ 2.331204] NET: Registered protocol family 2
[ 2.331679] IP idents hash table entries: 16384 (order: 5, 131072 bytes,
linear)
[ 2.334200] tcp_listen_portaddr_hash hash table entries: 512 (order: 0,
6144 bytes, linear)
[ 2.334902] TCP established hash table entries: 8192 (order: 3, 32768
bytes, linear)
[ 2.335178] TCP bind hash table entries: 8192 (order: 4, 65536 bytes,
linear)
[ 2.335313] TCP: Hash tables configured (established 8192 bind 8192)
[ 2.335715] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 2.335797] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes,
linear)
[ 2.336134] NET: Registered protocol family 1
[ 2.336209] NET: Registered protocol family 44
[ 2.336234] PCI: CLS 0 bytes, default 64
[ 2.337083] Trying to unpack rootfs image as initramfs...
[ 4.378638] Freeing initrd memory: 23400K
[ 4.379264] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 4.379580] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7
counters available
[ 4.382911] Initialise system trusted keyrings
[ 4.383008] Key type blacklist registered
[ 4.383424] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 4.392796] zbud: loaded
[ 4.394363] integrity: Platform Keyring initialized
[ 4.394387] Key type asymmetric registered
[ 4.394401] Asymmetric key parser 'x509' registered
[ 4.395044] bounce: pool size: 64 pages
[ 4.395134] Block layer SCSI generic (bsg) driver version 0.4 loaded (major
250)
[ 4.395465] io scheduler mq-deadline registered
[ 4.419891] imx-sdma 20ec000.sdma: firmware: direct-loading firmware imx/
sdma/sdma-imx6q.bin
[ 4.420210] imx-sdma 20ec000.sdma: loaded firmware 3.5
[ 4.427802] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[ 4.431692] Serial: AMBA driver
[ 4.432590] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 33, base_baud
= 5000000) is a IMX
[ 5.186813] printk: console [ttymxc0] enabled
[ 5.192913] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 73, base_baud
= 5000000) is a IMX
[ 5.204027] STM32 USART driver initialized
[ 5.213793] mousedev: PS/2 mouse device common for all mice
[ 5.222757] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[ 5.228959] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to
2022-08-13T19:53:01 UTC (1660420381)
[ 5.244224] ledtrig-cpu: registered to indicate activity on CPUs
[ 5.252746] NET: Registered protocol family 10
[ 5.316525] Segment Routing with IPv6
[ 5.320351] mip6: Mobile IPv6
[ 5.323354] NET: Registered protocol family 17
[ 5.328038] mpls_gso: MPLS GSO support
[ 5.332305] ThumbEE CPU extension supported.
[ 5.336634] Registering SWP/SWPB emulation handler
[ 5.341750] registered taskstats version 1
[ 5.345886] Loading compiled-in X.509 certificates
[ 5.746481] Loaded X.509 cert 'Debian Secure Boot CA:
6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[ 5.755383] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux:
4b6ef5abca669825178e052c84667ccbc0531f8c'
[ 5.765744] zswap: loaded using pool lzo/zbud
[ 5.771040] Key type ._fscrypt registered
[ 5.775122] Key type .fscrypt registered
[ 5.779072] Key type fscrypt-provisioning registered
[ 5.784460] AppArmor: AppArmor sha1 policy hashing enabled
[ 5.823927] vcc_3v3: supplied by v_5v0
[ 5.853176] Freeing unused kernel memory: 2048K
[ 5.866268] ------------[ cut here ]------------
[ 5.870948] WARNING: CPU: 0 PID: 1 at arch/arm/mm/dump.c:248
note_page+0x3d0/0x3dc
[ 5.878551] arm/mm: Found insecure W+X mapping at address 0xf0879000
[ 5.884924] Modules linked in:
[ 5.888018] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.0-16-armmp #1
Debian 5.10.127-2
[ 5.896288] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[ 5.902819] Backtrace:
[ 5.905292] [<c0cf9890>] (dump_backtrace) from [<c0cf9c3c>]
(show_stack+0x20/0x24)
[ 5.912872] r7:000000f8 r6:60000013 r5:00000000 r4:c14cdda8
[ 5.918542] [<c0cf9c1c>] (show_stack) from [<c0cfeec4>]
(dump_stack+0xc8/0xdc)
[ 5.925780] [<c0cfedfc>] (dump_stack) from [<c034ddb0>] (__warn+0xfc/0x158)
[ 5.932749] r7:000000f8 r6:00000009 r5:c031fa38 r4:c0fbe5c8
[ 5.938418] [<c034dcb4>] (__warn) from [<c0cfaa18>]
(warn_slowpath_fmt+0xa4/0xe4)
[ 5.945907] r7:c031fa38 r6:000000f8 r5:c0fbe5c8 r4:c0fbe594
[ 5.951576] [<c0cfa978>] (warn_slowpath_fmt) from [<c031fa38>]
(note_page+0x3d0/0x3dc)
[ 5.959500] r8:00000000 r7:00000000 r6:00000005 r5:c140c4e0 r4:c197ff28
[ 5.966209] [<c031f668>] (note_page) from [<c031fb2c>]
(walk_pmd+0xe8/0x1a4)
[ 5.973265] r10:c197ff28 r9:c0207c20 r8:c1900800 r7:00000000 r6:c0fbe610
r5:f087b000
[ 5.981099] r4:c19001ec
[ 5.983641] [<c031fa44>] (walk_pmd) from [<c031fd2c>]
(ptdump_check_wx+0x88/0x104)
[ 5.991219] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:c0208000
r5:f0800000
[ 5.999050] r4:c0207c28
[ 6.001599] [<c031fca4>] (ptdump_check_wx) from [<c0319c14>]
(mark_rodata_ro+0x3c/0x40)
[ 6.009607] r6:00000000 r5:c0d092cc r4:00000000
[ 6.014243] [<c0319bd8>] (mark_rodata_ro) from [<c0d09310>]
(kernel_init+0x44/0x130)
[ 6.021999] [<c0d092cc>] (kernel_init) from [<c03001a8>]
(ret_from_fork+0x14/0x2c)
[ 6.029573] Exception stack(0xc197ffb0 to 0xc197fff8)
[ 6.034632] ffa0: 00000000 00000000
00000000 00000000
[ 6.042816] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[ 6.050998] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 6.057617] r5:c0d092cc r4:00000000
[ 6.061240] ---[ end trace 2957339634a07a56 ]---
[ 6.066107] Checked W+X mappings: FAILED, 1 W+X pages found
[ 6.071758] Run /init as init process
Loading, please wait...
Starting version 247.3-7
[ 6.842803] gpio_mxc: module verification failed: signature and/or required
key missing - tainting kernel
[ 6.903717] gpio-keys gpio-keys: Unable to get irq number for GPIO 0, error
-6
[ 6.920244] v_usb2: supplied by v_5v0
[ 6.924603] vdd1p1: supplied by regulator-dummy
[ 6.924899] v_usb1: supplied by v_5v0
[ 6.956981] vdd3p0: supplied by regulator-dummy
[ 6.996894] mdio_bus 2188000.ethernet-1: MDIO device at address 4 is
missing.
[ 7.010854] vdd2p5: supplied by regulator-dummy
[ 7.038968] vddarm: supplied by regulator-dummy
[ 7.059739] vddpu: supplied by regulator-dummy
[ 7.068060] vddsoc: supplied by regulator-dummy
[ 7.142749] i2c i2c-1: IMX I2C adapter registered
[ 7.148338] sdhci: Secure Digital Host Controller Interface driver
[ 7.154641] sdhci: Copyright(c) Pierre Ossman
[ 7.178543] sdhci-pltfm: SDHCI platform and OF driver helper
[ 7.195644] rtc-pcf8523 2-0068: low voltage detected, time is unreliable
[ 7.211900] usbcore: registered new interface driver usbfs
[ 7.218850] sdhci-esdhc-imx 2190000.mmc: allocated mmc-pwrseq
[ 7.224744] rtc-pcf8523 2-0068: registered as rtc1
[ 7.230761] i2c i2c-2: IMX I2C adapter registered
[ 7.231413] sdhci-esdhc-imx 2194000.mmc: Got CD GPIO
[ 7.235657] usbcore: registered new interface driver hub
[ 7.246504] usbcore: registered new device driver usb
[ 7.252879] SCSI subsystem initialized
[ 7.258617] usb_phy_generic usbphynop1: supply vcc not found, using dummy
regulator
[ 7.268484] usb_phy_generic usbphynop1: dummy supplies not allowed for
exclusive requests
[ 7.277224] usb_phy_generic usbphynop2: supply vcc not found, using dummy
regulator
[ 7.293388] usb_phy_generic usbphynop2: dummy supplies not allowed for
exclusive requests
[ 7.325892] mmc1: SDHCI controller on 2194000.mmc [2194000.mmc] using ADMA
[ 7.368393] mmc1: host does not support reading read-only switch, assuming
write-enable
[ 7.381433] mmc1: new high speed SDHC card at address e624
[ 7.388872] mmcblk1: mmc1:e624 SC32G 29.7 GiB
[ 7.401503] mmcblk1: p1 p2 p3 p4 < p5 >
[ 7.505234] mmc0: SDHCI controller on 2190000.mmc [2190000.mmc] using ADMA
[ 7.542124] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 7.553008] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[ 7.582169] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[ 7.594307] imx_usb 2184000.usb: No over current polarity defined
[ 7.601804] ahci-imx 2200000.sata: fsl,transmit-level-mV value 1104, using
00000044
[ 7.604961] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[ 7.609562] ahci-imx 2200000.sata: fsl,transmit-boost-mdB value 0, using
00000000
[ 7.622587] ahci-imx 2200000.sata: fsl,transmit-atten-16ths value 9, using
00002000
[ 7.630276] ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using
05000000
[ 7.709669] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 7.714641] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[ 7.720261] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number
1
[ 7.770100] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[ 7.821645] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 7.827628] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002,
bcdDevice= 5.10
[ 7.835971] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 7.843275] usb usb1: Product: EHCI Host Controller
[ 7.848198] usb usb1: Manufacturer: Linux 5.10.0-16-armmp ehci_hcd
[ 7.854439] usb usb1: SerialNumber: ci_hdrc.0
[ 7.859211] ahci-imx 2200000.sata: supply ahci not found, using dummy
regulator
[ 7.866893] ahci-imx 2200000.sata: supply phy not found, using dummy
regulator
[ 7.874450] ahci-imx 2200000.sata: supply target not found, using dummy
regulator
[ 7.883726] hub 1-0:1.0: USB hub found
[ 7.886828] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled
[ 7.887801] hub 1-0:1.0: 1 port detected
[ 7.894550] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps
0x1 impl platform mode
[ 7.900709] imx_usb 2184200.usb: No over current polarity defined
[ 7.907283] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp
pio slum part ccc apst
[ 7.922553] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 7.928403] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number
2
[ 7.941614] scsi host0: ahci-imx
[ 7.947210] ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port
0x100 irq 76
[ 7.955340] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 7.961245] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002,
bcdDevice= 5.10
[ 7.969636] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 7.970450] mmc0: new high speed SDIO card at address 0001
[ 7.976893] usb usb2: Product: EHCI Host Controller
[ 7.976900] usb usb2: Manufacturer: Linux 5.10.0-16-armmp ehci_hcd
[ 7.976908] usb usb2: SerialNumber: ci_hdrc.1
[ 7.982400] hub 2-0:1.0: USB hub found
[ 7.982458] hub 2-0:1.0: 1 port detected
[ 8.288462] ata1: SATA link down (SStatus 0 SControl 300)
[ 8.293977] ahci-imx 2200000.sata: no device found, disabling link.
[ 8.300271] ahci-imx 2200000.sata: pass .hotplug=1 to enable hotplug
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ...
done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk1p3] fsck.ext4 -a -C0 /dev/mmcblk1p3
/dev/mmcblk1p3: clean, 30413/1847776 files, 416297/7380224 blocks
done.
[ 8.832349] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode.
Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[ 9.165216] Not activating Mandatory Access Control as /sbin/tomoyo-init
does not exist.
[ 9.723955] systemd[1]: Inserted module 'autofs4'
[ 9.829649] systemd[1]: systemd 247.3-7 running in system mode. (+PAM
+AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT
+GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2
default-hierarchy=unified)
[ 9.852741] systemd[1]: Detected architecture arm.
Welcome to Debian GNU/Linux 11 (bullseye)!
Installing backports kernel:
root@kernel-test:~# apt-get install linux-image-5.18.0-0.bpo.1-armmp
The issue disappeared:
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.18.0-0.bpo.1-armmp (debian-
kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld
(GNU Binutils for Debian) 2.35.2) #1 SMP Debian 5.18.2-1~bpo11+1 (2022-06-14)
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7),
cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
instruction cache
[ 0.000000] OF: fdt: Machine model: SolidRun Cubox-i Dual/Quad
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x4f000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000010000000-0x000000003fffffff]
[ 0.000000] Normal empty
[ 0.000000] HighMem [mem 0x0000000040000000-0x000000004fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000010000000-0x000000004fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000010000000-0x000000004fffffff]
[ 0.000000] percpu: Embedded 17 pages/cpu s40852 r8192 d20588 u69632
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260416
[ 0.000000] Kernel command line: console=ttymxc0,115200
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288
bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes,
linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] Memory: 978268K/1048576K available (10240K kernel code, 1672K
rwdata, 3304K rodata, 2048K init, 341K bss, 53924K reserved, 16384K cma-
reserved, 245760K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] ftrace: allocating 38398 entries in 113 pages
[ 0.000000] ftrace: allocated 113 pages with 4 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25
jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C-310 errata 752271 769419 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
[ 0.000000] Switching to timer-based delay loop, resolution 333ns
[ 0.000001] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every
715827882841ns
[ 0.000024] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 637086815595 ns
[ 0.002914] Console: colour dummy device 80x30
[ 0.002975] Calibrating delay loop (skipped), value calculated using timer
frequency.. 6.00 BogoMIPS (lpj=12000)
[ 0.002996] pid_max: default: 32768 minimum: 301
[ 0.003604] LSM: Security Framework initializing
[ 0.003776] Yama: disabled by default; enable with sysctl kernel.yama.*
[ 0.004117] AppArmor: AppArmor initialized
[ 0.004141] TOMOYO Linux initialized
[ 0.004459] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes,
linear)
[ 0.004490] Mountpoint-cache hash table entries: 2048 (order: 1, 8192
bytes, linear)
[ 0.006174] CPU: Testing write buffer coherency: ok
[ 0.006287] CPU0: Spectre v2: using BPIALL workaround
[ 0.006855] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.008020] cblist_init_generic: Setting adjustable number of callback
queues.
[ 0.008039] cblist_init_generic: Setting shift to 1 and lim to 1.
[ 0.008213] cblist_init_generic: Setting shift to 1 and lim to 1.
[ 0.008443] Setting up static identity map for 0x10300000 - 0x103000ac
[ 0.009889] rcu: Hierarchical SRCU implementation.
[ 0.012682] EFI services will not be available.
[ 0.013254] smp: Bringing up secondary CPUs ...
[ 0.014470] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.014488] CPU1: Spectre v2: using BPIALL workaround
[ 0.014655] smp: Brought up 1 node, 2 CPUs
[ 0.014674] SMP: Total of 2 processors activated (12.00 BogoMIPS).
[ 0.014687] CPU: All CPU(s) started in SVC mode.
[ 0.015774] devtmpfs: initialized
[ 0.026208] VFP support v0.3: implementor 41 architecture 3 part 30 variant
9 rev 4
[ 0.026533] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 7645041785100000 ns
[ 0.026623] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.027963] pinctrl core: initialized pinctrl subsystem
[ 0.028944] DMI not present or invalid.
[ 0.029894] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.057574] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.058703] audit: initializing netlink subsys (disabled)
[ 0.059315] audit: type=2000 audit(0.056:1): state=initialized
audit_enabled=0 res=1
[ 0.060887] thermal_sys: Registered thermal governor 'fair_share'
[ 0.060897] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.060909] thermal_sys: Registered thermal governor 'step_wise'
[ 0.060920] thermal_sys: Registered thermal governor 'user_space'
[ 0.060931] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.061193] CPU identified as i.MX6Q, silicon rev 1.2
[ 0.087040] platform 2400000.ipu: Fixing up cyclic dependency with
120000.hdmi
[ 0.087225] platform 2400000.ipu: Fixing up cyclic dependency with
20e0000.iomuxc-gpr:ipu1_csi0_mux
[ 0.088962] platform 2800000.ipu: Fixing up cyclic dependency with
120000.hdmi
[ 0.089080] platform 2800000.ipu: Fixing up cyclic dependency with
20e0000.iomuxc-gpr:ipu2_csi1_mux
[ 0.095599] No ATAGs?
[ 0.095737] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1
watchpoint registers.
[ 0.095755] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.097859] imx6q-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[ 0.100107] Serial: AMBA PL011 UART driver
[ 0.107119] kprobes: kprobe jump-optimization is enabled. All kprobes are
optimized if possible.
[ 0.112510] mxs-dma 110000.dma-apbh: initialized
[ 0.116404] iommu: Default domain type: Translated
[ 0.116422] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.119564] NetLabel: Initializing
[ 0.119580] NetLabel: domain hash size = 128
[ 0.119591] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.119679] NetLabel: unlabeled traffic allowed by default
[ 0.120002] vgaarb: loaded
[ 0.120432] clocksource: Switched to clocksource mxc_timer1
[ 0.202027] VFS: Disk quotas dquot_6.6.0
[ 0.202264] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.203265] AppArmor: AppArmor Filesystem Enabled
[ 0.215388] NET: Registered PF_INET protocol family
[ 0.215912] IP idents hash table entries: 16384 (order: 5, 131072 bytes,
linear)
[ 0.217871] tcp_listen_portaddr_hash hash table entries: 512 (order: 0,
6144 bytes, linear)
[ 0.218606] TCP established hash table entries: 8192 (order: 3, 32768
bytes, linear)
[ 0.218836] TCP bind hash table entries: 8192 (order: 4, 65536 bytes,
linear)
[ 0.218974] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.219485] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes,
linear)
[ 0.219628] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.219712] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes,
linear)
[ 0.220038] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.220082] NET: Registered PF_XDP protocol family
[ 0.220102] PCI: CLS 0 bytes, default 64
[ 0.220730] armv7-pmu pmu: hw perfevents: no interrupt-affinity property,
guessing.
[ 0.221862] Trying to unpack rootfs image as initramfs...
[ 0.225488] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7
counters available
[ 0.228163] Initialise system trusted keyrings
[ 0.228281] Key type blacklist registered
[ 0.228830] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.237572] zbud: loaded
[ 0.240028] integrity: Platform Keyring initialized
[ 0.240050] Key type asymmetric registered
[ 0.240062] Asymmetric key parser 'x509' registered
[ 2.397596] Freeing initrd memory: 25204K
[ 2.431447] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[ 2.432224] bounce: pool size: 64 pages
[ 2.432657] Block layer SCSI generic (bsg) driver version 0.4 loaded (major
250)
[ 2.432984] io scheduler mq-deadline registered
[ 2.459696] imx-sdma 20ec000.sdma: firmware: direct-loading firmware imx/
sdma/sdma-imx6q.bin
[ 2.460320] imx-sdma 20ec000.sdma: loaded firmware 3.5
[ 2.467800] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[ 2.471295] Serial: AMBA driver
[ 2.472183] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 33, base_baud
= 5000000) is a IMX
[ 3.294972] printk: console [ttymxc0] enabled
[ 3.300766] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 73, base_baud
= 5000000) is a IMX
[ 3.311484] STM32 USART driver initialized
[ 3.318828] mousedev: PS/2 mouse device common for all mice
[ 3.327501] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[ 3.333701] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to
2022-08-13T20:02:59 UTC (1660420979)
[ 3.348541] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.357712] NET: Registered PF_INET6 protocol family
[ 3.391335] Segment Routing with IPv6
[ 3.395161] In-situ OAM (IOAM) with IPv6
[ 3.399274] mip6: Mobile IPv6
[ 3.402334] NET: Registered PF_PACKET protocol family
[ 3.407636] mpls_gso: MPLS GSO support
[ 3.411837] ThumbEE CPU extension supported.
[ 3.416153] Registering SWP/SWPB emulation handler
[ 3.421476] registered taskstats version 1
[ 3.425655] Loading compiled-in X.509 certificates
[ 4.209405] Loaded X.509 cert 'Debian Secure Boot CA:
6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[ 4.218240] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux:
4b6ef5abca669825178e052c84667ccbc0531f8c'
[ 4.231298] zswap: loaded using pool lzo/zbud
[ 4.236797] Key type ._fscrypt registered
[ 4.240848] Key type .fscrypt registered
[ 4.244830] Key type fscrypt-provisioning registered
[ 4.277297] Key type encrypted registered
[ 4.281414] AppArmor: AppArmor sha1 policy hashing enabled
[ 4.287047] ima: No TPM chip found, activating TPM-bypass!
[ 4.292704] ima: Allocated hash algorithm: sha256
[ 4.297484] ima: No architecture policies found
[ 4.302127] evm: Initialising EVM extended attributes:
[ 4.307291] evm: security.selinux
[ 4.310629] evm: security.SMACK64 (disabled)
[ 4.314924] evm: security.SMACK64EXEC (disabled)
[ 4.319560] evm: security.SMACK64TRANSMUTE (disabled)
[ 4.324630] evm: security.SMACK64MMAP (disabled)
[ 4.329265] evm: security.apparmor
[ 4.332683] evm: security.ima
[ 4.335653] evm: security.capability
[ 4.339252] evm: HMAC attrs: 0x1
[ 5.687021] Freeing unused kernel image (initmem) memory: 2048K
[ 5.705370] Checked W+X mappings: passed, no W+X pages found
[ 5.711086] Run /init as init process
Loading, please wait...
Starting version 247.3-7
[ 6.535165] gpio_mxc: module verification failed: signature and/or required
key missing - tainting kernel
[ 6.621019] input: gpio-keys as /devices/platform/gpio-keys/input/input5
[ 6.740048] pps_core: LinuxPPS API ver. 1 registered
[ 6.745100] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
Giometti <giometti@linux.it>
[ 6.758081] sdhci: Secure Digital Host Controller Interface driver
[ 6.764312] sdhci: Copyright(c) Pierre Ossman
[ 6.770640] i2c i2c-1: IMX I2C adapter registered
[ 6.782468] sdhci-pltfm: SDHCI platform and OF driver helper
[ 6.799489] sdhci-esdhc-imx 2190000.mmc: allocated mmc-pwrseq
[ 6.813387] sdhci-esdhc-imx 2194000.mmc: Got CD GPIO
[ 6.824162] usbcore: registered new interface driver usbfs
[ 6.830582] rtc-pcf8523 2-0068: registered as rtc1
[ 6.834823] usbcore: registered new interface driver hub
[ 6.840081] i2c i2c-2: IMX I2C adapter registered
[ 6.840872] usbcore: registered new device driver usb
[ 6.889327] usb_phy_generic usbphynop1: supply vcc not found, using dummy
regulator
[ 6.904777] usb_phy_generic usbphynop1: dummy supplies not allowed for
exclusive requests
[ 6.920739] usb_phy_generic usbphynop2: supply vcc not found, using dummy
regulator
[ 6.929325] mmc1: SDHCI controller on 2194000.mmc [2194000.mmc] using ADMA
[ 6.936750] usb_phy_generic usbphynop2: dummy supplies not allowed for
exclusive requests
[ 6.972521] mmc1: host does not support reading read-only switch, assuming
write-enable
[ 6.985453] mmc1: new high speed SDHC card at address e624
[ 6.992671] mmcblk1: mmc1:e624 SC32G 29.7 GiB
[ 7.006060] mmcblk1: p1 p2 p3 p4 < p5 >
[ 7.132472] mmc0: SDHCI controller on 2190000.mmc [2190000.mmc] using ADMA
[ 7.143162] PTP clock support registered
[ 7.159106] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 7.186286] SCSI subsystem initialized
[ 7.187997] imx_usb 2184000.usb: No over current polarity defined
[ 7.249032] pps pps0: new PPS source ptp0
[ 7.258553] ahci-imx 2200000.sata: fsl,transmit-level-mV value 1104, using
00000044
[ 7.266306] ahci-imx 2200000.sata: fsl,transmit-boost-mdB value 0, using
00000000
[ 7.273854] ahci-imx 2200000.sata: fsl,transmit-atten-16ths value 9, using
00002000
[ 7.281572] ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using
05000000
[ 7.289357] ahci-imx 2200000.sata: supply ahci not found, using dummy
regulator
[ 7.298366] ahci-imx 2200000.sata: supply phy not found, using dummy
regulator
[ 7.305734] ahci-imx 2200000.sata: supply target not found, using dummy
regulator
[ 7.317628] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled
[ 7.324697] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps
0x1 impl platform mode
[ 7.333534] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp
pio slum part ccc apst
[ 7.343442] cma: cma_alloc: reserved: alloc failed, req-size: 23 pages,
ret: -16
[ 7.350924] ahci-imx 2200000.sata: failed to start port 0 (errno=-12)
[ 7.359551] ahci-imx: probe of 2200000.sata failed with error -12
[ 7.364287] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 7.370710] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number
1
[ 7.398706] mmc0: new high speed SDIO card at address 0001
[ 7.404992] mdio_bus 2188000.ethernet-1: MDIO device at address 4 is
missing.
[ 7.413750] fec 2188000.ethernet eth0: registered PHC device 0
[ 7.472649] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 7.478420] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002,
bcdDevice= 5.18
[ 7.486768] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 7.494026] usb usb1: Product: EHCI Host Controller
[ 7.498933] usb usb1: Manufacturer: Linux 5.18.0-0.bpo.1-armmp ehci_hcd
[ 7.505574] usb usb1: SerialNumber: ci_hdrc.0
[ 7.512131] hub 1-0:1.0: USB hub found
[ 7.517128] hub 1-0:1.0: 1 port detected
[ 7.522587] imx_usb 2184200.usb: No over current polarity defined
[ 7.533088] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 7.539149] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number
2
[ 7.628502] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 7.636945] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002,
bcdDevice= 5.18
[ 7.645277] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 7.652534] usb usb2: Product: EHCI Host Controller
[ 7.657437] usb usb2: Manufacturer: Linux 5.18.0-0.bpo.1-armmp ehci_hcd
[ 7.664087] usb usb2: SerialNumber: ci_hdrc.1
[ 7.677741] hub 2-0:1.0: USB hub found
[ 7.682299] hub 2-0:1.0: 1 port detected
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ...
done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk1p3] fsck.ext4 -a -C0 /dev/mmcblk1p3
/dev/mmcblk1p3: clean, 35554/1847776 files, 483335/7380224 blocks
done.
[ 8.494686] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode.
Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[ 8.820258] Not activating Mandatory Access Control as /sbin/tomoyo-init
does not exist.
[ 9.353797] systemd[1]: Inserted module 'autofs4'
[ 9.442936] systemd[1]: systemd 247.3-7 running in system mode. (+PAM
+AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT
+GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2
default-hierarchy=unified)
[ 9.466091] systemd[1]: Detected architecture arm.
Welcome to Debian GNU/Linux 11 (bullseye)!
[ 9.495759] systemd[1]: Set hostname to <kernel-test>.
[ 10.468589] systemd[1]: Queued start job for default target Graphical
Interface.
[ 12.196460] random: crng init done
[ 12.206400] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 12.230574] systemd[1]: Created slice system-modprobe.slice.
[ OK ] Created slice system-modprobe.slice.
[ 12.254592] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 12.278472] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ OK ] Created slice system-systemd\x2dfsck.slice.
[ 12.302112] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 12.325063] systemd[1]: Started Dispatch Password Requests to Console
Directory Watch.
[ OK ] Started Dispatch Password …ts to Console Directory Watch.
[ 12.348969] systemd[1]: Started Forward Password Requests to Wall Directory
Watch.
[ OK ] Started Forward Password R…uests to Wall Directory Watch.
[ 12.373709] systemd[1]: Set up automount Arbitrary Executable File Formats
File System Automount Point.
[ OK ] Set up automount Arbitrary…s File System Automount Point.
[ 12.400940] systemd[1]: Reached target Local Encrypted Volumes.
[ OK ] Reached target Local Encrypted Volumes.
[ 12.424919] systemd[1]: Reached target Paths.
[ OK ] Reached target Paths.
[ 12.440710] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 12.460706] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 12.477778] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 12.497354] systemd[1]: Listening on fsck to fsckd communication Socket.
[ OK ] Listening on fsck to fsckd communication Socket.
[ 12.520994] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ 12.545648] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 12.569409] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 12.593477] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 12.622239] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 12.645352] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 12.665597] systemd[1]: Condition check resulted in Huge Pages File System
being skipped.
[ 12.679334] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 12.709874] systemd[1]: Mounting Kernel Debug File System...
Mounting Kernel Debug File System...
[ 12.735635] systemd[1]: Mounting Kernel Trace File System...
Mounting Kernel Trace File System...
[ 12.763794] systemd[1]: Starting Create list of static device nodes for the
current kernel...
Starting Create list of st…odes for the current kernel...
[ 12.795044] systemd[1]: Starting Load Kernel Module configfs...
Starting Load Kernel Module configfs...
[ 12.819438] systemd[1]: Starting Load Kernel Module drm...
Starting Load Kernel Module drm...
[ 12.846830] systemd[1]: Starting Load Kernel Module fuse...
Starting Load Kernel Module fuse...
[ 12.878247] systemd[1]: Condition check resulted in Set Up Additional
Binary Formats being skipped.
[ 12.888658] systemd[1]: Condition check resulted in File System Check on
Root Device being skipped.
[ 12.913158] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 12.939415] fuse: init (API version 7.36)
[ 12.957617] systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
[ 12.982548] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 13.015145] systemd[1]: Starting Coldplug All udev Devices...
Starting Coldplug All udev Devices...
[ 13.073982] systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Mounted POSIX Message Queue File System.
[ 13.110143] systemd[1]: Mounted Kernel Debug File System.
[ OK ] Mounted 13.117025] EXT4-fs (mmcblk1p3): re-mounted. Quota mode:
none.
;39mKernel Debug File System.
[ 13.136304] systemd[1]: Mounted Kernel Trace File System.
[ OK ] Mounted Kernel Trace File System.
[ 13.160161] systemd[1]: Finished Create list of static device nodes for the
current kernel.
[ OK ] Finished Create list of st… nodes for the current kernel.
[ 13.203190] systemd[1]: modprobe@configfs.service: Succeeded.
[ 13.214868] systemd[1]: Finished Load Kernel Module configfs.
[ OK ] Finished Load Kernel Module configfs.
[ 13.246961] systemd[1]: modprobe@drm.service: Succeeded.
[ 13.258683] systemd[1]: Finished Load Kernel Module drm.
[ OK ] Finished Load Kernel Module drm.
[ 13.289515] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
[ OK ] Finished Load Kernel Module fuse.
[ OK ] Finished Load Kernel Modules.
[ OK ] Finished Remount Root and Kernel File Systems.
Mounting FUSE Control File System...
Mounting Kernel Configuration File System...
Starting Flush Journal to Persistent Storage...
Starting Load/Save Random Seed...
Starting Apply Kernel Variables...
[ 13.499787] systemd-journald[186]: Received client request to flush runtime
journal.
Starting Create System Users...
[ OK ] Mounted FUSE Control File System.
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Finished Apply Kernel Variables.
[ OK ] Finished Load/Save Random Seed.
[ OK ] Finished Create System Users.
Starting Create Static Device Nodes in /dev...
[ OK ] Finished Create Static Device Nodes in /dev.
[ OK ] Reached target Local File Systems (Pre).
Starting Rule-based Manage…for Device Events and Files...
[ OK ] Finished Coldplug All udev Devices.
Starting Helper to synchronize boot up for ifupdown...
[ OK ] Finished Helper to synchronize boot up for ifupdown.
[ OK ] Finished Flush Journal to Persistent Storage.
[ OK ] Started Rule-based Manager for Device Events and Files.
[ 14.952972] imx-ipuv3 2400000.ipu: IPUv3H probed
[ 14.978509] imx-ipuv3 2800000.ipu: IPUv3H probed
[ 15.005844] Registered IR keymap rc-empty
[ 15.034778] mc: Linux media interface: v0.10
[ 15.046219] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[ 15.069743] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0,
raw IR receiver, no transmitter
[ 15.095040] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/
input6
[ 15.186086] dwhdmi-imx 120000.hdmi: Detected HDMI TX controller v1.30a with
HDCP (DWC HDMI 3D TX PHY)
[ 15.250412] etnaviv etnaviv: bound 130000.gpu (ops gpu_ops [etnaviv])
[ 15.257350] videodev: Linux video capture interface: v2.00
[ 15.284574] etnaviv etnaviv: bound 134000.gpu (ops gpu_ops [etnaviv])
[ 15.313193] etnaviv etnaviv: bound 2204000.gpu (ops gpu_ops [etnaviv])
[ 15.319935] etnaviv-gpu 130000.gpu: model: GC2000, revision: 5108
[ 15.385804] imx_media_common: module is from the staging directory, the
quality is unknown, you have been warned.
[ 15.400707] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007
[ 15.410639] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1215
[ 15.416846] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
[ OK ] Found device /dev/ttymxc0.
[ 15.496696] imx6_media: module is from the staging directory, the quality
is unknown, you have been warned.
[ 15.508586] [drm] Initialized etnaviv 1.3.0 20151214 for etnaviv on minor 0
[ 15.534455] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops
imx_drm_exit [imxdrm])
[ 15.561481] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops
imx_drm_exit [imxdrm])
[ 15.618681] imx-drm display-subsystem: bound imx-ipuv3-crtc.6 (ops
imx_drm_exit [imxdrm])
[ 15.628234] imx-drm display-subsystem: bound imx-ipuv3-crtc.7 (ops
imx_drm_exit [imxdrm])
[ 15.628581] coda 2040000.vpu: firmware: direct-loading firmware
vpu_fw_imx6q.bin
[ 15.659050] imx-drm display-subsystem: bound 120000.hdmi (ops
dw_hdmi_imx_ops [dw_hdmi_imx])
[ 15.801235] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem
on minor 1
[ 15.840665] imx-drm display-subsystem: [drm] Cannot find any crtc or sizes
[ 15.872113] coda 2040000.vpu: Firmware code revision: 46072
[ 15.877794] coda 2040000.vpu: Initialized CODA960.
[ 15.882652] coda 2040000.vpu: Firmware version: 3.1.1
[ 15.904933] coda 2040000.vpu: coda-jpeg-encoder registered as video0
[ 15.914236] coda 2040000.vpu: coda-jpeg-decoder registered as video1
[ 15.960552] coda 2040000.vpu: coda-video-encoder registered as video2
[ 15.990285] coda 2040000.vpu: coda-video-decoder registered as video3
[ OK ] Reached target Hardware activated USB gadget.
[ 16.268525] imx_thermal 20c8000.anatop:tempmon: Extended Commercial CPU
temperature grade - max:105C critical:100C passive:95C
[ 16.553473] cfg80211: Loading compiled-in X.509 certificates for regulatory
database
[ 16.606489] cfg80211: Loaded X.509 cert 'benh@debian.org:
577e021cb980e0e820821ba7b54b4961b8b4fadf'
[ 16.640543] cfg80211: Loaded X.509 cert 'romain.perier@gmail.com:
3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[ 16.702473] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 16.762139] platform regulatory.0: firmware: direct-loading firmware
regulatory.db
[ 16.793238] platform regulatory.0: firmware: direct-loading firmware
regulatory.db.p7s
[ 16.844687] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio
for chip BCM4330/4
[ 16.854502] usbcore: registered new interface driver brcmfmac
[ 16.867631] brcmfmac mmc0:0001:1: firmware: failed to load brcm/
brcmfmac4330-sdio.solidrun,cubox-i-q.bin (-2)
[ 16.877644] firmware_class: See https://wiki.debian.org/Firmware for
information about missing firmware
[ 16.887100] brcmfmac mmc0:0001:1: Direct firmware load for brcm/
brcmfmac4330-sdio.solidrun,cubox-i-q.bin failed with error -2
[ 16.920938] brcmfmac mmc0:0001:1: firmware: direct-loading firmware brcm/
brcmfmac4330-sdio.bin
[ 16.921102] brcmfmac mmc0:0001:1: firmware: failed to load brcm/
brcmfmac4330-sdio.solidrun,cubox-i-q.txt (-2)
[ 16.921114] brcmfmac mmc0:0001:1: Direct firmware load for brcm/
brcmfmac4330-sdio.solidrun,cubox-i-q.txt failed with error -2
[ 16.923443] brcmfmac mmc0:0001:1: firmware: direct-loading firmware brcm/
brcmfmac4330-sdio.txt
[ 16.978684] imx6_media_csi: module is from the staging directory, the
quality is unknown, you have been warned.
[ 16.983257] imx6_media_csi: module is from the staging directory, the
quality is unknown, you have been warned.
[ 17.000158] imx-ipuv3-csi imx-ipuv3-csi.0: Registered ipu1_csi0 capture as
/dev/video4
[ 17.004573] imx-ipuv3 2400000.ipu: Registered ipu1_ic_prpenc capture as /
dev/video5
[ 17.005045] imx-ipuv3 2400000.ipu: Registered ipu1_ic_prpvf capture as /
dev/video6
[ 17.005815] imx-ipuv3-csi imx-ipuv3-csi.1: Registered ipu1_csi1 capture as
/dev/video7
[ 17.023577] imx6_media_csi: module is from the staging directory, the
quality is unknown, you have been warned.
[ OK ] Found device [ 17.027945] imx6_media_csi: module is from the
staging directory, the quality is unknown, you have been warned.
/dev/disk/by-…1-87f7-4ebf-9780-55365ae65427.[ 17.118326] imx-ipuv3-csi imx-
ipuv3-csi.4: Registered ipu2_csi0 capture as /dev/video8
[ 17.131273] imx-ipuv3 2800000.ipu: Registered ipu2_ic_prpenc capture as /
dev/video9
[ 17.142469] imx-ipuv3 2800000.ipu: Registered ipu2_ic_prpvf capture as /
dev/video10
[ 17.150960] imx-ipuv3-csi imx-ipuv3-csi.5: Registered ipu2_csi1 capture as
/dev/video11
[ 17.161560] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio
for chip BCM4330/4
[ 17.166066] imx-media: Registered ipu_ic_pp csc/scaler as /dev/video12
[ 17.179997] Registered IR keymap rc-cec
[ 17.182963] brcmfmac mmc0:0001:1: firmware: failed to load brcm/
brcmfmac4330-sdio.clm_blob (-2)
[ 17.187786] rc rc1: dw_hdmi as /devices/platform/soc/120000.hdmi/rc/rc1
[ 17.192670] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available
(err=-2), device may have limited channels available
[ 17.219158] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4330/4 wl0: Oct
25 2011 19:34:12 version 5.90.125.104
[ 17.247246] input: dw_hdmi as /devices/platform/soc/120000.hdmi/rc/rc1/
input7
[ OK ] Found device /dev/disk/by-…9-9146-4b8a-84aa-e11e7a2b0343.
Activating swap /dev/disk/…9146-4b8a-84aa-e11e7a2b0343...
Starting File System Check…87f7-4ebf-9780-55365ae65427...
[ 17.527070] Adding 994300k swap on /dev/mmcblk1p5. Priority:-2 extents:1
across:994300k SSFS
[ OK ] Activated swap /dev/disk/b…9-9146-4b8a-84aa-e11e7a2b0343.
[ OK ] Found device /sys/subsystem/net/devices/eth0.
[ OK ] Reached target Sound Card.
[ OK ] Reached target Swap.
[ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
[ OK ] Started File System Check Daemon to report status.
Starting Load/Save RF Kill Switch Status...
[ OK ] Started Load/Save RF Kill Switch Status.
[ OK ] Finished File System Check…1-87f7-4ebf-9780-55365ae65427.
Mounting /boot...
[ 17.967975] EXT4-fs (mmcblk1p2): mounting ext2 file system using the ext4
subsystem
[ 17.984683] EXT4-fs (mmcblk1p2): mounted filesystem without journal. Quota
mode: none.
[ 17.993191] ext2 filesystem being mounted at /boot supports timestamps until
2038 (0x7fffffff)
[ OK ] Mounted /boot.
[ OK ] Reached target Local File Systems.
Starting Load AppArmor profiles...
Starting Create Volatile Files and Directories...
[ OK ] Finished Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Finished Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Set.
[ OK ] Reached target System Time Synchronized.
[ 18.843914] audit: type=1400 audit(1660420995.004:2): apparmor="STATUS"
operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=300
comm="apparmor_parser"
[ 18.861103] audit: type=1400 audit(1660420995.004:3): apparmor="STATUS"
operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod"
pid=300 comm="apparmor_parser"
[ 19.021562] audit: type=1400 audit(1660420995.184:4): apparmor="STATUS"
operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=299
comm="apparmor_parser"
[ 19.037069] audit: type=1400 audit(1660420995.188:5): apparmor="STATUS"
operation="profile_load" profile="unconfined" name="man_filter" pid=299
comm="apparmor_parser"
[ 19.052076] audit: type=1400 audit(1660420995.192:6): apparmor="STATUS"
operation="profile_load" profile="unconfined" name="man_groff" pid=299
comm="apparmor_parser"
[ 19.236039] audit: type=1400 audit(1660420995.396:7): apparmor="STATUS"
operation="profile_load" profile="unconfined" name="lsb_release" pid=302
comm="apparmor_parser"
[ OK ] Finished Load AppArmor profiles.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[ OK ] Started Discard unused blocks once a week.
[ OK ] Started Daily rotation of log files.
[ OK ] Started Daily man-db regeneration.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started Regular background program processing daemon.
[ OK ] Started D-Bus System Message Bus.
Starting Remove Stale Onli…t4 Metadata Check Snapshots...
[ OK ] Started ifup for eth0.
Starting Raise network interfaces...
Starting System Logging Service...
Starting User Login Management...
[ OK ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[ OK ] Started System Logging Service.
[ OK ] Finished Raise network interfaces.
[ OK ] Started User Login Management.
[ OK ] Reached target Network.
Starting OpenBSD Secure Shell server...
Starting Permit User Sessions...
[ 20.065647] Qualcomm Atheros AR8035 2188000.ethernet-1:00: attached PHY
driver (mii_bus:phy_addr=2188000.ethernet-1:00, irq=POLL)
[ OK ] Finished Permit User Sessions.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttymxc0.
[ OK ] Reached target Login Prompts.
[ OK ] Started OpenBSD Secure Shell server.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Finished Update UTMP about System Runlevel Changes.
Debian GNU/Linux 11 kernel-test ttymxc0
Regards
Rainer
Am Samstag, 13. August 2022, 15:23:52 CEST schrieben Sie:
> Control: tags -1 + moreinfo
>
> On Fri, Jul 29, 2022 at 08:04:56PM +0200, Rainer Dorsch wrote:
> > Package: src:linux
> > Version: 5.10.127-2
> > Severity: normal
> >
> > Dear Maintainer,
> >
> > I just noticed after booting into the kernel 5.10.0-16-armmp #1 SMP Debian
> > 5.10.127-2 (2022-07-23) armv7l GNU/Linux (on a SolidRun Cubox-i with an
> > NXP iMX6) that I get an
> >
> > insecure W+X mapping at address 0xf0879000
> >
> > on a serial console and a backtrace during the boot process:
> >
> > [ 5.377591] Registering SWP/SWPB emulation handler
> > [ 5.382640] registered taskstats version 1
> > [ 5.386784] Loading compiled-in X.509 certificates
> > [ 5.787454] Loaded X.509 cert 'Debian Secure Boot CA:
> > 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
> > [ 5.796311] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux:
> > 4b6ef5abca669825178e052c84667ccbc0531f8c'
> > [ 5.806849] zswap: loaded using pool lzo/zbud
> > [ 5.812253] Key type ._fscrypt registered
> > [ 5.816352] Key type .fscrypt registered
> > [ 5.820314] Key type fscrypt-provisioning registered
> > [ 5.825722] AppArmor: AppArmor sha1 policy hashing enabled
> > [ 5.865627] vcc_3v3: supplied by v_5v0
> > [ 5.895845] Freeing unused kernel memory: 2048K
> > [ 5.913843] ------------[ cut here ]------------
> > [ 5.918527] WARNING: CPU: 0 PID: 1 at arch/arm/mm/dump.c:248
> > note_page+0x3d0/0x3dc
> > [ 5.926143] arm/mm: Found insecure W+X mapping at address 0xf0879000
> > [ 5.932529] Modules linked in:
> > [ 5.935629] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.0-16-armmp
> > #1
> > Debian 5.10.127-2
> > [ 5.943912] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> > [ 5.950457] Backtrace:
> > [ 5.952938] [<c0cf9890>] (dump_backtrace) from [<c0cf9c3c>]
> > (show_stack+0x20/0x24)
> > [ 5.960532] r7:000000f8 r6:60000013 r5:00000000 r4:c14cdda8
> > [ 5.966215] [<c0cf9c1c>] (show_stack) from [<c0cfeec4>]
> > (dump_stack+0xc8/0xdc)
> > [ 5.973469] [<c0cfedfc>] (dump_stack) from [<c034ddb0>]
> > (__warn+0xfc/0x158) [ 5.980449] r7:000000f8 r6:00000009 r5:c031fa38
> > r4:c0fbe5c8
> > [ 5.986130] [<c034dcb4>] (__warn) from [<c0cfaa18>]
> > (warn_slowpath_fmt+0xa4/0xe4)
> > [ 5.993633] r7:c031fa38 r6:000000f8 r5:c0fbe5c8 r4:c0fbe594
> > [ 5.999311] [<c0cfa978>] (warn_slowpath_fmt) from [<c031fa38>]
> > (note_page+0x3d0/0x3dc)
> > [ 6.007251] r8:00000000 r7:00000000 r6:00000005 r5:c140c4e0
> > r4:c197ff28
> > [ 6.013971] [<c031f668>] (note_page) from [<c031fb2c>]
> > (walk_pmd+0xe8/0x1a4)
> > [ 6.021042] r10:c197ff28 r9:c0207c20 r8:c1900800 r7:00000000
> > r6:c0fbe610 r5:f087b000
> > [ 6.028888] r4:c19001ec
> > [ 6.031437] [<c031fa44>] (walk_pmd) from [<c031fd2c>]
> > (ptdump_check_wx+0x88/0x104)
> > [ 6.039030] r10:00000000 r9:00000000 r8:00000000 r7:00000000
> > r6:c0208000 r5:f0800000
> > [ 6.046878] r4:c0207c28
> > [ 6.049435] [<c031fca4>] (ptdump_check_wx) from [<c0319c14>]
> > (mark_rodata_ro+0x3c/0x40)
> > [ 6.057459] r6:00000000 r5:c0d092cc r4:00000000
> > [ 6.062103] [<c0319bd8>] (mark_rodata_ro) from [<c0d09310>]
> > (kernel_init+0x44/0x130)
> > [ 6.069873] [<c0d092cc>] (kernel_init) from [<c03001a8>]
> > (ret_from_fork+0x14/0x2c)
> > [ 6.077459] Exception stack(0xc197ffb0 to 0xc197fff8)
> > [ 6.082528] ffa0: 00000000 00000000
> > 00000000 00000000
> > [ 6.090726] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000
> > 00000000 00000000
> > [ 6.098924] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
> > [ 6.105553] r5:c0d092cc r4:00000000
> > [ 6.109187] ---[ end trace 36d095f56a800b3c ]---
> > [ 6.114076] Checked W+X mappings: FAILED, 1 W+X pages found
> > [ 6.119751] Run /init as init process
> > [ 6.847313] gpio_mxc: module verification failed: signature and/or
> > required key missing - tainting kernel
> > [ 6.859257] vdd1p1: supplied by regulator-dummy
> > [ 6.871900] v_usb2: supplied by v_5v0
> > [ 6.876972] vdd3p0: supplied by regulator-dummy
> > [ 6.882630] vdd2p5: supplied by regulator-dummy
> > [ 6.887949] vddarm: supplied by regulator-dummy
> > [ 6.893661] vddpu: supplied by regulator-dummy
> > [ 6.898847] vddsoc: supplied by regulator-dummy
> >
> > I do not observe any functional issue so far though.
> >
> > Since I have not checked the output of the serial console for a while, I
> > cannot tell when the issue started to appear.
> >
> > There is a similar report for the same hardware platform, but is reported
> > on a 5.13 kernel:
> > https://lore.kernel.org/all/YUn2qpc5iBAIvCsd@shell.armlinux.org.uk/T/
> >
> > I am not sure if it was already present in 5.10, if it got backported or
> > if it is entirely unrelated.
> >
> > Many thanks for the great support of many hardware platforms
>
> Would it be possible that you try to cherry-pick upstream 4aede550f104
> ("ARM: imx6: mark OCRAM mapping read-only") to see if it solves the
> issue?
>
> Can you alternatively test the package from bullseye-backports which
> would have the fix included and see if the issue goes away?
>
> Regards,
> Salvatore
--
Rainer Dorsch
http://bokomoko.de/
Reply to: