Bug#345067: [Yaird-devel] Bug#345067: [powerpc] ide-generic is not
built on powerpc, yaird tries to include it and fails
Sven Luther
sven.luther at wanadoo.fr
Wed Dec 28 19:26:31 UTC 2005
On Wed, Dec 28, 2005 at 08:05:33PM +0100, Sven Luther wrote:
> Package: yaird
> Version: 0.0.12-2
> Severity: grave
> Justification: renders package unusable
>
>
> Hi Jonas and Erik, ...
>
> As already mentioned on d-k, powerpc doesn't build the ide-generic module, and
> thus installing a powerpc kernel on pegasos (and probably on chrp and prep
> too, since they all use x86 ide controllers) fails with :
>
> Using mkinitrd.yaird to build the ramdisk.
> yaird error: Could not read output for /sbin/modprobe -v -n --show-depends
> --set-version 2.6.14-2-powerpc-smp ide-generic (fatal)
> Failed to create initrd image.
>
> (using powerpc-smp in order to not mess up the running kernel, obviously :)
>
> I feel that the problem is due to the ide-generic fix to bug #341738,
> inconditionally trying to include the ide-generic module, even if it was not
> built, like this is the case here. A check for the existence of ide-generic
> before trying to include it or something such should be a good solution.
>
> I hope to have a patch soon, but given my limited perl knowledge ...
Oh well, i guess my perl knowledge is too limited to provide a patch, but
commenting out the line :
$result = [ map { $_ eq "via82cxxx" ? ($_, "ide-generic") : $_ } @{$result} ];
in /usr/lib/yaird/perl/Hardware.pm fixes the breakage, i guess making this
conditional on x86 or something such should solve this.
Friendly,
Sven Luther
More information about the Yaird-devel
mailing list