[comp.sys.hp] Strange

edwin@cs.ruu.nl (Edwin Kremer) (12/17/90)

Hello all,

I was wondering if someone would care to enlighten a somewhat strange
behaviour of the DAT drive in our HP9000/375 running HP-UX 7.0...

The documentation that came with the DAT was not very helpful in installing
it -- an earlier discussion in this newsgroup was! Contributions to that
discussion (around the 30th of June) came from Munir Mallal, Linas Petras
and Jim Rogers (all @hp.com); thanks guys!

Here's how I set up the device files for the DAT:
   crw-------   1 root     sys       54 0x0d0502 Dec 16 16:11 /dev/rmt/0m
   crw-------   1 root     sys       54 0x0d0503 Dec 15 17:19 /dev/rmt/0mn

Every now and then I decide to unload the tape from my workstation
(instead of walking to our computer room) by issueing the command:

	# mt -t /dev/rmt/0m offl

The unit starts playing around with the tape for a couple of seconds,
then ejects the tape. So far, so good. However, everytime I do this,
I get this message in "/usr/adm/messages" via "dmegs -":

	SCSI: Status bytes: 70 0 2 0 0 0 0 b 0 0 0 0 3a 0 0 0 1 0 0
	SCSI (dev 0xd0500) sense key: Not_ready
	Load operation requested
	sense_code: Medium not present
	SCSI: CCL error: 1 status


Looks like the driver tries to reload the tape (or put the unit on-line)
immediately after unloading it and then discovers that the tape is not
in the drive. Is this a bug in the 'scsitape' driver???

I'm not really worried about this because it seems to function well
after all, but if it isn't serious, I'd prefer the driver to be quiet.
Too many for-your-information-only-messages (not to mention the "Unit
Attention -- Medium Changed" messages from the rewritable optical
drive :-]) in "/usr/adm/messages" are a nuisance: you'll overlook
the serious ones!!

BTW, although I have the DAT for only two weeks now, I *love* it already!!


		thanks for your time,
						--[ Edwin ]--
--
Edwin Kremer (SysAdm), Dept. of Computer Science, Utrecht University
Padualaan 14,   P.O. Box 80.089,  3508 TB  Utrecht,  The Netherlands
Telephone: +31-30-534104  | UUCP: ...!uunet!mcsun!hp4nl!ruuinf!edwin
Telefax  : +31-30-513791  | Email: edwin@cs.ruu.nl    [131.211.80.5]

paulp@hpfcdc.HP.COM (Paul Perlmutter) (12/17/90)

> I ... unload the tape from my workstation ... by issueing the command:

	# mt -t /dev/rmt/0m offl

The unit ejects the tape. ... However, everytime I do this,
I get this message in "/usr/adm/messages" via "dmegs -":

	SCSI: Status bytes: 70 0 2 0 0 0 0 b 0 0 0 0 3a 0 0 0 1 0 0
	SCSI (dev 0xd0500) sense key: Not_ready
	Load operation requested
	sense_code: Medium not present
	SCSI: CCL error: 1 status

This is a bug in the 7.0 DAT driver.  It can be safely ignored.

The reason?  After the tape is successfully ejected, the driver during 
the tape "close" routine will issue a reposition command to the 
non-cartridge and the request fails.   Other than the spurious error
message, no other action occurs, thus you can forget the message.