Possible bug with kernel decompressor.

From: Matthew Schumacher (schu_at_schu.net)
Date: 07/14/04

  • Next message: Martin D Kealey: "[KBUG] Oops in kscand"
    Date:	Tue, 13 Jul 2004 17:47:34 -0800
    To: linux-kernel@vger.kernel.org
    
    

    List,

    I think I found a bug here because I can repeatably get the same kernel
    (checked with md5sum) to decompress and to fail with the error:

    invalid compressed format (err=2)

       --System halted

    Here is how I can reproduce the problem:

    Boot 2.6.8-rc1
    Run md5sum on 2.6.8-rc1 kernel
    Turn power off (this is an embedded system with only ramdisk mounted)
    Turn power on
    Kernel fails to boot with "invalid compressed format (err=2)"
    Restart system
    Boot 2.4.26
    Run md5sum on 2.6.8-rc1 kernel (matches md5sum above)
    Shutdown properly
    boot 2.6.8-rc1 (works fine)
    Run md5sum on 2.6.8-rc1 kernel (matches md5sum above)

    So you see if I don't shutdown properly (which shouldn't be required for
    an embedded system using a ramdisk) my kernel won't decompress itself
    until I run another kernel and shutdown properly. I know that the
    kernel didn't change so something else must be causing it to fail.

    I call this a bug simply because a power failure could cause someone to
    loose the ability to boot their machine.

    Here is the hardware:
    Whistle Interjet (486 SBC)
    64MB of memory
    IDE disk.
    Can reproduce with linux 2.6.5, 2.6.6, 2.6.7, and 2.6.8-rc1
    Both kernel images and the initrd image both live on a fat16 partition
    and are started with syslinux. I can reproduce this problem with any
    version of syslinux I have tried.

    Please CC me in any replies since I am not on the list.

    Thanks,

    schu

    -
    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: Martin D Kealey: "[KBUG] Oops in kscand"

    Relevant Pages

    • VIA SATA Raid needs a long time to recover from suspend
      ... Then if there was an IO request made immediately after resuming, ... Changing the timeout resolved this. ... finally did clear) it would timeout and fail. ... It seemed the kernel ...
      (Linux-Kernel)
    • problems in stalling 2.6.5 kernel
      ... In process of installing a 2.6.5 kernel on one of the computers in the ... Debian stock kernel-image-2.6.5-i386 fails to boot. ... The boot process and hotplug fail to load all modules for the hardware ...
      (Debian-User)
    • Why do some kernel modules ONLY work when built in and vice versa?
      ... It will not work at all if built into the kernel. ... loop-aes version) will ONLY work when build into the kernel and will fail ... when loaded via modprobe. ...
      (uk.comp.os.linux)
    • TOPDIR kernel variable
      ... I'am compiling lirc software, the kernel source is ... fail because the environment variable TOPDIR is not ...
      (Linux-Kernel)
    • Re: Some issues with Acer TravelMate 242
      ... does the kernel with local APIC support enabled always ... > fail to boot, or does it only fail at warm boots? ... RedHat rawhide running on RedHat 9. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)