From owner-aic7xxx@FreeBSD.ORG Mon Mar 7 08:08:25 2011 Return-Path: Delivered-To: aic7xxx@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5C201065675 for ; Mon, 7 Mar 2011 08:08:25 +0000 (UTC) (envelope-from ltthuyen@tma.com.vn) Received: from mail1.tma.com.vn (mail1.tma.com.vn [203.162.42.196]) by mx1.freebsd.org (Postfix) with ESMTP id 0DEE58FC15 for ; Mon, 7 Mar 2011 08:08:24 +0000 (UTC) Received: from smail.tma.com.vn ([192.168.1.42]) by mail1.tma.com.vn (8.13.8/8.13.8) with ESMTP id p277rZei023997 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 7 Mar 2011 14:53:36 +0700 Received: from ltthuyenpc ([192.168.101.31]) by smail.tma.com.vn (8.13.8/8.13.8) with ESMTP id p277rH1A002775 for ; Mon, 7 Mar 2011 14:53:19 +0700 Message-Id: <201103070753.p277rH1A002775@smail.tma.com.vn> From: "Thuyen Le Thai" To: Date: Mon, 7 Mar 2011 14:53:14 +0700 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcvcnLady/SkxKOxSnW8Je6TuzoRBg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (mail1.tma.com.vn [10.0.0.3]); Mon, 07 Mar 2011 14:53:43 +0700 (ICT) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Error attempting to read or write to /dev/st0: sense key Medium Error X-BeenThere: aic7xxx@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Adaptec Device Drivers in FreeBSD and Linux List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2011 08:08:26 -0000 Hi , I got error below. Please show me how to fix that error. Thank so much. ThuyenLe Am Donnerstag, 13. Oktober 2005 08:50 schrieb Julien Cigar: > Hello, > > sometimes I have "write error" messages during my full backup (on tapes) : > > 12-Oct 18:44 phoenix-sd: BebifFullBackup.2005-10-12_06.00.00 Error: > block.c:552 Write error at 15:111 on device /dev/st0. ERR=Input/output > error. > 12-Oct 18:44 phoenix-sd: BebifFullBackup.2005-10-12_06.00.00 Error: > Error writing final EOF to tape. This tape may not be readable. > dev.c:1213 ioctl MTWEOF error on /dev/st0. ERR=Input/output error. You should have a look in your /var/log/messages (supposing it is linux you are using). Troubles on the scsi-bus get logged there (at least on my system). This should do the trick: # grep st0 /var/log/messages These are the normal log entries, when bacula starts to write to tape. --------------------------------- Oct 14 03:26:35 epistaxis kernel: st0: Mode 0 options: buffer writes: 1, async writes: 1, read ahead: 1 Oct 14 03:26:35 epistaxis kernel: st0: can bsr: 0, two FMs: 0, fast mteom: 0, auto lock: 0, Oct 14 03:26:35 epistaxis kernel: st0: defs for wr: 0, no block limits: 0, partitions: 0, s2 log: 0 Oct 14 03:26:35 epistaxis kernel: st0: sysv: 0 nowait: 0 --------------------------------- These are error entries. If you find something similar you should have a look in the messages and see what else happens around that time. (This is the unit showing a hardware error, getting really confused and finally blowing its power supply sometime later) --------------------------------- Oct 7 12:38:06 epistaxis kernel: st0: Error with sense data: Current st09:00: sense key Hardware Error Oct 7 12:38:07 epistaxis kernel: st0: Error with sense data: Current st09:00: sense key Hardware Error Oct 7 12:38:07 epistaxis kernel: st0: Error with sense data: Current st09:00: sense key Medium Error Oct 7 12:38:12 epistaxis kernel: st0: Error with sense data: Current st09:00: sense key Not Ready --------------------------------- Also a look into the kernel message ring buffer might help. Use the command 'dmesg' for that. But as it is a ring buffer it gets overwritten after some time. CU Sven ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users