Clone of bug #247265, for Fedora 7. +++ This bug was initially created as a clone of Bug #247265 +++ Description of problem: When the xen block frontend driver is built as a module the module load is only synchronous up to the point where the frontend and the backend become connected rather than when the disk is added. This means that there can be a race on boot between loading the module and loading the dm-* modules and doing the scan for LVM physical volumes (all in the initrd). In the failure case the disk is not present until after the scan for physical volumes is complete. Version-Release number of selected component (if applicable): 2.6.18-8.1.6.EL Also applies to RHEL4u5 2.6.9-55.0.2.EL Upstream fix is: http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/11483a00c017 http://xenbits.xensource.com/kernels/rhel4x.hg?rev/156e3eaca552 How reproducible: Not precisely determined. Seems to be related to high load in domain 0 or in multiple other domains implying delays in scheduling the backend driver. Actual results: Loading xenblk.ko module Registering block device major 202 xvda:Loading dm-mod.ko module <6>device-mapper: ioctl: 4.11.0-ioctl (2006-09-14) initialised: dm-devel Loading dm-mirror.ko module Loading dm-zero.ko module Loading dm-snapshot.ko module Making device-mapper control node Scanning logical volumes Reading all physical volumes. This may take a while... xvda1 xvda2 No volume groups found Activating logical volumes Volume group "VolGroup00" not found Creating root device. Mounting root filesystem. mount: could not find filesystem '/dev/root' Setting up other filesystems. Setting up new root fs setuproot: moving /dev failed: No such file or directory no fstab.sys, mounting internal defaults setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory Switching to new root and running init. unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed: No such file or directory Kernel panic - not syncing: Attempted to kill init! Expected results: Registering block device major 202 xvda: xvda1 xvda2 Loading dm-mod.ko module device-mapper: ioctl: 4.11.0-ioctl (2006-09-14) initialised: dm-devel Loading dm-mirror.ko module Loading dm-zero.ko module Loading dm-snapshot.ko module Making device-mapper control node Scanning logical volumes Reading all physical volumes. This may take a while... Found volume group "VolGroup00" using metadata type lvm2 Activating logical volumes 2 logical volume(s) in volume group "VolGroup00" now active
kernel-xen-2.6-2.6.20-2925.13.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
change QA contact
Marking as MODIFIED, as fix is on CVS and on updates-testing.
kernel-xen-2.6-2.6.20-2925.13.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.