Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2152619

Summary: mount command fails with 0 in SUPERBLK column and last output line shows '0 mount: invalid kernel virtual address: 0 type: "super_block buffer"'
Product: Red Hat Enterprise Linux 8 Reporter: Dave Wysochanski <dwysocha>
Component: crashAssignee: lijiang
Status: CLOSED ERRATA QA Contact: xiaoying yan <yiyan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.6CC: jieli, ruyang, xiawu
Target Milestone: rcKeywords: Patch, Triaged
Target Release: 8.9Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: crash-7.3.2-6.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2177109 (view as bug list) Environment:
Last Closed: 2023-11-14 15:31:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2177109    

Description Dave Wysochanski 2022-12-12 14:06:10 UTC
Description of problem:
This problem seems to have popped up in more recent kernels, and I don't think it's due to damaged vmcore.

The mount command output looks like this on some vmcores now:
crash> mount
     MOUNT           SUPERBLK     TYPE   DEVNAME   DIRNAME
ffff9d0c067e0f00 ffff9d0c00014800 rootfs none      /         
...
ffff9d10258e5a20                0 mount: invalid kernel virtual address: 0  type: "super_block buffer"



Version-Release number of selected component (if applicable):
crash-7.3.1-5.el8.x86_64
upstream crash (latest 8.x) also seems affected

How reproducible:
Easy

Steps to Reproduce:
1. Run crash against an affected vmcore
2. Use 'mount' command

Actual results:
the last line of 'mount' command output looks like this:
ffff9d10258e5a20                0 mount: invalid kernel virtual address: 0  type: "super_block buffer"


Expected results:
the last line should contain valid data


Additional info:
There's multiple instances of this problem on our production system and I'll put into the private comments or you can just search on our system for it in the 'results' directory of all vmcores on production vmcore system.  This first showed up through pykdump command which uses 'mount' command and then parses output for some commands.  However just running the command directly from crash gives the same output so this is definitely an issue with crash, not pykdump.

I only briefly started investigating this.  I think we'll need an upstream patch and then a clone for RHEL9 of this bug, assuming I didn't miss anything like some damage to vmcore(s) that are affected.  This doesn't happen on a lot of vmcores but if it's starting to affect later vmcores then we may see more of it.  Given the likely higher use of 'mount' command I'm marking as 'medium' severity for now.

Comment 3 Dave Wysochanski 2022-12-12 14:18:41 UTC
Kernels affected so far

$ for f in $(grep -l "0 mount: invalid kernel virtual address: 0" /cores/retrace/tasks/*/results/nfs*); do D=$(dirname $f); grep RELEASE $D/sys; done | sort | uniq
grep: /cores/retrace/tasks/972810818/results/nfs_debug: Is a directory
     RELEASE: 4.18.0-305.3.1.el8_4.x86_64
     RELEASE: 4.18.0-372.26.1.el8_6.x86_64
     RELEASE: 4.18.0-372.32.1.el8_6.x86_64
     RELEASE: 4.18.0-372.9.1.el8.x86_64

Comment 17 errata-xmlrpc 2023-11-14 15:31:46 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 (crash 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:6947