Subject: kern/20935: sys/lib/libz broken
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/29/2003 14:10:02
>Number:         20935
>Category:       kern
>Synopsis:       sys/lib/libz broken
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 29 14:11:01 PST 2003
>Originator:     Jason R Thorpe
>Release:        NetBSD 1.6Q
Wasabi Systems, Inc.
System: NetBSD/evbarm on ADI BRH reference board
Architecture: arm
Machine: evbarm
	gzboot is a standalone program used by NetBSD/evbarm which contains
	a gzip'd NetBSD kernel, much the way install kernels contain a
	ramdisk.  gzboot is then written to flash memory on the board, and
	when started, decompressed the NetBSD kernel from flash into RAM
	and jumps to it.

	The recent changes to sys/lib/libz have broken decompression
	of the kernel by the gzboot:

	Attempt to use gzboot from March 29, 2003 sources.

	The problem goes away when the recent sys/lib/libz changes
	are backed out.
 >> NetBSD/ADI_BRH Gzip Boot, Revision 1.1
 >> (, Sat Mar 29 13:59:16 PST 2003)
 >> RAM 0xc0000000 - 0xc7ffffff, heap at 0xc7f00000
 >> Load address: 0xc0200000
 >> Image size: 797527
 Uncompressing image...FATAL: CRC checksum mismatch
 FATAL: error -3 from zlib