From: Quant-X Alpha Linux Support <stefan@sime.com>
To: axp-list@redhat.com
Subject: Re: Module problems
Date: Tue, 2 Jun 1998 12:06:41 +0200 [thread overview]
Message-ID: <199806021006.MAA00781@stefan.sime.com> (raw)
In-Reply-To: <3573697C.31E57E2E@paralleldata.com> (wsb@paralleldata.com)
Hi Wes, John !
> > I wrote the tape with a 64KB fixed block size. I get:
> >
> > % dd if=/dev/tape bs=65536
> > dd: /dev/tape: No space left on device
> > 0+0 records in
> > 0+0 records out
He did _not_ wrote with fixed blocksize to the tape.
(He wrote 64KB blocks chunks to the tape, and if I
remember correctly setblk was 0, so the tape blocksize
was dynamic. 64KB over dynamic)
> > % mt -f /dev/tape setblk 0
"-f /dev/tape" is not needed. It's default by mt.
> > % dd if=/dev/tape bs=65536
> > dd: /dev/tape: No space left on device
> > 0+0 records in
> > 0+0 records out
> Was the tape created on the system you're trying
> to read it on?
>
> Just tried a dd on my eliant 820. Works fine. Though
> /dev/tape doesn't exist on my system. Did you create
> that yourself, maybe as a link to /dev/st0??
> Does /dev/st0 work instead of /dev/tape??
> Are the permissions on the device file correct?
> I use:
>
> crw-rw-rw- 1 root disk 9, 0 Jul 1 1996 /dev/st0
It should be not world read/writable !
But if this caused the problem, EPERM would be the correct answer from dd.
I have no direct ideas (and no Exabyte), but I'm very interested
in the problem.
Things that I would try (not in correct order, but try c, b, a, b, d):
a) edit /usr/src/drivers/scsi/st.c and change "#if DEBUG 0" to "#if DEBUG 1";
recompile modules. (The chance is high that we get a useful message,
so I would try it (EOM, ILI). If it not helps, "insmod st debugging=0"
returns to quiet mode.
b) Using "strace tar" and "strace dd" (John, please send me your output !)
c) Non-rewinding tape (is minor 128 or 0 ? huch !!)
(I'm ignoring the output of "mt status" here, ...)
mt rewind
mt rewind
tar cpv /etc/hosts
mt rewind
tar tvp (or dd)
d) Reading the tape by a generic SCSI-interface (/dev/sg under linux)
(small code available on request)
--
Quant-X Service & Ph: (+43) 4212 6004-0
Consulting Ges.m.b.H. Fax: (+43) 4212 600420
http://www.quant-x.com Email: support@quant-x.com
next prev parent reply other threads:[~1998-06-02 10:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-02 0:51 Module problems brinkmann
1998-06-02 2:54 ` Wes Bauske
1998-06-02 10:06 ` Quant-X Alpha Linux Support [this message]
1998-06-02 5:52 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
1998-06-01 17:49 brinkmann
1998-06-01 10:56 ` Jay.Estabrook
1998-06-01 21:06 ` Wes Bauske
1997-08-04 3:43 Scott Cunningham
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