Re: BOOT_CS

From: H. Peter Anvin (hpa_at_zytor.com)
Date: 02/24/04

  • Next message: Pekka Pietikainen: "Re: Promise SATA driver"
    To: linux-kernel@vger.kernel.org
    Date:	Tue, 24 Feb 2004 15:39:51 +0000 (UTC)
    
    

    Followup to: <20040224100530.68794.qmail@web11805.mail.yahoo.com>
    By author: =?iso-8859-1?q?Etienne=20Lorrain?= <etienne_lorrain@yahoo.fr>
    In newsgroup: linux.dev.kernel
    >
    > The other problem is for the people who want to check the validity
    > of the RAM disk before starting Linux - for instance by checking
    > the CRC32 of the decompressed RAM disk - and stop the boot process
    > before it is too late - i.e. in the bootloader when you can select
    > another kernel version / initrd to load.
    > You cannot place the decompressed initrd at a maximum address before
    > knowing its decompressed size - the address to place it is the max
    > address (or the end of free RAM) minus ramdisk size if I remember
    > correctly. That is working for so long loading the decompressed
    > initrd after few Mb after the last kernel byte (so that the kernel
    > will move it where it wants - no need to move it twice) that I do
    > not remember the details. Did you changed this part?
    >

    If you absolutely want to do this -- for pretty much no reason -- you
    can either decompress it twice, decompress it to nowhere (after all,
    the kernel will decompress it when it starts) or move it into place
    before starting the kernel.

            -hpa
    -
    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/


  • Next message: Pekka Pietikainen: "Re: Promise SATA driver"

    Relevant Pages

    • Re: Kernel panic: initramfs problem? [SOLVED - mostly]
      ... initrd.img-2.6.18-6-686 is 4899969 bytes in size (generic kernel) ... Following up on the initrd idea.... ... with support for the initial RAM disk enabled. ... If RAM disk support is also included, ...
      (Debian-User)
    • Minimal boot CD
      ... I knew I needed some kind of sane working environment for the kernel to ... does the initrd have to be a specific ... but it still kernel panics. ... I included RAM disk support Default RAM disk size) and ...
      (comp.os.linux.embedded)
    • Re: BOOT_CS
      ... the CRC32 of the decompressed RAM disk - and stop the boot process ... another kernel version / initrd to load. ... You cannot place the decompressed initrd at a maximum address before ... address minus ramdisk size if I remember ...
      (Linux-Kernel)
    • Re: Beige PowerMac G3/266 trouble
      ... I just wanted to say that this fs is not needed to boot up the ... the ram disk, so entering /dev/ram is probably better. ... the initrd parameter gives the kernel an image with which it ...
      (comp.os.linux.powerpc)
    • Re: [SLE] New initrd way in SuSE-9.0
      ... >>Durung the update initrd's are created for all kernel images ... boot procedure takes the default initrd. ... switch off RAM disk support and Initial RAM disk support. ...
      (SuSE)