Date: Mon, 25 Aug 2003 12:14:00 -0400 From: "Dan Langille" <dan@langille.org> To: "Michael L. Squires" <mikes@siralan.org> Cc: freebsd-scsi@freebsd.org Subject: Re: SCSI tape data loss Message-ID: <3F49FD88.8464.1539E125@localhost> In-Reply-To: <200308251117.h7PBH1SA018124@siralan.org> References: <3EF37A16.15316.2772DF95@localhost> "from Dan Langille at Jun 20, 2003 09:18:14 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
On 25 Aug 2003 at 6:17, Michael L. Squires wrote: > I ran "tapetest.c" under 5.1-RELEASE (without pthread under 5.1-RELEASE, > first part with pthread under 5.1-RELEASE, second part (scan) under > 5.1-RELEASE-p2). I don't understand what the above means or how it relates to the results below. Could you elaborate please? Thanks. > 216012 blocks written/read without pthreads > 217073 blocks written/read with pthreads (same!) > > Hardware is SuperMicro P6DGH, dual PIII/850, onboard AIC7896, DLT4000 tape > drive, Seagate ST423451W 23GB HD. > > --------------------------results---------------------------------------------- > > dmesg: > > FreeBSD 5.1-RELEASE #1: Sat Aug 23 14:56:45 EST 2003 > root@mikes.siralan.org:/usr/obj/usr/src/sys/MIKES > CPU: Intel Pentium III (851.93-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x686 Stepping = 6 > > ahc0: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0xe400-0xe4ff mem 0xffafe000-0xffafefff irq 10 at device 14.0 on pci0 > aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs > ahc1: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0xe800-0xe8ff mem 0xffaff000-0xffafffff irq 10 at device 14.1 on pci0 > aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs > > sa0 at ahc1 bus 0 target 4 lun 0 > sa0: <Quantum DLT4000 CD43> Removable Sequential Access SCSI-2 device > sa0: 10.000MB/s transfers (10.000MHz, offset 15) > > output from tapetest.c (edited) > > weof_dev > Wrote EOF to /dev/sa0 > Write failed. Last block written=216012. stat=0 ERR=Unknown error: 0 > > *rewind > Rewound /dev/sa0 > *scan > Starting scan at file 0 > 216012 blocks of 64512 bytes in file 0 > End of File mark. > End of File mark. > End of tape > Total files=1, blocks=216012, bytes = 1050464256 > > ioctl MTWEOF error on /dev/sa0. ERR=Input/output error. > Bad status from weof -1. ERR=Input/output error > Write failed. Last block written=217073. stat=-1 ERR=No space left on device > > *rewind > Rewound /dev/sa0 > *scan > Starting scan at file 0 > Bad status from read -1. ERR=Input/output error > 217073 blocks of 64512 bytes in file 0 > * > > -- Dan Langille : http://www.langille.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F49FD88.8464.1539E125>
