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 678315

Summary: btrfs -- VFS: Cannot open root device
Product: Red Hat Enterprise Linux 6 Reporter: Lubos Kocman <lkocman>
Component: dracutAssignee: Harald Hoyer <harald>
Status: CLOSED NOTABUG QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: esandeen, pknirsch, rwheeler
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-10 11:22:56 UTC Type: ---
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
Traceback none

Description Lubos Kocman 2011-02-17 14:56:38 UTC
Created attachment 479345 [details]
Traceback

Description of problem:

I just updated my kernel to kernel-2.6.32-114.0.1.el6.x86_64 and I'm not able to boot with btrfs root.

2.6.32-71.el6.x86_64 works fine for me


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

kernel-2.6.32-114.0.1.el6.x86_64


How reproducible:


Steps to Reproduce:
1. install kernel-2.6.32-114.0.1.el6.x86_64 on machine with btrfs root
2. reboot
  
Actual results:

See screenshot

Expected results:


Additional info:


bash-4.1$ sudo btrfs filesystem show
failed to read /dev/sr0
Label: none  uuid: 3ac0e1f4-4e3c-414d-bced-c14372590725
	Total devices 1 FS bytes used 4.27GB
	devid    1 size 9.77GB used 6.64GB path /dev/dm-0

Label: none  uuid: 0ab8b872-a236-4d28-82cf-bb6c8e6b6797
	Total devices 1 FS bytes used 393.61MB
	devid    1 size 11.72GB used 3.04GB path /dev/dm-2

Btrfs Btrfs v0.19
bash-4.1$ sudo lvscan 
  ACTIVE            '/dev/rootvg/shared_home' [11.72 GiB] inherit
  ACTIVE            '/dev/rootvg/rhel6x64_root' [9.77 GiB] inherit
  ACTIVE            '/dev/rootvg/swap' [2.00 GiB] inherit
bash-4.1$

Comment 1 Eric Sandeen 2011-02-17 15:22:09 UTC
Have tools such as dracut changed as well since the working kernel was installed?

It would be interesting to grab, say, 2.6.32-72.el6.x86_64 internally, install it (with --oldpackage) and see if you have the same problem.  If so, it's possibly a dracut/mkinitramfs/support tool type change that is causing this...

Comment 2 Lubos Kocman 2011-02-18 10:20:04 UTC
Updated: dracut-004-39.el6.noarch
Updated: dracut-kernel-004-39.el6.noarch

Comment 3 Lubos Kocman 2011-02-18 12:17:03 UTC
Issue does not happen with kernel-2.6.32-117.el6.x86_64

Comment 4 Lubos Kocman 2011-03-03 09:23:12 UTC
Does not happen any more with newer kernels. CURRENTRELEASE?

Comment 5 Lubos Kocman 2011-03-07 12:15:41 UTC
Occured again with kernel-2.6.32-119.el6.x86_64

Comment 6 Lubos Kocman 2011-03-10 21:33:37 UTC
kernel-2.6.32-119.el6.x86_64
dracut-kernel-004-43.el6.noarch
dracut-004-43.el6.noarch


kernel-2.6.32-118.el6.x86_64 works fine. 
Do you have any idea what might be wrong?

Comment 7 Lubos Kocman 2011-03-10 21:35:34 UTC
This is weird:


title Red Hat Enterprise Linux Client (2.6.32-119.el6.x86_64)
	root (hd0,1)
	kernel /vmlinuz-2.6.32-119.el6.x86_64 ro root=/dev/mapper/rootvg-rhel6x64_root rd_LVM_LV=rootvg/rhel6x64_root rd_LVM_LV=rootvg/swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet

title Red Hat Enterprise Linux Client (2.6.32-118.el6.x86_64)
	root (hd0,1)
	kernel /vmlinuz-2.6.32-118.el6.x86_64 ro root=/dev/mapper/rootvg-rhel6x64_root rd_LVM_LV=rootvg/rhel6x64_root rd_LVM_LV=rootvg/swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet
	initrd /initramfs-2.6.32-118.el6.x86_64.img



bash-4.1$ ls /boot/ | grep 119
config-2.6.32-119.el6.x86_64
symvers-2.6.32-119.el6.x86_64.gz
System.map-2.6.32-119.el6.x86_64
vmlinuz-2.6.32-119.el6.x86_64

Initramfs is completely missing

Comment 8 Ric Wheeler 2011-03-22 11:33:30 UTC
We will certainly have a look, but btrfs is a tech preview item so I do not think that this failure will be a blocker.

We will investigate before changing any flags.

Thanks!

Comment 9 Ric Wheeler 2011-04-06 18:32:21 UTC
Josef, can you weigh in here - is this really worth pulling into 6.1? Can it wait for 6.2?

Comment 10 Josef Bacik 2011-04-06 18:44:33 UTC
It doesn't look like a btrfs specific issue to me, it just looks like the initramfs isn't getting created properly, so its either a dracut problem or a problem with the kernel's install post script.

Comment 11 Ric Wheeler 2011-04-06 18:51:25 UTC
Sounds like we need analysis from the dracut side?

Comment 12 Harald Hoyer 2011-04-08 08:10:39 UTC
I need the output of:
# lsinitrd /boot/initramfs-....img

of both images

Then you can add "rdinitdebug rdbreak rdshell" and remove "quiet" and can inspect /init.log.

Maybe mount /boot by hand and copy over /init.log.

Maybe also the output of "dmesg".

Comment 13 Harald Hoyer 2011-04-08 08:11:02 UTC
(In reply to comment #12)
> I need the output of:
> # lsinitrd /boot/initramfs-....img
> 
> of both images
> 
> Then you can add "rdinitdebug rdbreak rdshell" and remove "quiet" and can
> inspect /init.log.

to the kernel command line of the failing kernel...

> 
> Maybe mount /boot by hand and copy over /init.log.
> 
> Maybe also the output of "dmesg".

Comment 15 Phil Knirsch 2011-04-21 13:37:48 UTC
Hi Josef.

Time is running out for RHEL-6.1, so if you could please add the requested information that Harald asked in comment #12 and comment #13 we'd greatly appreciate it.

Thanks & regards, Phil

Comment 16 Eric Sandeen 2011-04-21 14:39:50 UTC
I think that ideally Lubos should respond to these questions, as he was the one with the original problem?  Unless Josef can reproduce...

Comment 21 Lubos Kocman 2011-05-10 11:22:56 UTC
Issue does not occur any more to me. Closing as not a bug.