Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* adding ARCHIVE Python under osf/1
@ 1994-02-11 19:06 Gary Rumble
  0 siblings, 0 replies; only message in thread
From: Gary Rumble @ 1994-02-11 19:06 UTC (permalink / 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
-------------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-02-11 19:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-11 19:06 adding ARCHIVE Python under osf/1 Gary Rumble

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