Date: Wed, 01 Mar 2000 01:24:35 -0500 From: Doug Ledford <dledford@redhat.com> To: Metod Kozelj <metod.kozelj@rzs-hm.si> Cc: aic7xxx@FreeBSD.ORG Subject: Re: AHA-2940UW, DLT, alpha & aic driver Message-ID: <38BCB7A3.B7A25478@redhat.com> References: <Pine.HPP.3.96.1000229142704.20242A-100000@hmljhp.rzs-hm.si>
next in thread | previous in thread | raw e-mail | index | archive | help
Metod Kozelj wrote: > > Hello, > > I'm having slight problems while using HP SureStore DLT40 connected to > AHA2940UW on Linux/Alpha. > > My system is alpha, running basically RedHat 5.1 with kernel 2.2 patches > and kernel 2.2.14. I'm using stock aic driver. > > My problem real problem is, that 'mt -f /dev/nst0 fsf' doesn't do > anything. In what context? Several tape drives I've worked with in the past will accept the fsf command silently, seeming to do nothing, but if you actually tried to read or write to the tape after executing the command, then the drive does the reposition before the read or write. In my experience, it works just fine. Regardless though, this wouldn't be an aic7xxx driver problem, this would be a problem in the scsi tape driver (if it is even a problem). > 'mt -f /dev/nst rewi' works fine, 'mt -f /dev/nst0 status' > prints some meaningful data. > > There's some funny thing about /proc/scsi/aic7xxx/0 contents: statisctics > for the DLT never change while statistics for disks do change. The driver uses the cmd->request.cmd variable as the main indicator of whether the command is a read or a write command. If the upper layer SCSI driver doesn't fill that variable in, then you see the behavior you are seeing. Furthermore, we only track the transfer data on commands that actually use a command buffer, there are a number of commands, such as fsf, that don't trigger any sort of data length calculation in the driver. -- Doug Ledford <dledford@redhat.com> http://people.redhat.com/dledford Please check my web site for aic7xxx updates/answers before e-mailing me about problems To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe aic7xxx" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38BCB7A3.B7A25478>