Corrupting rootfs after LTP Tests in i.MX6 board.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Corrupting rootfs after LTP Tests in i.MX6 board.

835 Views
Niting
Contributor I

Dear Community,

 

I have build the Yocto and I am running LTP(Linux Test Project) test on the i.MX6 evaluation board. After executing all the test cases when I try to reboot the board rootfs is corrupting. The board is not booting. Why this is happening this is because of some LTP tests or any other problem.

I have attached the logs below:

....................

LTP Version: 20230127

###############################################################

Done executing testcases.
LTP Version: 20230127
###############################################################

root@getinge-connect-002475:/opt/ltp# 6cusb▒
U-Boot SPL 2018.07+fslc+g1e13b91 (Nov 16 2021 - 03:00:02 +0000)
Trying to boot from MMC1
hab fuse not enabled


U-Boot 2018.07+fslc+g1e13b91 (Nov 16 2021 - 03:00:02 +0000)

CPU: Freescale i.MX6UL rev1.2 528 MHz (running at 396 MHz)
CPU: Commercial temperature grade (0C to 95C) at 42C
Reset cause: POR
Board: PC2082
I2C: ready
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
Video: 480x272x24
In: serial
Out: serial
Err: serial
Saving Environment to MMC... Writing to MMC(1)... OK
Net: , FEC1
Error: FEC1 address ff:ff:ff:ff:ff:ff illegal value

