Skip site navigation (1)Skip section navigation (2)
Date:      	11 Apr 1995 09:25:12 GMT
From:      hafner@suncog2.forwiss.tu-muenchen.de (Walter 'madhouse' Hafner)
To:        freebsd-scsi@freefall.cdrom.com
Subject:   Two hostadapters in one PC?
Message-ID:  <HAFNER.95Apr11112513@suncog2.forwiss.tu-muenchen.de>

next in thread | raw e-mail | index | archive | help
Hello!

I've got a problem with a PC and two SCSI-hostadapters.

My setup:

- Mainboard: ASUS SP3 (486/DX2-66)  (SP3, not 3G !!)
- NCR 53C810 SCSI-controller on board (rom v. 2.00)
- Adaptec 1542B in an ISA slot.
- NEC 31200 (1 GB, HostID 0)
- DEC 5200 (2 GB, HostID 1)
- CD-ROM (HostID 6)
- DAT-Tape (HostID 5)

Currently I have DOS and FreeBSD on the NEC HD and BSD/OS 2.0 on the
DEC. (BSD/OS is the only reason I still need the Adaptec ... And I
can't dump BSD/OS because I still run Mail/News/UUCP/SLIP on it.)

Up to now I simply disabled the NCR chip in the setup and connected all
devices to the Adaptec. No problems.

Last week I finally was fed up with BSD/OS 2.0: the way they handle
their shared libs, the small but annoying bugs in the SW installations,
the lack of support for the NCR ... and I decided to give FreeBSD a try.
Since friday I have it up and running and want to keep it.

Of course I wanted to use my on-board NCR SCSI controller for both DOS
and FreeBSD. And the problems began:

General: The external devices remained at the Adaptec all the time. When
I didn't use the NCR, I disabled it in the CMOS-Setup. When I used the
NCR I disabled the BIOS-check of the Adaptec via jumper.

When I connected the drives to the Adaptec (NCR disabled), all went well
(This was my setup for about a year now).

When I connected the drives to the NCR (Adaptec BIOS disabled), all went
well: I could reach both drives from DOS, but didn't check the external
devices. I could reach and use all devices under FreeBSD, including the
external ones.. BSD/OS didn't work because of the lack of NCR support.

Then I connected the NEC drive (HostID 0) to the NCR and the DEC drive
(HostID 1) to the Adaptec.

When I booted DOS, the NEC at the NCR was found and the Adaptec wasn't
tested. DOS fdisk only found the drive at the NCR and there was no way
to reach the drive at the Adaptec.

When I booted FreeBSD (from the boot-floppy), first the Adaptec was
probed and the DEC (HostID 1, BSD/OS) was correctly identified (sd0).
Aswell as the external devices. Then the NCR was probed and the NEC
(HostID 0, DOS, FreeBSD) was correctly identified (sd1).

Up to now my setup was NEC: sd0 and DEC sd1. So I switched my
configuration again and compiled a new FreeBSD kernel with root and swap
on sd1, switched back again and booted from floppy (My bootloader
still pointed to sd0 ...). I stopped before the kernel was loaded and
tried to load one manually:

hd(1,a)/kernel ... Strange Error-messages and sudden death. Some
one-liner about disk error (sorry, I don't have my machine at hand).

hd(0,a)/kernel ... found the kernel ... strange enough on sd1 ... found
all devices as outlined above and then died with "couldn't mount root
device". (I compiled the kernel with root on sd1). A newly compiled
kernel with sd0 as root device gave the same result.

I never tried to boot BSD/OS: It was just too late yesterday. When I
come home today I'll try it.

I still can think of two or three things to try ... but on the whole I'm
quite clueless what I do wrong. I would be very glad if someone out
there could enlighten me.

Thanks in advance.

-Walter
-- 
Walter Hafner_____________________________ hafner@forwiss.tu-muenchen.de
FORWISS Muenchen, FG Kognitive Systeme,  Raum O-134,  Tel: 089/48095-220
             So here I am, not being entertained!  (Calvin)
<A href=http://www.forwiss.tu-muenchen.de/~hafner/index.html>*CLICK*</A>;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HAFNER.95Apr11112513>