Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 1995 23:33:48 -0700
From:      Clint Olsen <olsenc@smokey.ee.washington.edu>
To:        questions@freebsd.org
Subject:   More info on disk woes
Message-ID:  <199510120633.XAA19754@smokey.ee.washington.edu>

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

Out of curiousity, I decided to peruse the scsi(8) manpage, and when
I tried to run one of the examples, this is what I found:

% scsi -f /dev/rsd0c -c "12 0 0 0 64 0" -i 64 "s8 z8 z16 z4"

SCIOCCOMMAND ioctl: Command accepted.
 host adapter status 2
Command out (6 of 6):
12 00 00 00 64 00 

Data in (64 of 64):
00 00 01 01 27 12 00 00 43 44 43 20 20 20 20 20  # ....'...CDC     
39 34 31 37 31 2d 39 20 20 20 20 20 20 20 20 20  # 94171-9         
30 30 34 35 30 30 31 32 30 33 33 37 00 00 00 00  # 004500120337....
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  # ................

No sense sent.
CDC 94171-9 0045 

% scsi -f /dev/rsd1c -c "12 0 0 0 64 0" -i 64 "s8 z8 z16 z4"

SCIOCCOMMAND ioctl: Command accepted.
 host adapter status 2
Command out (6 of 6):
12 00 00 00 64 00 

Data in (64 of 64):
00 00 00 01 1f 12 00 00 45 4d 55 4c 45 58 20 20  # ........EMULEX  
4d 44 32 31 2f 53 32 20 20 20 20 20 45 53 44 49  # MD21/S2     ESDI
41 30 30 20 00 00 00 00 00 00 00 00 00 00 00 00  # A00 ............
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  # ................

No sense sent.
EMULEX MD21/S2     ESDI A00 

I am still not sure why the boot code cannot INQUIRE to my disks:

% dmesg | grep aic

aic0 at 0x340-0x35f irq 11 on isa
aic0 waiting for scsi devices to settle
(aic0:1:0): "CDC 94171-9 0045" type 0 fixed SCSI 1
sd0(aic0:1:0): Direct-Access 312MB (640584 512 byte sectors)
(aic0:2:0): "unknown unknown ????" type 0 fixed SCSI 0
sd1(aic0:2:0): Direct-Access 312MB (640500 512 byte sectors)

So, scsi(8) works, but the driver is not talking to one of my drives
properly.

-Clint



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