Re: 2.4.9-ac10 st driver (DLT)

Kai Makisara (Kai.Makisara@kolumbus.fi)
Thu, 13 Sep 2001 10:27:30 +0300 (EEST)


On Thu, 13 Sep 2001, Ian Crakanthorp wrote:

>
> I am trying to read from a DLT4000 tape. The device is found and mt can
> talk to it. But if I try a dd I get:
>
> dd if=/dev/st0 of=/tmp/tape.out bs=16k
> dd: reading `/dev/st0': Cannot allocate memory
> 0+0 records in
> 0+0 records out
>
I have exchanged private email with Ian. The problem in this case was
that the first block on the tape was larger than 16 kB. In this case the
2.4 tape driver returns error ENOMEM (not the most informative error code
but this is what the other Unices return). (The 2.2 driver silently ignores
this error.) With larger byte count dd succeeds and so there is no problem
in the kernel.

Kai

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/