atom feed3 messages in org.freebsd.freebsd-currentRe: Can't write tape with -current ke...
FromSent OnAttachments
Richard J KuhnsSep 22, 1998 8:21 am 
Justin T. GibbsSep 22, 1998 1:58 pm 
Richard J KuhnsSep 23, 1998 6:01 am 
Subject:Re: Can't write tape with -current kernel
From:Richard J Kuhns (rj@grauel.com)
Date:Sep 23, 1998 6:01:37 am
List:org.freebsd.freebsd-current

Justin T. Gibbs writes:

In article <1383@moran.grauel.com> you wrote:

sa0 at ahc0 bus 0 target 6 lun 0 sa0: <ARCHIVE VIPER 2525 25462 -007> Removable Sequential Access SCSI1 device sa0: 3.300MB/s transfers

Mode Density Blocksize bpi Compression Current: QIC-320 1024 bytes 16000 unsupported ---------available modes--------- 0: QIC-320 1024 bytes 16000 unsupported

According to the old st driver's quirk entries, this drive can only do QIC-120, QIC-150, and QIC-525. The CAM driver does not have this information on hand, and relies on the user to specify a proper density. Ken and I are looking at the best way to deal with these kinds of issues without bloating the driver too much. In the mean time, can you experiment with different densities (via mt) and see if this helps your situation?

Unless it also goes under a different name, mt doesn't know about QIC-525 (I freely admit that I'm not a SCSI expert). I tried -120 and -150, but it didn't do anything at all that I could see. Here's a short transcript.

moran:~# mt status Mode Density Blocksize bpi Compression Current: QIC-320 1024 bytes 16000 unsupported ---------available modes--------- 0: QIC-320 1024 bytes 16000 unsupported 1: QIC-320 1024 bytes 16000 unsupported 2: QIC-320 1024 bytes 16000 unsupported 3: QIC-320 1024 bytes 16000 unsupported moran:~# mt density QIC-525; echo $? mt: QIC-525: unknown density 1 moran:~# mt density QIC-150; echo $? 0 moran:~# mt status Mode Density Blocksize bpi Compression Current: QIC-320 1024 bytes 16000 unsupported ---------available modes--------- 0: QIC-320 1024 bytes 16000 unsupported 1: QIC-320 1024 bytes 16000 unsupported 2: QIC-320 1024 bytes 16000 unsupported 3: QIC-320 1024 bytes 16000 unsupported moran:~# tar -cvf /dev/rsa0 . ./ Src/ Src/xmartin.tzr tar: only wrote 0 of 10240 bytes to /dev/rsa0 moran:~# exit

Substituting QIC-120 for the -150 above didn't change anything.

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message