[lkml]   [2001]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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