From owner-freebsd-scsi Tue Dec 23 18:04:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA00997 for freebsd-scsi-outgoing; Tue, 23 Dec 1997 18:04:48 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from fly.HiWAAY.net (root@fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA00889; Tue, 23 Dec 1997 18:04:14 -0800 (PST) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt1-61.HiWAAY.net [208.147.147.61]) by fly.HiWAAY.net (8.8.7/8.8.6) with ESMTP id UAA17651; Tue, 23 Dec 1997 20:03:46 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by nospam.hiwaay.net (8.8.8/8.8.4) with ESMTP id TAA28552; Tue, 23 Dec 1997 19:40:55 -0600 (CST) Message-Id: <199712240140.TAA28552@nospam.hiwaay.net> X-Mailer: exmh version 2.0zeta 7/24/97 To: leifn@image.dk (Leif Neland) cc: freebsd-questions@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG From: David Kelly Subject: Re: Adaptec AHA-2842A troubles In-reply-to: Message from leifn@image.dk (Leif Neland) of "23 Dec 1997 19:32:14 +0100." <903_9712231954@swimsuit.swimsuit.roskildebc.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Tue, 23 Dec 1997 19:40:54 -0600 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id SAA00948 Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Leif Neland writes: >On the third 486, it worked. >This used to have an AVA-1505 and IDE, but now has the 2842A, and boots >from IDE. > >So now the first 486 boots (dos) from a 1542A, and has the fbsd-disks on >the AVA-1505. > >But I still can't understand why the scsi-bus works differently on >different boards. Its not the SCSI bus that's different. Its the PB MB and/or BIOS. Not all VL bus slots are bus master capable. Maybe it wasn't until the 3rd PC that you happened on a bus master VL bus slot. And then again there is the issue of the VL bus clock rate. Some MB's ran the VL bus at full CPU clock, a 486DX50 (not a DX/2) will probably run the VL bus at 50 MHz. Adaptec's plain 2842 would run at 50 MHz, the 2842A would not. Can multiple 1542's exist in a system at one time? Once Upon A Time I tried a 1542CF and NE2100 at the same time. The NE2100 didn't tolerate any other bus masters. Sold all my NE2100's for cheap. Am wondering if Leif had multiple bus masters on his failure systems and that caused the failures? I have a cheapo VL/PCI 486MB with AMD 5X86/133-P75. Not sure why I can't boot my 2842 non-A. It scans and detects the SCSI devices but attempting to boot ends up with a message that claims the A: disk isn't readable. Never made it to BootEasy. There wasn't a floppy in the A: drive. Putting a floppy in the A: drive doesn't work if A: is not the first device in the BIOS boot order. Moving the SCSI cable back to the 2940 in the same system and everything works (see dmesg snippet below). Is there a BIOS issue with the Adaptec 2842? I have one of the early ones, one the prior owner said was run at 50 MHz VL bus speed. Am pretty sure I'm not trying to run it over 33 MHz. Prior owner said, "I never could boot the 2842 either." Ain't PC's just dandy? If FreeBSD discovers the card during probe, has it passed the the bus master test? I can't hook anything to the 2842 until I get new/more cables or snag an external HD or tape from another system: FreeBSD 2.2.5-STABLE #0: Thu Dec 18 15:50:41 CST 1997 root@Grumpy.tbe.com:/usr3/src/sys/compile/GRUMPY CPU: AMD Am5x86 Write-Back (486-class CPU) Origin = "AuthenticAMD" Id = 0x4f4 Stepping=4 Features=0x1 real memory = 33554432 (32768K bytes) avail memory = 30494720 (29780K bytes) ahc0: at 0x1c00-0x1cff irq 15 on eisa0 slot 1 ahc0: aic7770 <= Rev C, Single Channel, SCSI Id=7, 4 SCBs ahc0 waiting for scsi devices to settle ... ahc1 rev 0 int a irq 11 on pci0:13 ahc1: aic7870 Single Channel, SCSI Id=7, 16/255 SCBs ahc1 waiting for scsi devices to settle ahc1: target 0 Tagged Queuing Device (ahc1:0:0): "IBM DCAS-34330 S61A" type 0 fixed SCSI 2 sd0(ahc1:0:0): Direct-Access 4134MB (8467200 512 byte sectors) (ahc1:3:0): "ARCHIVE ANCDA 2750 28077 -003" type 1 removable SCSI 2 st0(ahc1:3:0): Sequential-Access density code 0x15, 512-byte blocks, write-enabl ed Other thing to note is the 2842 probes before the 2940, both in BIOS boot time and FreeBSD kernel probe time. I *think* I've built a kernel with sd0 wired to ahc1 (haven't tried it yet). Am thinking if I put a HD on the 2842 the BIOS is going to attempt to boot it (and fail) and my new kernel will go for naught? If I can make the 2842 work in this system (my only VL bus slot) then the 2940 can go to work in another box. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. From owner-freebsd-scsi Tue Dec 23 18:49:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA03749 for freebsd-scsi-outgoing; Tue, 23 Dec 1997 18:49:46 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA03726; Tue, 23 Dec 1997 18:49:24 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id SAA15057; Tue, 23 Dec 1997 18:48:49 -0800 (PST) Message-ID: <19971223184848.54856@hydrogen.nike.efn.org> Date: Tue, 23 Dec 1997 18:48:48 -0800 From: John-Mark Gurney To: David Kelly Cc: Leif Neland , freebsd-questions@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: Adaptec AHA-2842A troubles References: <903_9712231954@swimsuit.swimsuit.roskildebc.dk> <199712240140.TAA28552@nospam.hiwaay.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199712240140.TAA28552@nospam.hiwaay.net>; from David Kelly on Tue, Dec 23, 1997 at 07:40:54PM -0600 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk David Kelly scribbled this message on Dec 23: > Leif Neland writes: > > Is there a BIOS issue with the Adaptec 2842? I have one of the early > ones, one the prior owner said was run at 50 MHz VL bus speed. Am > pretty sure I'm not trying to run it over 33 MHz. Prior owner said, > "I never could boot the 2842 either." Ain't PC's just dandy? I don't know.. I have a Intel 486dx2/66 with a ahc2842 and I don't have any problems... no ide in the machine... just the ahc2842, an awe, ne2000 compat, and a cirrus logic vlb video card... ahc0: at 0x1c00-0x1cff irq 12 on eisa0 slot 1 ahc0: aic7770 >= Rev E, Single Channel, SCSI Id=7, 4/255 SCBs > If FreeBSD discovers the card during probe, has it passed the the bus > master test? I can't hook anything to the 2842 until I get new/more > cables or snag an external HD or tape from another system: I'm not sure... probably though, assuming that you've got responses from a device on the bus... > If I can make the 2842 work in this system (my only VL bus slot) then > the 2940 can go to work in another box. have you tried to pull the 2940 out of the machine, and just kept the 2842 in it?? -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking P.O. Box 5693, 97405 Live in Peace, destroy Micro$oft, support free software, run FreeBSD From owner-freebsd-scsi Tue Dec 23 19:39:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA06181 for freebsd-scsi-outgoing; Tue, 23 Dec 1997 19:39:21 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from fly.HiWAAY.net (root@fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA06151; Tue, 23 Dec 1997 19:39:01 -0800 (PST) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt1-61.HiWAAY.net [208.147.147.61]) by fly.HiWAAY.net (8.8.7/8.8.6) with ESMTP id VAA13422; Tue, 23 Dec 1997 21:36:16 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by nospam.hiwaay.net (8.8.8/8.8.4) with ESMTP id VAA29382; Tue, 23 Dec 1997 21:36:14 -0600 (CST) Message-Id: <199712240336.VAA29382@nospam.hiwaay.net> X-Mailer: exmh version 2.0zeta 7/24/97 To: freebsd-questions@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG From: David Kelly Subject: Re: Adaptec AHA-2842A troubles In-reply-to: Message from John-Mark Gurney of "Tue, 23 Dec 1997 18:48:48 PST." <19971223184848.54856@hydrogen.nike.efn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 23 Dec 1997 21:36:14 -0600 Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk John-Mark Gurney writes: > > have you tried to pull the 2940 out of the machine, and just kept the > 2842 in it?? Oh yes! Stripped the machine down to its $28 Trident PCI video card and the 2842 to no avail. Machine has been running fine with the 2842 installed but not active. Also has a 21040 ethernet card installed but not active. Am running an NE2000 clone until I figure out why my de0 goes deaf, but that's another story. Probably should have mentioned my cheap MB is featured in http://users.aol.com/sdnd/vip.htm, an amazing work of useful info for an otherwise unamazing mass produced generic cheap MB. Mine is the last revision, 3.4, with (4) 72-pin SIMMs. This web page metions some defect in the UMC 8881 or 8886 chipset and VL and graphics boards. Don't think I can complain much about this cheap MB if it flat out doesn't do Adaptec 2842's, it was $116 for 5x86/133 CPU and 256k of cache (in addition to 256k of WRITE BACK CACHE on the MB, bogus) and has been running 24 hours/day now for 15 months. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. From owner-freebsd-scsi Thu Dec 25 06:50:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA13814 for freebsd-scsi-outgoing; Thu, 25 Dec 1997 06:50:49 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from news.IAEhv.nl (root@news.IAEhv.nl [194.151.64.4]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id GAA13807 for ; Thu, 25 Dec 1997 06:50:45 -0800 (PST) (envelope-from volf@oasis.IAEhv.nl) Received: from oasis.IAEhv.nl (uucp@localhost) by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 27646 on Thu, 25 Dec 1997 14:50:42 GMT; id OAA27646 efrom: volf@oasis.IAEhv.nl; eto: freebsd.org!freebsd-scsi Received: from LOCAL (volf@localhost) by oasis.IAEhv.nl (8.8.7/1.63); pid 722 on Thu, 25 Dec 1997 14:47:48 GMT; id OAA00722 efrom: volf; eto: freebsd-scsi@freebsd.org From: volf@oasis.IAEhv.nl (Frank Volf) Message-Id: <199712251447.OAA00722@oasis.IAEhv.nl> Subject: Error message To: freebsd-scsi@freebsd.org Date: Thu, 25 Dec 1997 15:47:48 +0100 (MET) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I just got the following message: Dec 25 15:21:16 oasis /kernel: sd0(ncr0:0:0): ABORTED COMMAND asc:4e,0 Overlapped commands attempted Dec 25 15:21:16 oasis /kernel: , retries:3 First I thought the system was frozen, but it seemed to recover after about 30 seconds. What does this message mean? Is it a bug? A hardware problem? The kernel that I'm running is a 2.2.5 STABLE kernel with FAILSAFE enabled. I have a ncr controllor card. Merry xmas, Frank ---------------------------------------------------------------------------- Frank Volf - Internet Access Eindhoven - Digitale Stad Eindhoven ---------------------------------------------------------------------------- || volf@oasis.IAEhv.nl - use for personal mail || || volf@IAEhv.nl - use for Internet Access Eindhoven related mail || || volf@dse.dse.nl - use for Digital City of Eindhoven related mail || ---------------------------------------------------------------------------- IAE Public Access Unix System - Dial +31.40.2439436 and login as new. ---------------------------------------------------------------------------- From owner-freebsd-scsi Thu Dec 25 15:53:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA08769 for freebsd-scsi-outgoing; Thu, 25 Dec 1997 15:53:40 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA08759 for ; Thu, 25 Dec 1997 15:53:33 -0800 (PST) (envelope-from gibbs@narnia.plutotech.com) Received: (from gibbs@localhost) by narnia.plutotech.com (8.8.8/8.7.3) id QAA13108; Thu, 25 Dec 1997 16:51:22 -0700 (MST) Date: Thu, 25 Dec 1997 16:51:22 -0700 (MST) From: "Justin T. Gibbs" Message-Id: <199712252351.QAA13108@narnia.plutotech.com> To: volf@oasis.IAEhv.nl (Frank Volf) cc: scsi@FreeBSD.org Subject: Re: Error message Newsgroups: pluto.freebsd.scsi In-Reply-To: <199712251447.OAA00722@oasis.IAEhv.nl> User-Agent: tin/pre-1.4-971204 (UNIX) (FreeBSD/3.0-CURRENT (i386)) Sender: owner-freebsd-scsi@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk In article <199712251447.OAA00722@oasis.IAEhv.nl> you wrote: > I just got the following message: > Dec 25 15:21:16 oasis /kernel: sd0(ncr0:0:0): ABORTED COMMAND asc:4e,0 > Overlapped commands attempted > Dec 25 15:21:16 oasis /kernel: , retries:3 This means that the drive believes that tagged and untagged commands were mixed, or two commands were sent to it using the same identifier. Since you say you are using the FAILSAFE option, tags should be disabled, so this is truely puzzling. What kind of drive is this? Have you checked with the vendor to see if updated firmware is available for it? Perhaps Stefan will have some ideas about this. -- Justin T. Gibbs =========================================== FreeBSD - Turning PCs into workstations =========================================== From owner-freebsd-scsi Thu Dec 25 23:06:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA27237 for freebsd-scsi-outgoing; Thu, 25 Dec 1997 23:06:42 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from revolution.3-cities.com (root@revolution.3-cities.com [204.203.224.155]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA27229 for ; Thu, 25 Dec 1997 23:06:39 -0800 (PST) (envelope-from msmith@3-cities.com) Received: from mark (bigtca513.3-cities.com [204.203.228.174]) by revolution.3-cities.com (8.8.5/8.7.3) with SMTP id XAA21889 for ; Thu, 25 Dec 1997 23:01:44 -0800 (PST) Message-ID: <34A3530D.590@3-cities.com> Date: Thu, 25 Dec 1997 22:47:41 -0800 From: Mark Smith Reply-To: msmith@3-cities.com Organization: Organization? What's that?!? X-Mailer: Mozilla 3.03Gold (Win95; U) MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Subject: DAT question/problem! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Greetings, I'm currently trying to write a program that verifies DAT tapes for recycling in the tape pool. How do you detect the end of the tape? I use open() to open the device, ioctl to rewind it and MTIOCGET to get the device information. mtget.mt_type reports a type 7 tape device which is a sun, this is a Python (see /var/log/message snip later). OK, I then do a write(mt,buff,size) in a loop to write the block pattern out. I then receive a write=-1 and errno = 5 (Input Output error). Is this how it should be?? Dec 25 01:35:01 mark /kernel: ncr0 rev 17 int a irq 9 on pci0:11 Dec 25 01:35:01 mark /kernel: ncr0 waiting for scsi devices to settle Dec 25 01:35:01 mark /kernel: (ncr0:1:0): "ARCHIVE Python 25588-XXX 2.96" type 1 removable SCSI 2 Dec 25 01:35:01 mark /kernel: st0(ncr0:1:0): Sequential-Access Dec 25 01:35:01 mark /kernel: st0(ncr0:1:0): asynchronous. Dec 25 01:35:01 mark /kernel: st0(ncr0:1:0): M_REJECT received (1:8). Dec 25 01:35:01 mark /kernel: density code 0x0, variable blocks, write-enabled Thanks! Mark From owner-freebsd-scsi Fri Dec 26 07:22:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA16004 for freebsd-scsi-outgoing; Fri, 26 Dec 1997 07:22:16 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA15994 for ; Fri, 26 Dec 1997 07:22:12 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.8.8/8.8.8) with UUCP id QAA07463; Fri, 26 Dec 1997 16:21:34 +0100 (CET) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.8.8/8.8.5) id QAA25875; Fri, 26 Dec 1997 16:20:02 +0100 (MET) Message-ID: <19971226162002.29967@uriah.heep.sax.de> Date: Fri, 26 Dec 1997 16:20:02 +0100 From: J Wunsch To: freebsd-scsi@FreeBSD.ORG Cc: msmith@3-cities.com Subject: Re: DAT question/problem! Reply-To: Joerg Wunsch References: <34A3530D.590@3-cities.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <34A3530D.590@3-cities.com>; from Mark Smith on Thu, Dec 25, 1997 at 10:47:41PM -0800 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Mark Smith wrote: > OK, I then do a write(mt,buff,size) in a loop to > write the block pattern out. I then receive a write=-1 and > errno = 5 (Input Output error). Is this how it should be?? It's not, but it's the way it is. It breaks the common unix semantics, for EOF in read/write, and in particular dump -a. I've got an open PR for it. Alas, it's not very simple to fix (otherwise i wouldn't have filed a PR but fixed it myself), since there's a bunch of delayed error reporting etc. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-scsi Fri Dec 26 12:09:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA01029 for freebsd-scsi-outgoing; Fri, 26 Dec 1997 12:09:04 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from news.IAEhv.nl (root@news.IAEhv.nl [194.151.64.4]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA01019 for ; Fri, 26 Dec 1997 12:08:40 -0800 (PST) (envelope-from volf@oasis.IAEhv.nl) Received: from oasis.IAEhv.nl (uucp@localhost) by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 5785 on Fri, 26 Dec 1997 20:08:17 GMT; id UAA05785 efrom: volf@oasis.IAEhv.nl; eto: UNKNOWN Received: from LOCAL (volf@localhost) by oasis.IAEhv.nl (8.8.7/1.63); pid 441 on Fri, 26 Dec 1997 20:05:41 GMT; id UAA00441 efrom: volf; eto: UNKNOWN From: volf@oasis.IAEhv.nl (Frank Volf) Message-Id: <199712262005.UAA00441@oasis.IAEhv.nl> Subject: Re: Error message In-Reply-To: <199712252351.QAA13108@narnia.plutotech.com> from "Justin T. Gibbs" at "Dec 25, 97 04:51:22 pm" To: gibbs@narnia.plutotech.com (Justin T. Gibbs) Date: Fri, 26 Dec 1997 21:05:40 +0100 (MET) Cc: scsi@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Justin T. Gibbs wrote: > In article <199712251447.OAA00722@oasis.IAEhv.nl> you wrote: > > > Dec 25 15:21:16 oasis /kernel: sd0(ncr0:0:0): ABORTED COMMAND asc:4e,0 > > Overlapped commands attempted > > Dec 25 15:21:16 oasis /kernel: , retries:3 > > This means that the drive believes that tagged and untagged commands > were mixed, or two commands were sent to it using the same identifier. > Since you say you are using the FAILSAFE option, tags should be > disabled, so this is truely puzzling. What kind of drive is this? Justin, The drive in question is a (rather old) micropolis drive: ncr0 rev 1 int a irq 10 on pci0:12 (ncr0:0:0): "MICROP 4221-09 1128RA 28RA" type 0 fixed SCSI 2 sd0(ncr0:0:0): Direct-Access sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 8) I didn't check for firmware upgrade yet. Since I upgraded to FreeBSD 2.2.5 I've seen this message about 3 times. I never have seen this message with FreeBSD 2.1.7, which has run on the system since it has been released. Frank ---------------------------------------------------------------------------- Frank Volf - Internet Access Eindhoven - Digitale Stad Eindhoven ---------------------------------------------------------------------------- || volf@oasis.IAEhv.nl - use for personal mail || || volf@IAEhv.nl - use for Internet Access Eindhoven related mail || || volf@dse.dse.nl - use for Digital City of Eindhoven related mail || ---------------------------------------------------------------------------- IAE Public Access Unix System - Dial +31.40.2439436 and login as new. ---------------------------------------------------------------------------- From owner-freebsd-scsi Fri Dec 26 22:28:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA07314 for freebsd-scsi-outgoing; Fri, 26 Dec 1997 22:28:24 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from revolution.3-cities.com (root@revolution.3-cities.com [204.203.224.155]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA07284 for ; Fri, 26 Dec 1997 22:28:09 -0800 (PST) (envelope-from msmith@3-cities.com) Received: from mark (bigtca716.3-cities.com [204.203.232.49]) by revolution.3-cities.com (8.8.5/8.7.3) with SMTP id WAA04234; Fri, 26 Dec 1997 22:23:12 -0800 (PST) Message-ID: <34A49B87.6C60@3-cities.com> Date: Fri, 26 Dec 1997 22:09:11 -0800 From: Mark Smith Reply-To: freebsd-scsi@FreeBSD.ORG Organization: Organization? What's that?!? X-Mailer: Mozilla 3.03Gold (Win95; U) MIME-Version: 1.0 To: freebsd-scsi@FreeBSD.ORG CC: joerg_wunsch@uriah.heep.sax.de Subject: Re: DAT question/problem! References: <34A3530D.590@3-cities.com> <19971226162002.29967@uriah.heep.sax.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk J Wunsch wrote: > > As Mark Smith wrote: > > > OK, I then do a write(mt,buff,size) in a loop to > > write the block pattern out. I then receive a write=-1 and > > errno = 5 (Input Output error). Is this how it should be?? > > It's not, but it's the way it is. It breaks the common unix > semantics, for EOF in read/write, and in particular dump -a. I've got > an open PR for it. > > Alas, it's not very simple to fix (otherwise i wouldn't have filed a > PR but fixed it myself), since there's a bunch of delayed error > reporting etc. OK, so in the meantime, just write until I hit EIO, keeping track of the number of written blocks, then rewind and reread the same number SHOULD work? This is REAL fun testing this kind of code on a 90m tape on an older DDS-1 10M/min drive! 200 minutes (3 hours 20 min) write then the same for a read. Mark From owner-freebsd-scsi Sat Dec 27 00:50:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA14552 for freebsd-scsi-outgoing; Sat, 27 Dec 1997 00:50:54 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA14542 for ; Sat, 27 Dec 1997 00:50:41 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.8.8/8.8.8) with UUCP id JAA18478 for freebsd-scsi@FreeBSD.ORG; Sat, 27 Dec 1997 09:50:38 +0100 (CET) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.8.8/8.8.5) id JAA07369; Sat, 27 Dec 1997 09:27:11 +0100 (MET) Message-ID: <19971227092711.09423@uriah.heep.sax.de> Date: Sat, 27 Dec 1997 09:27:11 +0100 From: J Wunsch To: freebsd-scsi@FreeBSD.ORG Subject: Re: DAT question/problem! Reply-To: Joerg Wunsch References: <34A3530D.590@3-cities.com> <19971226162002.29967@uriah.heep.sax.de> <34A49B87.6C60@3-cities.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <34A49B87.6C60@3-cities.com>; from Mark Smith on Fri, Dec 26, 1997 at 10:09:11PM -0800 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Mark Smith wrote: > OK, so in the meantime, just write until I hit EIO, keeping track > of the number of written blocks, then rewind and reread the same > number SHOULD work? I think so. You can also verify the kernel message to see whether it indicates the end-of-medium detection, or a hard write fault instead. > This is REAL fun testing this kind of code on a 90m tape on an > older DDS-1 10M/min drive! 200 minutes (3 hours 20 min) write > then the same for a read. Ain't a new cassette cheaper than 6 hours of work? ;-) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)