Nikolai Vladychevski wrote:
> 
> this is the serial console output:
> 
> 0
> Hello world!!
> Ram Initialize?
> Ram Initialize?
> Reached intel_main().
> Finding PCI confiuration type...
> PCI: Using configuration type 1
> Scanning PCI bus...done
> totalram: 120M
> Enabling cache...done.
> Allocating PCI resources...done.
> Zeroing IRQ settings...done.
> Checking IRQ routing tables...done
> Copying IRQ routing tables...done
> Enabling interrupts...done.
> Final mainboard fixup for PCCHIPS M810LMR (and similar)...done.
> Jumping to linuxbiosmain()...
> 
> Welcome to start32, the open sourced starter.
> This space will eventually hold more diagnostic information.
> 
> January 2000, James Hendricks, Dale Webster, and Ron Minnich.
> Version 0.1
> 
> posting code
> after posting code
> gzip set up ok
> pass 1
> 
> the last lines was my debug messages, I modified linuxbiosmain.c and
> inflate.c to see what happend. It dies after "pass 1", in the gunzip()
> function in the inflate.c :
> 
>    magic[0] = (unsigned char)get_byte();
>    magic[1] = (unsigned char)get_byte();
>    method = (unsigned char)get_byte();
/>                    error("pass 1\n");
> 
>    if (magic[0] != 037 ||
>        ((magic[1] != 0213) && (magic[1] != 0236))) {
>            error("bad gzip magic numbers");
>            return -1;
>    }
>                    error("pass 2\n
> 
> why would it hang if between "pass 1" and "pass 2" there is no loop ????
> maybe I broke my hardware doing this stuff?  Can my motherboard damage DoCs
> ??? because I suspect something is going wrong..... sometimes it works,
> sometimes it does not......
> 

You have done every thing correct. Something the decompress routing
breaks on certain compression level/file contents. Please try to use
different compression level in the Makefile.

Ollie

Reply via email to