lkml.org 
[lkml]   [2001]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fs/nls/Makefile - fix a dependency problem

The problem:
When both nls_iso8859_8 and nls_cp1255 are compiled into the kernel
(=Y), init_nls_iso8859_8() is called before init_nls_cp1255() - this
causes iso_8859_8 to call request_module() which obviously fails.

Kernel log: (from dmesg + traces I added)
TRACE: init_nls_iso8859_8()
request_module[nls_cp1255]: Root fs not mounted
Unable to load NLS charset cp1255
TRACE: init_nls_cp1255()

The fix: (changing the link order of the two modules)

--- linux-2.4.2-ac20/fs/nls/Makefile Sat Mar 3 16:13:21 2001
+++ linux-2.4.2-ac20/fs/nls/Makefile Sat Mar 17 12:39:28 2001
@@ -42,7 +42,7 @@
obj-$(CONFIG_NLS_ISO8859_5) += nls_iso8859-5.o
obj-$(CONFIG_NLS_ISO8859_6) += nls_iso8859-6.o
obj-$(CONFIG_NLS_ISO8859_7) += nls_iso8859-7.o
-obj-$(CONFIG_NLS_ISO8859_8) += nls_iso8859-8.o nls_cp1255.o
+obj-$(CONFIG_NLS_ISO8859_8) += nls_cp1255.o nls_iso8859-8.o
obj-$(CONFIG_NLS_ISO8859_9) += nls_iso8859-9.o
obj-$(CONFIG_NLS_ISO8859_10) += nls_iso8859-10.o
obj-$(CONFIG_NLS_ISO8859_13) += nls_iso8859-13.o
--
Dan Aloni
dax@karrde.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.025 / U:1.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site