6570600 bytes read in 377 ms (16.6 MiB/s)
error: secure boot disabled
31056 bytes read in 51 ms (593.8 KiB/s)
error: secure boot disabled
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Loading Device Tree to 9ef68000, end 9ef7294f ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 5.15.87-5.15.87-2.2.0+g115afe3d373e (oe-user@oe-host) (arm-poky-li nux-gnueabi-gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.40.20230119) #1 PREEMPT Mo n Feb 13 17:52:49 UTC 2023
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
CPU: div instructions available: patching division code
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: Getinge - PC2082 Board
Memory policy: Data cache writeback
Reserved memory: created CMA memory pool at 0x8a000000, size 320 MiB
OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Zone ranges:
Normal [mem 0x0000000080000000-0x000000009fffffff]
HighMem empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000080000000-0x000000009fffffff]
Initmem setup node 0 [mem 0x0000000080000000-0x000000009fffffff]
CPU: All CPU(s) started in SVC mode.
Built 1 zonelists, mobility grouping on. Total pages: 130048
Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk1p3 rootwait ro host name=getinge-connect-002475
Unknown kernel command line parameters "hostname=getinge-connect-002475", will b e passed to user space.
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 176172K/524288K available (9216K kernel code, 1430K rwdata, 2896K rodata , 1024K init, 381K bss, 20436K reserved, 327680K cma-reserved, 0K highmem)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
ftrace: allocating 29125 entries in 57 pages
ftrace: allocated 57 pages with 4 groups
trace event string verifier disabled
rcu: Preemptible hierarchical RCU implementation.
Trampoline variant of Tasks RCU enabled.
Rude variant of Tasks RCU enabled.
Tracing variant of Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
Switching to timer-based delay loop, resolution 41ns
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7 9635851949 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x80100000 - 0x80100060
rcu: Hierarchical SRCU implementation.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911 2604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes, linear)
pinctrl core: initialized pinctrl subsystem
NET: Registered PF_NETLINK/PF_ROUTE protocol family
DMA: preallocated 256 KiB pool for atomic coherent allocations
thermal_sys: Registered thermal governor 'step_wise'
cpuidle: using governor menu
CPU identified as i.MX6UL, silicon rev 1.2
vdd3p0: supplied by regulator-dummy
cpu: supplied by regulator-dummy
vddsoc: supplied by regulator-dummy
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
imx6ul-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
imx mu driver is registered.
imx rpmsg driver is registered.
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c i2c-0: IMX I2C adapter registered
i2c i2c-1: IMX I2C adapter registered
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@l inux.it>
PTP clock support registered
clocksource: Switched to clocksource mxc_timer1
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NET: Registered PF_INET protocol family
IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
TCP: Hash tables configured (established 4096 bind 4096)
UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
NET: Registered PF_UNIX/PF_LOCAL protocol family
hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
Bus freq driver module loaded
Initialise system trusted keyrings
workingset: timestamp_bits=30 max_order=17 bucket_order=0
Key type asymmetric registered
Asymmetric key parser 'x509' registered
io scheduler mq-deadline registered
io scheduler kyber registered
imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed w ith error -2
imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.b in
mxs-dma 1804000.dma-apbh: initialized
2018000.serial: ttymxc6 at MMIO 0x2018000 (irq = 20, base_baud = 5000000) is a I MX
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 21, base_baud = 5000000) is a I MX
printk: console [ttymxc0] enabled
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 56, base_baud = 5000000) is a I MX
21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 57, base_baud = 5000000) is a I MX
21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 58, base_baud = 5000000) is a I MX
imx sema4 driver is registered.
brd: module loaded
loop: module loaded
at24 1-0050: supply vcc not found, using dummy regulator
at24 1-0050: 2048 byte 24c16 EEPROM, writable, 16 bytes/write
pps pps0: new PPS source ptp0
fec 20b4000.ethernet: Invalid MAC address: 00:00:00:00:00:00
fec 20b4000.ethernet: Using random MAC address: ca:4b:07:7d:a6:21
fec 20b4000.ethernet eth0: registered PHC device 0
pps pps1: new PPS source ptp1
fec 2188000.ethernet eth1: registered PHC device 1
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered PF_PPPOX protocol family
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver cdc_wdm
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usb_ehset_test
mousedev: PS/2 mouse device common for all mice
SPI driver ads7846 has no spi_device_id for ti,tsc2046
SPI driver ads7846 has no spi_device_id for ti,ads7843
SPI driver ads7846 has no spi_device_id for ti,ads7845
SPI driver ads7846 has no spi_device_id for ti,ads7873
rtc-ds1307 0-006f: registered as rtc0
rtc-ds1307 0-006f: setting system clock to 2024-09-25T04:40:21 UTC (1727239221)
snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc1
i2c_dev: i2c /dev entries driver
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-esdhc-imx 2190000.mmc: Got CD GPIO
caam 2140000.crypto: Entropy delay = 3200
caam 2140000.crypto: Instantiated RNG4 SH0
caam 2140000.crypto: Instantiated RNG4 SH1
caam 2140000.crypto: device ID = 0x0a16030000000000 (Era
mmc1: SDHCI controller on 2194000.mmc [2194000.mmc] using ADMA
caam 2140000.crypto: job rings = 3, qi = 0
mmc0: SDHCI controller on 2190000.mmc [2190000.mmc] using ADMA
caam algorithms registered in /proc/crypto
caam 2140000.crypto: caam pkc algorithms registered in /proc/crypto
caam 2140000.crypto: rng crypto API alg registered prng-caam
caam 2140000.crypto: registering rng-caam
mmc1: mmc_select_hs200 failed, error -74
NET: Registered PF_LLC protocol family
Mirror/redirect action on
netem: version 1.3
mmc1: new MMC card at address 0001
u32 classifier
input device check on
Actions configured
random: crng init done
mmcblk1: mmc1:0001 IS008G 3.64 GiB
NET: Registered PF_PACKET protocol family
mmcblk1: p1 p2 p3
8021q: 802.1Q VLAN Support v1.8
mmcblk1boot0: mmc1:0001 IS008G 4.00 MiB
Key type dns_resolver registered
mmcblk1boot1: mmc1:0001 IS008G 4.00 MiB
mmcblk1rpmb: mmc1:0001 IS008G 4.00 MiB, chardev (247:0)
Registering SWP/SWPB emulation handler
Loading compiled-in X.509 certificates
ci_hdrc ci_hdrc.0: EHCI Host Controller
ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
imx_thermal 20c8000.anatop:tempmon: Commercial CPU temperature grade - max:95C c ritical:90C passive:85C
EXT4-fs (mmcblk1p3): INFO: recovery required on readonly filesystem
EXT4-fs (mmcblk1p3): write access will be enabled during recovery
usb 1-1: new high-speed USB device number 2 using ci_hdrc
usb 2-1: new high-speed USB device number 2 using ci_hdrc
usb-storage 1-1:1.0: USB Mass Storage device detected
scsi host0: usb-storage 1-1:1.0
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 1 port detected
EXT4-fs (mmcblk1p3): recovery complete
EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null). Qu ota mode: none.
VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
devtmpfs: mounted
Freeing unused kernel image (initmem) memory: 1024K
Run /sbin/init as init process
systemd[1]: Failed to determine whether /proc is a mount point: Value too large for defined data type
systemd[1]: Failed to determine whether /sys is a mount point: Value too large f or defined data type
systemd[1]: Failed to determine whether /dev is a mount point: Value too large f or defined data type
[!!!!!!] Failed to msystemd[1]: Freezing execution.
ount early API filesystems.
scsi 0:0:0:0: Direct-Access SanDisk Ultra 1.00 PQ: 0 ANSI: 6
sd 0:0:0:0: [sda] 120127488 512-byte logical blocks: (61.5 GB/57.3 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DP O or FUA
sda:
sd 0:0:0:0: [sda] Attached SCSI removable disk
VSD_3V3: disabling
gpio_dvfs: disabling
imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed w ith error -2
imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.b in
imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware
usb 1-▒

 

Thank you in advance.

 

0 Kudos
Reply
1 Reply

807 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Something in the kernel is not passing you should download and test the latest kernel form NXP website:

https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for...

 

Besides LTP is not tested it should works.

Regards

0 Kudos
Reply