[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Attempt to load 2.6.34.7 xenified aka Suse under Xen 4.0.1 on top of F14 vs Ubuntu 10.10


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Tue, 26 Oct 2010 03:20:06 -0700 (PDT)
  • Delivery-date: Tue, 26 Oct 2010 03:21:34 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=hdXUFRFHk7PfRzk9wuzCRW0vgEb34oAWv+ypSAS7repZhdxWFgwqrIUk7onwlcbYsUuvIg+xfgdlSVU1qbzk1YeWSreSfIiFp7RJIF+WHAxyp10W+SvTagbj+PCaC3933LUpEwuxh8q4nZ3X6kabt/ymzmgkx6ya+mhCMGay4ng=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

As expected console output from udevd :-

Starting udev: udevd-work[591]: kernel-provided name 'pci_iomul' and NAME= 'xen/pci_iomul' disagree, please use SYMLINK+= or change the kernel to provide the proper name

udevd-work[539]: kernel-provided name 'evtchn' and NAME= 'xen/evtchn' disagree, please use SYMLINK+= or change the kernel to provide the proper name

This may be easily fixed via patch :-

--- a/tools/hotplug/Linux/xen-backend.rules    2010-10-25 00:50:07.812223772 +0400
+++ b/tools/hotplug/Linux/xen-backend.rules    2010-10-24 23:58:22.000000000 +0400
@@ -6,6 +6,8 @@
 SUBSYSTEM=="xen-backend", KERNEL=="vif-*", ACTION="" RUN+="$env{script} offline"
 SUBSYSTEM=="xen-backend", KERNEL=="vscsi*", RUN+="/etc/xen/scripts/vscsi $env{ACTION}"
 SUBSYSTEM=="xen-backend", ACTION="" RUN+="/etc/xen/scripts/xen-hotplug-cleanup"
-KERNEL=="evtchn", NAME="xen/%k"
+KERNEL=="evtchn", SYMLINK+="xen/%k"
 KERNEL=="blktap[0-9]*", NAME="xen/%k"
-KERNEL=="pci_iomul", NAME="xen/%k"
+KERNEL=="pci_iomul", SYMLINK+="xen/%k"
+KERNEL=="gntdev", SYMLINK+="xen/%k"
+KERNELS=="xen", KERNEL=="xvd*", SUBSYSTEM=="block", OPTIONS+="last_rule"

and may be ignored , because seems harmless. Udev version 161.

  I would expect  same attempt under Xen 4.0.1 on top of Ubuntu 10.10 to have same
problem with xen-backend.rules, but i don't get any console warnings on Ubuntu 10.10
Udev version 163.
  But in both cases two lines have to be added to xen-backend.rules in case of XenLinux
2.6.34.7 kernel under Xen 4.0.1 :-

+KERNEL=="gntdev", NAME="xen/%k"
+KERNELS=="xen", KERNEL=="xvd*", SUBSYSTEM=="block", OPTIONS+="last_rule"

  To create /dev/xen/gntdev device and put pygrub into working shape, at least via my experience.
   On the other side the most recent pvops kernel 2.6.32.24 create two character device
/dev/xen/evtchn
/dev/xen/gntdev
no matter of xen-backend.rules file content.

Boris.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.