*BSD News Article 53393


Return to BSD News archive

#! rnews 2855 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!news.msfc.nasa.gov!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!news.cs.utah.edu!dog.ee.lbl.gov!overload.lbl.gov!gracie.lbl.gov!jin
From: jin@gracie.lbl.gov (Jin Guojun[ITG])
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Complicated SCSI problem <was: help on labeling non-labeled new scsi disk>
Date: 18 Oct 1995 23:40:48 GMT
Organization: Lawrence Berkeley Laboratory
Lines: 51
Message-ID: <4643a0$1v0@overload.lbl.gov>
References: <461btt$34q@overload.lbl.gov> <DGnqtD.GD9@ritz.mordor.com>
NNTP-Posting-Host: gracie.lbl.gov

The things are complicated for this SCSI problem in current release.
Further discovery shows the problem is in some SCSI driver code.

I remember that someone had panic problem when installing the FreeBSD, but
I am not sure it is related to this complicated SCSI issue.

disklabel can label raw-raw disks if one SCSI controller installed, and
there are one or two disks on the SCSI bus. (confirmed)

Problems --

Installation problem with SCSI:
If more then two disks on the SCSI bus, then installation can panic when
probing the SCSI host adapters (I am using NCR) if there are bad labeling
or unlabeled disk(s) on the SCSI bus.  However, if using multiple SCSI
controllers (host adapters), and put only two or less disk on each SCSI
controller, then the installation will work.

The problem after installation:
If one SCSI controller and two SCSI disks are installed on system. No problem.
If one or more SCSI controllers installed, but only two SCSI disks installed,
no problem either.
However, if more then two SCSI disks installed, regardless how many SCSI
controller installed, the disklabel will not work properly in either panic
or not recognizing the unlabeled disks and having the following errors,
for sd0, sd1, ...

In article <461btt$34q@overload.lbl.gov>,
Jin Guojun[ITG] <jin@gracie.lbl.gov> wrote:
>I had problems using disklabel to label some brand new SCSI disks.
>I am using 2.1-951005-SNAP. I have not tried it on 2.0.5-RELEASE.
>
># disklabel -r sd2c
>disklabel: /dev/rsd2c: No such file or directory
>FreeBSD# disklabel -r sd2
>disklabel: /dev/rsd2c: Undefined error: 0
>FreeBSD# disklabel -W sd2
>FreeBSD# disklabel -r sd2
>disklabel: /dev/rsd2c: Undefined error: 0
>FreeBSD# disklabel -w sd2 ST15230N
>disklabel: ioctl DIOCWDINFO: No disk label on disk;
>use "disklabel -r" to install initial label
>FreeBSD# disklabel -w -r sd2 ST15230N
>disklabel: /dev/rsd2c: No such file or directory
> ...

--
/-------------- Jin Guojun ------------ v ---- Internet: g_jin@lbl.gov ----\
|	Imaging & Distributed Computing | Usenet: ucbvax!g_jin@lbl.gov	   |
|	Lawrence Berkeley Laboratory	| Bitnet:	--		   |
|	50B-2239, Berkeley, CA 94720	-  jin%george.lbl.gov@Csa3.LBL.Gov |