2.1.90-3: Doesn't compile (+ patch); module problems

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Sun, 15 Mar 1998 09:38:04 -0400


The file linux/page_alloc.c has not been updated, a patch (from what I
understand form the documentation!) follows.

Note that I compile my kernels with the latest egcs snapshot (currently
980308) and the latest binutils (2.8.1.0.23 as of now), so the problem
might lie there...

The module system calls don't work anymore (they did in 2.1.90-2, with
modutils-2.1.85): lsmod complains "lsmod: QM_INFO: No such file or
directory" (but /proc/modules exists and shows stuff, but with modules
marked "(deleted)" (?!) that won't go away(!!)); rmmod goes "rmmod:
QM_REFS: No such file or directory".

--- mm/page_alloc.c.dist-2.1.90-3 Sun Mar 8 13:28:05 1998
+++ mm/page_alloc.c Sat Mar 14 22:38:15 1998
@@ -330,9 +330,9 @@
i = (end_mem - PAGE_OFFSET) >> (PAGE_SHIFT+7);
if (i < 48)
i = 48;
- min_free_pages = i;
- free_pages_low = i + (i>>1);
- free_pages_high = i + i;
+ freepages.min = i;
+ freepages.low = i + (i>>1);
+ freepages.high = i + i;
mem_map = (mem_map_t *) LONG_ALIGN(start_mem);
p = mem_map + MAP_NR(end_mem);
start_mem = LONG_ALIGN((unsigned long) p);

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu