[Yaird-devel] Bug#344841: need to ignore /sys/devices/parisc
Bdale Garbee
bdale at gag.com
Mon Dec 26 20:13:24 UTC 2005
Package: yaird
Version: 0.0.12-2
Severity: serious
This version of yaird fails on hppa because it doesn't know what to do with
the contents of /sys/devices/parisc:
Using mkinitrd.yaird to build the ramdisk.
yaird error: unrecognised device: /sys/devices/parisc
yaird error: unrecognised device: /sys/devices/parisc/10
yaird error: unrecognised device: /sys/devices/parisc/10/10:0
yaird error: there were errors in this run, aborting now without output (fatal)
Failed to create initrd image.
As far as I can tell, we don't need any modules in the initrd for anything
under that tree. I patched /usr/lib/yaird/perl/Hardware.pm as shown below and
got an initrd that booted just fine.
Please apply this ASAP since it keeps hppa 2.6.14 and later kernels from being
installable.
Bdale
--- /usr/lib/yaird/perl/Hardware.pm 2005-12-26 13:05:24.000000000 -0700
+++ Hardware.pm 2005-12-26 13:06:08.000000000 -0700
@@ -170,6 +170,9 @@
elsif ($abspath =~ m!/platform$!) {
# the platform (pseudo) bus itself does not need any modules.
}
+ elsif ($abspath =~ m!/parisc!) {
+ # no modules needed for things in parisc subtree
+ }
elsif ($abspath =~ m!/i8042$!) {
# Controller for the serio bus for AT mouse and keyboard.
$modules = [ "i8042" ];
More information about the Yaird-devel
mailing list