*BSD News Article 7212


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!sol.ctr.columbia.edu!usc!elroy.jpl.nasa.gov!sdd.hp.com!scd.hp.com!hpscdm!cupnews0.cup.hp.com!news1.boi.hp.com!hp-pcd!hpcvmcdj!carlj
From: carlj@hpcvmcdj.cv.hp.com (Carl Johnson)
Subject: [386BSD]  SCSI tape drive problem
Message-ID: <1992Oct30.161309.20856@hpcvmcdj.cv.hp.com>
Organization: Hewlett-Packard Company, Corvallis, Oregon USA
Date: Fri, 30 Oct 1992 16:13:09 GMT
Lines: 73

I have been trying to get my Archive 2525 tape drive to use DC600 tapes,
but it errors out every time when using Julius's scsi driver.  I can use
DC6525 tapes, but I have lots of surplus DC600 that will work in QIC-120
format using other systems and the original scsi driver for 386bsd.  It
looks like the tape drive is telling the system that it can accept
variable size blocks which is not true in QIC-120 mode, so it gives an
illegal request error when the system tries to write using non-standard
block sizes.  I don't know if the tape drive is reporting the wrong
size, or if the scsi driver is somehow reading the tape drive
inproperly.  Does anybody know what is the real problem in this case?

Below is a log of the startup when st_debug is enabled in the st driver.
Thanks for any information.

*** Booting with a DC600 tape in drive
Oct 29 20:17:42 cjbsd /386bsd: pc0<color> at 0x60 irq 1 on isa
Oct 29 20:17:42 cjbsd /386bsd: com1 at 0x3f8 irq 4 on isa
Oct 29 20:17:42 cjbsd /386bsd: com2 at 0x2f8 irq 3 on isa
Oct 29 20:17:42 cjbsd /386bsd: wd0 0:<TOSHIBA MK234FC> at 0x1f0 irq 14 on isa
Oct 29 20:17:42 cjbsd /386bsd: fd0 drives 0: 1.44M, 1: 1.2M at 0x3f0 irq 6 drq 2 on isa
Oct 29 20:17:42 cjbsd /386bsd: aha0 reading board settings, 250 nSEC ok, use 300 nSEC 
Oct 29 20:17:42 cjbsd /386bsd:   **aha0 probing for scsi devices**
Oct 29 20:17:42 cjbsd /386bsd:   dev0,lu0: type 0(direct),fixed 'FUJITSU M2624F-512      0404' scsi1
Oct 29 20:17:42 cjbsd /386bsd: 	sd0: 491MB, cyls 1429, heads 11, secs 64, bytes/sec 512
Oct 29 20:17:43 cjbsd /386bsd:   dev4,lu0: type 1(sequential),removable 'ARCHIVE VIPER 2525 25462-005' scsi1
Oct 29 20:17:43 cjbsd /386bsd: unit 0: 0 blocks, (512 bytes each)	st0: scsi tape drive, 0 blocks of 512 bytes
Oct 29 20:17:43 cjbsd /386bsd: aha0 at 0x330 irq 11 drq 5 on isa
Oct 29 20:17:43 cjbsd /386bsd: we0 ethernet address 00:00:c0:ff:88:15 at 0x280 irq 9 on isa
Oct 29 20:17:43 cjbsd /386bsd: npx0 at 0xf0 irq 13 on isa
*** Starting tar to rst0
Oct 29 20:19:30 cjbsd /386bsd:  (1 <= blksiz <= 65536
Oct 29 20:19:30 cjbsd /386bsd: ) 
Oct 29 20:19:30 cjbsd /386bsd: unit 0: 0 blocks, (512 bytes each)
Oct 29 20:19:35 cjbsd /386bsd: code0 class7 valid1
Oct 29 20:19:35 cjbsd /386bsd: seg0 key5 ili0 eom0 fmark0
Oct 29 20:19:35 cjbsd /386bsd: info: 0 0 28 0 followed by 6 extra bytes
Oct 29 20:19:35 cjbsd /386bsd: extra: 0 0 80 0 0 0 0 0 0 0 0 1e 9b c 0 4
Oct 29 20:19:35 cjbsd /386bsd: st0: illegal request
Oct 29 20:19:35 cjbsd /386bsd:  
Oct 29 20:19:40 cjbsd /386bsd: code0 class7 valid1
Oct 29 20:19:40 cjbsd /386bsd: seg0 key5 ili0 eom0 fmark0
Oct 29 20:19:40 cjbsd /386bsd: info: 0 0 0 1 followed by 6 extra bytes
Oct 29 20:19:40 cjbsd /386bsd: extra: 0 0 80 0 0 0 0 0 0 0 0 1e 9b c 0 4
Oct 29 20:19:40 cjbsd /386bsd: st0: illegal request
Oct 29 20:19:41 cjbsd /386bsd:  could not write_filemarks st0
Oct 29 20:39:40 cjbsd /386bsd: aha0: device 4 timed out 
Oct 29 20:52:44 cjbsd shutdown: reboot by root: 
Oct 29 20:52:47 cjbsd syslogd: exiting on signal 15

*** Booting with DC6525 tape in drive
Oct 29 20:54:28 cjbsd /386bsd: pc0<color> at 0x60 irq 1 on isa
Oct 29 20:54:28 cjbsd /386bsd: com1 at 0x3f8 irq 4 on isa
Oct 29 20:54:28 cjbsd /386bsd: com2 at 0x2f8 irq 3 on isa
Oct 29 20:54:28 cjbsd /386bsd: wd0 0:<TOSHIBA MK234FC> at 0x1f0 irq 14 on isa
Oct 29 20:54:28 cjbsd /386bsd: fd0 drives 0: 1.44M, 1: 1.2M at 0x3f0 irq 6 drq 2 on isa
Oct 29 20:54:28 cjbsd /386bsd: aha0 reading board settings, kernel: type 19 trap, code=0
Oct 29 20:54:28 cjbsd /386bsd: 250 nSEC ok, use 300 nSEC 
Oct 29 20:54:28 cjbsd /386bsd:   **aha0 probing for scsi devices**
Oct 29 20:54:28 cjbsd /386bsd:   dev0,lu0: type 0(direct),fixed 'FUJITSU M2624F-512      0404' scsi1
Oct 29 20:54:29 cjbsd /386bsd: 	sd0: 491MB, cyls 1429, heads 11, secs 64, bytes/sec 512
Oct 29 20:54:29 cjbsd /386bsd:   dev4,lu0: type 1(sequential),removable 'ARCHIVE VIPER 2525 25462-005' scsi1
Oct 29 20:54:29 cjbsd /386bsd: unit 0: 0 blocks, (512 bytes each)	st0: scsi tape drive, 0 blocks of 512 bytes
Oct 29 20:54:29 cjbsd /386bsd: aha0 at 0x330 irq 11 drq 5 on isa
Oct 29 20:54:29 cjbsd /386bsd: we0 ethernet address 00:00:c0:ff:88:15 at 0x280 irq 9 on isa
Oct 29 20:54:29 cjbsd /386bsd: npx0 at 0xf0 irq 13 on isa
*** Starting tar to rst0
Oct 29 20:57:45 cjbsd /386bsd:  (1 <= blksiz <= 65536
Oct 29 20:57:45 cjbsd /386bsd: ) 
Oct 29 20:57:45 cjbsd /386bsd: unit 0: 0 blocks, (512 bytes each)

-- 

Carl Johnson              carlj@cv.hp.com