From owner-freebsd-hackers Wed Aug 29 11:33:27 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from isris.pair.com (isris.pair.com [209.68.2.39]) by hub.freebsd.org (Postfix) with SMTP id 9691F37B405 for ; Wed, 29 Aug 2001 11:33:23 -0700 (PDT) (envelope-from rooneg@isris.pair.com) Received: (qmail 82421 invoked by uid 3130); 29 Aug 2001 18:33:22 -0000 Date: Wed, 29 Aug 2001 14:33:22 -0400 From: Garrett Rooney To: John Polstra Cc: hackers@freebsd.org Subject: Re: PLEASE REVIEW: loader fix for gzipped kernels Message-ID: <20010829143322.A43833@electricjellyfish.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jdp@polstra.com on Wed, Aug 29, 2001 at 11:27:20AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Aug 29, 2001 at 11:27:20AM -0700, John Polstra wrote: > I would appreciate another pair of eyes on the attached patch before > I commit it. > > I have been working with gzipped kernels a lot lately, and have > noticed that when the loader tries to load certain kernels, it fails > with the message "elf_loadexec: cannot seek". I tracked this down to > a bug in "src/lib/libstand/lseek.c", which is fixed by this patch. so that's why the -CURRENT snapshot i was trying to install last night refused to boot... exactly that error. damn that was irritating me. i thought i was getting a corrupt iso image or something. -- garrett rooney Unix was not designed to stop you from rooneg@electricjellyfish.net doing stupid things, because that would http://electricjellyfish.net/ stop you from doing clever things. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message