Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: gary@mercury.mti.com (Gary Rumble)
Subject: adding ARCHIVE Python under osf/1
Date: 11 Feb 94 19:06:41 GMT	[thread overview]
Message-ID: <3340@mtigate.mti.com> (raw)

I am getting very frustrated trying to attach an ARCHIVE 4326 DDS-2DC (Python)
drive to an alpha running osf/1 1.3.

I edited /usr/sys/data/cam_data.c and added to the cam_devdesc_tab structure
essentially by duplicating the tlz06 entry.  I remade the kernel, moved it to /,
and rebooted.

When I tried to do an mt -f /dev/rmt0l status I get drive activity and mt
terminates with I/O error.  When I watch the SCSI bus I see:

Test Unit Ready - complete ok
Space - complete ok
Rewind - complete ok
Mode Sense - complete ok
Mode Select - check condition, reason: illegal parameter in cdb, buffered mode
                                       not set

tar also fails with a similar scenario.

So I added a mode select page in order to set the buffered mode bit.  Then I got:

Test Unit Ready - complete ok
Mode Select - complete ok (all of my parameters are visible)
Space - complete ok
Rewind - complete ok
Mode Sense - complete ok
Mode Select - check condition, reason: illegal parameter in cdb, buffered mode
                                       not set

AAArgh.
I edited cam_data.c again and accidentally created a bad mode select page.
This time when I tried mt -f /dev/rmt0l status it succeeded.

Test Unit Ready - complete ok
Mode Select - check condition, reason: invalid field in cdb
Mode Sense - complete ok
Mode Sense - complete ok

tar, however, still fails with I/O error.
I tried changing the drive type as well but I can't seem to get rid of the
broken Mode Select.  No matter what I do it seems insistent on issuing a second
Mode Select with buffered mode off.

What am I doing wrong?  How do I turn on buffered mode in that second Mode
Select?  All responses appreciated, even the RTFM variety, just tell me 
which FM.

-- 

-------------------------------------------------------------------------------
Gary Rumble     gary@mti.com        All opinions expressed are mine and do not
                                    reflect the views of MTI
-------------------------------------------------------------------------------



                 reply	other threads:[~1994-02-11 19:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox