[Pkg-xen-devel] Bug#638152: Bug#638152: Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working.
Timo Juhani Lindfors
timo.lindfors at iki.fi
Wed Aug 17 10:35:02 UTC 2011
Ian Campbell <ijc at hellion.org.uk> writes:
> But /lib/udev/rules.d is interesting to. In particular do you
> have /lib/udev/rules.d/xen-backend.rules and what does it contain?
A lot of stuff:
40-usb-media-players.rules
40-usb_modeswitch.rules
45-libmtp8.rules
50-udev-default.rules
55-dm.rules
56-lvm.rules
60-dahdi.rules
60-ffado.rules
60-fuse-utils.rules
60-gnupg.rules
60-gpsd.rules
60-joystick.rules
60-libgphoto2-2.rules
60-libsane-extras.rules
60-libsane.rules
60-openocd.rules
60-persistent-alsa.rules
60-persistent-input.rules
60-persistent-serial.rules
60-persistent-storage-dm.rules
60-persistent-storage-lvm.rules
60-persistent-storage-tape.rules
60-persistent-storage.rules
60-persistent-v4l.rules
60-qemu-kvm.rules
60-qemu-system.rules
60-vtcore.rules
61-gnome-bluetooth-rfkill.rules
61-mobile-action.rules
62-bluez-hid2hci.rules
64-xorg-xkb.rules
69-xserver-xorg-input-wacom.rules
70-acl.rules
70-hid2hci.rules
70-printers.rules
75-cd-aliases-generator.rules
75-net-description.rules
75-persistent-net-generator.rules
75-probe_mtd.rules
75-tty-description.rules
77-mm-ericsson-mbm.rules
77-mm-longcheer-port-types.rules
77-mm-pcmcia-device-blacklist.rules
77-mm-platform-serial-whitelist.rules
77-mm-simtech-port-types.rules
77-mm-usb-device-blacklist.rules
77-mm-zte-port-types.rules
78-sound-card.rules
79-fstab_import.rules
80-alsa.rules
80-drivers.rules
80-udisks.rules
85-hwclock.rules
85-usbmuxd.rules
90-hal.rules
90-libgpod.rules
90-pulseaudio.rules
91-permissions.rules
95-keyboard-force-release.rules
95-keymap.rules
95-udev-late.rules
95-upower-battery-recall-dell.rules
95-upower-battery-recall-fujitsu.rules
95-upower-battery-recall-gateway.rules
95-upower-battery-recall-ibm.rules
95-upower-battery-recall-lenovo.rules
95-upower-battery-recall-toshiba.rules
95-upower-csr.rules
95-upower-hid.rules
95-upower-wup.rules
xen-backend.rules
xend.rules
xpp.rules
I've run debsums so the files should be unmodified:
# cat /lib/udev/rules.d/xen-backend.rules
SUBSYSTEM=="xen-backend", KERNEL=="tap*", RUN+="/etc/xen/scripts/blktap $env{ACTION}"
SUBSYSTEM=="xen-backend", KERNEL=="vbd*", RUN+="/etc/xen/scripts/block $env{ACTION}"
SUBSYSTEM=="xen-backend", KERNEL=="vtpm*", RUN+="/etc/xen/scripts/vtpm $env{ACTION}"
SUBSYSTEM=="xen-backend", KERNEL=="vif2-*", RUN+="/etc/xen/scripts/vif2 $env{ACTION}"
SUBSYSTEM=="xen-backend", KERNEL=="vif-*", ACTION=="online", RUN+="$env{script} online"
SUBSYSTEM=="xen-backend", KERNEL=="vif-*", ACTION=="offline", RUN+="$env{script} offline"
SUBSYSTEM=="xen-backend", KERNEL=="vscsi*", RUN+="/etc/xen/scripts/vscsi $env{ACTION}"
SUBSYSTEM=="xen-backend", ACTION=="remove", RUN+="/etc/xen/scripts/xen-hotplug-cleanup"
KERNEL=="evtchn", NAME="xen/%k"
KERNEL=="blktap[0-9]*", NAME="xen/%k"
KERNEL=="pci_iomul", NAME="xen/%k"
# cat /lib/udev/rules.d/xend.rules
SUBSYSTEM=="pci", RUN+="socket:/org/xen/xend/udev_event"
SUBSYSTEM=="scsi", RUN+="socket:/org/xen/xend/udev_event"
SUBSYSTEM=="usb", RUN+="socket:/org/xen/xend/udev_event"
#SUBSYSTEM=="net", KERNEL!="vif[0-9]*.[0-9]*|tap[0-9]*.[0-9]*", RUN+="socket:/org/xen/xend/udev_event"
I think I'll reboot now.
-Timo
More information about the Pkg-xen-devel
mailing list