Bug 920537

Summary: Kernel panic when using 6.3 created file btrfs systemfs
Product: Red Hat Enterprise Linux 6 Reporter: Pierguido Lambri <plambri>
Component: kernelAssignee: Eric Sandeen <esandeen>
Status: CLOSED DUPLICATE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: esandeen, fs-maint, jkoten, lindahl, peljasz, vincent
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-15 00:12:14 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:
Attachments:
Description Flags
kernel panics none

Description Pierguido Lambri 2013-03-12 10:28:49 UTC
Description of problem:
Got a kernel panic when trying to use a btrfs file system created on RHEL6.3.
This does not happen if the file system is created with the 6.4 tools.

Version-Release number of selected component (if applicable):

btrfs-progs-0.20-0.2.git91d9eec.el6.x86_64                  Fri Feb 22 14:02:04 2013
kernel-2.6.32-358.el6.x86_64                                Fri Feb 22 13:57:36 2013


How reproducible:


Steps to Reproduce:
1. Create a file system on RHEL 6.3
2. Update the system to 6.4
3. Try to mount the file system on 6.4
  
Actual results:
Kernel panic

Expected results:
It shouldn't panic

Additional info:

Comment 4 RHEL Program Management 2013-10-13 23:49:54 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 6 lejeczek 2013-12-06 11:59:31 UTC
I wonder if my problem is the same, is similar for sure
I'm having a btrfs volume that if exist in fstab kernel panics at boot time (snap attached) but will mount just fine afterwards when system has booted up

Comment 7 lejeczek 2013-12-06 12:02:22 UTC
Created attachment 833597 [details]
kernel panics

Comment 8 lejeczek 2014-01-07 16:07:16 UTC
it seems that kernel panics are caused by erroneous btrfs filesystem (btrfsck it), at least in my case,

I wonder if all this was caused by missing !!!! /dev/btrfs-control.

should it not be in initrams (dracut modules)
probably should be a separate bug in RHEL 6.4

Comment 9 Eric Sandeen 2014-07-15 00:12:14 UTC
This should actually be fixed by:

4e0879b [fs] btrfs: don't oops on mount failure due to unsupported features

which fixed:

    889471 - [Btrfs] BUG: unable to handle kernel NULL pointer dereference at (null) btrfs_get_sb should return error when open_ctree f

and it's a kernel bug, so tweaking all those fields...

*** This bug has been marked as a duplicate of bug 889471 ***