From owner-cvs-all Wed Oct 31 22:19:37 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E2BF537B405; Wed, 31 Oct 2001 22:19:32 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA16JWm83659; Wed, 31 Oct 2001 22:19:32 -0800 (PST) (envelope-from peter) Message-Id: <200111010619.fA16JWm83659@freefall.freebsd.org> From: Peter Wemm Date: Wed, 31 Oct 2001 22:19:32 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/i386/boot2 boot1.s X-FreeBSD-CVS-Branch: HEAD 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 peter 2001/10/31 22:19:32 PST Modified files: sys/boot/i386/boot2 boot1.s Log: Fix the ILLEGAL fdisk table that is there for supporting "dangerously dedicated" mode. This was specifying that there are 256 (illegal!) heads on the disk. If bioses store that in a byte, and it gets truncated to 0, then that almost certainly causes the infamous divide-by-zero nightmare. This is also most likely the reason why the Thinkpad T20/A20 series were locking up when FreeBSD was installed. This is also the most likely reason why a boot1 being present causes an IA64 box to lock up at boot. (removing the "part4" stuff from boot1.s fixes the IA64 boxes and would most likely have fixed the T20/A20 and some TP600E series thinkpads) Revision Changes Path 1.17 +2 -2 src/sys/boot/i386/boot2/boot1.s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message