*BSD News Article 87386


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsxfer.itd.umich.edu!newsxfer3.itd.umich.edu!howland.erols.net!feed1.news.erols.com!insync!uunet!in1.uu.net!142.77.1.4!news.uunet.ca!not-for-mail
From: Michael Wozniak <mwozniak@border.com>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: BusLogic BT-545C/BT-747C/BT-946C with biosboot bootstrap
Date: Fri, 24 Jan 1997 15:10:04 -0500
Organization: Border Network Technologies
Lines: 26
Message-ID: <32E9171C.41C67EA6@border.com>
NNTP-Posting-Host: elgreco.border.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; FreeBSD 2.1.0-RELEASE i386)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:5724

Has anyone managed to make these combinations bootable?  I have 
found that these older adapters do not work with biosboot but the 
newer (BT-948/BT-958) ones do; a variety of different PCs were used
to test this. 

I have managed to determine that the code is hanging the very first
time it is switching back to a 16bit code segment to perform an
interrupt in real_int.  The CPU is currently in protected mode, has
just pushed some regs on the 16bit stack, and is executing a...

        .byte 0xea /* ljmp */
        .long switch_to_use16
        .word 0x18

switch_to_use16:

        /* turn off protected mode */
        movl    %cr0,%eax
        andb    $0xfe,%al
        movl    %eax,%cr0

when it dies.  Anyone have any ideas about this?

-------------------------------------------------------------------
Michael S. Wozniak, Systems Developer, Secure Computing Corporation
e-mail: mwozniak@border.com, web: http://www.interlog.com/~mwozniak