Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1949817 - NXP i.MX8MM reset by watchdog because wdt isn't in the initrd and loads too late
Summary: NXP i.MX8MM reset by watchdog because wdt isn't in the initrd and loads too late
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: IoT
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Robinson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: IoT
TreeView+ depends on / blocked
 
Reported: 2021-04-15 07:48 UTC by Peng Fan
Modified: 2021-04-26 00:26 UTC (History)
20 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-26 00:26:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peng Fan 2021-04-15 07:48:55 UTC
1. Please describe the problem:
When installing Fedora Fedora-IoT-IoT-ostree-aarch64-33-20210214 on i.MX8MM-EVK, kernel reboot, log as below:
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Created slice system-lvm2\x2dpvscan.slice.
         Starting LVM event activation on device 179:3...
[  OK  ] Found device /dev/zram0.
         Starting Create swap on /dev/zram0...
[  OK  ] Finished Create swap on /dev/zram0.
         Activating swap Compressed swap on /dev/zram0...
[  OK  ] Activated swap Compressed swap on /dev/zram0.
[  OK  ] Reached target Swap.
         Mounting Temporary Directory (/tmp)...
[  OK  ] Mounted Temporary Directory (/tmp).
[  OK  ] Finished LVM event activation on device 179:3.
[  OK  ] Finished Wait for udev To Complete Device Initialization.
         Starting Activation of DM RAID sets...

U-Boot SPL 2021.04-rc3-11707-ga1a321567a (Mar 16 2021 - 14:18:51 +0800) Normal Boot
WDT:   Started with servicing (60s timeout)
Trying to boot from MMC2
NOTICE:  BL31: v2.2(release):imx_5.4.70_er4-1-gfd86e9176
NOTICE:  BL31: Built : 08:55:58, Feb  3 2021


U-Boot 2021.04-rc3-11707-ga1a321567a (Mar 16 2021 - 14:18:51 +0800)

CPU:   Freescale i.MX8MMQ rev1.0 at 1200 MHz
Reset cause: POR
Model: FSL i.MX8MM EVK board
DRAM:  2 GiB
TCPC:  Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x52] Power supply on USB2
TCPC:  Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x50]
WDT:   Started with servicing (60s timeout)
MMC:   FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@30be0000
Hit any key to stop autoboot:  0
u-boot=>

It is because imx_wdt2 not working, please build in or load imx_wdt2 module earlier.

Comment 1 Peter Robinson 2021-04-15 14:33:02 UTC
This isn't a kernel problem, it's because the module isn't in the initrd. Tracking this in the Fedora IoT kanban board here: https://teams.fedoraproject.org/project/fedora-iot/us/98

Comment 2 Peter Robinson 2021-04-21 12:00:42 UTC
Upstream pull request for dracut: https://github.com/dracutdevs/dracut/pull/1377
Commit for Fedora IoT: https://pagure.io/fedora-iot/ostree/c/fb64a374e895e5b76e2d2337bffc046bb3bd2731?branch=main

Comment 3 Fedora Update System 2021-04-23 09:14:33 UTC
FEDORA-2021-9dd2ebc2a8 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-9dd2ebc2a8

Comment 4 Fedora Update System 2021-04-23 19:50:01 UTC
FEDORA-2021-9dd2ebc2a8 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-9dd2ebc2a8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-9dd2ebc2a8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-04-23 21:30:11 UTC
FEDORA-2021-9dd2ebc2a8 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-9dd2ebc2a8

Comment 6 Fedora Update System 2021-04-24 19:53:30 UTC
FEDORA-2021-9dd2ebc2a8 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-9dd2ebc2a8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-9dd2ebc2a8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-04-26 00:26:48 UTC
FEDORA-2021-9dd2ebc2a8 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.