RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2154904 - Better debugging for DUD
Summary: Better debugging for DUD
Keywords:
Status: CLOSED ERRATA
Alias: None
Deadline: 2023-05-16
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: anaconda
Version: 8.8
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Jiri Konecny
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-19 14:56 UTC by Jiri Konecny
Modified: 2023-11-14 16:47 UTC (History)
3 users (show)

Fixed In Version: anaconda-33.16.9.2-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2154906 (view as bug list)
Environment:
Last Closed: 2023-11-14 15:32:04 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-142896 0 None None None 2022-12-19 14:57:55 UTC
Red Hat Issue Tracker RTT-5259 0 None None None 2023-05-02 10:44:24 UTC
Red Hat Issue Tracker RTT-5260 0 None None None 2023-05-02 10:44:29 UTC
Red Hat Product Errata RHBA-2023:6957 0 None None None 2023-11-14 15:32:22 UTC

Description Jiri Konecny 2022-12-19 14:56:19 UTC
Description of problem:
Currently the DUD logging is not enough to track what is happening but mainly it also log debug outputs only to journal which is not helpful much in case of freezes during boot.

Let's backport improvement in Dracut DUD code debugging to RHEL.

Upstream PR: https://github.com/rhinstaller/anaconda/pull/4149

Comment 2 Jiri Konecny 2023-05-09 14:49:32 UTC
PR: https://github.com/rhinstaller/anaconda/pull/4723

Comment 3 Jan Stodola 2023-05-18 11:48:29 UTC
There is an unexpected message printed on the console: "leaving the driver_updates script" - should be printed only when debugging is enabled.

...
[  OK  ] Reached target Basic System.
[   12.399682] dracut-initqueue[1269]: Examining /dev/sr1
[   12.451040] dracut-initqueue[1270]: mount: /media/DD-1: WARNING: device write-protected, mounted read-only.
[   12.479187] dracut-initqueue[1269]: Extracting: kmod-redhat-e1000e
[   12.517860] dracut-initqueue[1269]: Extracting: kmod-redhat-e1000
[   15.157110] dracut-initqueue[1269]: leaving the driver_updates script
[   15.203380] dracut-initqueue[1306]: Examining /dev/sr1
[   15.253763] dracut-initqueue[1307]: mount: /media/DD-2: WARNING: device write-protected, mounted read-only.
[   15.263977] dracut-initqueue[1306]: Extracting: kmod-redhat-e1000e
[   15.282272] dracut-initqueue[1306]: Extracting: kmod-redhat-e1000
[   16.983157] dracut-initqueue[1306]: leaving the driver_updates script
[   17.029734] dracut-initqueue[1353]: Warning: Can't get kickstart from /dev/sr1:/ks.cfg
[   17.067435] dracut-initqueue[1381]: Warning: Can't get kickstart from /dev/sr1:/ks.cfg
[  OK  ] Started dracut initqueue hook.
...

Moving back to ASSIGNED.

(I'm not sure why the DUD was examined twice, but this issue has been reported as a separate bug 2208252)

Comment 10 Jiri Konecny 2023-05-19 10:19:13 UTC
Fix PR: https://github.com/rhinstaller/anaconda/pull/4775

Comment 11 Jan Stodola 2023-06-14 08:54:41 UTC
Console messages look OK now, tested with anaconda-33.16.9.2-1.el8:

[  OK  ] Reached target Basic System.
[   12.939495] dracut-initqueue[1270]: Examining /dev/sr1
[   12.994434] dracut-initqueue[1271]: mount: /media/DD-1: WARNING: device write-protected, mounted read-only.
[   13.025350] dracut-initqueue[1270]: Extracting: kmod-redhat-e1000e
[   13.065644] dracut-initqueue[1270]: Extracting: kmod-redhat-e1000
[   16.370669] dracut-initqueue[1307]: Examining /dev/sr1
[   16.421544] dracut-initqueue[1308]: mount: /media/DD-2: WARNING: device write-protected, mounted read-only.
[   16.431028] dracut-initqueue[1307]: Extracting: kmod-redhat-e1000e
[   16.449056] dracut-initqueue[1307]: Extracting: kmod-redhat-e1000
[   18.336044] dracut-initqueue[1354]: Warning: Can't get kickstart from /dev/sr1:/ks.cfg
[   18.371687] dracut-initqueue[1382]: Warning: Can't get kickstart from /dev/sr1:/ks.cfg
[  OK  ] Started dracut initqueue hook.

Marking as Verified:Tested.

Comment 14 Jan Stodola 2023-06-19 12:41:49 UTC
Checked that anaconda-33.16.9.2-1.el8 is in nightly compose RHEL-8.9.0-20230618.15

Moving to VERIFIED

Comment 16 errata-xmlrpc 2023-11-14 15:32:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (anaconda bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6957


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