From owner-freebsd-current@FreeBSD.ORG Sun Apr 4 19:03:08 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C400B16A4CE for ; Sun, 4 Apr 2004 19:03:08 -0700 (PDT) Received: from angmar.mel.vet.com.au (angmar.mel.vet.com.au [203.39.245.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14E4E43D39 for ; Sun, 4 Apr 2004 19:03:08 -0700 (PDT) (envelope-from odela01@ca.com) Received: from nargothrond.ca.com (nargothrond.ca.com [155.35.178.10]) by angmar.mel.vet.com.au (Postfix) with ESMTP id C414C14F308 for ; Mon, 5 Apr 2004 12:02:59 +1000 (EST) Received: from [155.35.171.93] (anduril-udp02484961uds.ca.com [155.35.171.93]) by nargothrond.ca.com with esmtp; Mon, 05 Apr 2004 12:02:58 +1000 Mime-Version: 1.0 (Apple Message framework v613) Content-Transfer-Encoding: 7bit Message-Id: <5BBC9984-86A5-11D8-8786-000A95DBB47C@ca.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: current@freebsd.org From: Lachlan O'Dea Date: Mon, 5 Apr 2004 12:02:57 +1000 X-Pgp-Agent: GPGMail 1.0 (v30, 10.3) X-Mailer: Apple Mail (2.613) Subject: sa(4): removing device entry X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 02:03:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I've got a 5.2.1 system with a Quantum DTL7000 tape drive. I'm using dump(1) to backup to the tape, and this generally works fine. However, on two occasions I have seen a problem like this: Apr 2 00:42:01 isis kernel: (ahc0:A:6:0): Sending WDTR 1 Apr 2 00:42:01 isis kernel: (ahc0:A:6:0): Received WDTR 1 filtered to 1 Apr 2 00:42:01 isis kernel: ahc0: target 6 using 16bit transfers Apr 2 00:42:01 isis kernel: (ahc0:A:6:0): Sending SDTR period 19, offset 8 Apr 2 00:42:01 isis kernel: (ahc0:A:6:0): Received SDTR period 19, offset 8 Apr 2 00:42:01 isis kernel: Filtered to period 19, offset 8 Apr 2 00:42:01 isis kernel: ahc0: target 6 synchronous at 10.0MHz, offset = 0x8 Apr 2 00:42:01 isis kernel: (sa0:ahc0:0:6:0): Retrying Command Apr 2 01:08:36 isis kernel: (sa0:ahc0:0:6:0): Unexpected busfree in Data-out phase Apr 2 01:08:36 isis kernel: SEQADDR == 0x73 Apr 2 01:08:36 isis kernel: (sa0:ahc0:0:6:0): Unexpected Bus Free Apr 2 01:08:36 isis kernel: (sa0:ahc0:0:6:0): error 5 Apr 2 01:08:36 isis kernel: (sa0:ahc0:0:6:0): Retries Exausted Apr 2 01:08:36 isis kernel: (sa0:ahc0:0:6:0): lost device Apr 2 01:08:36 isis kernel: (pass0:ahc0:0:6:0): lost device Apr 2 01:08:36 isis kernel: (pass0:ahc0:0:6:0): removing device entry Apr 2 01:08:36 isis kernel: ahc0: target 6 using 8bit transfers Apr 2 01:08:36 isis kernel: ahc0: target 6 using asynchronous transfers Apr 2 01:08:36 isis kernel: (sa0:ahc0:0:6:0): failed to write terminating filemark(s) Apr 2 01:08:37 isis kernel: (sa0:ahc0:0:6:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state. Apr 2 01:08:37 isis kernel: (sa0:ahc0:0:6:0): removing device entry Any ideas as to what the problem could be? After this happens, all *sa* devices disappear from /dev. Is there any way to recreate them, other than rebooting? If I eject the tape and insert a new one, the drive appears to load the tape normally, but I have no device entry to talk to it. - -- Lachlan O'Dea Computer Associates Senior Software Engineer tel: +61 3 8416 5627 fax: +61 3 8416 5810 mobile: +61 412 390 650 odela01@ca.com Relax and enjoy your shoes! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQFAcL5RoBZahcUBONoRArsAAKD1lAVXz72tHAXLszfWDvGGK7HKtwCg+7MW WdLAidr1OMPb1JsThc9yr8w= =Om15 -----END PGP SIGNATURE-----