Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 1996 02:36:05 -0700 (PDT)
From:      chad@dcfinc.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   i386/1821: boot fails if bad144 selected on large partition
Message-ID:  <199610160936.CAA00287@freefall.freebsd.org>
Resent-Message-ID: <199610160940.CAA00818@freefall.freebsd.org>

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

>Number:         1821
>Category:       i386
>Synopsis:       boot fails if bad144 selected on large partition
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 16 02:40:01 PDT 1996
>Last-Modified:
>Originator:     Chad R. Larson
>Organization:
DCF, Inc.
>Release:        2.1.0
>Environment:
>Description:
During the "Novice" install, when the "fdisk" utility was run, I 
selected the "bad block check" option.  This caused the BIOS booter
to fail with a "Error C:3197 > 1023 (BIOS limit)" message.

This turns out to be caused by the BIOS booter attempting to read the
bad block table, which is at the end of the "c" slice of the partition.

I fixed it by using the fixdisk floppy's fdisk to write a new partition
entry that does not specify bad block processing.

This is perhaps a documentation problem.  The bad track processing
option is incompatable with a FreeBSD partition that extends beyond
cylinder 1023, regardless of where the root slice resides within that
partition.  I don't find that limitation documented anywhere.  I found
it by reading the source code to the BIOS booter.

Better might be a second-level booter that doesn't use the BIOS to do
the disk reads (Interactive UNIX does this), so that only the 
second-level booter itself need be below the 1023 cylinder fence.
>How-To-Repeat:
Select the "bad block mapping" option from the fdisk menu on a
partition that extends beyond the 1023 cylinder boundry, regardless
of the size of the root slice within that partition.
>Fix:
Don't use bad144 mapping.  Tell your friends...
>Audit-Trail:
>Unformatted:



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