Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 1998 08:58:05 +0200 (MEST)
From:      kuku@FreeBSD.ORG
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   i386/6391: boot2 too big
Message-ID:  <199804230658.IAA04881@gilberto.physik.RWTH-Aachen.DE>

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

>Number:         6391
>Category:       i386
>Synopsis:       /sys/i386/boot/biosboot/boot2 too big when -DBOOT_HD_BIAS=1 enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 23 00:00:01 PDT 1998
>Last-Modified:
>Originator:     Christoph Kukulies
>Organization:
I. Physikalisches Institut RWTH Aachen
>Release:        FreeBSD 2.2.5-RELEASE i386 , probably 2.2.6 also
>Environment:


kernel build environment on a 2.2.5-RELEASE System


>Description:

/sys/i386/boot/biosboot/Makefile
contains a line:
           
#CFLAGS+=        -DBOOT_HD_BIAS=1

enabling this line (to hardwire booting other than the default drives)
leads to 

dd if=boot.nohdr of=boot2 bs=512 skip=1
14+1 records in
14+1 records out
7200 bytes transferred in 0.001654 secs (4353007 bytes/sec)
boot2 is too big
*** Error code 2

Stop.


> How-To-Repeat: 

Enable the line 

CFLAGS+=        -DBOOT_HD_BIAS=1 

in /sys/i386/boot/biosboot/Makefile

and 'make'. 


>How-To-Repeat:
>Fix:

no userwise fix in sight. Probably the added code must be streamlined
or module must be optimized harder.

>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?199804230658.IAA04881>