From owner-freebsd-stable@FreeBSD.ORG Wed Nov 3 17:22:55 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A24716A4FE for ; Wed, 3 Nov 2004 17:22:55 +0000 (GMT) Received: from altus-escon.com (altesco.xs4all.nl [213.84.124.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAA2D43D54 for ; Wed, 3 Nov 2004 17:22:53 +0000 (GMT) (envelope-from ben@altesco.nl) Received: from [193.78.231.14] (benjoam.altus-escon.com [193.78.231.14]) by altus-escon.com (8.12.11/8.12.11) with ESMTP id iA3HMpF3030492 for ; Wed, 3 Nov 2004 18:22:51 +0100 (CET) (envelope-from ben@altesco.nl) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-stable@freebsd.org From: Ben Stuyts Date: Wed, 3 Nov 2004 18:22:45 +0100 X-Mailer: Apple Mail (2.619) X-Virus-Scanned: ClamAV 0.80/533/Sun Oct 17 03:09:44 2004 clamav-milter version 0.80j on earth.altus-escon.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on earth.altus-escon.com Subject: mt stuck in cbwait X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 17:22:55 -0000 Hi, During the nightly backup the tape drive gave some errors and now the mt process seems to be stuck in cbwait mode. ps -axl says: 0 44326 1 0 -6 0 916 348 cbwait D ?? 0:00.00 mt -f /dev/nsa0 rewind I tried several different KILL's but got nowhere. I manually ejected the tape and put another back in again, but that didn't wake it up either. Is there anything else I can try before rebooting the server and killing 198 days of uptime? uname -a: FreeBSD earth.altus-escon.com 4.10-BETA FreeBSD 4.10-BETA #12: Mon Apr 19 06:48:13 CEST 2004 root@earth.altus-escon.com:/home2/obj/usr/src/sys/EARTH i386 Drive: sa0 at ahc0 bus 0 target 3 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 20.000MB/s transfers (10.000MHz, offset 15, 16bit) SCSI controller: ahc0: port 0xa800-0xa8ff mem 0xdfffa000-0xdfffafff irq 11 at device 9.0 on pci0 Errors: Nov 3 02:46:22 earth /kernel: (sa0:ahc0:0:3:0): WRITE FILEMARKS. CDB: 10 0 0 0 2 0 Nov 3 02:46:22 earth /kernel: (sa0:ahc0:0:3:0): MEDIUM ERROR info:2 csi:0,0,87,42 asc:15,2 Nov 3 02:46:22 earth /kernel: (sa0:ahc0:0:3:0): Positioning error detected by read of medium Nov 3 02:46:22 earth /kernel: (sa0:ahc0:0:3:0): failed to write terminating filemark(s) ... Nov 3 03:02:37 earth /kernel: (sa0:ahc0:0:3:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state. Nov 3 05:02:49 earth /kernel: (sa0:ahc0:0:3:0): SCB 0x6 - timed out Nov 3 05:02:49 earth /kernel: (sa0:ahc0:0:3:0): Queuing a BDR SCB Nov 3 05:02:49 earth /kernel: (sa0:ahc0:0:3:0): Bus Device Reset Message Sent Nov 3 05:02:49 earth /kernel: (sa0:ahc0:0:3:0): no longer in timeout, status = 34b Nov 3 07:02:49 earth /kernel: (sa0:ahc0:0:3:0): SCB 0xe - timed out etc... With kind regards, Ben