From 0639e8c6ce3ffb911f94fde82a7174bf242c51ff Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 6 Apr 2001 16:51:17 +0000 Subject: - do not print warning when we are in AUTOMATIC and insmod failed because of file-not-found in mar file (raid cards, etc) - print "please include msg from Alt-F3" for this warning message to ease further support - print pci entry of cards found in te logs --- mdk-stage1/modules.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdk-stage1/modules.c') diff --git a/mdk-stage1/modules.c b/mdk-stage1/modules.c index 2788315f8..f3d43bd32 100644 --- a/mdk-stage1/modules.c +++ b/mdk-stage1/modules.c @@ -53,7 +53,7 @@ static int insmod_archived_file(const char * mod_name, char * options) i = mar_extract_file(archive_name, module_name, "/tmp/"); if (i == 1) { log_message("file-not-found-in-archive %s", module_name); - return -1; + return -2; } if (i != 0) return -1; @@ -294,7 +294,7 @@ int my_insmod(const char * mod_name, enum driver_type type, char * options) } #endif } else - log_message("warning, insmod failed (%s %s)", mod_name, options); + log_message("warning, insmod failed (%s %s) (%d)", mod_name, options, i); return i; -- cgit v1.2.1