From owner-freebsd-hackers Sat Dec 11 20:38:31 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from monkeys.com (i180.value.net [206.14.136.180]) by hub.freebsd.org (Postfix) with ESMTP id D69E71502A for ; Sat, 11 Dec 1999 20:38:27 -0800 (PST) (envelope-from rfg@monkeys.com) Received: from monkeys.com (localhost [127.0.0.1]) by monkeys.com (8.9.3/8.9.3) with ESMTP id UAA01034 for ; Sat, 11 Dec 1999 20:37:44 -0800 (PST) To: freebsd-hackers@freebsd.org Subject: SCSI tape minor device numbers Date: Sat, 11 Dec 1999 20:37:44 -0800 Message-ID: <1032.944973464@monkeys.com> From: "Ronald F. Guilmette" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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