Date: Thu, 3 Apr 2003 00:14:28 +0200 (CEST) From: "Hartmann, O." <ohartman@klima.physik.uni-mainz.de> To: freebsd-questions@freebsd.org Cc: freebsd-release@freebsd.org Subject: WRITE FILEMARKS. CDB: 10 0 0 0 1 0/ Sequential positioning error Message-ID: <20030402233035.H5407@klima.physik.uni-mainz.de>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Dear Sirs. I did not count the postings I wrote to this group, it seems, in respect to the answers, that really few people have DAT changers or a similar problem like me. The problem I wish to describe is really serious to us and it hits two newer HP DDS4 tape drive units, one single drive and one 6 cardridge changer unit. What happens: Since FreeBSD 4.6.2 (and exactly since then!) at the end of a DDS 4 tape I receive on both machines at which the tape drive units are attached the same error from the kernel: Mar 2 23:28:31 <kern.err> atmos last message repeated 14 times Mar 2 23:28:33 <kern.crit> atmos /kernel: (sa0:sym0:0:5:0): WRITE FILEMARKS. CDB: 10 0 0 0 1 0 Mar 2 23:28:33 <kern.crit> atmos /kernel: (sa0:sym0:0:5:0): MEDIUM ERROR asc:3b,0 Mar 2 23:28:33 <kern.crit> atmos /kernel: (sa0:sym0:0:5:0): Sequential positioning error Mar 2 23:28:33 <kern.crit> atmos /kernel: (sa0:sym0:0:5:0): failed to write terminating filemark(s) Mar 2 23:28:33 <kern.crit> atmos /kernel: (sa0:sym0:0:5:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state. Mar 2 23:28:33 <kern.crit> atmos /kernel: (sa0:sym0:0:5:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state. (This is the error on ATMOS, a dual CPU system with a HP SureStore 40x6i, dmesg is attached). On the other machine the error message is as follows: Mar 1 22:25:43 <kern.crit> klima /kernel: (sa0:sym0:0:4:0): WRITE FILEMARKS. CDB: 10 0 0 0 1 0 Mar 1 22:25:43 <kern.crit> klima /kernel: (sa0:sym0:0:4:0): MEDIUM ERROR asc:3b,0 Mar 1 22:25:43 <kern.crit> klima /kernel: (sa0:sym0:0:4:0): Sequential positioning error Mar 1 22:25:43 <kern.crit> klima /kernel: (sa0:sym0:0:4:0): failed to write terminating filemark(s) Mar 1 22:25:43 <kern.crit> klima /kernel: (sa0:sym0:0:4:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state. Mar 1 22:25:44 <kern.crit> klima /kernel: (sa0:sym0:0:4:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state. (This is the error on KLIMA, also a dual CPU system with a HP DAT40 single tape drive unit, dmesg attached) On both machines, this error occured the same time and exactly at that point, when we moved from FreeBSD 4.6 to 4.6.2-RELEASE. I think it's obvious that this could not be a drive damage. I search google.groups for similar problems. I found several unanswered postings. I was said, that this could be a hardware defect or a tape defect. I exclude hardware defect due to the mentioned fact above. I changed 10 brand new original HP DDS4 tapes to another set of 10 brand new original HP tapes. That did not change anything. On both tape drives I did a 'mt erase' on a tape cardridge, but I received an error two times: Apr 2 15:29:47 <kern.crit> atmos /kernel: sym0:5:control msgout: 80 6. (on KLIMA it is the same message, two different tapes!). For your information: Bot tape units do have the standard DIP switch settings as for PC/PC-UNIX systems (standard as mentioned in HPs documentation). On the HP SureStore 40x6i changer, 'mt status' offers this status message: root: /var/log: mt status Mode Density Blocksize bpi Compression Current: 0x26:DDS-4 1024 bytes 97000 DCLZ ---------available modes--------- 0: 0x26:DDS-4 1024 bytes 97000 DCLZ 1: 0x26:DDS-4 1024 bytes 97000 DCLZ 2: 0x26:DDS-4 1024 bytes 97000 DCLZ 3: 0x26:DDS-4 1024 bytes 97000 DCLZ --------------------------------- Current Driver State: at rest. --------------------------------- File Number: 0 Record Number: 0 Residual Count 0 On the HP DAT40 single tape drive unit 'mt status' offers this: root: /var/log: mt status Mode Density Blocksize bpi Compression Current: 0x26:DDS-4 1024 bytes 97000 DCLZ ---------available modes--------- 0: 0x26:DDS-4 1024 bytes 97000 DCLZ 1: 0x26:DDS-4 1024 bytes 97000 DCLZ 2: 0x26:DDS-4 1024 bytes 97000 DCLZ 3: 0x26:DDS-4 1024 bytes 97000 DCLZ --------------------------------- Current Driver State: at rest. --------------------------------- File Number: 0 Record Number: 0 Residual Count 0 'mt geteotmodel' offers: root: /var/log: mt geteotmodel /dev/nsa0: the model is 1 filemark at EOT on both machines. The software we use for backups is afbackup in its most recent release. I can read each file backuped on the tapes execept those which ends up on one tape that has not been closed due to the error mentioned above and to be continued on the second tape. I think it seems not to be a afbackup software problem. afbackup worked perfect before 4.6.2 (we used 4.6-RELEASE before going on with 4.6.2). I read an article in http://bizforums.itrc.hp.com/cm/QuestionAnswer/1,,0xd6afba808b46d611abda0090277a778c,00.html describing a similar problem and HP suggests a recalibration of the tape drive unit. That sounds senseless to me. Is someon out here with a little help? How to ensure that the tape units are defective and not the tape driver of FreeBSD? Any assistance would be appreciated. Thanks a lot in advance, Oliver -- MfG O. Hartmann ohartman@mail.physik.uni-mainz.de ------------------------------------------------------------------ Systemadministration des Institutes fuer Physik der Atmosphaere (IPA) ------------------------------------------------------------------ Johannes Gutenberg Universitaet Mainz Becherweg 21 55099 Mainz Tel: +496131/3924662 (Maschinenraum) Tel: +496131/3924144 (Buero) FAX: +496131/3923532 [-- Attachment #2 --] Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-RELEASE-p10 #27: Wed Apr 2 16:21:33 CEST 2003 root@atmos.physik.uni-mainz.de:/usr/obj/usr/src/sys/ATMOS Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (868.57-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE> real memory = 2147483648 (2097152K bytes) avail memory = 2088099840 (2039160K bytes) Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 3, version: 0x000f0011, at 0xfec01000 Preloaded elf kernel "kernel" at 0xc0380000. Pentium Pro MTRR support enabled Using $PIR table, 12 entries at 0xc00fdf00 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard IOAPIC #1 intpin 13 -> irq 2 IOAPIC #1 intpin 12 -> irq 16 IOAPIC #1 intpin 2 -> irq 17 IOAPIC #1 intpin 4 -> irq 18 IOAPIC #1 intpin 7 -> irq 19 pci0: <PCI bus> on pcib0 pcib4: <PCI to PCI bridge (vendor=1166 device=0005)> at device 0.1 on pci0 IOAPIC #1 intpin 1 -> irq 20 pci1: <PCI bus> on pcib4 pci1: <NVidia Riva TNT2 graphics accelerator> at 0.0 irq 20 sym0: <896> port 0xf800-0xf8ff mem 0xfeafe000-0xfeafffff,0xfeafac00-0xfeafafff irq 2 at device 1.0 on pci0 sym0: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: handling phase mismatch from SCRIPTS. sym1: <896> port 0xf400-0xf4ff mem 0xfeafc000-0xfeafdfff,0xfeafa800-0xfeafabff irq 16 at device 1.1 on pci0 sym1: Symbios NVRAM, ID 7, Fast-40, SE, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: using LOAD/STORE-based firmware. sym1: handling phase mismatch from SCRIPTS. em0: <Intel(R) PRO/1000 Network Connection, Version - 1.3.14> port 0xfcc0-0xfcff mem 0xfeac0000-0xfeadffff irq 17 at device 4.0 on pci0 em0: Speed:100 Mbps Duplex:Full em1: <Intel(R) PRO/1000 Network Connection, Version - 1.3.14> port 0xfc00-0xfc3f mem 0xfeaa0000-0xfeabffff irq 18 at device 5.0 on pci0 em1: Speed:100 Mbps Duplex:Full fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xfc40-0xfc7f mem 0xfe900000-0xfe9fffff,0xfeaf8000-0xfeaf8fff irq 19 at device 7.0 on pci0 fxp0: Ethernet address 00:e0:81:00:f0:d7 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0 isa0: <ISA bus> on isab0 pci0: <Unknown PCI ATA controller> at 15.1 pcib1: <ServerWorks NB6536 2.0HE host to PCI bridge> on motherboard pci2: <PCI bus> on pcib1 pcib5: <DEC 21154 PCI-PCI bridge> at device 2.0 on pci2 IOAPIC #1 intpin 11 -> irq 21 IOAPIC #1 intpin 8 -> irq 22 pci3: <PCI bus> on pcib5 pcib6: <DEC 21154 PCI-PCI bridge> at device 0.0 on pci3 IOAPIC #1 intpin 10 -> irq 23 pci4: <PCI bus> on pcib6 amr0: <AMI MegaRAID> mem 0xf0000000-0xf3ffffff irq 23 at device 0.0 on pci4 amr0: <MegaRAID Enterprise 1600> Firmware F170, BIOS 3.13, 64MB RAM pci3: <unknown card> (vendor=0x1077, dev=0x1216) at 1.0 irq 21 pci3: <unknown card> (vendor=0x1077, dev=0x1216) at 2.0 irq 22 pcib2: <ServerWorks host to PCI bridge> on motherboard pci5: <PCI bus> on pcib2 pcib3: <ServerWorks host to PCI bridge> on motherboard pci6: <PCI bus> on pcib3 orm0: <Option ROMs> at iomem 0xc0000-0xc9fff,0xca000-0xcdfff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <6 virtual consoles, flags=0x200> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 APIC_IO: Testing 8254 interrupt delivery APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2 APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0 DUMMYNET initialized (011031) ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging unlimited IPsec: Initialized Security Association Processing. Waiting 2 seconds for SCSI devices to settle (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. (noperiph:sym1:0:-1:-1): SCSI BUS reset delivered. amrd0: <MegaRAID logical drive> on amr0 amrd0: 245014MB (501788672 sectors) RAID 5 (optimal) SMP: AP CPU #1 Launched! sa0 at sym0 bus 0 target 5 lun 0 sa0: <HP C5713A H910> Removable Sequential Access SCSI-2 device sa0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit) Mounting root from ufs:/dev/amrd0s1a ch0 at sym0 bus 0 target 5 lun 1 ch0: <HP C5713A H910> Removable Changer SCSI-2 device ch0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit) ch0: 6 slots, 1 drive, 0 pickers, 0 portals cd0 at sym1 bus 0 target 3 lun 0 cd0: <TEAC CD-ROM CD-532S 1.0A> Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 16) cd0: Attempt to query device size failed: NOT READY, Medium not present arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet [-- Attachment #3 --] Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-RELEASE-p10 #22: Wed Apr 2 16:17:41 CEST 2003 root@klima.physik.uni-mainz.de:/usr/obj/usr/src/sys/KLIMA Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (803.61-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE> real memory = 1073725440 (1048560K bytes) avail memory = 1041346560 (1016940K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 3, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0393000. netsmb_dev: loaded Pentium Pro MTRR support enabled Using $PIR table, 7 entries at 0xc00f12d0 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard IOAPIC #0 intpin 19 -> irq 2 IOAPIC #0 intpin 18 -> irq 10 pci0: <PCI bus> on pcib0 pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0 IOAPIC #0 intpin 16 -> irq 11 pci1: <PCI bus> on pcib2 pci1: <ATI model 5159 graphics accelerator> at 0.0 irq 11 isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0 isa0: <ISA bus> on isab0 pci0: <VIA 85C586 ATA controller> at 4.1 pci0: <unknown card> (vendor=0x1106, dev=0x3057) at 4.4 em0: <Intel(R) PRO/1000 Network Connection, Version - 1.3.14> port 0xa800-0xa83f mem 0xea000000-0xea03ffff,0xea800000-0xea81ffff irq 2 at device 9.0 on pci0 em0: Speed:100 Mbps Duplex:Full sym0: <1010-33> port 0xa400-0xa4ff mem 0xe9000000-0xe9001fff,0xe9800000-0xe98003ff irq 10 at device 10.0 on pci0 sym0: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: handling phase mismatch from SCRIPTS. sym1: <1010-33> port 0xa000-0xa0ff mem 0xe8000000-0xe8001fff,0xe8800000-0xe88003ff irq 2 at device 10.1 on pci0 sym1: Symbios NVRAM, ID 7, Fast-80, SE, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: using LOAD/STORE-based firmware. sym1: handling phase mismatch from SCRIPTS. pcib3: <DEC 21154 PCI-PCI bridge> at device 11.0 on pci0 pci2: <PCI bus> on pcib3 pcib4: <DEC 21154 PCI-PCI bridge> at device 0.0 on pci2 IOAPIC #0 intpin 17 -> irq 13 pci3: <PCI bus> on pcib4 amr0: <AMI MegaRAID> mem 0xec000000-0xedffffff irq 13 at device 0.0 on pci3 amr0: <MegaRAID Elite 1600> Firmware F170, BIOS 3.13, 32MB RAM pci2: <unknown card> (vendor=0x1077, dev=0x1216) at 1.0 irq 10 pcib1: <Host to PCI bridge> on motherboard pci4: <PCI bus> on pcib1 orm0: <Option ROMs> at iomem 0xc0000-0xcbfff,0xcc000-0xcd7ff,0xd0000-0xd07ff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <8 virtual consoles, flags=0x200> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging unlimited DUMMYNET initialized (011031) IPsec: Initialized Security Association Processing. Waiting 4 seconds for SCSI devices to settle (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. (noperiph:sym1:0:-1:-1): SCSI BUS reset delivered. amrd0: <MegaRAID logical drive> on amr0 amrd0: 43735MB (89569280 sectors) RAID 5 (optimal) SMP: AP CPU #1 Launched! sa0 at sym0 bus 0 target 4 lun 0 sa0: <HP C5683A C005> Removable Sequential Access SCSI-2 device sa0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit) Mounting root from ufs:/dev/amrd0s1a cd0 at sym1 bus 0 target 3 lun 0 cd0: <TEAC CD-ROM CD-532S 1.0A> Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 16) cd0: Attempt to query device size failed: NOT READY, Medium not present link_elf: symbol splash_register undefined arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet arp: runt packet
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030402233035.H5407>
