*BSD News Article 73478


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!qns3.qns.net!imci4!newsfeed.internetmci.com!newsreader.sprintlink.net!news.sprintlink.net!news-dc-2.sprintlink.net!hermes.athenet.net!brians-pc.brians-domain.com!not-for-mail
From: root@brians-domain.com (Brian Bayorgeon)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Applying boot.c changes (Q)
Date: 11 Jul 1996 19:35:45 -0500
Organization: Brian's InterNetNews site
Lines: 49
Message-ID: <4s46l1$61@brians-pc.brians-domain.com>
References: <qPRLqD1w165w@tusia.kiel.org>
NNTP-Posting-Host: pm-at-3-12.athenet.net
X-Newsreader: TIN [version 1.2 PL2]

Maciej Wiatr (macko@tusia.kiel.org) wrote:

: Salute,

: since I've solved the problem with the apllying of changes from boot.c
: file another one rised. The comment below tells to define BOOT_HD what
: I made with

: #define BOOT_HD

: at the beginning of the file. While booting I get the error mesage :

: ERROR: C:-53404 H:-45 S:0.

I'll be damned if I know what your problem is, but this hint may help.
I believe this error is referring to read/write to your HD.

C: -> cyl #....hmmm never heard of a negative cylinder number
H: -> head # ...same thing
S: -> sector number

: I use the 1542 SCSI adaptec controler on isa and an IDE drive (C:) on
: a multi I/O card on isa.

: What do I do wrong ?

: 	/***************************************************************\
: 	* As a default set it to the first partition of the boot	*
: 	* floppy or hard drive						*
: 	* Define BOOT_HD to boot sd0 when wd0 is also installed		*
: 	\***************************************************************/
: 	part = 0;
: 	unit = drive & 0x7f;
: #ifdef	BOOT_HD
: 	maj = (drive&0x80 ? 1 : 2);		/* a good first bet */
: #else
: 	maj = (drive&0x80 ? 0 : 2);		/* a good first bet */
: #endif


: Thanks for help !


: _____________________________________________________________
:                  ,,
:    /\ /\  //   //// // // /////		macko@tusia.kiel.org
:   //\/\\ //\\ //   ////  // //		( Maciej Wiatr )
:   //  \\ // \\//// // \\ ////		Tel. : 0431/723746
: _____________________________________________________________