From owner-freebsd-questions@FreeBSD.ORG Tue Aug 9 10:44:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D5721065670 for ; Tue, 9 Aug 2011 10:44:29 +0000 (UTC) (envelope-from a.spinella@rfc1925.net) Received: from joy.rfc1925.net (host10-102-static.12-87-b.business.telecomitalia.it [87.12.102.10]) by mx1.freebsd.org (Postfix) with ESMTP id DA43C8FC14 for ; Tue, 9 Aug 2011 10:44:28 +0000 (UTC) Received: from joy.rfc1925.net (localhost [127.0.0.1]) by joy.rfc1925.net (Postfix) with ESMTP id EB7F812555E for ; Tue, 9 Aug 2011 12:26:59 +0200 (CEST) X-Virus-Scanned: amavisd-new at rfc1925.net Received: from joy.rfc1925.net ([127.0.0.1]) by joy.rfc1925.net (joy.rfc1925.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KNtngCyTIjId for ; Tue, 9 Aug 2011 12:26:52 +0200 (CEST) Received: from LSD25.communicationvalley.it (unknown [78.5.68.201]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: a.spinella@rfc1925.net) by joy.rfc1925.net (Postfix) with ESMTPSA id 79BFE12544F for ; Tue, 9 Aug 2011 12:26:52 +0200 (CEST) Message-ID: <4E410B78.6040007@rfc1925.net> Date: Tue, 09 Aug 2011 12:27:04 +0200 From: Alessandro Spinella User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:5.0) Gecko/20110702 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD 8.1 and HP SureStore 24x6 problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2011 10:44:29 -0000 goodmorning, am a newbye of "tape units" and am experiencing a related problem in short : having weed# uname -a FreeBSD weed.rfc1925.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 the HP device seem to be recognized weed# dmesg .......[snip out some unrelated lines ] ahc0: port 0xd000-0xd0ff ahc0: Host Adapter Bios disabled. Using default SCSI device parameters ahc0: [ITHREAD] aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs .......[snip out some unrelated lines ] (probe5:ahc0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe5:ahc0:0:5:0): CAM status: SCSI Status Error (probe5:ahc0:0:5:0): SCSI status: Check Condition (probe5:ahc0:0:5:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred) (probe5:ahc0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe5:ahc0:0:5:0): CAM status: SCSI Status Error (probe5:ahc0:0:5:0): SCSI status: Check Condition (probe5:ahc0:0:5:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) NOTE : Medium *is* present, have loaded upto 6 tapes on charger ! sa0 at ahc0 bus 0 scbus0 target 5 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 15) ch0 at ahc0 bus 0 scbus0 target 5 lun 1 ch0: Removable Changer SCSI-2 device ch0: 10.000MB/s transfers (10.000MHz, offset 15) ch0: 6 slots, 1 drive, 0 pickers, 0 portals as reported by weed# camcontrol devlist at scbus0 target 5 lun 0 (sa0,pass0) at scbus0 target 5 lun 1 (ch0,pass1) and weed# ls -l /dev/ ...... crw------- 1 root operator 0, 125 Aug 9 08:25 ch0 ...... lrwxr-xr-x 1 root wheel 6 Aug 9 08:25 esa0 -> esa0.0 crw-rw---- 1 root operator 0, 112 Aug 9 08:25 esa0.0 crw-rw---- 1 root operator 0, 118 Aug 9 08:25 esa0.1 crw-rw---- 1 root operator 0, 121 Aug 9 08:25 esa0.2 crw-rw---- 1 root operator 0, 124 Aug 9 08:25 esa0.3 ........ lrwxr-xr-x 1 root wheel 6 Aug 9 08:25 nsa0 -> nsa0.0 crw-rw---- 1 root operator 0, 111 Aug 9 08:25 nsa0.0 crw-rw---- 1 root operator 0, 117 Aug 9 08:25 nsa0.1 crw-rw---- 1 root operator 0, 120 Aug 9 08:25 nsa0.2 crw-rw---- 1 root operator 0, 123 Aug 9 08:25 nsa0.3 ....... lrwxr-xr-x 1 root wheel 5 Aug 9 08:25 sa0 -> sa0.0 crw-rw---- 1 root operator 0, 110 Aug 9 08:25 sa0.0 crw-rw---- 1 root operator 0, 116 Aug 9 08:25 sa0.1 crw-rw---- 1 root operator 0, 119 Aug 9 08:25 sa0.2 crw-rw---- 1 root operator 0, 122 Aug 9 08:25 sa0.3 crw-rw---- 1 root operator 0, 109 Aug 9 08:25 sa0.ctl ......... but as soon as i try to initialize one or more tapes just can get weed# mt -f /dev/sa0 status mt: /dev/sa0: Device not configured (also tried nsa0, ch0, esa0) as long as i can guess the matter is neither of OS, SCSI adapter and driver, just the tape that is not "seen" in place. googling had took time but no pertinent data has been found, so am asking you 1) where to get more info about that error? man is great but am unable to find a command that can help in debug my fault. 2) if, as supposed, almost all is "nice" and am just misunderstood something : how to get a working /dev/sa0 where to dump data? thanks for your time Alessandro