Re: Ramdisk Initialization Problem

From: H. Peter Anvin (hpa@zytor.com)
Date: Thu May 24 2001 - 20:06:48 EST


Followup to: <l03130306b7332a134958@[209.239.217.188]>
By author: "Jaswinder Singh" <jaswinder.singh@3disystems.com>
In newsgroup: linux.dev.kernel
>
> I am using kernel 2.4.1 with compressed Ramdisk on Hitachi SH board ,
> with no battery. When i run kernel first time , it works fine , it
> uncompress Ramdisk and i get my shell prompt . But when i restart it
> second time (with out removing power cable ) kernel dies when
> uncompressing Ramdisk. But , if i remove my power supply for more than 5
> minutes , and then i start again , it works again. It seems that in 2.4.1
> and/or later versions has Ramdisk Initailization or uninitialised memory
> problem. But i faced no problem with 2.2.12 kernel. Thank you,
>
> Best Regards, Jaswinder (and his wonder machine).
>

First of all, try the latest kernel if you are going to report a bug.

For the kernel people, this is classic evidence of relying on
uninitialized memory; the "few minutes" is roughly how long it takes
modern SDRAM to *reliably* discharge.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
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/



This archive was generated by hypermail 2b29 : Thu May 31 2001 - 21:00:20 EST