*BSD News Article 7203


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!darwin.sura.net!europa.asd.contel.com!uunet!mcsun!Germany.EU.net!rzsun2.informatik.uni-hamburg.de!tech7!lohse
From: lohse@tech7.informatik.uni-hamburg.de (Joerg Lohse)
Subject: Re: Ok, how 'bout an Adaptec Controller...
Message-ID: <lohse.720455606@tech7>
Sender: news@informatik.uni-hamburg.de (Mr. News)
Organization: University of Hamburg, FRG
References: <1cp8heINN1e0@hrd769.brooks.af.mil>
Date: 30 Oct 92 14:33:26 GMT
Lines: 40

root@hrd769.brooks.af.mil (Super User) writes:

>I have acquired an Adaptec 1542A SCSI controller to replace the Ultrastor Card
>that was in the machine.  It works reliably (and interchangeably) with DOS and
>the hard drive as installed.  Now I want to try to use 386bsd with it.  I get
>an 'Unrecognized Command (16H)' error, but the sense bytes all come back NULLs.
>Specifically, the error looks like this:

>...
>as0 at 0x330 irq 11 drq 5 on isa
>...
>as0b: controller error 0x16 reading fsbn 0
>scsi sense: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
>as0b: controller error 0x16 reading fsbn 0
>scsi sense: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

>    I have used the standard default jumpers.  Are the controller jumpers 
>right?  What is /dev/as0b?  The second hard disk partition?  I am booting with 
>the Tiny 386bsd boot disk, and all of the documentation says this configuration
>should work.  What did I miss?

>TSgt Dave Burgess
>NCOIC, Armstrong Lab MIS

I had the same problem with my Adaptek 1542 controller. The ccb's opcode
fields are not accepted. The as.c driver uses the ccb opcodes 3 and 4, but my
controller works only with opcodes 2 and 0.
The bootstrap drivers in /sys/i386/stand are also to be modified accordingly.

I'll mail or post the patches within the next days.

-Joerg

-------------------------------------------------------------------------------
Dr. Joerg Lohse                           lohse@tech7.informatik.uni-hamburg.de
Universitaet Hamburg
Fachbereich Informatik
Troplowitzstrasse 7
2000 Hamburg 54
Germany