From owner-cvs-all Tue Oct 8 16:31:15 2002 Delivered-To: cvs-all@freebsd.org Received: from green.bikeshed.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B337737B401; Tue, 8 Oct 2002 16:31:14 -0700 (PDT) Received: from green.bikeshed.org (ut7nak2a9dj0e42m@green.bikeshed.org [10.0.0.1] (may be forged)) by green.bikeshed.org (8.12.6/8.12.6) with ESMTP id g98N3Ebw001222; Tue, 8 Oct 2002 19:03:14 -0400 (EDT) (envelope-from green@green.bikeshed.org) Received: from localhost (green@localhost) by green.bikeshed.org (8.12.6/8.12.6/Submit) with ESMTP id g98N3EGl001219; Tue, 8 Oct 2002 19:03:14 -0400 (EDT) Message-Id: <200210082303.g98N3EGl001219@green.bikeshed.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Poul-Henning Kamp Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/common ufsread.c In-Reply-To: Your message of "Tue, 08 Oct 2002 08:46:45 PDT." <200210081546.g98Fkj4X046967@freefall.freebsd.org> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 08 Oct 2002 19:03:14 -0400 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > phk 2002/10/08 08:46:45 PDT > > Modified files: > sys/boot/common ufsread.c > Log: > It seems that the only problem with UFS2 booting on i386 is the 64bit > divide/remainder calls. For reasons not resolved, compiling the > relevant routines from libkern into boot2 results in stack corruption. > > Do the simple thing: Don't use 64bit divide/remainder operations. Yeah, that's what got me COMPLETELY stumped for days. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org <> bfeldman@tislabs.com \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message