Date: Thu, 12 Oct 1995 08:44:15 -0700 From: Clint Olsen <olsenc@smokey.ee.washington.edu> To: hardware@freebsd.org, questions@freebsd.org Subject: scsi(8) requested output here Message-ID: <199510121544.IAA00754@smokey.ee.washington.edu>
next in thread | raw e-mail | index | archive | help
Hello:
# 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
Compare this to the resulting boot message from dmesg:
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)
Note:
o The ESDI disk has a SCSI translator on it (of sorts). Anyway, I looked
at the driver source briefly, and it mentions some inherited ideas from
Linux. Linux IS able to detect and speak/partition/newfs both drives.
I'm concerned that these issues are keeping me from getting disklabel
to work. I don't know what in the hell is going on. The commands to
operate on the disk are not working for me.
******* Working on device /dev/rsd0 *******
parameters extracted from in-core disklabel are:
cylinders=1549 heads=51 sectors/track=8 (408 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1549 heads=51 sectors/track=8 (408 blks/cyl)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
<UNUSED>
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 0, size 640584 (312 Meg), flag 80
beg: cyl 0/ sector 1/ head 0;
end: cyl 311/ sector 8/ head 50
Running disklabel -e -r sd0 gives me this:
Bad pack magic number (label is damaged, or pack is unlabeled)
I'm running out of ideas.
-Clint
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510121544.IAA00754>
