Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262265AbVCBLTO (ORCPT ); Wed, 2 Mar 2005 06:19:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262266AbVCBLTO (ORCPT ); Wed, 2 Mar 2005 06:19:14 -0500 Received: from anchor-post-30.mail.demon.net ([194.217.242.88]:8964 "EHLO anchor-post-30.mail.demon.net") by vger.kernel.org with ESMTP id S262265AbVCBLPq convert rfc822-to-8bit (ORCPT ); Wed, 2 Mar 2005 06:15:46 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Subject: Problems with SCSI tape rewind / verify on 2.4.29 Date: Wed, 2 Mar 2005 11:15:42 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problems with SCSI tape rewind / verify on 2.4.29 Thread-Index: AcUfGSxOM6CrNRCoQLCZQZUw3qkbKA== From: "Mark Yeatman" To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 14029 Lines: 418 Hi Never had to log a bug before, hope this is correctly done. Thanks Mark Detail.... [1.] One line summary of the problem: SCSI tape drive is refusing to rewind after backup to allow verify and causing illegal seek error [2.] Full description of the problem/report: On backup the tape drive is reporting the following error and failing it's backups. tar: /dev/st0: Warning: Cannot seek: Illegal seek I have traced this back to failing at an upgrade of the kernel to 2.4.29 on Feb 8th. The backups have not worked since. Replacement Drives have been tried and cables to no avail. I noticed in the the changelog that a patch by Solar Designer to the Scsi tape return code had been made. Solar Designer: o Fix SCSI tape driver return code The tape appears to back up correctly but will not verify. [3.] Keywords (i.e., modules, networking, kernel): Solar Designer, Tape, Scsi, 2.4.29 [4.] Kernel version (from /proc/version): Linux version 2.4.29-vs1.2.10 (root@raptor) (gcc version 3.2.3) #1 SMP Tue Feb 8 15:55:58 UTC 2005 [5.] Output of Oops.. message (if applicable) with symbolic information resolved (see Documentation/oops-tracing.txt) [6.] A small shell script or example program which triggers the problem (if possible) tar cf /dev/st0 -W -P --exclude proc --exclude dev / 1>> /var/log/backup.log 2>>/var/log/backup.log [7.] Environment [7.1.] Software (add the output of the ver_linux script here) Linux raptor 2.4.29-vs1.2.10 #1 SMP Tue Feb 8 15:55:58 UTC 2005 i686 unknown unk nown GNU/Linux Gnu C 3.2.3 Gnu make 3.80 util-linux 2.12 mount 2.12 modutils 2.4.25 e2fsprogs 1.34 Linux C Library 2.3.2 Dynamic linker (ldd) 2.3.2 Linux C++ Library 5.0.3 Procps 2.0.16 Net-tools 1.60 Kbd 1.08 Sh-utils 5.0 Modules Loaded [7.2.] Processor information (from /proc/cpuinfo): processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 3.06GHz stepping : 7 cpu MHz : 3059.270 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid bogomips : 6107.95 processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 3.06GHz stepping : 7 cpu MHz : 3059.270 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid bogomips : 6107.95 [7.3.] Module information (from /proc/modules): No output from here. [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 01f0-01f7 : ide0 03c0-03df : vga+ 03f6-03f6 : ide0 0cf8-0cff : PCI conf1 a800-a8ff : Adaptec ASC-29320 U320 b000-b0ff : Adaptec ASC-29320 U320 b400-b4ff : Adaptec ASC-29320 U320 (#2) b800-b8ff : Adaptec ASC-29320 U320 (#2) bc00-bc3f : PCI device 8086:1050 (Intel Corp.) bc00-bc3f : e100 c400-c41f : Intel Corp. 82801EB SMBus Controller c800-c81f : Intel Corp. 82801EB USB cc00-cc1f : Intel Corp. 82801EB USB d000-d01f : Intel Corp. 82801EB USB d400-d41f : Intel Corp. 82801EB USB d800-d80f : Intel Corp. 82801EB Ultra ATA Storage Controller dc00-dc03 : Intel Corp. 82801EB Ultra ATA Storage Controller e000-e007 : Intel Corp. 82801EB Ultra ATA Storage Controller e400-e403 : Intel Corp. 82801EB Ultra ATA Storage Controller e800-e807 : Intel Corp. 82801EB Ultra ATA Storage Controller ec00-ec07 : Intel Corp. 82865G Integrated Graphics Device ffa0-ffaf : Intel Corp. 82801EB Ultra ATA Storage Controller 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000ca000-000d39ff : Extension ROM 000f0000-000fffff : System ROM 00100000-7ef2fbff : System RAM 00100000-002b9f80 : Kernel code 002b9f81-00354667 : Kernel data 7ef2fc00-7ef2ffff : ACPI Non-volatile Storage 7ef30000-7ef3ffff : ACPI Tables 7ef40000-7efeffff : ACPI Non-volatile Storage 7eff0000-7effffff : reserved 7f000000-7f0003ff : Intel Corp. 82801EB Ultra ATA Storage Controller f0000000-f7ffffff : Intel Corp. 82865G Integrated Graphics Device f8000000-fbffffff : Intel Corp. 82865G/PE/P Processor to I/O Controller fecf0000-fecf0fff : reserved fed20000-fed9ffff : reserved ff8fb000-ff8fbfff : PCI device 8086:1050 (Intel Corp.) ff8fb000-ff8fbfff : e100 ff8fc000-ff8fdfff : Adaptec ASC-29320 U320 ff8fc000-ff8fcfff : aic79xx ff8fe000-ff8fffff : Adaptec ASC-29320 U320 (#2) ff8fe000-ff8fefff : aic79xx ffa80000-ffafffff : Intel Corp. 82865G Integrated Graphics Device [7.5.] PCI information ('lspci -vvv' as root) 00:00.0 Host bridge: Intel Corp.: Unknown device 2570 (rev 02) Subsystem: Intel Corp.: Unknown device 2570 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset- FastB2B- 00:1f.0 ISA bridge: Intel Corp.: Unknown device 24d0 (rev 02) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Step ping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- Region 1: I/O ports at Region 2: I/O ports at Region 3: I/O ports at Region 4: I/O ports at ffa0 [size=16] Region 5: Memory at 7f000000 (32-bit, non-prefetchable) [disabled] [size =1K] 00:1f.2 IDE interface: Intel Corp.: Unknown device 24d1 (rev 02) (prog-if 8f [Ma ster SecP SecO PriP PriO]) Subsystem: Intel Corp.: Unknown device 4246 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR-