lkml.org 
[lkml]   [2000]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.2.15-pre15 detects my memory wrong?

Unless I add "mem=256M" to my boot arguments, 2.2.15-pre15 thinks I
have 64M. Did I configure something wrong? I copied my 2.2.13 config and
edited it in menuconfig.


Nicholas Vinen

---

"... one of the main causes of the fall of the Roman Empire was that,
lacking zero, they had no way to indicate successful termination of
their C programs."
-- Robert Firth


On Sun, 19 Mar 2000, Nicolas Pitre wrote:

> For some configuration where there is only an initrd and no driver that
> schedule() during their initialization, the kernel gets to play with
> bdflush_tsk while the initrd is loading. Because bdflush_tsk is
> initialized within a kernel thread which may not have run yet, we then
> just blow up!
>
> Here is a quick fix:
>
> diff -u 2.3.99-pre1-rmk1/linux/fs/buffer.c linux/fs/buffer.c
> --- 2.3.99-pre1/linux/fs/buffer.c Sat Mar 18 16:50:31 2000
> +++ linux/fs/buffer.c Sat Mar 18 17:08:49 2000
> @@ -2581,6 +2581,7 @@
> {
> kernel_thread(bdflush, NULL, CLONE_FS | CLONE_FILES | CLONE_SIGHAND);
> kernel_thread(kupdate, NULL, CLONE_FS | CLONE_FILES | CLONE_SIGHAND);
> + schedule();
> return 0;
> }
>
>
>
> Nicolas
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>


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

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