diff options
-rw-r--r-- | perl-install/modules.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 1c2ebe079..d176eed89 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -142,7 +142,9 @@ sub load_category { if ($_->{error} && member($_->{driver}, 'ahci', 'ata_piix')) { #- HACK: ahci and ata_piix handle the same hardware, it only depends on the bios configuration - $_->{driver} = $_->{driver} eq 'ahci' ? 'ata_piix' : 'ahci'; + my $other = $_->{driver} eq 'ahci' ? 'ata_piix' : 'ahci'; + log::l("failure loading $_->{driver}, trying $other instead (error is: $_->{error})"); + $_->{driver} = $other; redo; } |