Bug 229161

Summary: dmraid stopped from working after changing kernel to kernel-xen
Product: [Fedora] Fedora Reporter: Jarkko <jval>
Component: kernel-xenAssignee: Xen Maintainance List <xen-maint>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: bstein, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-25 11:11:23 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:

Description Jarkko 2007-02-19 01:42:55 UTC
Description of problem: dmraid stopped from working after changing kernel to
kernel-xen. Worked with Fedora 7 Test1 kernel.

Version-Release number of selected component (if applicable):
kernel-xen-2.6.19-1.2898.2.3.fc7

How reproducible: Always (done twise).

Steps to Reproduce:
1. get Fedora 7 Test1 CD
2. install using dmraid
3. yum install kernel-xen + reboot using the xen kernel
  
Actual results: /dev/mapper/ does not contain the raid devices anymore.

Expected results: /dev/mapper/ should continue to contain the raid devices.

Additional info: I _only_ changed kernel to kernel-xen, so I am 100% sure that
"yum install kernel-xen" broke this.

Comment 1 Jarkko 2007-02-19 01:48:44 UTC
- Working kernel: kernel-2.6.19-1.2914.fc7

- Same issue happens also with: kernel-2.6.20-1.2932.fc7 (see bug #229158)

Comment 2 Jarkko 2007-02-25 10:45:46 UTC
I extracted /boot/initrd-2.6.19-1.2898.2.3.fc7xen.img and added to "init":

-------------------------------------------------------------------------------
rmparts sdb
rmparts sda
dm create ddf1_4c534920202020201000005500000000330a535300000a28 0 974608384
mirror core 2 131072 nosync 2 8:0 0 8:16 0
dm partadd ddf1_4c534920202020201000005500000000330a535300000a28
-------------------------------------------------------------------------------

...between lines "mkblkdevs" and "resume LABEL=swap".

Then I replaced /boot/initrd-2.6.19-1.2898.2.3.fc7xen.img with my modified
version and rebooted with 2.6.19-1.2898.2.3.fc7.

It is working. :)

So... I'm not sure _where_ the bug is, but now we know _what_ happens. The
problem is: dm related lines are missing from initrd after running mkinitrd with
kernel-xen-2.6.19-1.2898.2.3.fc7 and kernel-2.6.20-1.2932.fc7 up to
kernel-2.6.20-1.2942.fc7.

Comment 3 Jarkko 2007-02-25 11:11:23 UTC

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