From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,69810e46bc79ea70,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,69810e46bc79ea70,start X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1990-04-12 14:51:38 PST Path: gmdzi!unido!mcsun!uunet!snorkelwacker!husc6!frooz!cfa250!wyatt From: wyatt@cfa250.harvard.edu (Bill Wyatt) Newsgroups: comp.unix.ultrix,comp.sys.dec Subject: Ultrix TMSCP bug Message-ID: <1867@cfa200.cfa250.harvard.edu> Date: 12 Apr 90 21:51:38 GMT Organization: Harvard/Smithsonian Center for Astrophysics Xref: gmdzi comp.unix.ultrix:2647 comp.sys.dec:2290 Posted: Thu Apr 12 22:51:38 1990 We've just upgraded in one jump from Ultrix 2.2 to Ultrix 3.1 on our uVax II systems, and have discovered a nasty bug that I'm surprised no one else has discovered/mentioned so far. The scenario: reading a tape with several files on it. The bug - the TMSCP driver doesn't read past tape marks until you call the ioctl() with the MTCSE (clear serious exception) operation or close and re-open the device. This is despite the mtio man page, and is not how it used to work. The TS11 driver still works as documented. Our C programs can be patched, but the Fortran program using the tape routines (topen, et. al.) must either be linked with a Fortran- callable C routine or be dumped. Skipping the tape mark (using tskipf) would work for the TMSCP drives but not the TS11 ones, where an extra file would be skipped. Making each program understand which kind of tape device it's reading sounds like a portability nightmare. So, does DEC know about this? Does it affect the RISC TMSCP driver as well? Is there a patch? How do I file an SPR? -- Bill Wyatt, Smithsonian Astrophysical Observatory (Cambridge, MA, USA) UUCP : {husc6,cmcl2,mit-eddie}!harvard!cfa!wyatt Internet: wyatt@cfa.harvard.edu SPAN: cfa::wyatt BITNET: wyatt@cfa