Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 1999 20:37:44 -0800
From:      "Ronald F. Guilmette" <rfg@monkeys.com>
To:        freebsd-hackers@freebsd.org
Subject:   SCSI tape minor device numbers
Message-ID:  <1032.944973464@monkeys.com>

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

The sa(4) man page describes the semantics of the low-order two bits
of the minor device numbers for SCSI tape devices.

Can anyone tell me what the semantics of the next two higher bits of the
minor device number are?


# ls -l /dev/*sa*
crw-rw----  2 root  operator   14,   2 Oct 25 19:41 /dev/ersa0
crw-rw----  2 root  operator   14,   2 Oct 25 19:41 /dev/ersa0.0
crw-rw----  1 root  operator   14,   6 Oct 25 19:41 /dev/ersa0.1
crw-rw----  1 root  operator   14,  10 Oct 25 19:41 /dev/ersa0.2
crw-rw----  1 root  operator   14,  14 Oct 25 19:41 /dev/ersa0.3
crw-rw----  2 root  operator   14,   1 Oct 25 19:41 /dev/nrsa0
crw-rw----  2 root  operator   14,   1 Oct 25 19:41 /dev/nrsa0.0
crw-rw----  1 root  operator   14,   5 Oct 25 19:41 /dev/nrsa0.1
crw-rw----  1 root  operator   14,   9 Oct 25 19:41 /dev/nrsa0.2
crw-rw----  1 root  operator   14,  13 Oct 25 19:41 /dev/nrsa0.3
crw-rw----  2 root  operator   14,   0 Oct 25 19:41 /dev/rsa0
crw-rw----  2 root  operator   14,   0 Oct 25 19:41 /dev/rsa0.0
crw-rw----  1 root  operator   14,   4 Oct 25 19:41 /dev/rsa0.1
crw-rw----  1 root  operator   14,   8 Oct 25 19:41 /dev/rsa0.2
crw-rw----  1 root  operator   14,  12 Oct 25 19:41 /dev/rsa0.3
crw-rw----  1 root  wheel      14, 0x20000000 Oct 25 19:41 /dev/rsa0.ctl


Another question:

I just plugged in my HP 35480A SCSI DAT drive to my FreeBSD system.
Of course, FreeBSD seems not to like it, even though the drive itself
gives no indication of any problems.

Each time I try to access the drive, I get the following set of three
log messages on the system console:

(sa0:ahc0:0:5:0): RESERVE(06). CDB: 16 0 0 0 0 0 
(sa0:ahc0:0:5:0): HARDWARE FAILURE asc:0,4
(sa0:ahc0:0:5:0): Beginning-of-partition/medium detected

The first and the last of these three messages seem benign enough, but
it seem awfully clear that the middle one is related to whatever is
causing the relevant device file to yield only an `I/O Error' each time
I try to open it.

Can anyone interpret this for me:

	HARDWARE FAILURE asc:0,4

What does it mean?

It this just the numeric code for ``Buy another tape drive''?
:-)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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