diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-04-06 16:51:17 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-04-06 16:51:17 +0000 |
commit | 0639e8c6ce3ffb911f94fde82a7174bf242c51ff (patch) | |
tree | 705af3a639ba21d412641ff03c1f641c6a1c1e54 /mdk-stage1/modules.c | |
parent | 2a6438dbeeee404a22b7d58916f095accc4e52cc (diff) | |
download | drakx-0639e8c6ce3ffb911f94fde82a7174bf242c51ff.tar drakx-0639e8c6ce3ffb911f94fde82a7174bf242c51ff.tar.gz drakx-0639e8c6ce3ffb911f94fde82a7174bf242c51ff.tar.bz2 drakx-0639e8c6ce3ffb911f94fde82a7174bf242c51ff.tar.xz drakx-0639e8c6ce3ffb911f94fde82a7174bf242c51ff.zip |
- 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
Diffstat (limited to 'mdk-stage1/modules.c')
-rw-r--r-- | mdk-stage1/modules.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |