From af775862b77d7062ec044636a2fa14bb58677879 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 29 Aug 2005 09:26:21 +0000 Subject: better logging of ahci vs ata_piix special code --- perl-install/modules.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/modules.pm') 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; } -- cgit v1.2.1