From: tweten@wilbur.nas.nasa.gov (Dave Tweten)
Subject: Re: [386BSD] SCSI Bootstrap Method?
Organization: NAS Systems Division, NASA Ames
Date: Tue, 17 Nov 92 07:30:25 GMT

In article <1c6BuB4w165w@student.business.uwo.ca> mark@student.business.uwo.ca (Mark Bramwell CS STAFF) writes:
>tweten@wilbur.nas.nasa.gov (Dave Tweten) writes:
>
>> I need to find out how to bootstrap 386bsd, given a machine which only
>> has a SCSI hard disk.  When Julian Elischer posted his SCSI driver
>> code, I thought I had it made, but I haven't been able to get past the
>> need for a SCSI capable bootable filesystem diskette.  I've searched
>> agate.berkeley.edu and ref.tfs.com, and haven't found a suitable *.fs
>> file on either.  I need help!
>
>
>I have 386bsd running with no problems as far as booting is concerned.
>
>I am running an adaptec 1542 with a 1.2gig fujitsui scsi drive.
>I set the cmos drive to 0 'no drives' and let the scsi board boot the
>machine.  All seems to be ok.  I am running the stock kernel.

OK.  Clearly, more details are necessary.  I've got an EISA machine
with an Adaptec 1740 running in "Standard Mode."  The host bus adapter
is SCSI device 7, the Maxtor P0-12S SCSI drive is SCSI device 0.  DOS
thinks the disk geometry is 32 sectors per track, 64 tracks per
cylinder and 975 cylinders.  The first 150 "cylinders" are for a DOS
partition; the rest is set up with an "A5" partition type (386BSD).
The motherboard is a Micronics 486DX-33 board with 256K of cache and 32
MB of main memory (I bartered some old equipment for SIMs before the
price went up).

When I boot the distribution diskette, I get the following (typed from
notes):

386BSD Release 0.1 by William and Lynne Jolitz. [0.1.0 07/22/92 01:01]
Copyright (c) 1989,1990,1991,1992 William F. Jolitz.  All rights reserved.
Based in part on work by the 386BSD User Community and the
BSD Networking Software, Release 2 by UCB EECS Department
pc0<color> at 0x60 irq 1 on isa
com1 fifo at 0x3f8 irq 4 on isa
com2 fifo at 0x2f8 irq 3 on isa
fd0 drives 0: 1.44M, 1: 1.2M at 0x3f0 irq 6 drq 2 on isa
as0 at 0x330 irq 11 drq 5 on isa
npx0 at 0xf0 irq 13 on isa
as0b: controller error 0x12 reading fsbn 0
scsi sense: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
as0b: controller error 0x12 reading fsbn 0
scsi sense: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

warning: no swap space present (yet)
386BSD Distribution Installation Floppy (Tiny 386BSD) Release 0.1
#

When I ignore the SCSI errors and type "install" I get the following:

#install
as0d: controller error 0x12 reading fsbn 0
scsi sense: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
as0d: controller error 0x12 reading fsbn 0
scsi sense: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
No disk drive to install 386BSD on.
Would you care to have it installed on your TV instead? (y/n)

When I try to label the 386BSD partition, using a home made disktab
entry reflecting the previously outlined geometry and the fixit.fs
diskette, I get a similar series of SCSI complaints, followed by a
disklabel error message.  Results are identical with either the original
bootable diskettes or the set which was made available immediately after
the release of 0.1.

My net conclusion is that I need a pair of bootable diskettes which use
Julian Elischer's SCSI driver code.  Can anybody help?
-- 
---------------------------------------------------------------------------
Dave Tweten						tweten@nas.nasa.gov
NASA Ames Research Center, M/S 258-5			     (415) 604-4416
Moffett Field, CA  94035-1000				FAX: (415) 604-4377