Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 1999 09:06:22 -0800 (PST)
From:      jrowan@mandli.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   bin/10529: kzip fails on ELF kernels
Message-ID:  <19990310170622.F409515572@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         10529
>Category:       bin
>Synopsis:       kzip fails on ELF kernels
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 10 09:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Rowan Littell
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
Mandli Communications, Inc.
>Environment:
FreeBSD beowulf.internal.mandli.com 3.1-RELEASE FreeBSD 3.1-RELEASE #0: Mon Feb 15 11:08:08 GMT 1999     jkh@usw3.freebsd.org:/usr/src/sys/compile/GENERIC  i386

(fresh install)
>Description:
Kzip fails to recognize ELF-format kernels (including the GENERIC kernel
supplied on installation).  Output message from the GENERIC kernel is:

real kernel start address will be: 0x1
real kernel end   address will be: 0x65aac68a
kzip: bad magic in file kernel, probably not a kernel
kzip: extract returned 200

>How-To-Repeat:
On a standard 3.1-RELEASE installation:

$ kzip /kernel

(or any other ELF-compiled kernel)
>Fix:
A workaround exists if you compile the kernel as a.out format AND you
copy the files kzhead.o and kztail.o from a 3.0 or earlier machine
(tested with 2.2.2) to /usr/lib/aout.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990310170622.F409515572>