lkml.org 
[lkml]   [2001]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.9-ac10 st driver (DLT)
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/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.027 / U:1.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site