Tags 345067 + patch
thanks

Hi Jonas and Erik, ...

First let me tell you that i think this hack is absolutely not the way to
solve this, the right way would be to fix the via driver, and it is a kernel
bug, not a yaird bug, so please don't add ugly yaird hacks like that to hide
kernel bugs, especially if those hacks break things on non-x86 as is the case
here.

Anyway, here is a patch which will allow to unbreak this on pegasos at least,
please apply the below patch asap, as it makes all kernels uninstallable on
powerpc/pegasos, which is *not* a nice thing.

Friendly,

Sven Luther

--- perl/Hardware.pm.orig       2006-01-01 16:36:13.000000000 +0000
+++ perl/Hardware.pm    2006-01-01 16:43:15.000000000 +0000
@@ -216,7 +216,11 @@
        # The above error persists in 2.6.12, and is solved
        # in 2.6.14.
        #
-       $result = [ map { $_ eq "via82cxxx" ?  ($_, "ide-generic") : $_ } 
@{$result} ];
+       my $uname = `uname -m`;
+       chomp ($uname);
+       if ( $uname neq "ppc" ) {
+               $result = [ map { $_ eq "via82cxxx" ?  ($_, "ide-generic") : $_ 
} @{$result} ];
+       }
 
        return $result;
 }


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

Reply via email to