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