From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5ad8e27df7f279be,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-02-11 11:06:41 PST Path: gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!csulb.edu!paris.ics.uci.edu!news.claremont.edu!mtigate!mercury!gary From: gary@mercury.mti.com (Gary Rumble) Newsgroups: comp.unix.osf.osf1 Subject: adding ARCHIVE Python under osf/1 Keywords: DAT, osf/1 Message-ID: <3340@mtigate.mti.com> Date: 11 Feb 94 19:06:41 GMT Sender: news@mtigate.mti.com Organization: Micro Technology Inc., Anaheim, CA Nntp-Posting-Host: 144.86.12.62 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 -------------------------------------------------------------------------------