summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rwxr-xr-xperl-install/standalone/service_harddrake5
2 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 25acafae4..ff4cd1de3 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -5,6 +5,9 @@
o render ext4 partition as red like ext3 ones
- harddrake:
o fix wrongly selecting some 32bits packages on x86_64 (#50148)
+- service_harddrake:
+ o do not crash if loading new drivers fails
+ (happened with amd64_agp wrongly listed in pcitable, #43870)
Version 12.29 - 21 April 2009
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index deaea0b8d..c2705d042 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -186,7 +186,10 @@ foreach my $hw_class (@harddrake::data::tree) {
$modules_conf->remove_module(difference2(\@old_drivers, \@new_drivers));
# add agpgart and the like modules to modprobe.preload if needed:
$modules_conf->write;
- modules::load(difference2(\@new_drivers, \@old_drivers));
+ foreach (difference2(\@new_drivers, \@old_drivers)) {
+ eval { modules::load($_) };
+ warn "warning: $@" if $@;
+ }
next;
} elsif ($Ident eq "BLUETOOTH") {
harddrake::autoconf::bluetooth(scalar keys %ID);