Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* DEC OSF/1 rdump fails to SGI
@ 1994-03-03 10:12 belonis
  1994-03-09  9:43 ` root
  0 siblings, 1 reply; 2+ messages in thread
From: belonis @ 1994-03-03 10:12 UTC (permalink / raw)


rdump from a DEC OSF/1 1.2 (Rev. 10) causes 8mm tape drive on
SGI Indigo to eject.

I turned on the rmt log file on the SGI to capture what the OSF/1
system was sending that was so obnoxious and found to my horror
that it sends
I 13 1
intending to "enable default eot code" according to the meaning of
0x0d=13=MTENAEOT /usr/include/sys/mtio.h on the OSF/1 system.
I have no idea what this is intended to accomplish on an OSF/1
system, but on a Sun it is apparently ignored because such high
ioctl function numbers are unused but on an SGI
it unloads the tape drive, and on MIPS it formats a QIC tape.
All my systems types have different ioctl functions above 8 .

Clearly it is bogus for OSF/1 systems to use non-standard ioctl functions
with no way to turn them off if they want to allow rdump to remote
non-DEC systems.

Is there a way to turn this off with an rdump command-line option ?
I see nothing obvious in the man pages ( c & N do nothing useful
about this problem, even E causes eject).
I used beav to look at the /usr/sbin/rdump executable and couldn't find
an obvious '13' to patch to the less obnoxious '7' no-op.

If not,
can I replace the SGI rmt by a program that filters out the
two lines 
I 13
1
and returns 
A1
like the OSF/1 rdump probably expects ?

If all else fails, is there a more reasonable replacement rdump for OSF/1 ?

--
J.James(Jim)Belonis II, U of Washington Physics Computer Cost Center Manager
belonis@dirac.phys.washington.edu  Internet    Physics Hall FM-15
BELONIS@UWAPHAST BITNET       noon to midnite  U of W, Seattle, WA 98195
24683::PHAST::BELONIS SPAN,HEPNET  7 days      room 32a   (206) 685-8695


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: DEC OSF/1 rdump fails to SGI
  1994-03-03 10:12 DEC OSF/1 rdump fails to SGI belonis
@ 1994-03-09  9:43 ` root
  0 siblings, 0 replies; 2+ messages in thread
From: root @ 1994-03-09  9:43 UTC (permalink / raw)


Sorry to follow up my own posting, but in the complete absence
of any response whatsoever (apparently this is not a burning issue with
people)...

I have found an rmt.c program that can replace rmt on our SGI system
and I successfully patched it to ignore I 13 1
so the SGI no longer ejects the tape during rdump from an OSF/1 system.
This is not an entirely satisfactory
solution though, since this replacement rmt causes 30% or so slowdown of the
rdump when compared to SGI's rmt (for some non OSF/1 systems).
I may try switching between my rmt and SGI's rmt dynamically during our
dumps when OSF/1 partitions are being dumped.

I am not expert enough C programmer to tell whether something simple can be
done to possibly improve the speed of this rmt.c ,  It is from
dump_fast.tar.Z which I think I found on gatekeeper.
It is documented as being...

> If you want to understand more about how this works, read my paper on
> it in the USENIX LISA III ('89) proceedings.
>
>                -- Paul Placeway
>                   paul@cis.ohio-state.edu

I will be e-mailing to him to see if he has any interest in the speed problem,
but since this rmt was written to go with a patched rdump, I doubt if he
has much interest in the normal mode with unpatched rdump.

Thanks for any help you can give me on OSF/1 rdump to non-OSF/1 systems.
I may be down to
 dump | rsh tape-host dd
solutions.
Anyone have suggestions about the exact look of such a command line ?
Any disadvantages which may disqualify it as a reasonable substitute for rdump ?
I presume the error handling will be worse than rdump ?
I.e. no information about what causes errors ?  Just something vague like
'broken pipe' or a process hang ?


belonis@dirac.phys.washington.edu writes:

>rdump from a DEC OSF/1 1.2 (Rev. 10) causes 8mm tape drive on
>SGI Indigo to eject.

>I turned on the rmt log file on the SGI to capture what the OSF/1
>system was sending that was so obnoxious and found to my horror
>that it sends
>I 13 1
>intending to "enable default eot code" according to the meaning of
>0x0d=13=MTENAEOT /usr/include/sys/mtio.h on the OSF/1 system.
>I have no idea what this is intended to accomplish on an OSF/1
>system, but on a Sun it is apparently ignored because such high
>ioctl function numbers are unused but on an SGI
>it unloads the tape drive, and on MIPS it formats a QIC tape.
>All my systems types have different ioctl functions above 8 .

>Clearly it is bogus for OSF/1 systems to use non-standard ioctl functions
>with no way to turn them off if they want to allow rdump to remote
>non-DEC systems.

>Is there a way to turn this off with an rdump command-line option ?
>I see nothing obvious in the man pages ( c & N do nothing useful
>about this problem, even E causes eject).
>I used beav to look at the /usr/sbin/rdump executable and couldn't find
>an obvious '13' to patch to the less obnoxious '7' no-op.

>If not,
>can I replace the SGI rmt by a program that filters out the
>two lines 
>I 13
>1
>and returns 
>A1
>like the OSF/1 rdump probably expects ?

>If all else fails, is there a more reasonable replacement rdump for OSF/1 ?

>--
>J.James(Jim)Belonis II, U of Washington Physics Computer Cost Center Manager
>belonis@dirac.phys.washington.edu  Internet    Physics Hall FM-15
>BELONIS@UWAPHAST BITNET       noon to midnite  U of W, Seattle, WA 98195
>24683::PHAST::BELONIS SPAN,HEPNET  7 days      room 32a   (206) 685-8695

--
J.James(Jim)Belonis II, U of Washington Physics Computer Cost Center Manager
belonis@dirac.phys.washington.edu  Internet    Physics Hall FM-15
BELONIS@UWAPHAST BITNET       noon to midnite  U of W, Seattle, WA 98195
24683::PHAST::BELONIS SPAN,HEPNET  7 days      room 32a   (206) 685-8695


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-03-09  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-03 10:12 DEC OSF/1 rdump fails to SGI belonis
1994-03-09  9:43 ` root

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