Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 1995 16:41:16 -0700
From:      "Jin Guojun[ITG]" <jin@george.lbl.gov>
Subject:   Complicated SCSI problem <was: help on labeling non-labeled new scsi disk>
Message-ID:  <199510182341.QAA09081@gracie.lbl.gov>
References:  <461btt$34q@overload.lbl.gov> <DGnqtD.GD9@ritz.mordor.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> ...




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