WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Attempt to load 2.6.34.7 xenified aka Suse under Xen 4.0.1 o

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [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
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1288088406; bh=B22aqRZOZkaIy5EMEOGIwJOZiEfQ47gfzgAgqYxOThE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=1LYw0nuZCpPgSkldDJ1oykiqgT2OmBZ3nWnxlwOafcGfi28so71WO+cYukQ//gRWPIxIARgh/SAW5sN2CesHhiHcgMaWMxVoUKMPsL0xT3igsG7KI5f1qBfLj48vESaN/x/E30vwT5be81LsugxtAfBdvdxjAN2MI+pN9OnW+YM=
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=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CC5B50F.3040203@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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