Package: yaird
Version: 0.0.12-15
Severity: normal

When run inside a Xen DomU yaird fails with:

yaird error: unrecognised device: /sys/devices/xen
yaird error: unrecognised device: /sys/devices/xen/vbd-768

The patch below fixes this by ignoring xen devices.  Debian xen kernels
build xen devices into the kernel, so no additional modules are needed.

Paul

--- Hardware.pm.old     2006-08-03 15:22:00.000000000 +0100
+++ Hardware.pm 2006-08-03 15:22:33.000000000 +0100
@@ -216,6 +216,11 @@
                elsif ($abspath =~ m!/floppy.\d+$!) {
                        $modules = [ "floppy" ];
                }
+               elsif ($abspath =~ m!/xen!) {
+                       # While this can be build as a module it's
+                       # almost alway built into the kernel
+                       # $modules = [ "xenblk" ];
+               }
 
                else {
                        # NOTE: We may want to avoid duplicate messages

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-xen-amd64-k8
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages yaird depends on:
ii  cpio                         2.6-16      GNU cpio -- a program to manage ar
ii  dash                         0.5.3-3     The Debian Almquist Shell
ii  libc6                        2.3.6-16    GNU C Library: Shared libraries
ii  libhtml-template-perl        2.8-1       HTML::Template : A module for usin
ii  libparse-recdescent-perl     1.94.free-3 Generates recursive-descent parser
ii  perl                         5.8.8-6     Larry Wall's Practical Extraction 

yaird recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to