*BSD News Article 2355


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!mips!mips!sdd.hp.com!caen!hellgate.utah.edu!fcom.cc.utah.edu!gateway.univel.com!gateway.novell.com!thisbe!terry
From: terry@thisbe.npd.Novell.COM (Terry Lambert)
Subject: Re: 386bsd 0.1 - Advice on bootstrap debugging needed.
Message-ID: <1992Jul23.213947.22807@gateway.novell.com>
Keywords: 386bsd boot wdboot
Sender: terry@thisbe (Terry Lambert)
Nntp-Posting-Host: thisbe.eng.sandy.novell.com
Organization: Novell NPD -- Sandy, UT
References:  <greg.711922033@hibp1.ecse.rpi.edu>
Date: Thu, 23 Jul 1992 21:39:47 GMT
Lines: 38

In article <greg.711922033@hibp1.ecse.rpi.edu>, greg@ecse.rpi.edu (Greg) writes:
|> I've already ask this once before, but since the response was nearly
|> non-existsent, I'll try again. 
|> 
|> I seem to have a problem booting that is timing dependant. My machine will
|> boot off wd0 about 95 % the time when in low speed mode. In high speed (33MHz)
|> it boots only about 20% of the time.
|> 
|> My equipment:
|> 386-33 Advanced Integration Research motherboard (1 CHIPS & 2  ETEQ VLSIs)
|> Quantum 105lp IDE
|> Trident 8900 vga
|> Novell Ne2000 ethernet
|> 
|> 
|> I started to poke around in the boot stuff. I put a printf at the begining of
|> boot.c. I rebuilt wdboot and bootwd and then re-disklabeled. I verified that
|> boot.c was not reached when the boot failed. When it succeeded, I saw my
|> debugging message. I have tried to play with wdbootblk.c, but am getting   
|> nowhere. I tried to add code to write directly to the video memory so I can
|> see where the bootstrap fails. Years ago I dabbled in 8088 assemlbly language,
|> but I have forgotten most of what I knew. Of course, there have been substantial
|> changes to the instruction set since the 8088. It would be very helpful if 
|> someone could pass along the following things:  

This problem has to do with the fact that the "ready" on the controller isn't
being checked correctly.  Chris Demetriou (cgd@agate.berkeley.edu) has patches
available for download at agate.berkeley.edu.  Check out article #1912 or simply
download the patched boot image for dist.fs and fixit.fs, and the patches, if
you are planning on building your own kernel from sources.  The are in the
386bsd heirarchy unde 'unofficial'.

					Terry Lambert
					terry_lambert@gateway.novell.com
					terry@icarus.weber.edu
---
Disclaimer:  Any opinions in this posting are my own and not those of
my present or previous employers.