Mailinglist Archive: opensuse-bugs (6140 mails)

< Previous Next >
[Bug 290073] Unable to install openSUSE 10. 3 as a Xen guest due to initrd failure.
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 31 Jul 2007 12:27:41 -0600 (MDT)
  • Message-id: <20070731182741.2EA29CC78D@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=290073#c5


Charles Coffing <ccoffing@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carnold@xxxxxxxxxx, jdouglas@xxxxxxxxxx,
                   |                            |ccoffing@xxxxxxxxxx




--- Comment #5 from Charles Coffing <ccoffing@xxxxxxxxxx>  2007-07-31 12:27:40 MST ---
The problem is that mkinitrd can't figure out what kernel module is needed for
Xen's paravirtual disk, due to the lack of modalias support in the xen drivers.

----------

After the error, I dropped to a shell, and did:
mount /dev/xvda2 /mnt
mount -o bind /dev /mnt/dev
mount -t proc proc /mnt/proc
mount -t sysfs sysfs /sys
chroot /mnt
mkinitrd

I got the error:
No modalias for device xvda
Script /lib/mkinitrd/setup/72-block.sh failed!

As stated above, mkinitrd can't figure out what module provides xvda.  This
patch allows the initrd to be built:

--- /lib/mkinitrd/setup/72-block.sh~    2007-07-31 12:09:22.000000000 -0600
+++ /lib/mkinitrd/setup/72-block.sh     2007-07-31 12:09:35.000000000 -0600
@@ -41,6 +41,9 @@
            i2o*)
                echo i2o_block i2o_config
                ;;
+           xvd*)
+               echo xenblk
+               ;;
            *)
                if [ ! -d /sys/block/$blkdev/device ] ; then
                    echo "Device $blkdev not handled" >&2


A more correct fix is to add modalias support to our Xen port.  For example:
http://lists.xensource.com/archives/html/xen-changelog/2007-07/msg00152.html


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References